/* ==========================================================================
   MyAayurveda Banner Slider - Styles
   ========================================================================== */

.custom-banner-slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  background-color: #f7f5ed;
  min-height: 480px;
  height: 540px;
}

@media (min-width: 1400px) {
  .custom-banner-slider {
    height: 560px;
  }
}

@media (max-width: 1199px) and (min-width: 769px) {
  .custom-banner-slider {
    min-height: 440px;
    height: 480px;
  }
}

/* Slider Track */
.custom-banner-slider .slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* Individual Slide (Desktop: 100% clean, crisp, sharp - NO white haze overlay) */
.custom-banner-slider .slide.banner-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  height: 100%;
  min-height: inherit;
  background-image: var(--desktop-img);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center right;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Content Container - Desktop */
.custom-banner-slider .banner-slide-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 3rem 2rem 3rem 6%;
  box-sizing: border-box;
}

@media (min-width: 1400px) {
  .custom-banner-slider .banner-slide-content {
    padding-left: calc((100% - 1400px) / 2 + 20px);
  }
}

/* Tag / Category Badge */
.custom-banner-slider .banner-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b37e3d;
  margin-bottom: 0.85rem;
  line-height: 1.2;
}

/* Heading */
.custom-banner-slider .banner-heading {
  font-family: inherit;
  font-size: clamp(1.85rem, 3.8vw, 2.85rem);
  font-weight: 800;
  line-height: 1.16;
  color: #0e2736;
  margin: 0 0 1rem 0;
  letter-spacing: -0.02em;
}

/* Description */
.custom-banner-slider .banner-desc {
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  line-height: 1.6;
  color: #4f6170;
  margin: 0 0 1.85rem 0;
  max-width: 480px;
}

/* Call to Action Button */
.custom-banner-slider .banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #0c3c2b;
  color: #ffffff !important;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 0.85rem 2.4rem;
  border-radius: 9999px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(12, 60, 43, 0.25);
  transition: all 0.28s cubic-bezier(0.25, 1, 0.5, 1);
  border: 1px solid transparent;
  cursor: pointer;
}

.custom-banner-slider .banner-btn:hover {
  background-color: #14553d;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(12, 60, 43, 0.35);
}

.custom-banner-slider .banner-btn:active {
  transform: translateY(0);
}

/* Navigation Buttons: Prev & Next */
.custom-banner-slider button.prev,
.custom-banner-slider button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  color: #0c3c2b;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  padding: 0;
  outline: none;
}

.custom-banner-slider button.prev {
  left: 24px;
}

.custom-banner-slider button.next {
  right: 24px;
}

.custom-banner-slider button.prev:hover,
.custom-banner-slider button.next:hover {
  background: #0c3c2b;
  color: #ffffff;
  border-color: #0c3c2b;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 20px rgba(12, 60, 43, 0.35);
}

/* Dots Pagination (Hidden) */
.custom-banner-slider .dots {
  display: none !important;
}

/* ==========================================================================
   Mobile Responsive View (Screens <= 768px)
   Height increased to 740px - 760px to give ample clearance for the product image,
   with background positioned down so the Explore button never overlaps the bottle!
   ========================================================================== */
