/* ===========================
   RESET + BASE
   =========================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: "Poppins", sans-serif;
  color: #0b0b0b;
  background: #fff;
  overflow-x: hidden;
}

/* ===========================
   TOKENS (theme)
   =========================== */
.apple { --bg: #9bbf6b; }
.mango { --bg: #f2b84b; }
.grapes { --bg: #7b3f8c; }
.strawberry { --bg: #f26b6b; }

/* Optional: common UI tokens */
:root{
  --text: #0b0b0b;
  --card: #ffffff;
  --muted: rgba(0,0,0,0.72);
  --line: rgba(0,0,0,0.10);
  --shadow: 0 25px 60px rgba(0,0,0,0.10);
}

/* ===========================
   NAV
   =========================== */
.siteNav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, calc(100% - 28px));
  z-index: 50;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-decoration: none;
  color: var(--text);
}

.brand__dot {
  width: 12px; height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff5ea8, #ffd36b);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.navLinks {
  display: flex;
  align-items: center;
  gap: 14px;
}

.navLinks a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  transition: transform .2s ease, background .2s ease;
}

.navLinks a:hover {
  background: rgba(0,0,0,0.06);
  transform: translateY(-1px);
}

.navCta { display: flex; gap: 10px; }

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.14);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:active { transform: translateY(1px); }

.btn--dark {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
  box-shadow: 0 18px 30px rgba(0,0,0,0.20);
}
.btn--dark:hover { transform: translateY(-1px); }

.btn--ghost {
  background: rgba(255,255,255,0.55);
  color: var(--text);
}
.btn--ghost:hover { transform: translateY(-1px); }

.link {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}

/* ===========================
   HERO SLIDER
   =========================== */
.hero { padding-top: 92px; }

.hero__slides {
  position: relative;
  height: min(74vh, 650px);
  width: 100%;
  overflow: hidden;
}

.hero__slide {
  opacity: 0;
  pointer-events: none;
  transform: translateX(22px);
}

.hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  z-index: 2;
}


.hero__bg { position: absolute; inset: 0; background: var(--bg); }

.hero__bg::before {
  content: "";
  position: absolute;
  inset: -50px;
  background:
    radial-gradient(circle at 15% 30%, rgba(255,255,255,0.28), transparent 40%),
    radial-gradient(circle at 75% 25%, rgba(255,255,255,0.18), transparent 45%),
    radial-gradient(circle at 65% 75%, rgba(0,0,0,0.08), transparent 50%),
    radial-gradient(circle at 25% 85%, rgba(255,255,255,0.18), transparent 40%);
  opacity: 0.9;
}

.hero__content {
  position: absolute;
  left: 56px;
  top: 50%;
  transform: translateY(-50%);
  width: min(520px, 52%);
  z-index: 3;
}

.hero__kicker { font-size: 13px; font-weight: 700; opacity: 0.9; }

.hero__title {
  margin-top: 10px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.5px;
}

.hero__sub { margin-top: 12px; opacity: 0.92; line-height: 1.6; }

.hero__ctaRow { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; }

.hero__bottle {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  height: min(460px, 62vh);
  z-index: 3;
  filter: drop-shadow(0 30px 30px rgba(0,0,0,0.18));
}

.hero__word {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 26px;
  text-align: center;
  font-size: clamp(70px, 10vw, 140px);
  font-weight: 800;
  letter-spacing: 10px;
  opacity: 0.18;
  z-index: 2;
  user-select: none;
}

.hero__dots {
  width: min(1200px, calc(100% - 28px));
  margin: 14px auto 0;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.18);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.dot.is-active { background: rgba(0,0,0,0.55); transform: scale(1.15); }

/* ===========================
   FLAVOURS (cards)
   Goal:
   - hover: background turns flavour colour
   - hover: SHOW bottle image preview
   - no random “expanded overlay”
   =========================== */
.flavours {
  width: min(1200px, calc(100% - 28px));
  margin: 28px auto 80px;
}

.flavours__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 18px 6px 14px;
}
.flavours__header h2 { font-size: 28px; }

.flavours__row {
  height: min(72vh, 560px);
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  background: #f6f6f6;
  box-shadow: var(--shadow);
  align-items: stretch;
}

