/* SATRUPA V24 — SuperYou-style responsive hero media.
   Uses a real <picture> element, aspect-ratio sizing and object-fit cover.
   Home + Shop share the same configured banner slider. */

.hero,
.shop-page-hero {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate;
  width: 100% !important;
}

.hero .satrupa-banner-picture,
.shop-page-hero .satrupa-banner-picture {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
}

.hero .satrupa-banner-picture .satrupa-banner-image,
.shop-page-hero .satrupa-banner-picture .satrupa-banner-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  filter: none !important;
  transform: none !important;
  animation: none !important;
  image-rendering: auto !important;
  opacity: 1 !important;
  transition: opacity 420ms cubic-bezier(.4,0,.2,1) !important;
  will-change: opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.hero .satrupa-banner-picture .satrupa-banner-image.satrupa-slide-out,
.shop-page-hero .satrupa-banner-picture .satrupa-banner-image.satrupa-slide-out {
  opacity: 0 !important;
}

/* Match the reference implementation: banner height is derived from its
   aspect ratio rather than an arbitrary fixed height. */
.hero,
.shop-page-hero {
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  min-height: 0 !important;
}

.satrupa-banner-dots {
  position: absolute !important;
  z-index: 8 !important;
  left: 50% !important;
  bottom: 18px !important;
  transform: translateX(-50%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  padding: 7px 10px !important;
  border-radius: 999px !important;
  background: rgba(20,25,14,.28) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.satrupa-banner-dot {
  width: 7px !important;
  height: 7px !important;
  min-width: 7px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.62) !important;
  cursor: pointer !important;
  transition: width .25s ease, background-color .25s ease, transform .25s ease !important;
}

.satrupa-banner-dot.active {
  width: 22px !important;
  border-radius: 999px !important;
  background: #D4AF37 !important;
}

@media (max-width: 768px) {
  .hero,
  .shop-page-hero {
    /* Mobile: use a taller 4:3 canvas so wide banners remain fully visible
       instead of cropping faces/text on narrow screens. */
    aspect-ratio: 4 / 3 !important;
  }

  .hero .hero-content,
  .shop-page-hero .hero-content {
    align-items: flex-end !important;
    padding: 0 22px 42px !important;
  }

  .hero .hero-copy,
  .shop-page-hero .hero-copy {
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero .hero-title,
  .shop-page-hero .hero-title {
    font-size: clamp(36px, 10.5vw, 43px) !important;
    line-height: 1.02 !important;
  }

  .hero .hero-desc,
  .shop-page-hero .hero-desc {
    font-size: 13px !important;
    line-height: 1.55 !important;
    margin-top: 14px !important;
  }

  .hero .hero-actions,
  .shop-page-hero .hero-actions {
    margin-top: 18px !important;
    gap: 10px !important;
  }

  .hero .btn-gold,
  .hero .btn-glass,
  .shop-page-hero .btn-gold,
  .shop-page-hero .btn-glass {
    min-height: 46px !important;
    padding: 12px 20px !important;
  }

  .hero .satrupa-banner-picture .satrupa-banner-image,
  .shop-page-hero .satrupa-banner-picture .satrupa-banner-image {
    object-position: center 58% !important;
  }

  .satrupa-banner-dots {
    bottom: 10px !important;
    gap: 6px !important;
    padding: 6px 9px !important;
  }
}

@media (max-width: 430px) {
  .hero,
  .shop-page-hero {
    /* Keep the same mobile canvas on small phones. Never switch back to
       16:9 here because that is what caused banner artwork/text to crop. */
    aspect-ratio: 4 / 3 !important;
  }
}


/* If an owner uploads an unusually shaped banner, never distort it.
   The slider JS adds this class when the source ratio is far from the hero ratio. */
.hero .satrupa-banner-picture .satrupa-banner-image.satrupa-banner-mismatch,
.shop-page-hero .satrupa-banner-picture .satrupa-banner-image.satrupa-banner-mismatch {
  object-fit: contain !important;
  background: #EDE5D8 !important;
}

@media (prefers-reduced-motion: reduce) {
  .hero .satrupa-banner-picture .satrupa-banner-image,
  .shop-page-hero .satrupa-banner-picture .satrupa-banner-image {
    transition: none !important;
  }
}


/* V24.2 MOBILE BANNER FIT GUARANTEE
   Every uploaded banner stays fully visible on phones.
   No face/text/artwork is cropped by object-fit:cover. */
@media (max-width: 768px) {
  .hero .satrupa-banner-picture .satrupa-banner-image,
  .shop-page-hero .satrupa-banner-picture .satrupa-banner-image {
    object-fit: contain !important;
    object-position: center center !important;
    background: #EDE5D8 !important;
  }
}

/* V24.3 — mobile hero copy safety
   Keep the heading fully inside the hero's visible area on narrow phones. */
@media (max-width: 520px) {
  .hero > .hero-content {
    transform: translateY(7px) !important;
  }
  .hero .hero-title {
    line-height: 1.10 !important;
  }
}
