/* ============================================================
   SwiftStockUp — design system & page styles
   Mobile-first. Natural, fresh, premium wellness aesthetic.
   ============================================================ */

:root {
  --green-950: #06231b;
  --green-900: #0b3d2e;
  --green-800: #0f5540;
  --green-700: #136b4d;
  --green-500: #1f8f63;
  --green-400: #3fb784;
  --green-300: #7fd3ac;
  --mint: #c9f2df;
  --mint-100: #e4f7ed;
  --mint-50: #f0faf5;
  --lime: #d9f55a;
  --cream: #f6f7f2;
  --cream-2: #eef1ea;
  --white: #ffffff;
  --ink: #0f1f18;
  --ink-2: #33433b;
  --muted: #5a6a61;   /* 5.3:1 on cream, 5.7:1 on white */
  --line: #dfe7e1;
  --danger: #c0392b;

  --font-head: "Sora", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow: 0 10px 30px rgba(11, 61, 46, 0.10);
  --shadow-lg: 0 30px 70px rgba(11, 61, 46, 0.20);
  --container: 1160px;
  --gutter: 20px;
  --header-h: 64px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img, svg { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-900); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; color: var(--green-950); letter-spacing: -0.025em; }
h3, h4 { font-weight: 600; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.2rem, 7vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-700); margin-bottom: .6rem;   /* 6:1 on cream */
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- focus ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--green-500); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.5rem; border-radius: var(--radius-pill); border: 1.5px solid transparent;
  font-weight: 700; font-size: .95rem; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--green-900); color: #fff; box-shadow: 0 8px 20px rgba(11, 61, 46, .25); }
.btn--primary:hover { background: var(--green-800); color: #fff; transform: translateY(-1px); box-shadow: 0 12px 26px rgba(11, 61, 46, .3); }
.btn--light { background: #fff; color: var(--green-900); box-shadow: var(--shadow); }
.btn--light:hover { color: var(--green-700); transform: translateY(-1px); }
.btn--outline { background: transparent; border-color: var(--green-900); color: var(--green-900); }
.btn--outline:hover { background: var(--green-900); color: #fff; }
.btn--ghost { background: var(--mint-100); color: var(--green-700); cursor: default; }
.btn--lime { background: var(--lime); color: var(--green-950); }
.btn--lime:hover { background: #e4fb7a; color: var(--green-950); }
.btn--sm { padding: .6rem 1rem; font-size: .85rem; }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"], .btn--disabled { opacity: .6; pointer-events: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246, 247, 242, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(11, 61, 46, .08);
}
.site-header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .55rem; color: var(--green-900); font-weight: 800; letter-spacing: .06em; font-size: .95rem; }
.logo__mark { width: 30px; height: 30px; flex: none; }
.logo__text b { color: var(--green-500); font-weight: 800; }
.logo--light { color: var(--mint); }
.logo--light .logo__text b { color: var(--green-300); }
.nav { display: none; gap: 1.6rem; }
.nav__link { font-weight: 600; font-size: .92rem; color: var(--ink-2); position: relative; padding: .3rem 0; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--green-500); transition: right .25s var(--ease); }
.nav__link:hover::after, .nav__link.is-active::after { right: 0; }
.site-header__actions { display: flex; align-items: center; gap: .5rem; }
.cart-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; color: var(--green-900); background: #fff; box-shadow: var(--shadow); }
.cart-btn svg { width: 22px; height: 22px; }
.cart-btn__count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--green-700); color: #fff; font-size: .7rem; font-weight: 800; display: flex; align-items: center; justify-content: center;   /* 6.5:1 */
  transition: transform .2s var(--ease);
}
.cart-btn__count.is-empty { transform: scale(0); }
.nav-toggle { width: 42px; height: 42px; border: 0; background: transparent; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--green-900); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-drawer { position: fixed; inset: var(--header-h) 0 0; background: var(--cream); padding: 1.5rem var(--gutter) 2rem; display: flex; flex-direction: column; gap: 1.5rem; z-index: 58; overflow-y: auto; }
.nav-drawer nav { display: flex; flex-direction: column; }
.nav-drawer .nav__link { font-size: 1.3rem; font-family: var(--font-head); font-weight: 600; letter-spacing: -0.01em; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.nav-drawer .nav__link::after { display: none; }

@media (min-width: 900px) {
  .nav { display: flex; }
  .nav-toggle, .nav-drawer { display: none !important; }
}

/* ---------- scroll stage (3D hero) ---------- */
.stage { position: relative; height: 440vh; }
.stage__view {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background:
    radial-gradient(60% 50% at 70% 35%, rgba(201, 242, 223, .9), transparent 70%),
    radial-gradient(50% 40% at 20% 80%, rgba(217, 245, 90, .25), transparent 70%),
    linear-gradient(180deg, #f6f7f2 0%, #e8f3ec 100%);
}
.stage__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.stage__fallback { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; padding-top: var(--header-h); }
.stage__fallback .bottle-svg { height: 46vh; width: auto; }
.stage.no-webgl .stage__fallback { display: flex; }
.stage.no-webgl .stage__canvas { display: none; }
.stage__glow { position: absolute; left: 50%; top: 32%; width: 70vw; height: 70vw; max-width: 520px; max-height: 520px; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 183, 132, .35), rgba(63, 183, 132, 0) 65%); filter: blur(10px); pointer-events: none; }