@media (max-width: 768px) {
  .custom-banner-slider {
    min-height: 720px;
    height: 750px;
    max-height: 820px;
  }

  .custom-banner-slider .slide.banner-slide {
    background-position: center top;
    background-size: cover;
    align-items: flex-start;
    padding-top: 1.75rem;
  }

  /* Swap to mobile portrait image and position exactly as tested */
  .custom-banner-slider .slide.banner-slide.has-mobile-img {
    background-image: var(--mobile-img);
    background-position: center -45px;
    background-size: cover;
  }

  /* Center content layout at top */
  .custom-banner-slider .banner-slide-content {
    text-align: center;
    margin: 0 auto;
    padding: 1.25rem 1.25rem 0;
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .custom-banner-slider .banner-tag {
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    margin-bottom: 0.45rem;
  }

  .custom-banner-slider .banner-heading {
    font-size: clamp(1.35rem, 5vw, 1.75rem);
    line-height: 1.22;
    margin-bottom: 0.6rem;
    max-width: 330px;
  }

  .custom-banner-slider .banner-desc {
    font-size: 0.88rem;
    line-height: 1.48;
    margin-bottom: 1.15rem;
    max-width: 310px;
  }

  .custom-banner-slider .banner-btn {
    padding: 0.75rem 2.2rem;
    font-size: 0.92rem;
    margin-bottom: 1rem; /* Safe spacing above bottle cap */
  }

  .custom-banner-slider button.prev {
    left: 8px;
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .custom-banner-slider button.next {
    right: 8px;
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .custom-banner-slider {
    min-height: 700px;
    height: 740px;
  }

  .custom-banner-slider .slide.banner-slide {
    padding-top: 1.4rem;
  }

  .custom-banner-slider .slide.banner-slide.has-mobile-img {
    background-position: center -45px;
  }

  .custom-banner-slider .banner-slide-content {
    padding: 1rem 1rem 0;
  }

  .custom-banner-slider .banner-heading {
    font-size: 1.35rem;
  }

  .custom-banner-slider .banner-desc {
    font-size: 0.85rem;
    max-width: 290px;
  }
}

/* Ensure Elementor section reset for edge-to-edge display */
#banner-hero {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

#banner-hero .elementor-widget-shortcode,
#banner-hero .elementor-shortcode {
  width: 100%;
}

/* ==========================================================================
   Trust / Features Bar (Directly below Slider)
   ========================================================================== */
html body .elementor-element.elementor-element-5d55d5a,
html body .elementor-element.myaayurveda-trust-features-bar {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  background-color: #fbf9f4 !important;
  border-top: 1px solid #ebe5dc !important;
  border-bottom: 1px solid #ebe5dc !important;
  padding: 24px 20px !important;
  box-sizing: border-box !important;
}

html body .elementor-element-5d55d5a > .e-con-inner,
html body .myaayurveda-trust-features-bar > .e-con-inner,
html body .elementor-element-5d55d5a.e-grid > .e-con-inner {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px 32px !important;
  width: 100% !important;
  max-width: 1240px !important;
  margin: 0 auto !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

/* Desktop Tablet (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  html body .elementor-element-5d55d5a > .e-con-inner,
  html body .myaayurveda-trust-features-bar > .e-con-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px 28px !important;
  }
}

/* Desktop Only Widget Sizing (>= 769px) */
@media (min-width: 769px) {
  html body .elementor-element-5d55d5a .elementor-widget-icon-box,
  html body .myaayurveda-trust-features-bar .elementor-widget-icon-box {
    width: 100% !important;
  }
}

html body .elementor-element-5d55d5a .elementor-widget-icon-box,
html body .myaayurveda-trust-features-bar .elementor-widget-icon-box {
  margin: 0 !important;
  padding: 0 !important;
}

html body .elementor-element-5d55d5a .elementor-icon-box-wrapper,
html body .myaayurveda-trust-features-bar .elementor-icon-box-wrapper {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 14px !important;
  text-align: left !important;
  width: 100% !important;
}

html body .elementor-element-5d55d5a .elementor-icon-box-icon,
html body .myaayurveda-trust-features-bar .elementor-icon-box-icon {
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 52px !important;
  width: 52px !important;
  height: 52px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

html body .elementor-element-5d55d5a .elementor-icon,
html body .myaayurveda-trust-features-bar .elementor-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  border: 1.5px solid #286343 !important;
  background-color: transparent !important;
  color: #286343 !important;
  transition: all 0.28s cubic-bezier(0.25, 1, 0.5, 1) !important;
  box-sizing: border-box !important;
  padding: 0 !important;
}

html body .elementor-element-5d55d5a .elementor-widget-icon-box:hover .elementor-icon,
html body .myaayurveda-trust-features-bar .elementor-widget-icon-box:hover .elementor-icon {
  background-color: #286343 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(40, 99, 67, 0.22) !important;
}

html body .elementor-element-5d55d5a .elementor-icon svg,
html body .myaayurveda-trust-features-bar .elementor-icon svg {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  fill: #286343 !important;
  color: #286343 !important;
  display: block !important;
  transition: fill 0.28s ease !important;
}

html body .elementor-element-5d55d5a .elementor-widget-icon-box:hover .elementor-icon svg,
html body .myaayurveda-trust-features-bar .elementor-widget-icon-box:hover .elementor-icon svg {
  fill: #ffffff !important;
  color: #ffffff !important;
}

html body .elementor-element-5d55d5a .elementor-icon-box-content,
html body .myaayurveda-trust-features-bar .elementor-icon-box-content {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  text-align: left !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

html body .elementor-element-5d55d5a .elementor-icon-box-title,
html body .myaayurveda-trust-features-bar .elementor-icon-box-title {
  font-family: inherit !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: #1a1a1a !important;
  margin: 0 0 2px 0 !important;
  padding: 0 !important;
  letter-spacing: -0.2px !important;
  white-space: nowrap !important;
}

html body .elementor-element-5d55d5a .elementor-icon-box-title span,
html body .myaayurveda-trust-features-bar .elementor-icon-box-title span {
  color: #1a1a1a !important;
  font-weight: 700 !important;
}

html body .elementor-element-5d55d5a .elementor-icon-box-description,
html body .myaayurveda-trust-features-bar .elementor-icon-box-description {
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  color: #64748b !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
}

/* Mobile View: Horizontal Scroll / Swipe with left gap and proper spacing (<= 768px) */
@media (max-width: 768px) {
  html body .elementor-element.elementor-element-5d55d5a,
  html body .elementor-element.myaayurveda-trust-features-bar {
    padding: 14px 0 !important;
    overflow: hidden !important;
  }

  html body .elementor-element-5d55d5a > .e-con-inner,
  html body .myaayurveda-trust-features-bar > .e-con-inner,
  html body .elementor-element-5d55d5a.e-grid > .e-con-inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 6px 20px 6px 20px !important;
    scroll-padding: 0 20px !important;
    scroll-padding-left: 20px !important;
    scroll-padding-right: 20px !important;
    gap: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  html body .elementor-element-5d55d5a > .e-con-inner::-webkit-scrollbar,
  html body .myaayurveda-trust-features-bar > .e-con-inner::-webkit-scrollbar {
    display: none !important;
  }

  html body .elementor-element-5d55d5a .elementor-widget-icon-box,
  html body .myaayurveda-trust-features-bar .elementor-widget-icon-box {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    scroll-snap-align: start !important;
    scroll-margin-left: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body .elementor-element-5d55d5a .elementor-widget-icon-box:first-child,
  html body .myaayurveda-trust-features-bar .elementor-widget-icon-box:first-child,
  html body .elementor-element-5d55d5a .trust-box-shipping {
    margin-left: 4px !important;
  }

  html body .elementor-element-5d55d5a .elementor-widget-icon-box:last-child,
  html body .myaayurveda-trust-features-bar .elementor-widget-icon-box:last-child {
    padding-right: 16px !important;
  }

  html body .elementor-element-5d55d5a .elementor-icon-box-wrapper,
  html body .myaayurveda-trust-features-bar .elementor-icon-box-wrapper {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: auto !important;
    gap: 10px !important;
    padding-right: 6px !important;
  }

  html body .elementor-element-5d55d5a .elementor-icon-box-icon,
  html body .myaayurveda-trust-features-bar .elementor-icon-box-icon {
    flex: 0 0 46px !important;
    width: 46px !important;
    height: 46px !important;
  }

  html body .elementor-element-5d55d5a .elementor-icon,
  html body .myaayurveda-trust-features-bar .elementor-icon {
    width: 46px !important;
    height: 46px !important;
  }

  html body .elementor-element-5d55d5a .elementor-icon svg,
  html body .myaayurveda-trust-features-bar .elementor-icon svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
  }

  html body .elementor-element-5d55d5a .elementor-icon-box-content,
  html body .myaayurveda-trust-features-bar .elementor-icon-box-content {
    flex: 0 0 auto !important;
    width: auto !important;
  }

  html body .elementor-element-5d55d5a .elementor-icon-box-title,
  html body .myaayurveda-trust-features-bar .elementor-icon-box-title {
    font-size: 14px !important;
    white-space: nowrap !important;
    margin: 0 0 2px 0 !important;
  }

  html body .elementor-element-5d55d5a .elementor-icon-box-description,
  html body .myaayurveda-trust-features-bar .elementor-icon-box-description {
    font-size: 12px !important;
    white-space: nowrap !important;
    margin: 0 !important;
  }
}



