/* ============================================================
   Hero Slider — hero-slider.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap');

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Root container ── */
.hs-root {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  user-select: none;
  font-family: 'Poppins', system-ui, sans-serif;
  cursor: grab;
}
.hs-root:active { cursor: grabbing; }

/* ── Background panels ── */
.hs-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: none;
  will-change: transform;
}
.hs-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.10) 0%, transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.07) 0%, transparent 45%);
}
.hs-bg.hs-enter-next  { transform: translateX(100%); }
.hs-bg.hs-enter-prev  { transform: translateX(-100%); }
.hs-bg.hs-active      { transform: translateX(0);     transition: transform 0.85s cubic-bezier(0.25,0.1,0.25,1); }
.hs-bg.hs-exit-next   { transform: translateX(-100%); transition: transform 0.85s cubic-bezier(0.25,0.1,0.25,1); }
.hs-bg.hs-exit-prev   { transform: translateX(100%);  transition: transform 0.85s cubic-bezier(0.25,0.1,0.25,1); }

/* ── Giant background word ── */
.hs-word-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.hs-word {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(72px, 20vw, 260px);
  line-height: 0.88;
  color: rgba(255,255,255,0.82);
  opacity: 1;
  letter-spacing: -0.025em;
  white-space: nowrap;
  text-transform: uppercase;
  will-change: transform, opacity, filter;
  transition: none;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
@media (max-width: 767px) {
  .hs-word-wrap { align-items: center; top: 0; bottom: 44%; }
  .hs-word { font-size: clamp(52px, 22vw, 160px); }
}
.hs-word.hs-enter-next { transform: translateX(28%);  opacity: 0; filter: blur(10px); }
.hs-word.hs-enter-prev { transform: translateX(-28%); opacity: 0; filter: blur(10px); }
.hs-word.hs-active     { transform: translateX(0);    opacity: 1; filter: blur(0);
  transition: transform 0.68s cubic-bezier(0.25,0.1,0.25,1) 0.05s,
              opacity   0.68s ease 0.05s,
              filter    0.68s ease 0.05s; }
.hs-word.hs-exit-next  { transform: translateX(-28%); opacity: 0; filter: blur(8px);
  transition: transform 0.48s cubic-bezier(0.25,0.1,0.25,1),
              opacity   0.48s ease,
              filter    0.48s ease; }
.hs-word.hs-exit-prev  { transform: translateX(28%);  opacity: 0; filter: blur(8px);
  transition: transform 0.48s cubic-bezier(0.25,0.1,0.25,1),
              opacity   0.48s ease,
              filter    0.48s ease; }

/* ── DESKTOP layout — image centred, content bottom-centre ── */
.hs-desktop {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 10;
}
@media (max-width: 767px) { .hs-desktop { display: none; } }

/* Content panel — absolute, bottom centre */
.hs-content-host {
  position: absolute;
  bottom: 52px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  width: min(740px, 86vw);
  height: 190px;
}
.hs-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  will-change: transform, opacity;
  transition: none;
  text-align: center;
}

/* Price — plain, like T5 */
.hs-price-tag {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 700;
  color: #fff;
  text-align: center;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1;
}

.hs-content.hs-enter-next { transform: translateX(48px);  opacity: 0; }
.hs-content.hs-enter-prev { transform: translateX(-48px); opacity: 0; }
.hs-content.hs-active     { transform: translateX(0);     opacity: 1;
  transition: transform 0.48s cubic-bezier(0.25,0.1,0.25,1) 0.32s,
              opacity   0.48s ease 0.32s; }
.hs-content.hs-exit-next  { transform: translateX(-48px); opacity: 0;
  transition: transform 0.30s ease, opacity 0.30s ease; }
.hs-content.hs-exit-prev  { transform: translateX(48px);  opacity: 0;
  transition: transform 0.30s ease, opacity 0.30s ease; }