.stage__slide {
  position: absolute; left: 0; right: 0; bottom: max(5vh, 24px); padding: 0 var(--gutter);
  opacity: 0; transform: translateY(24px); pointer-events: none; will-change: transform, opacity;
}
.stage__slide.is-active { pointer-events: auto; }
.stage__slide .eyebrow { color: var(--green-700); }
.stage__slide h1, .stage__slide h2 { margin-bottom: .5rem; }
.stage__slide h2 { font-size: clamp(1.45rem, 6.2vw, 2.8rem); }
.stage__slide p { max-width: 36rem; color: var(--ink-2); font-size: clamp(.92rem, 3.8vw, 1.02rem); margin-bottom: 1rem; }
.stage__cta { display: flex; flex-wrap: wrap; gap: .7rem; }
.stage__slide--hero h1 { font-size: clamp(2.3rem, 9vw, 4.6rem); line-height: 1.02; }
.stage__slide--hero h1 em { font-style: normal; color: var(--green-500); }
.benefit-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .55rem; }
.benefit-list li { display: flex; align-items: flex-start; gap: .7rem; padding: .55rem .8rem; background: rgba(255, 255, 255, .72); border: 1px solid rgba(11, 61, 46, .08); border-radius: var(--radius-sm); backdrop-filter: blur(6px); font-size: .88rem; line-height: 1.4; }
.benefit-list li strong { display: block; color: var(--green-900); }
.benefit-list .tick { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--green-900); color: var(--mint); display: grid; place-items: center; font-size: .8rem; }
.stat-row { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.stat-row div { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--green-900); line-height: 1; }
.stat-row span { display: block; font-family: var(--font-body); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: .35rem; }

.stage__dots { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; z-index: 2; }
.stage__dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(11, 61, 46, .25); transition: all .3s var(--ease); }
.stage__dots span.is-active { height: 22px; border-radius: 4px; background: var(--green-700); }
.stage__hint { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green-700); display: flex; align-items: center; gap: .4rem; transition: opacity .3s; }
.stage__hint::after { content: ""; width: 1px; height: 22px; background: var(--green-700); animation: hintLine 1.6s infinite; }
@keyframes hintLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.stage.is-end .stage__hint { opacity: 0; }

.stage__badge { position: absolute; top: calc(var(--header-h) + 12px); left: 50%; transform: translateX(-50%); white-space: nowrap; display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .8rem; background: rgba(255, 255, 255, .8); border-radius: var(--radius-pill); font-size: .75rem; font-weight: 700; color: var(--green-800); box-shadow: var(--shadow); backdrop-filter: blur(6px); }
.stage__badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--green-400); box-shadow: 0 0 0 4px rgba(63, 183, 132, .25); }