/* The card itself */
.flavourCard {
  flex: 1;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);

  padding: 44px 34px;
  background: var(--card);
  border-right: 1px solid rgba(0,0,0,0.06);

  display: flex;
  flex-direction: column;
  gap: 12px;

  transition: background-color .35s ease, box-shadow .35s ease;
}

.flavourCard:last-child { border-right: none; }

/* Disable any “expanded overlay” if it exists */
.flavourCard__expanded { display: none !important; }

/* Collapsed content layout */
.flavourCard__collapsed {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2;
}

.flavourCard__collapsed h3 {
  font-size: 32px;
  line-height: 1.1;
  font-weight: 900;
}

.flavourCard__collapsed p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.85;
  max-width: 260px;
}

/* View more pill bottom */
.pillLink {
  margin-top: 5000px;
  display: inline-flex;
  width: fit-content;
  padding: 12px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.14);
  background: rgba(255,255,255,0.92);
  color: var(--text);
  font-weight: 800;
}

/* Title colours by flavour */
.flavourCard.apple .flavourCard__collapsed h3 { color: #9bbf6b; }
.flavourCard.mango .flavourCard__collapsed h3 { color: #f2b84b; }
.flavourCard.grapes .flavourCard__collapsed h3 { color: #7b3f8c; }
.flavourCard.strawberry .flavourCard__collapsed h3 { color: #f26b6b; }

/* --- Bottle preview (THIS is the professional hover preview) --- */
.flavourCard__bottle{
  position: absolute;
  right: -19px;
  bottom: -18px;
  height: 85%;
  max-height: 920px;
  z-index: 1;

  opacity: 0;                       /* hidden until hover */
  transform: translateY(16px) scale(0.98);
  transition: opacity .35s ease, transform .35s ease;
  filter: drop-shadow(0 26px 26px rgba(0,0,0,0.18));
  pointer-events: none;
}

/* Optional: keep bottle faintly visible even before hover */
.flavourCard:hover .flavourCard__bottle{
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Hover background + text */
.flavourCard:hover {
  background: var(--bg);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25);
}

.flavourCard:hover .flavourCard__collapsed h3,
.flavourCard:hover .flavourCard__collapsed p {
  color: #fff;
  opacity: 0.95;
}

.flavourCard:hover .pillLink {
  color: #fff;
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.35);
}

/* Light texture on hover */
.flavourCard::after {
  content: "";
  position: absolute;
  inset: -60px;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.18), transparent 50%),
    radial-gradient(circle at 75% 25%, rgba(255,255,255,0.12), transparent 55%),
    radial-gradient(circle at 60% 80%, rgba(0,0,0,0.08), transparent 60%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
  z-index: 0;
}
.flavourCard:hover::after { opacity: 1; }

/* ===========================
   PAGES
   =========================== */
.page {
  padding-top: 110px;
  width: min(1100px, calc(100% - 28px));
  margin: 0 auto 80px;
}

.page__head h1 { font-size: 46px; }
.muted { opacity: 0.75; margin-top: 8px; }

.cardBlock {
  margin-top: 18px;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 20px 45px rgba(0,0,0,0.08);
  background: #fff;
}

.form { display: grid; gap: 14px; margin-top: 12px; }
label { display: grid; gap: 6px; font-weight: 700; font-size: 13px; }
input, textarea {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.14);
  font-family: inherit;
  font-size: 14px;
}

/* ===========================
   SHOP GRID
   =========================== */
.shopGrid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.shopItem {
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  background: var(--bg);
  min-height: 260px;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform .25s ease;
}

.shopItem:hover { transform: translateY(-6px); }

.shopItem img {
  position: absolute;
  inset: 0;
  margin: auto;
  height: 300px;
  filter: drop-shadow(0 26px 26px rgba(0,0,0,0.18));
}

.shopItem__text {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 18px;
  padding: 12px 14px;
}
.shopItem__text h3 { font-size: 18px; }

/* ===========================
   FLAVOUR DETAIL PAGE
   =========================== */
.flavourPage {
  padding-top: 92px;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.flavourPage::before {
  content: "";
  position: absolute;
  inset: -50px;
  background:
    radial-gradient(circle at 20% 25%, rgba(255,255,255,0.28), transparent 45%),
    radial-gradient(circle at 78% 35%, rgba(255,255,255,0.16), transparent 45%),
    radial-gradient(circle at 70% 80%, rgba(0,0,0,0.10), transparent 55%),
    radial-gradient(circle at 25% 80%, rgba(255,255,255,0.16), transparent 45%);
  opacity: 0.95;
  pointer-events: none;
}

.backBtn {
  position: absolute;
  left: 20px;
  top: 110px;
  z-index: 6;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(0,0,0,0.12);
  backdrop-filter: blur(10px);
}

.flavourPage__center {
  width: min(980px, calc(100% - 28px));
  margin: 0 auto;
  padding: 90px 0 60px;
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  text-align: center;
}

.flavourPage__word {
  position: absolute;
  inset: auto 0 28%;
  font-size: clamp(80px, 12vw, 170px);
  font-weight: 900;
  letter-spacing: 10px;
  opacity: 0.18;
  user-select: none;
}

.flavourPage__bottle {
  height: min(520px, 55vh);
  filter: drop-shadow(0 40px 35px rgba(0,0,0,0.20));
}

.flavourPage__title {
  margin-top: 16px;
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 900;
}

.flavourPage__desc {
  margin-top: 10px;
  max-width: 520px;
  line-height: 1.6;
  opacity: 0.92;
}

.flavourPage__actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* size pills */
.sizePills {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-40%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sizePill {
  width: 110px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.14);
  background: rgba(255,255,255,0.78);
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.sizePill:hover { transform: translateY(-2px); }
.sizePill.is-active { background: rgba(255,255,255,0.92); }

/* ===========================
   FLOATING FRUITS (your current feature)
   =========================== */
.fruitFloat{
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: auto;
}

.fruit{
  --r: 0deg;
  --dx: 8px;
  --dy: 10px;
  position: absolute;
  display: block;

  animation:
    fruitFall 1100ms cubic-bezier(.2,.9,.2,1) both,
    fruitFloat 3200ms ease-in-out infinite;

  filter: drop-shadow(0 14px 14px rgba(0,0,0,0.18));
  transform: translateZ(0);
}

.fruit img{
  width: 100%;
  height: auto;
  display: block;
  transform: rotate(var(--r));
  pointer-events: none;
  user-select: none;
}

@keyframes fruitFall{
  0%   { opacity: 0; transform: translateY(-60px) scale(0.92); }
  100% { opacity: 1; transform: translateY(0px)  scale(1); }
}

@keyframes fruitFloat{
  0%,100% { translate: 0 0; }
  50%     { translate: var(--dx) var(--dy); }
}

/* Depth layers */
.fruit.is-back{
  opacity: 0.45;
  filter: blur(0.6px) drop-shadow(0 10px 10px rgba(0,0,0,0.10));
  z-index: 1;
  animation-duration: 1100ms, 5200ms;
}
.fruit.is-mid{
  opacity: 0.75;
  filter: blur(0.2px) drop-shadow(0 12px 12px rgba(0,0,0,0.14));
  z-index: 2;
  animation-duration: 1100ms, 3800ms;
}
.fruit.is-front{
  opacity: 1;
  filter: drop-shadow(0 16px 16px rgba(0,0,0,0.20));
  z-index: 3;
  animation-duration: 1100ms, 3000ms;
}

@media (prefers-reduced-motion: reduce){
  .fruit{ animation: none; }
}

/* Let UI underneath be clickable */
.fruitFloat{
  pointer-events: none; /* IMPORTANT: don't block clicks */
}

/* But keep the fruit links clickable */
.fruit{
  pointer-events: auto;
}


/* ===========================
   FOOTER
   =========================== */
.footer {
  width: min(1200px, calc(100% - 28px));
  margin: 0 auto 40px;
  padding: 18px 6px;
  opacity: 0.75;
  text-align: center;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 980px) {
  .hero__content { left: 26px; width: 70%; }
  .hero__bottle { right: 22px; height: 340px; }
  .shopGrid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .siteNav { padding: 12px 14px; }
  .navLinks { display: none; }

  .hero__slides { height: 70vh; }
  .hero__slide { border-radius: 22px; }
  .hero__content { width: 88%; }
  .hero__bottle { right: 10px; height: 300px; opacity: 0.95; }
  .hero__word { bottom: 12px; letter-spacing: 6px; }

  .flavours__row { height: 70vh; }
  .shopGrid { grid-template-columns: 1fr; }
  .sizePills { right: 10px; }
}


/* Image handles TURN (constant speed = no glitch) */
.fx-start .flavourPage__bottle{
  transform-origin: 50% 60%;
  transform-style: preserve-3d;
  backface-visibility: visible;
  will-change: transform;
  animation: bottleTurn 1600ms linear both;
}

/* Pop = smooth ease */
@keyframes bottlePop{
  0%   { opacity: 0; transform: scale(0.60); }
  35%  { opacity: 1; transform: scale(0.92); }
  70%  { opacity: 1; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1.00); }
}

/* Turn = steady rotation (same “feel” you liked) */
@keyframes bottleTurn{
  0%   { transform: rotateY(0deg)   rotateZ(-6deg); }
  35%  { transform: rotateY(140deg) rotateZ(6deg);  }
  70%  { transform: rotateY(320deg) rotateZ(-4deg); }
  100% { transform: rotateY(360deg) rotateZ(0deg);  }
}

/* ===========================
   BOOSTERS (Build Your Juice - lite)
   =========================== */
.flavourPrice{
  margin-top: 8px;
  font-weight: 900;
  font-size: 18px;
  opacity: 0.92;
}

.boosters{
  margin-top: 14px;
  display: grid;
  gap: 10px;
  align-items: center;
  justify-items: center;
}

.boosters__label{
  font-size: 13px;
  font-weight: 800;
  opacity: 0.9;
}

.boosters__row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.boosterPill{
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.14);
  background: rgba(255,255,255,0.78);
  font-family: inherit;
  font-weight: 900;
  font-size: 13px;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.boosterPill:hover{ transform: translateY(-2px); }

.boosterPill.is-active{
  background: rgba(255,255,255,0.92);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

/* ===========================
   CART DRAWER (matches theme)
   =========================== */
.cartBtn{
  position: relative;
}

.cartCount{
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
  color: #fff;
  background: #0b0b0b;
  box-shadow: 0 10px 20px rgba(0,0,0,0.18);
}

.cartOverlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 80;
}

.cartOverlay.is-open{
  opacity: 1;
  pointer-events: auto;
}

.cartDrawer{
  position: fixed;
  top: 18px;
  right: 18px;
  height: calc(100dvh - 36px);
  width: min(420px, calc(100% - 36px));
  border-radius: 28px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(0,0,0,0.10);
  box-shadow: 0 30px 80px rgba(0,0,0,0.22);
  transform: translateX(20px);
  opacity: 0;
  pointer-events: none;
  transition: transform .25s ease, opacity .25s ease;
  z-index: 90;

  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.cartDrawer.is-open{
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.cartHead{
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.cartHead h3{
  font-size: 16px;
  font-weight: 900;
}

.cartClose{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.14);
  background: rgba(255,255,255,0.72);
  cursor: pointer;
  font-weight: 900;
}

.cartBody{
  padding: 14px 18px;
  overflow: auto;
  display: grid;
  gap: 12px;
}

.cartEmpty{
  opacity: 0.75;
  line-height: 1.6;
  padding: 10px 0;
}

.cartItem{
  border-radius: 20px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(0,0,0,0.10);
  padding: 12px;
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 12px;
  align-items: center;
}

.cartThumb{
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--bg, #f6f6f6);
  border: 1px solid rgba(0,0,0,0.06);
}

.cartThumb img{
  height: 56px;
  filter: drop-shadow(0 16px 16px rgba(0,0,0,0.14));
}

.cartMeta h4{
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
}

.cartMeta p{
  margin-top: 4px;
  font-size: 12px;
  opacity: 0.78;
  line-height: 1.4;
}

.cartRow{
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.qty{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.qtyBtn{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.14);
  background: rgba(255,255,255,0.78);
  cursor: pointer;
  font-weight: 900;
}

.qtyVal{
  min-width: 22px;
  text-align: center;
  font-weight: 900;
}

.removeBtn{
  font-weight: 900;
  font-size: 12px;
  border: 1px solid rgba(0,0,0,0.14);
  background: rgba(255,255,255,0.78);
  padding: 8px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.cartFoot{
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(0,0,0,0.08);
  display: grid;
  gap: 10px;
}

.cartTotals{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-weight: 900;
}

.cartTotals span:last-child{
  font-size: 18px;
}

/* ===========================
   NAV: In Cart mini meta
   =========================== */
.cartMiniBtn{
  gap: 10px;
}

.cartMiniMeta{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: 12px;
  opacity: 0.85;
}

.cartMiniCount{
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(0,0,0,0.08);
}

.cartMiniDot{
  opacity: 0.6;
}

/* ===========================
   BOTTLE REFLECTION (premium product feel)
   =========================== */

/* Ensure wrappers exist & allow pseudo-elements */
.hero__bottleWrap,
.flavourBottleWrap{
  position: relative;
  display: inline-block;
}

/* Reflection under hero bottle */
.hero__bottleWrap::after{
  content:"";
  position: absolute;
  left: 50%;
  top: calc(100% - 24px);
  width: 78%;
  height: 56%;
  transform: translateX(-50%) scaleY(-1);
  background: var(--reflect) center/contain no-repeat;
  opacity: 0.10;
  filter: blur(1.2px);
  pointer-events: none;

  /* fade-out mask */
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.65), transparent 70%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.65), transparent 70%);
}

/* We can’t hardcode each hero image into CSS cleanly,
   so instead we "clone" the reflection using JS below (Step 2). */

/* Reflection under flavour bottle (works great because you set #flavourBottle src in JS) */
.flavourBottleWrap::after{
  content:"";
  position: absolute;
  left: 50%;
  top: calc(100% - 28px);
  width: 68%;
  height: 54%;
  transform: translateX(-50%) scaleY(-1);
  opacity: 0.11;
  filter: blur(1.2px);
  pointer-events: none;

  background: var(--reflect) center/contain no-repeat;

  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 72%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 72%);
}

/* subtle ground shadow so it feels like it sits on the page */
.hero__bottleWrap::before,
.flavourBottleWrap::before{
  content:"";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 64%;
  height: 18px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.22), transparent 70%);
  opacity: 0.25;
  filter: blur(6px);
  pointer-events: none;
}