.hs-description {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 400;
  color: rgba(255,255,255,0.92);
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 1.75;
  text-align: center;
  max-width: 100%;
}
.hs-buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hs-btn-outline,
.hs-btn-solid {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 11px 26px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
  display: inline-block;
  text-decoration: none;
}
.hs-btn-outline {
  background: rgba(255,255,255,0.13);
  border: 2px solid rgba(255,255,255,0.65);
  color: #fff;
  backdrop-filter: blur(6px);
}
.hs-btn-outline:hover  { background: rgba(255,255,255,0.22); transform: translateY(-2px); }
.hs-btn-outline:active { transform: scale(0.97); }
.hs-btn-solid {
  background: #fff;
  border: none;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  -webkit-appearance: none;
  appearance: none;
}
.hs-btn-solid:hover  { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(0,0,0,0.24); }
.hs-btn-solid:active { transform: scale(0.97); }

/* ── Product image — desktop (absolutely centred, slightly above centre) ── */
.hs-bottle-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: clamp(220px, 32vw, 480px);
  height: clamp(320px, 62vh, 580px);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hs-bottle-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform, opacity;
  transition: none;
}
.hs-prod-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
  pointer-events: none;
}
.hs-bottle-glow {
  display: none;
}

/* Product image roll animation */
.hs-bottle-inner.hs-enter-next { transform: translateX(120vw) rotate(-60deg) scale(0.7); opacity: 0; }
.hs-bottle-inner.hs-enter-prev { transform: translateX(-120vw) rotate(60deg)  scale(0.7); opacity: 0; }
.hs-bottle-inner.hs-active     { transform: translateX(0) rotate(0) scale(1); opacity: 1;
  transition: transform 0.9s cubic-bezier(0.22,1,0.36,1), opacity 0.5s ease; }
.hs-bottle-inner.hs-exit-next  { transform: translateX(-120vw) rotate(60deg)  scale(0.7); opacity: 0;
  transition: transform 0.72s cubic-bezier(0.55,0,1,0.45), opacity 0.4s ease; }
.hs-bottle-inner.hs-exit-prev  { transform: translateX(120vw) rotate(-60deg) scale(0.7); opacity: 0;
  transition: transform 0.72s cubic-bezier(0.55,0,1,0.45), opacity 0.4s ease; }

.hs-spacer { display: none; }

/* ── MOBILE layout ── */
.hs-mobile {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  z-index: 10;
}
@media (max-width: 767px) { .hs-mobile { display: flex; } }

.hs-mob-bottle-zone {
  position: relative;
  flex-shrink: 0;
  height: 52%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 20;
}
.hs-mob-bottle-inner {
  position: relative;
  width: 62%;
  max-width: 220px;
  height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}
.hs-mob-bottle-inner .hs-bottle-inner {
  position: absolute;
  inset: 0;
}
.hs-mob-glow {
  display: none;
}

.hs-mob-content-zone {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 32px 120px 32px;
  gap: 14px;
  z-index: 10;
  overflow: hidden;
}
.hs-mob-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 32px 120px 32px;
  justify-content: center;
  will-change: transform, opacity;
  transition: none;
}

/* Mobile price — plain */
.hs-mob-price-tag {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(22px, 6vw, 32px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1;
}
.hs-mob-content.hs-enter-next { transform: translateX(48px);  opacity: 0; }
.hs-mob-content.hs-enter-prev { transform: translateX(-48px); opacity: 0; }
.hs-mob-content.hs-active     { transform: translateX(0); opacity: 1;
  transition: transform 0.48s cubic-bezier(0.25,0.1,0.25,1) 0.32s,
              opacity   0.48s ease 0.32s; }
.hs-mob-content.hs-exit-next  { transform: translateX(-48px); opacity: 0;
  transition: transform 0.30s ease, opacity 0.30s ease; }
.hs-mob-content.hs-exit-prev  { transform: translateX(48px);  opacity: 0;
  transition: transform 0.30s ease, opacity 0.30s ease; }

.hs-mob-description {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 400;
  color: rgba(255,255,255,0.92);
  font-size: clamp(13px, 3.6vw, 15px);
  line-height: 1.7;
}
.hs-mob-buttons {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}
.hs-mob-buttons .hs-btn-outline,
.hs-mob-buttons .hs-btn-solid {
  flex: 1;
  max-width: none;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
}

/* ── Dots: bottom center, all devices ── */
.hs-dots-wrap {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
}
.hs-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}
.hs-dot {
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.38);
  border: none;
  cursor: pointer;
  padding: 0;
  width: 8px;
  opacity: 0.6;
  transition: width 0.35s cubic-bezier(0.34,1.56,0.64,1), opacity 0.25s ease;
}
.hs-dot.active {
  width: 26px;
  background: #fff;
  opacity: 1;
}