@media (min-width: 900px) {
  .stage { height: 500vh; }
  /* Text column: content width is set apart from the left padding (which grows with the window
     to line up with the page container), so wide screens never squeeze the copy. */
  .stage__slide { left: 0; right: auto; bottom: auto; top: 50%; transform: translateY(calc(-50% + 24px)); box-sizing: content-box; width: min(40vw, 560px); max-width: none; padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); padding-right: 2rem; }
  .stage__glow { left: 72%; top: 50%; }
  .stage__dots { right: 28px; }
  .stage__badge { left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); transform: none; }
  .stage__slide h2 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); }
  /* Heading scales with the text column, not the viewport, so it never breaks one word per line
     or grows taller than the viewport and collides with the badge above it. */
  .stage__slide--hero h1 { font-size: clamp(2.4rem, 4.3vw, 4.6rem); line-height: 1.04; }
  .stage__slide { top: 50%; max-height: calc(100vh - var(--header-h) - 120px); overflow: visible; }
  .stage__badge { z-index: 2; }
  .stage__slide p { font-size: 1.02rem; }
  .benefit-list li { font-size: .95rem; padding: .7rem .9rem; }
  .stat-row div { font-size: 1.7rem; }
}

/* Short viewports (landscape phones, small windows): the badge and the big heading would
   collide and the bottle would sit behind the text, so scale type by height and, when there
   is room, use the side-by-side layout (home.js mirrors this breakpoint for the 3D layout). */
@media (max-height: 540px) {
  .stage__badge { display: none; }
  .stage__slide--hero h1 { font-size: clamp(1.5rem, 9vh, 2.6rem); line-height: 1.05; }
  .stage__slide h2 { font-size: clamp(1.2rem, 7vh, 2rem); }
  .stage__slide p { font-size: .9rem; margin-bottom: .6rem; max-width: 30rem; }
  .stage__slide h1, .stage__slide h2 { margin-bottom: .3rem; }
  .benefit-list { gap: .35rem; }
  .benefit-list li { padding: .4rem .6rem; font-size: .8rem; }
  .stat-row { gap: 1rem; margin-bottom: .6rem; }
  .stat-row div { font-size: 1.2rem; }
  .btn--lg { padding: .6rem 1rem; font-size: .9rem; }
}
@media (max-height: 540px) and (min-width: 600px) and (max-width: 899px) {
  .stage__slide { left: 0; right: auto; bottom: auto; top: 50%; transform: translateY(-50%); width: 54%; max-width: 520px; padding-right: 1rem; }
  .stage__glow { left: 74%; top: 50%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .stage { height: auto; }
  .stage__view { position: relative; height: auto; min-height: 70vh; padding-bottom: 2rem; }
  .stage__canvas { position: relative; height: 60vh; }
  .stage__slide { position: relative; opacity: 1 !important; transform: none !important; pointer-events: auto; margin-top: 1.5rem; width: auto; max-width: 720px; }
  .stage__dots, .stage__hint { display: none; }
}

/* ---------- generic sections ---------- */
.section { padding: clamp(3.5rem, 9vw, 6.5rem) 0; }
.section--tight { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.section--mint { background: var(--mint-50); }
.section--dark { background: var(--green-900); color: var(--mint-100); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .eyebrow { color: var(--green-300); }
.section__head { max-width: 640px; margin-bottom: 2.2rem; }
.section__head p { color: var(--ink-2); font-size: 1.05rem; }
.section--dark .section__head p { color: var(--mint-100); }

[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .1s; }
[data-reveal][data-delay="2"] { transition-delay: .2s; }
[data-reveal][data-delay="3"] { transition-delay: .3s; }

/* trust bar */
.trust { background: var(--green-900); color: var(--mint-100); }
.trust__inner { display: grid; grid-template-columns: 1fr; gap: .6rem; padding: 1rem 0; font-size: .85rem; font-weight: 600; }
.trust__inner div { display: flex; align-items: center; gap: .6rem; }
.trust__inner svg { width: 20px; height: 20px; flex: none; color: var(--green-300); }
@media (min-width: 700px) { .trust__inner { grid-template-columns: repeat(4, 1fr); } }

/* intro */
.intro { display: grid; gap: 2rem; align-items: center; }
.intro__card { background: #fff; border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.intro__card ul { margin: 0; padding-left: 1.2rem; color: var(--ink-2); }
.intro__card li { margin-bottom: .4rem; }
@media (min-width: 900px) { .intro { grid-template-columns: 1.1fr .9fr; gap: 4rem; } }

/* product grid */
.product-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
.product-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card__visual { display: grid; place-items: center; aspect-ratio: 1 / .9; background: linear-gradient(160deg, var(--mint-100), var(--cream-2)); padding: 1.5rem; }
.product-card__visual img { width: 100%; height: 100%; object-fit: contain; }
.product-card__visual .bottle-svg { height: 100%; width: auto; max-height: 240px; filter: drop-shadow(0 18px 24px rgba(11, 61, 46, .25)); }
.product-card__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.product-card__body h3 { font-size: 1.2rem; }
.product-card__body h3 a { color: var(--green-950); }
.product-card__body p { color: var(--muted); font-size: .92rem; flex: 1; }
.product-card__row { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-top: .4rem; }
.product-card__row strong { font-size: 1.15rem; color: var(--green-900); }
.product-card--soon .product-card__visual { opacity: .75; }

/* steps */
.steps { display: grid; gap: 1rem; counter-reset: step; }
.step { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 1.4rem; position: relative; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--green-300); display: block; margin-bottom: .4rem; }
.step h3 { font-size: 1.15rem; }
.step p { margin: 0; color: var(--mint-100); font-size: .95rem; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* FAQ */
.faq { display: grid; gap: .7rem; max-width: 780px; }
.faq details { background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 0 1.2rem; }
.faq summary { list-style: none; cursor: pointer; padding: 1.05rem 0; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--green-950); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--green-500); font-weight: 400; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 1.1rem; margin: 0; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--green-900), var(--green-700)); color: #fff; border-radius: var(--radius); padding: 2.2rem 1.6rem; display: grid; gap: 1.2rem; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: rgba(217, 245, 90, .15); }
.cta-band h2 { color: #fff; margin-bottom: .3rem; }
.cta-band p { color: var(--mint-100); margin: 0; }
@media (min-width: 800px) { .cta-band { grid-template-columns: 1fr auto; padding: 3rem; } }

/* ---------- footer ---------- */
.site-footer { background: var(--green-950); color: var(--mint-100); padding: 3.2rem 0 1.5rem; margin-top: 0; }
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .8rem; }
.site-footer a { color: var(--mint-100); display: block; margin-bottom: .5rem; font-size: .95rem; }
.site-footer a:hover { color: #fff; }
.site-footer__blurb { font-size: .92rem; color: rgba(228, 247, 237, .85); margin-top: 1rem; max-width: 320px; }
.social { display: flex; gap: .6rem; margin-top: .8rem; }
.social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: grid; place-items: center; margin: 0; }
.social svg { width: 18px; height: 18px; }
.site-footer__bottom { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-direction: column; gap: .4rem; font-size: .8rem; color: rgba(228, 247, 237, .8); }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } .site-footer__bottom { flex-direction: row; justify-content: space-between; } }