/* ===========================
   SOFT GRAIN OVERLAY (subtle texture)
   =========================== */

/* Apply to big colour areas */
.hero__bg::after,
.flavourPage::after{
  content:"";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06; /* keep this LOW */
  mix-blend-mode: multiply;

  /* layered micro-noise using gradients */
  background:
    repeating-linear-gradient(0deg,
      rgba(0,0,0,0.04) 0px,
      rgba(0,0,0,0.04) 1px,
      rgba(255,255,255,0.03) 2px,
      rgba(255,255,255,0.03) 3px
    ),
    repeating-linear-gradient(90deg,
      rgba(0,0,0,0.03) 0px,
      rgba(0,0,0,0.03) 1px,
      rgba(255,255,255,0.02) 2px,
      rgba(255,255,255,0.02) 3px
    );
}

/* Make sure these elements can host ::after */
.hero__bg,
.flavourPage{
  position: relative;
}
/* ===== FIX HERO SLIDESHOW (bring back colour + bottle image) ===== */

.hero__slides{
  position: relative;
  height: min(74vh, 650px);
}

.hero__slide{
  position: absolute;
  inset: 0;
  width: min(1200px, calc(100% - 28px));
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.12);
}

/* make inactive slides hidden */
.hero__slide{ opacity: 0; pointer-events: none; transform: translateX(22px); transition: opacity .8s ease, transform .8s ease; }
.hero__slide.is-active{ opacity: 1; pointer-events: auto; transform: translateX(0); z-index: 2; }