/* ── Arrows: bottom right, desktop only ── */
.hs-arrows-wrap {
  position: absolute;
  bottom: 14px;
  right: 18px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 767px) {
  .hs-arrows-wrap { display: none; }
}
.hs-arrow {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255,255,255,0.5);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s, border-color 0.2s;
  flex-shrink: 0;
}
.hs-arrow:hover  { background: rgba(255,255,255,0.26); border-color: #fff; transform: scale(1.07); }
.hs-arrow:active { transform: scale(0.92); }
.hs-arrow svg    { pointer-events: none; }

/* ── Mobile: wrapper height is set by style.css; keep inner layout clean ── */
@media (max-width: 767px) {
  /* style.css !important rule controls .hs-root height — keep in sync */
  .hs-root {
    height: calc(100svh - 100px - 72px - env(safe-area-inset-bottom, 0px));
    min-height: 480px;
  }
  /* Dots near hero bottom — no extra nav offset (wrapper already ends above nav) */
  .hs-dots-wrap {
    bottom: 10px;
  }
  /* Normal padding — wrapper ends above nav so no large compensation needed */
  .hs-mob-content-zone,
  .hs-mob-content {
    padding-bottom: 16px;
  }
}

/* ── Floating Ingredients (T4) ─────────────────────────────── */
.hs-ing-layer {
  position: absolute;
  inset: 0;
  z-index: 25;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.hs-ing-layer.hs-ing-active { opacity: 1; }
.hs-ing {
  position: absolute;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 5px 18px rgba(0,0,0,.32));
  will-change: transform;
}
.hs-ing-0 { top:7%;    right:6%;  } .hs-ing-1 { top:7%;    left:7%;  }
.hs-ing-2 { top:42%;   right:2%;  } .hs-ing-3 { top:40%;   left:3%;  }
.hs-ing-4 { bottom:8%; right:7%;  } .hs-ing-5 { bottom:8%; left:7%;  }
.hs-ing-6 { top:22%;   right:20%; } .hs-ing-7 { top:22%;   left:20%; }
/* Burst entry → continuous float per slot */
.hs-ing-layer.hs-ing-active .hs-ing-0{animation:t4Burst0 .88s cubic-bezier(.34,1.56,.64,1) both,t4IngFloat  4.2s ease-in-out  .88s infinite}
.hs-ing-layer.hs-ing-active .hs-ing-1{animation:t4Burst1 .88s cubic-bezier(.34,1.56,.64,1) .10s both,t4IngWobble 5.1s ease-in-out  .98s infinite}
.hs-ing-layer.hs-ing-active .hs-ing-2{animation:t4Burst2 .88s cubic-bezier(.34,1.56,.64,1) .20s both,t4IngSpin   3.8s ease-in-out 1.08s infinite}
.hs-ing-layer.hs-ing-active .hs-ing-3{animation:t4Burst3 .88s cubic-bezier(.34,1.56,.64,1) .15s both,t4IngDrift  6.2s ease-in-out 1.03s infinite}
.hs-ing-layer.hs-ing-active .hs-ing-4{animation:t4Burst4 .88s cubic-bezier(.34,1.56,.64,1) .25s both,t4IngBounce 4.9s ease-in-out 1.13s infinite}
.hs-ing-layer.hs-ing-active .hs-ing-5{animation:t4Burst5 .88s cubic-bezier(.34,1.56,.64,1) .05s both,t4IngFloat  5.6s ease-in-out  .93s infinite}
.hs-ing-layer.hs-ing-active .hs-ing-6{animation:t4Burst6 .88s cubic-bezier(.34,1.56,.64,1) .30s both,t4IngWobble 3.4s ease-in-out 1.18s infinite}
.hs-ing-layer.hs-ing-active .hs-ing-7{animation:t4Burst7 .88s cubic-bezier(.34,1.56,.64,1) .18s both,t4IngSpin   4.8s ease-in-out 1.06s infinite}
/* Burst keyframes — each from a unique direction */
@keyframes t4Burst0{0%{transform:translate( 90%,130%) scale(0) rotate(0);opacity:0;filter:blur(8px)}65%{opacity:1;filter:blur(0)}85%{transform:translate(0,0) scale(1.18) rotate(-15deg)}100%{transform:translate(0,0) scale(1) rotate(0)}}
@keyframes t4Burst1{0%{transform:translate(-90%,110%) scale(0) rotate(0);opacity:0;filter:blur(8px)}65%{opacity:1;filter:blur(0)}85%{transform:translate(0,0) scale(1.18) rotate( 15deg)}100%{transform:translate(0,0) scale(1) rotate(0)}}
@keyframes t4Burst2{0%{transform:translate(130%,-60%) scale(0) rotate(0);opacity:0;filter:blur(8px)}65%{opacity:1;filter:blur(0)}85%{transform:translate(0,0) scale(1.15) rotate(-20deg)}100%{transform:translate(0,0) scale(1) rotate(0)}}
@keyframes t4Burst3{0%{transform:translate(-130%,-60%) scale(0) rotate(0);opacity:0;filter:blur(8px)}65%{opacity:1;filter:blur(0)}85%{transform:translate(0,0) scale(1.15) rotate( 20deg)}100%{transform:translate(0,0) scale(1) rotate(0)}}
@keyframes t4Burst4{0%{transform:translate( 80%,-130%) scale(0) rotate(0);opacity:0;filter:blur(8px)}65%{opacity:1;filter:blur(0)}85%{transform:translate(0,0) scale(1.18) rotate(-12deg)}100%{transform:translate(0,0) scale(1) rotate(0)}}
@keyframes t4Burst5{0%{transform:translate(-80%,-110%) scale(0) rotate(0);opacity:0;filter:blur(8px)}65%{opacity:1;filter:blur(0)}85%{transform:translate(0,0) scale(1.18) rotate( 12deg)}100%{transform:translate(0,0) scale(1) rotate(0)}}
@keyframes t4Burst6{0%{transform:translate( 60%, 80%) scale(0) rotate(0);opacity:0;filter:blur(8px)}65%{opacity:1;filter:blur(0)}85%{transform:translate(0,0) scale(1.15) rotate(-18deg)}100%{transform:translate(0,0) scale(1) rotate(0)}}
@keyframes t4Burst7{0%{transform:translate(-60%, 80%) scale(0) rotate(0);opacity:0;filter:blur(8px)}65%{opacity:1;filter:blur(0)}85%{transform:translate(0,0) scale(1.15) rotate( 18deg)}100%{transform:translate(0,0) scale(1) rotate(0)}}
/* Continuous floats */
@keyframes t4IngFloat {0%,100%{transform:translateY(0) rotate(0) scale(1)}50%{transform:translateY(-14px) rotate(8deg) scale(1.04)}}
@keyframes t4IngWobble{0%,100%{transform:translateX(0) rotate(0) scale(1)}33%{transform:translateX(12px) rotate(-10deg) scale(1.07)}66%{transform:translateX(-9px) rotate(7deg) scale(.94)}}
@keyframes t4IngSpin  {0%,100%{transform:rotate(0) scale(1) translateY(0)}50%{transform:rotate(22deg) scale(1.1) translateY(-10px)}}
@keyframes t4IngDrift {0%,100%{transform:translate(0,0) rotate(0)}40%{transform:translate(11px,-14px) rotate(12deg)}80%{transform:translate(-8px,7px) rotate(-8deg)}}
@keyframes t4IngBounce{0%,100%{transform:translateY(0) scale(1)}20%{transform:translateY(-20px) scale(1.1) rotate(12deg)}50%{transform:translateY(-9px) scale(.95) rotate(-4deg)}75%{transform:translateY(-16px) scale(1.05) rotate(7deg)}}
@media(max-width:640px){.hs-ing-2,.hs-ing-3,.hs-ing-6,.hs-ing-7{display:none}}