/* ---------- WhatsApp FAB + toast ---------- */
.wa-fab { position: fixed; right: 16px; bottom: 16px; width: 54px; height: 54px; max-width: calc(100vw - 32px); border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(37, 211, 102, .4); z-index: 50; transition: transform .2s var(--ease); }
.wa-fab:hover { transform: scale(1.06); color: #fff; }
.wa-fab svg { width: 30px; height: 30px; }
.toast { position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 20px); background: var(--green-950); color: #fff; padding: .8rem 1.1rem; border-radius: var(--radius-pill); display: flex; gap: 1rem; align-items: center; font-size: .9rem; opacity: 0; pointer-events: none; transition: all .3s var(--ease); z-index: 70; box-shadow: var(--shadow-lg); white-space: nowrap; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: var(--lime); font-weight: 700; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: clamp(2.5rem, 7vw, 4.5rem) 0 clamp(1.5rem, 4vw, 2.5rem); }
.page-hero p { max-width: 620px; color: var(--ink-2); font-size: 1.05rem; }
.breadcrumb { font-size: .82rem; color: var(--muted); margin-bottom: 1rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--green-700); }

/* ---------- product page ---------- */
.product { display: grid; gap: 2rem; padding-top: 1.5rem; grid-template-columns: minmax(0, 1fr); }
.product > * { min-width: 0; }
.product__media { position: relative; border-radius: var(--radius); overflow: hidden; background: radial-gradient(70% 60% at 50% 40%, rgba(201, 242, 223, .95), transparent 75%), linear-gradient(180deg, #f3f7f3, #e6f1ea); aspect-ratio: 1 / 1.05; box-shadow: var(--shadow); }
.product__media canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.product__media canvas:active { cursor: grabbing; }
.product__media .bottle-svg { height: 80%; width: auto; margin: 10% auto; display: none; filter: drop-shadow(0 24px 30px rgba(11, 61, 46, .3)); }
.product__media.no-webgl canvas { display: none; }
.product__media.no-webgl .bottle-svg { display: block; }
.product__media-hint { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green-700); background: rgba(255, 255, 255, .7); padding: .35rem .7rem; border-radius: var(--radius-pill); }
.product__thumbs { display: flex; gap: .6rem; margin-top: .8rem; }
.product__thumbs button { width: 64px; height: 64px; border-radius: var(--radius-sm); border: 2px solid transparent; background: var(--mint-100); padding: 6px; display: grid; place-items: center; }
.product__thumbs button.is-active { border-color: var(--green-500); }
.product__thumbs img, .product__thumbs .bottle-svg { height: 100%; width: auto; }
.product__info h1 { font-size: clamp(1.9rem, 5.5vw, 2.8rem); margin-bottom: .4rem; }
.product__brand { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.product__price { font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; letter-spacing: -0.02em; color: var(--green-900); margin-bottom: .2rem; }
.product__stock { font-size: .85rem; color: var(--green-700); font-weight: 700; margin-bottom: 1.2rem; display: flex; align-items: center; gap: .4rem; }
.product__stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green-400); }
.product__stock.is-out { color: var(--danger); } .product__stock.is-out::before { background: var(--danger); }
.product__desc { color: var(--ink-2); margin-bottom: 1.4rem; }
.field-label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .5rem; }
.variants { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.3rem; }
.variant { border: 1.5px solid var(--line); background: #fff; border-radius: var(--radius-sm); padding: .65rem .95rem; text-align: left; transition: all .2s; }
.variant strong { display: block; font-size: .95rem; color: var(--green-950); }
.variant span { font-size: .78rem; color: var(--muted); }
.variant.is-active { border-color: var(--green-900); background: var(--mint-50); box-shadow: 0 0 0 3px rgba(31, 143, 99, .15); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-pill); background: #fff; height: 48px; }
.qty button { width: 44px; height: 100%; border: 0; background: transparent; font-size: 1.2rem; color: var(--green-900); }
.qty input { width: 48px; text-align: center; border: 0; font: inherit; font-weight: 700; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.product__buy { display: grid; gap: .7rem; margin: 1.2rem 0 1.4rem; }
.product__buy .btn { padding: 1rem 1.4rem; }
.product__perks { display: grid; gap: .5rem; font-size: .88rem; color: var(--ink-2); margin-bottom: 1.5rem; }
.product__perks div { display: flex; gap: .5rem; align-items: center; }
.product__perks svg { width: 18px; height: 18px; color: var(--green-500); flex: none; }
.highlights { display: grid; gap: .7rem; grid-template-columns: repeat(2, 1fr); margin: 1.2rem 0; }
.highlight { background: #fff; border-radius: var(--radius-sm); padding: .9rem; box-shadow: var(--shadow); }
.highlight strong { display: block; color: var(--green-900); font-size: .92rem; margin-bottom: .2rem; }
.highlight span { font-size: .82rem; color: var(--muted); }

.tabs { margin-top: 1rem; }
.tabs__nav { display: flex; gap: .3rem; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.tabs__nav::-webkit-scrollbar { display: none; }
.tabs__nav button { border: 0; background: transparent; padding: .8rem 1rem; font-weight: 700; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs__nav button.is-active { color: var(--green-900); border-bottom-color: var(--green-500); }
.tabs__panel { padding: 1.3rem 0; color: var(--ink-2); }
.tabs__nav button:focus-visible { outline: 3px solid var(--green-500); outline-offset: -3px; border-radius: 8px; }
.tabs__panel ul, .tabs__panel ol { padding-left: 1.2rem; }
.tabs__panel li { margin-bottom: .45rem; }
.supp-table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: .6rem 0 1rem; background: #fff; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); }
.supp-table th, .supp-table td { text-align: left; padding: .65rem .9rem; border-bottom: 1px solid var(--line); }
.supp-table th { background: var(--mint-50); color: var(--green-900); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.notice { background: #fff7e8; border: 1px solid #f3dfb3; border-radius: var(--radius-sm); padding: .9rem 1rem; font-size: .9rem; color: #6a4e0f; }
@media (min-width: 900px) {
  .product { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: start; }
  .product__media-wrap { position: sticky; top: calc(var(--header-h) + 20px); }
  .product__buy { grid-template-columns: 1fr 1fr; }
}

/* ---------- cart ---------- */
.cart-layout { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); padding-bottom: 6rem; /* clear the floating WhatsApp button */ }
.cart-layout > *, .checkout > *, .contact-grid > * { min-width: 0; }
.cart-lines { display: grid; gap: .9rem; }
.cart-line { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 1rem; background: #fff; border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); align-items: center; }
.cart-line__visual { width: 72px; height: 90px; display: grid; place-items: center; background: var(--mint-100); border-radius: var(--radius-sm); padding: 6px; }
.cart-line__visual .bottle-svg, .cart-line__visual img { height: 100%; width: auto; }
.cart-line__info h3 { font-size: 1.05rem; margin-bottom: .1rem; }
.cart-line__info p { font-size: .85rem; color: var(--muted); margin: 0 0 .5rem; }
.cart-line__controls { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.cart-line__controls .qty { height: 40px; } .cart-line__controls .qty button { width: 36px; }
.cart-line__remove { border: 0; background: transparent; color: var(--muted); font-size: .85rem; text-decoration: underline; padding: 0; }
.cart-line__total { font-weight: 800; color: var(--green-900); grid-column: 1 / -1; text-align: right; }
.summary { background: #fff; border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); height: fit-content; }
.summary h3 { margin-bottom: 1rem; }
.summary__row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .15rem 1rem; padding: .45rem 0; font-size: .95rem; color: var(--ink-2); }
.summary__row span:last-child { margin-left: auto; text-align: right; }
.summary__row--total { border-top: 1px solid var(--line); margin-top: .5rem; padding-top: .9rem; font-weight: 800; color: var(--green-950); font-size: 1.15rem; }
.summary .btn { margin-top: 1rem; }
.summary__note { font-size: .8rem; color: var(--muted); margin: .8rem 0 0; }
.empty { text-align: center; padding: 3rem 1rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.empty .bottle-svg { height: 150px; width: auto; margin: 0 auto 1rem; opacity: .7; }
@media (min-width: 900px) {
  .cart-layout { grid-template-columns: 1.4fr .8fr; gap: 3rem; }
  .cart-line { grid-template-columns: 72px minmax(0, 1fr) auto; }
  .cart-line__total { grid-column: auto; min-width: 110px; }
  .summary { position: sticky; top: calc(var(--header-h) + 20px); }
}

/* ---------- forms / checkout ---------- */
.form-grid { display: grid; gap: 1rem; }
.form-grid--2 { grid-template-columns: 1fr; }
@media (min-width: 600px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-size: .85rem; font-weight: 700; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: inherit; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(31, 143, 99, .15); }
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: .78rem; color: var(--muted); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--danger); }
.field .error { font-size: .78rem; color: var(--danger); display: none; }
.field.is-invalid .error { display: block; }
.checkout { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); padding-bottom: 6rem; }
.confirm { padding-bottom: 6rem; }
.panel { background: #fff; border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); margin-bottom: 1.2rem; }
.panel h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.panel h3 .num { width: 28px; height: 28px; border-radius: 50%; background: var(--green-900); color: #fff; font-family: var(--font-body); font-size: .8rem; display: grid; place-items: center; }
.choice-list { display: grid; gap: .6rem; }
.choice { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .85rem 1rem; cursor: pointer; background: #fff; transition: all .2s; }
.choice:has(input:checked) { border-color: var(--green-900); background: var(--mint-50); box-shadow: 0 0 0 3px rgba(31, 143, 99, .12); }
.choice input { accent-color: var(--green-700); width: 18px; height: 18px; margin: 0; }
.choice strong { display: block; font-size: .95rem; color: var(--green-950); }
.choice span { font-size: .8rem; color: var(--muted); }
.choice .fee { font-weight: 800; color: var(--green-900); font-size: .95rem; }
.choice__logo { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; font-size: .6rem; font-weight: 800; color: #fff; letter-spacing: .02em; }
.pay-note { margin-top: 1rem; display: none; }
.pay-note.is-visible { display: block; }
.momo-box { background: var(--mint-50); border: 1px dashed var(--green-300); border-radius: var(--radius-sm); padding: 1rem; font-size: .92rem; }
.momo-box strong { color: var(--green-900); }
.momo-box code { font-family: var(--font-body); font-weight: 800; color: var(--green-900); font-size: 1.05rem; }
.summary__lines { display: grid; gap: .5rem; margin-bottom: .8rem; }
.summary__line { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; }
.summary__line span:last-child { font-weight: 700; color: var(--green-950); white-space: nowrap; }
.form-alert { display: none; background: #fdecea; color: var(--danger); border-radius: var(--radius-sm); padding: .8rem 1rem; font-size: .9rem; margin-bottom: 1rem; }
.form-alert.is-visible { display: block; }
@media (min-width: 900px) {
  .checkout { grid-template-columns: 1.3fr .9fr; gap: 3rem; align-items: start; }
  .checkout .summary { position: sticky; top: calc(var(--header-h) + 20px); }
}

/* order confirmation */
.confirm { max-width: 720px; margin: 0 auto; text-align: center; padding: 1rem 0 2rem; }
.confirm__icon { width: 84px; height: 84px; border-radius: 50%; background: var(--mint); color: var(--green-900); display: grid; place-items: center; margin: 0 auto 1.2rem; animation: pop .6s var(--ease); }
.confirm__icon svg { width: 40px; height: 40px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.confirm__id { display: inline-block; background: var(--green-900); color: var(--lime); padding: .4rem .9rem; border-radius: var(--radius-pill); font-weight: 800; letter-spacing: .08em; margin-bottom: 1.2rem; }
.confirm .panel { text-align: left; }
.confirm__actions { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin-top: 1.4rem; }

/* ---------- about ---------- */
.about-grid { display: grid; gap: 1.2rem; }
.about-card { background: #fff; border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.about-card .icon { width: 46px; height: 46px; border-radius: 14px; background: var(--mint-100); color: var(--green-700); display: grid; place-items: center; margin-bottom: 1rem; }
.about-card .icon svg { width: 24px; height: 24px; }
.about-card p { color: var(--ink-2); margin: 0; font-size: .95rem; }
@media (min-width: 800px) { .about-grid { grid-template-columns: repeat(3, 1fr); } }
.quote-band { background: var(--green-900); color: #fff; border-radius: var(--radius); padding: 2.4rem 1.6rem; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.2rem, 3.2vw, 1.7rem); line-height: 1.4; letter-spacing: -0.01em; text-align: center; }
.quote-band span { display: block; font-family: var(--font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-300); margin-top: 1rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
.contact-cards { display: grid; gap: .9rem; }
.contact-card { display: flex; gap: 1rem; align-items: center; background: #fff; border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: var(--shadow); color: var(--ink); }
.contact-card:hover { color: var(--ink); transform: translateY(-2px); }
.contact-card .icon { width: 46px; height: 46px; border-radius: 50%; background: var(--mint-100); color: var(--green-800); display: grid; place-items: center; flex: none; }
.contact-card .icon svg { width: 22px; height: 22px; }
.contact-card strong { display: block; font-size: .95rem; }
.contact-card span { font-size: .85rem; color: var(--muted); }
.contact-form { background: #fff; border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.form-success { display: none; background: var(--mint-50); border: 1px solid var(--mint); border-radius: var(--radius-sm); padding: 1rem; color: var(--green-900); }
.form-success.is-visible { display: block; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; } }

/* honeypot field: visually removed, bots still fill it */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; overflow: hidden; }

/* ---------- product purchase panel (price, stock, variants, qty, action, terms together) ---------- */
.purchase { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem 1.2rem; box-shadow: var(--shadow); margin: 1rem 0 1.2rem; }
.purchase__price { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; flex-wrap: wrap; margin-bottom: .8rem; }
.purchase .product__price { margin: 0; }
.purchase .product__stock { margin: 0; }
.purchase .field-label { margin-top: .2rem; }
.purchase .variants { margin-bottom: 1rem; }
.purchase__row { display: flex; gap: .7rem; align-items: stretch; margin-top: .4rem; }
.purchase__row .qty { flex: none; }
.purchase__row .btn { flex: 1; padding: .9rem 1rem; }
.purchase__secondary { margin-top: .6rem; }
.purchase__terms { list-style: none; padding: 0; margin: 1rem 0 0; border-top: 1px solid var(--line); padding-top: .9rem; display: grid; gap: .45rem; font-size: .86rem; color: var(--ink-2); }
.purchase__terms li { display: flex; gap: .55rem; align-items: flex-start; }
.purchase__terms svg { width: 18px; height: 18px; flex: none; color: var(--green-700); margin-top: 1px; }
.purchase__terms strong { color: var(--green-950); }
.product__info h1 { margin-bottom: .2rem; }
.product__brand { margin-bottom: .6rem; }
.product__desc { margin-bottom: .6rem; }

/* gallery: optional 3D view + owner-supplied packaging/label photos */
.gallery__main { position: relative; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 1.2rem; display: block; }
.gallery__thumbs { display: flex; gap: .6rem; margin-top: .8rem; flex-wrap: wrap; }
.gallery__thumbs button { width: 64px; height: 64px; border-radius: var(--radius-sm); border: 2px solid transparent; background: var(--mint-100); padding: 4px; display: grid; place-items: center; overflow: hidden; }
.gallery__thumbs button img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.gallery__thumbs button.is-active { border-color: var(--green-700); }
.gallery__thumbs button span { font-size: .65rem; font-weight: 800; letter-spacing: .06em; color: var(--green-800); }
.gallery__caption { font-size: .82rem; color: var(--muted); margin-top: .5rem; }

/* mobile buy bar: keeps price + action reachable once the panel scrolls away */
.buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .95); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(11, 61, 46, .12); backdrop-filter: blur(8px); transform: translateY(110%); transition: transform .25s var(--ease); }
.buy-bar.is-visible { transform: none; }
.buy-bar[hidden] { display: none; }
.buy-bar__price { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--green-900); }
.buy-bar__price small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .72rem; color: var(--muted); }
.buy-bar .btn { padding: .8rem 1.2rem; }
body.has-buy-bar { padding-bottom: 84px; }
@media (min-width: 900px) { .buy-bar { display: none; } body.has-buy-bar { padding-bottom: 0; } }

/* motion control (pause/play non-essential animation) */
.motion-toggle { position: absolute; right: 14px; bottom: 14px; z-index: 3; display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .8rem; border-radius: var(--radius-pill); border: 1.5px solid rgba(11, 61, 46, .2); background: rgba(255, 255, 255, .85); color: var(--green-900); font-size: .78rem; font-weight: 700; backdrop-filter: blur(6px); }
.motion-toggle[hidden] { display: none; }
.motion-toggle svg { width: 14px; height: 14px; }
.product__media .motion-toggle { top: 12px; right: 12px; bottom: auto; }
.stage__view .motion-toggle { bottom: max(5vh, 24px); right: 44px; }
@media (min-width: 900px) { .stage__view .motion-toggle { bottom: 24px; right: 60px; } }

.form-init { margin-bottom: 1rem; }
.form-init[hidden] { display: none; }

/* unsent order / message state */
.unsent { display: none; background: #fff7e8; border: 1px solid #f3dfb3; border-radius: var(--radius); padding: 1.2rem 1.3rem; margin-bottom: 1rem; color: #4a3a0a; }
.unsent.is-visible { display: block; }
.unsent h3 { color: #4a3a0a; margin-bottom: .4rem; font-size: 1.1rem; }
.unsent p { margin: 0 0 .8rem; font-size: .95rem; }
.unsent__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.unsent small { display: block; margin-top: .6rem; font-size: .8rem; color: #6a4e0f; }

/* ---------- utilities ---------- */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.badge { display: inline-block; background: var(--mint); color: var(--green-900); padding: .25rem .6rem; border-radius: var(--radius-pill); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