/* background colour layer */
.hero__bg{
  position: absolute;
  inset: 0;
  background: var(--bg, #eee); /* uses your flavour variable */
}

/* make sure your flavour classes actually set --bg */
.hero__bg.apple{ --bg: #9bbf6b; }
.hero__bg.mango{ --bg: #f2b84b; }
.hero__bg.grapes{ --bg: #7b3f8c; }
.hero__bg.strawberry{ --bg: #f26b6b; }

/* bottle image layer */
.hero__bottle{
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  height: min(460px, 62vh);
  z-index: 3;
  display: block;
  opacity: 1;
  filter: drop-shadow(0 30px 30px rgba(0,0,0,0.18));
}

/* content above background */
.hero__content{ position: absolute; left: 56px; top: 50%; transform: translateY(-50%); z-index: 4; }
.hero__word{ position: absolute; left: 0; right: 0; bottom: 26px; text-align: center; z-index: 2; opacity: 0.18; font-weight: 800; letter-spacing: 10px; }

/* dots */
.hero__dots{ width: min(1200px, calc(100% - 28px)); margin: 14px auto 0; display:flex; justify-content:center; gap:10px; }
.dot{ width:10px; height:10px; border-radius:999px; background: rgba(0,0,0,0.18); }
.dot.is-active{ background: rgba(0,0,0,0.55); transform: scale(1.15); }

/* BRAND / LOGO ALIGNMENT FIX */
.brand{
  position: relative;
  height: 66px;            /* navbar height */
  display: flex;
  align-items: center;    /* vertical centering */
  overflow: visible;      /* allow big logo to overflow */
}

/* BIG logo, but centered */
.brand__logo{
  height: 1205x;          /* big logo */
  width: auto;
  display: block;
  transform: translateY(2px); /* fine-tune vertical centering */
}


@media (max-width: 680px){
  .brand__logo{ height: 34px; }
}


.hero__slide.is-active{
  opacity: 1 !important;
  transform: translateX(0) !important;
}
.hero__bg{
  display: block !important;
}
.hero__bottle{
  display: block !important;
  opacity: 1 !important;
}


/* Make the logo bigger BUT contained */
.brand__logo{
  height: 120px;               /* increase logo size */
  width: auto;
  display: block;
  object-fit: contain;
  transform: translateY(2px); /* fine-tune vertical centering */
}

/* Optional: stop the logo from forcing line-height */
.brand * { line-height: 1; }

/* BRAND / LOGO ALIGNMENT FIX */
.brand{
  position: relative;
  height: 66px;            /* navbar height */
  display: flex;
  align-items: center;    /* vertical centering */
  overflow: visible;      /* allow big logo to overflow */
}

/* ===== HERO SLIDESHOW FINAL FIX (force bottle PNG visible) ===== */
.hero__slide { opacity: 0; pointer-events: none; }
.hero__slide.is-active { opacity: 1; pointer-events: auto; }

.hero__bg { position: absolute; inset: 0; }

.hero__bottleWrap { position: absolute; right: -158px; top: 50%; transform: translateY(-50%); z-index: 3; }
.hero__bottle { display: block; opacity: 1; height: min(980px, 78vh); filter: drop-shadow(0 30px 30px rgba(0,0,0,0.18)); }

/* ===========================
   FLAVOUR FINDER
   =========================== */
.finder { padding-top: 120px; }

.finderCard{
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(14px);
}

.finderTop{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.finderProgress{
  flex: 1;
  height: 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.08);
  overflow: hidden;
}

.finderProgress__bar{
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  transition: width .35s ease;
}

.finderStep{
  font-weight: 900;
  font-size: 12px;
  opacity: 0.75;
  white-space: nowrap;
}

.finderQ__title{
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 900;
  letter-spacing: -0.2px;
}

.finderQ__sub{
  margin-top: 8px;
  opacity: 0.78;
  line-height: 1.6;
  max-width: 680px;
}

.finderChoices{
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.finderChoice{
  text-align: left;
  padding: 16px 16px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.74);
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.finderChoice:hover{ transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0,0,0,0.10); }
.finderChoice.is-active{ background: rgba(255,255,255,0.92); }

.finderNav{
  margin-top: 18px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.finderResult{ margin-top: 18px; }

.finderResult__card{
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.10);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  background: rgba(255,255,255,0.75);
}

.finderResult__left{
  padding: 18px;
  display: grid;
  gap: 10px;
}

.finderTag{
  font-size: 12px;
  font-weight: 900;
  opacity: 0.75;
}

.finderResult__title{
  font-size: 26px;
  font-weight: 900;
}

.finderResult__desc{
  opacity: 0.86;
  line-height: 1.6;
  max-width: 520px;
}

.finderResult__cta{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.finderResult__right{
  display: grid;
  place-items: center;
  padding: 14px;
  background: var(--bg, #f6f6f6);
}

.finderBottle{
  height: 280px;
  filter: drop-shadow(0 26px 26px rgba(0,0,0,0.18));
}

.finderResult__mini{
  margin-top: 12px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 780px){
  .finderChoices{ grid-template-columns: 1fr; }
  .finderResult__card{ grid-template-columns: 1fr; }
  .finderBottle{ height: 240px; }
}

/* ===========================
   HERO POUR TRANSITION (REAL JUICE POUR)
   =========================== */
.hero{ position: relative; }


/* overlay */
.pour{
  z-index: 15;          /* above slides */
  pointer-events: none;
  opacity: 0;

  position: absolute;
  inset: 0;
  width: min(1200px, calc(100% - 28px));
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.12);
}



.pour.is-on{ opacity: 1; }

/* liquid sheet */
.pour__liquid{
  --pour: #9bbf6b;
  position: absolute;
  inset: 0;
  transform: translateY(-120%);
  background: var(--pour);
  height: min(74vh, 650px);

  /* makes it feel juicy / glossy */
  filter: saturate(1.05);
}

/* glossy highlights inside the liquid */
.pour__liquid::before{
  content:"";
  position: absolute;
  inset: -80px;
  background:
    radial-gradient(circle at 22% 18%, rgba(255,255,255,0.40), transparent 40%),
    radial-gradient(circle at 78% 28%, rgba(255,255,255,0.22), transparent 55%),
    radial-gradient(circle at 55% 78%, rgba(0,0,0,0.14), transparent 60%);
  opacity: 0.95;
}

/* the wave edge at the bottom of the liquid */
.pour__liquid::after{
  content:"";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -70px;
  height: 160px;

  /* wavy foam-ish highlights */
  background:
    radial-gradient(closest-side at 10% 45%, rgba(255,255,255,0.22), transparent 70%),
    radial-gradient(closest-side at 25% 60%, rgba(255,255,255,0.18), transparent 70%),
    radial-gradient(closest-side at 42% 40%, rgba(255,255,255,0.20), transparent 70%),
    radial-gradient(closest-side at 58% 60%, rgba(255,255,255,0.16), transparent 70%),
    radial-gradient(closest-side at 74% 45%, rgba(255,255,255,0.20), transparent 70%),
    radial-gradient(closest-side at 90% 62%, rgba(255,255,255,0.16), transparent 70%);
  opacity: 0.65;
  filter: blur(0.2px);
}

/* top “pour streams” */
.pour__streams{
  position: absolute;
  left: 0;
  right: 0;
  top: -40px;
  height: 140px;
  z-index: 2;
  opacity: 0;
}

.pour.is-on .pour__streams{ opacity: 1; }

.stream{
  position: absolute;
  top: 0;
  width: 12px;
  height: 180px;
  border-radius: 999px;
  background:
    linear-gradient(to bottom,
      rgba(255,255,255,0.55),
      rgba(255,255,255,0.10) 35%,
      rgba(0,0,0,0.05) 70%,
      rgba(0,0,0,0.10));
  mix-blend-mode: overlay;
  filter: blur(0.1px);
  transform: translateY(-30px);
  animation: streamDrop 720ms cubic-bezier(.2,.9,.2,1) both;
  
}

@keyframes streamDrop{
  0%   { transform: translateY(-60px); opacity: 0; }
  15%  { opacity: 1; }
  100% { transform: translateY(260px); opacity: 0; }
}

/* droplets */
.pour__drops{
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0;
}

.pour.is-on .pour__drops{ opacity: 1; }

.drop{
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
  mix-blend-mode: overlay;
  filter: blur(0.2px);
  animation: dropFall 760ms cubic-bezier(.2,.9,.2,1) both;
}

@keyframes dropFall{
  0%   { transform: translateY(-40px) scale(0.9); opacity: 0; }
  20%  { opacity: 1; }
  100% { transform: translateY(520px) scale(1.1); opacity: 0; }
}

/* main liquid movement */
@keyframes juicePour{
  0%   { transform: translateY(-120%); }
  55%  { transform: translateY(0%); }
  80%  { transform: translateY(10%); }
  100% { transform: translateY(140%); }
}

.pour.is-on .pour__liquid{
  animation: juicePour 760ms cubic-bezier(.2,.9,.2,1) both;
}

@media (prefers-reduced-motion: reduce){
  .pour{ display:none; }
}

