/* ============================================================
   SwiftStockUp — design system & page styles
   Premium wellness direction benchmarked on seed.com
   (see docs/design-direction.md): off-white page, deep green
   text and buttons, one refined grotesk at light weights, a
   cinematic dark hero with the product lit against it, benefit
   cards in a row, pill buttons, big soft panels, calm motion.
   Mobile-first.
   ============================================================ */

:root {
  --bg: #fcfcf7;
  --surface: #f2f2ea;
  --surface-2: #e8e9df;
  --white: #ffffff;
  --ink: #1c3a13;            /* deep green text, as on the benchmark */
  --ink-2: #3d5236;
  --muted: #5f6f5a;          /* ≥ 5:1 on the off-white and on white */
  --line: #e3e4d9;
  --line-strong: #cdd0c2;
  --green-950: #0b1a0d;
  --green-900: #1c3a13;
  --green-800: #244a1b;
  --green-700: #2f6126;
  --green-500: #4a8a3f;
  --green-400: #6aa65c;
  --green-300: #a9d39c;
  --mint: #dcebd6;
  --mint-100: #e8f1e3;
  --mint-50: #f1f6ee;
  --lime: #d9f55a;           /* small tag on dark backgrounds */
  --hero: #0f1f12;           /* dark hero set */
  --hero-2: #1d3a24;
  --cream: var(--bg);
  --cream-2: var(--surface);
  --danger: #b3261e;

  --font-head: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --radius: 24px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --shadow: 0 1px 2px rgba(28, 58, 19, .04), 0 10px 30px rgba(28, 58, 19, .06);
  --shadow-lg: 0 2px 4px rgba(28, 58, 19, .05), 0 24px 60px rgba(28, 58, 19, .12);
  --container: 1200px;
  --gutter: 20px;
  --header-h: 68px;
  --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(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  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: 400; line-height: 1.08; margin: 0 0 .5em; color: var(--ink); letter-spacing: -0.025em; }
h3, h4 { font-weight: 500; letter-spacing: -0.012em; line-height: 1.25; }
h1 { font-size: clamp(2.4rem, 6.4vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 4.2vw, 2.9rem); }
h3 { font-size: 1.15rem; }
h1 em, h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: inherit; letter-spacing: -0.01em; font-size: 1.06em; }
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: .7rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--green-700); margin-bottom: .9rem;
}
.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: 2px solid var(--green-500); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.5rem; border-radius: var(--radius-pill); border: 1px solid transparent;
  font-weight: 500; font-size: .95rem; line-height: 1; letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--green-900); color: #fff; }
.btn--primary:hover { background: var(--green-800); color: #fff; }
.btn--light { background: #fff; color: var(--green-900); border-color: var(--line-strong); }
.btn--light:hover { color: var(--green-900); background: #fff; border-color: var(--line-strong); }
.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(--surface); color: var(--muted); cursor: default; border-color: var(--line); }
.btn--lime { background: var(--bg); color: var(--green-900); }
.btn--lime:hover { background: #fff; color: var(--green-900); }
.btn--sm { padding: .62rem 1rem; font-size: .85rem; }
.btn--lg { padding: 1.08rem 1.9rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"], .btn--disabled { opacity: .55; pointer-events: none; }

/* ---------- header: floating glass capsules over the page (benchmark style) ---------- */
.site-header { position: sticky; top: 0; z-index: 60; padding-top: 10px; pointer-events: none; margin-bottom: calc(-1 * var(--header-h)); }
/* the capsules float over the page, so content starts beneath them; the home stage runs behind them */
main { padding-top: var(--header-h); }
body[data-page="home"] main { padding-top: 0; }
.site-header__inner { height: calc(var(--header-h) - 10px); display: flex; align-items: flex-start; justify-content: space-between; gap: .6rem; }
.site-header__pill {
  pointer-events: auto; display: inline-flex; align-items: center; height: 50px; border-radius: var(--radius-pill);
  background: rgba(252, 252, 247, .82); border: 1px solid rgba(28, 58, 19, .08);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 2px rgba(28, 58, 19, .04), 0 8px 24px rgba(28, 58, 19, .06);
  transition: background .3s, border-color .3s, color .3s;
}
.site-header__pill--main { gap: 1.8rem; padding: 0 1.3rem 0 .9rem; min-width: 0; }
.site-header__actions { gap: .25rem; padding: 0 .25rem; }
.logo { display: inline-flex; align-items: center; gap: .55rem; color: var(--green-900); font-weight: 600; letter-spacing: .08em; font-size: .86rem; white-space: nowrap; transition: color .3s; }
.logo__mark { width: 26px; height: 26px; flex: none; }
.logo__text b { color: var(--green-500); font-weight: 600; }
.logo--light { color: var(--mint); }
.logo--light .logo__text b { color: var(--green-300); }
.nav { display: none; gap: 1.5rem; }
.nav__link { font-weight: 500; font-size: .9rem; color: var(--ink-2); position: relative; padding: .3rem 0; transition: color .3s; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: currentColor; transition: right .25s var(--ease); }
.nav__link:hover, .nav__link.is-active { color: var(--ink); }
.nav__link:hover::after, .nav__link.is-active::after { right: 0; }
.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: transparent; border: 1px solid transparent; transition: color .3s, background .2s; }
.cart-btn:hover { background: rgba(28, 58, 19, .06); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-btn__count {
  position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--green-900); color: #fff; font-size: .64rem; font-weight: 600; display: flex; align-items: center; justify-content: center;
  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; border-radius: 50%; }
.nav-toggle span { display: block; height: 1.5px; background: var(--green-900); border-radius: 2px; transition: transform .25s, opacity .2s, background .3s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
/* dark glass while the capsules float over the hero set */
.site-header.is-dark .site-header__pill { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
.site-header.is-dark .logo, .site-header.is-dark .nav__link, .site-header.is-dark .cart-btn { color: #fff; }
.site-header.is-dark .logo__text b { color: var(--green-300); }
.site-header.is-dark .nav__link { color: rgba(255, 255, 255, .78); }
.site-header.is-dark .nav__link:hover, .site-header.is-dark .nav__link.is-active { color: #fff; }
.site-header.is-dark .cart-btn:hover { background: rgba(255, 255, 255, .1); }
.site-header.is-dark .cart-btn__count { background: var(--lime); color: var(--green-950); }
.site-header.is-dark .nav-toggle span { background: #fff; }
body.nav-open .site-header.is-dark .site-header__pill { background: rgba(252, 252, 247, .92); border-color: rgba(28, 58, 19, .08); }
body.nav-open .site-header.is-dark .logo, body.nav-open .site-header.is-dark .cart-btn { color: var(--green-900); }
body.nav-open .site-header.is-dark .nav-toggle span { background: var(--green-900); }
.nav-drawer { position: fixed; inset: var(--header-h) 0 0; background: var(--bg); 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.5rem; font-weight: 400; letter-spacing: -0.02em; padding: .8rem 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): dark cinematic set, product lit against it ---------- */
.stage { position: relative; height: 440vh; }
.stage__view {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background:
    radial-gradient(55% 55% at 50% 42%, rgba(74, 138, 63, .32), transparent 70%),
    linear-gradient(180deg, #16301b 0%, var(--hero) 60%, #0a150c 100%);
  color: #fff;
}
.stage__view::before {
  /* soft light pool under the bottle, like a product on a lit set */
  content: ""; position: absolute; left: 50%; top: 50%; width: min(90vw, 620px); height: min(90vw, 620px);
  transform: translate(-50%, -58%); border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(169, 211, 156, .22) 0%, rgba(169, 211, 156, .06) 45%, transparent 70%);
  pointer-events: none;
}
.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 { display: 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 { display: inline-block; background: var(--lime); color: var(--green-950); padding: .35rem .7rem; border-radius: var(--radius-pill); font-size: .68rem; letter-spacing: .06em; text-transform: none; font-weight: 500; margin-bottom: 1rem; }
.stage__slide h1, .stage__slide h2 { margin-bottom: .7rem; color: #fff; }
.stage__slide h2 { font-size: clamp(1.6rem, 6.2vw, 2.8rem); }
.stage__slide p { max-width: 34rem; color: rgba(255, 255, 255, .78); font-size: clamp(.95rem, 3.8vw, 1.05rem); margin-bottom: 1.1rem; }
.stage__cta { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.stage__cta .btn--primary { background: var(--bg); color: var(--green-900); }
.stage__cta .btn--primary:hover { background: #fff; color: var(--green-900); }
.stage__cta .btn--light, .stage__cta .btn--outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.stage__cta .btn--light:hover, .stage__cta .btn--outline:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .6); }
.stage__slide--hero h1 { font-size: clamp(2.5rem, 9.4vw, 4.8rem); line-height: 1.0; }
.stage__slide--hero h1 em { color: var(--green-300); }
.benefit-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; }
.benefit-list li { display: flex; align-items: flex-start; gap: .7rem; padding: .65rem .85rem; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-sm); font-size: .88rem; line-height: 1.4; color: rgba(255, 255, 255, .8); }
.benefit-list li strong { display: block; color: #fff; font-weight: 500; }
.benefit-list .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--lime); color: var(--green-950); display: grid; place-items: center; font-size: .7rem; }
.stat-row { display: flex; gap: 1.6rem; flex-wrap: wrap; margin-bottom: 1rem; }
.stat-row div { font-family: var(--font-head); font-weight: 400; font-size: 1.8rem; letter-spacing: -0.03em; color: #fff; line-height: 1; }
.stat-row span { display: block; font-family: var(--font-body); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-top: .45rem; font-weight: 500; }

.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: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, .3); transition: all .3s var(--ease); }
.stage__dots span.is-active { height: 22px; border-radius: 4px; background: #fff; }
.stage__hint { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .6); display: flex; align-items: center; gap: .4rem; transition: opacity .3s; }
.stage__hint::after { content: ""; width: 1px; height: 22px; background: rgba(255, 255, 255, .6); 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) + 14px); left: 50%; transform: translateX(-50%); white-space: nowrap; display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .9rem; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius-pill); font-size: .72rem; font-weight: 500; letter-spacing: .02em; color: rgba(255, 255, 255, .88); backdrop-filter: blur(6px); }
.stage__badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.stage__view .motion-toggle { border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .85); }

@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__view { background:
    radial-gradient(40% 55% at 72% 50%, rgba(74, 138, 63, .34), transparent 70%),
    linear-gradient(180deg, #16301b 0%, var(--hero) 60%, #0a150c 100%); }
  .stage__view::before { left: 72%; top: 50%; width: min(48vw, 700px); height: min(48vw, 700px); transform: translate(-50%, -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.9rem, 3.2vw, 2.9rem); }
  .stage__slide--hero h1 { font-size: clamp(2.6rem, 4.4vw, 4.8rem); line-height: 1.02; }
  .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.08rem; }
  .benefit-list li { font-size: .95rem; padding: .75rem .95rem; }
  .stat-row div { font-size: 2.1rem; }
}

/* 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__view::before { left: 74%; top: 50%; transform: translate(-50%, -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, 7rem) 0; }
.section--tight { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.section--mint { background: var(--surface); }
.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: 680px; margin-bottom: 2.6rem; }
.section__head p { color: var(--ink-2); font-size: 1.08rem; max-width: 560px; }
.section--dark .section__head p { color: var(--mint-100); }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }

/* trust bar: quiet statements between hairlines */
.trust { background: var(--bg); color: var(--ink-2); border-bottom: 1px solid var(--line); }
.trust__inner { display: grid; grid-template-columns: 1fr; gap: .7rem; padding: 1.1rem 0; font-size: .86rem; font-weight: 500; }
.trust__inner div { display: flex; align-items: center; gap: .6rem; }
.trust__inner svg { width: 18px; height: 18px; flex: none; color: var(--green-700); }
@media (min-width: 700px) { .trust__inner { grid-template-columns: repeat(4, 1fr); padding: 1.3rem 0; } }

/* benefit row: headline left, cards right (benchmark "benefits you can feel" row) */
.benefits-row { display: grid; gap: 1.6rem; align-items: start; }
.benefits-row h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); max-width: 16ch; margin: 0; }
.benefits { display: grid; gap: .9rem; grid-template-columns: 1fr; }
.benefit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.3rem 1.3rem; }
.benefit .icon { width: 36px; height: 36px; color: var(--green-700); display: grid; place-items: center; margin-bottom: 1.4rem; }
.benefit .icon svg { width: 26px; height: 26px; }
.benefit small { display: block; font-size: .72rem; font-weight: 500; letter-spacing: .04em; color: var(--muted); margin-bottom: .35rem; }
.benefit h3 { font-size: 1rem; margin-bottom: 0; line-height: 1.35; }
@media (min-width: 640px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .benefits-row { grid-template-columns: 1fr 2.4fr; gap: 3rem; } .benefits { grid-template-columns: repeat(4, 1fr); } }

/* intro / split with photography on a soft panel */
.intro { display: grid; gap: 2rem; align-items: center; }
.intro__card { background: var(--surface); border-radius: var(--radius); padding: 1.8rem; }
.intro__card h3 { margin-bottom: .8rem; }
.intro__card ul { margin: 0; padding-left: 1.2rem; color: var(--ink-2); }
.intro__card li { margin-bottom: .45rem; }
.intro__list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .55rem; counter-reset: s; }
.intro__list li { display: flex; gap: .8rem; align-items: flex-start; color: var(--ink-2); font-size: .97rem; }
.intro__list li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-family: var(--font-serif); font-style: italic; color: var(--green-700); font-size: 1.1rem; line-height: 1.4; flex: none; min-width: 1.6rem; }
.intro__photo { position: relative; background: var(--surface); border-radius: var(--radius); aspect-ratio: 4 / 4.4; display: grid; place-items: center; overflow: hidden; }
.intro__photo img { width: 70%; height: auto; max-height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.intro__photo .bottle-svg { height: 70%; width: auto; }
.intro__tag { position: absolute; top: 18px; left: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-pill); padding: .35rem .7rem; font-size: .68rem; font-weight: 500; letter-spacing: .04em; color: var(--ink); }
@media (min-width: 900px) { .intro { grid-template-columns: 1fr 1fr; gap: 5rem; } .intro--photo-left .intro__photo { order: -1; } }

/* 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: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), border-color .3s; }
.product-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.product-card__visual { display: grid; place-items: center; aspect-ratio: 1 / .95; background: var(--surface); padding: 1.6rem; }
.product-card__visual img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product-card__visual .bottle-svg { height: 100%; width: auto; max-height: 240px; filter: drop-shadow(0 18px 24px rgba(28, 58, 19, .18)); }
.product-card__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.product-card__body .eyebrow { margin-bottom: .4rem; }
.product-card__body h3 { font-size: 1.15rem; }
.product-card__body h3 a { color: var(--ink); }
.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: .6rem; }
.product-card__row strong { font-size: 1.1rem; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.product-card--soon .product-card__visual { opacity: .7; }

/* steps */
.steps { display: grid; gap: 1rem; counter-reset: step; }
.step { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 1.5rem; position: relative; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-serif); font-style: italic; font-size: 1.9rem; font-weight: 400; color: var(--green-300); display: block; margin-bottom: .5rem; line-height: 1; }
.step h3 { font-size: 1.1rem; }
.step p { margin: 0; color: var(--mint-100); font-size: .95rem; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* FAQ: editorial list between hairlines */
.faq { display: grid; max-width: 780px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 1.15rem 0; font-weight: 500; font-size: 1.05rem; letter-spacing: -0.01em; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--green-700); font-weight: 300; transition: transform .25s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 1.2rem; margin: 0; max-width: 640px; }

/* CTA band */
.cta-band { background: var(--green-900); color: #fff; border-radius: var(--radius); padding: 2.4rem 1.6rem; display: grid; gap: 1.2rem; align-items: center; position: relative; overflow: hidden; }
.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: 3.2rem 3rem; } }

/* ---------- footer ---------- */
.site-footer { background: var(--green-950); color: var(--mint-100); padding: 3.6rem 0 1.6rem; 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: .7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .9rem; }
.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(232, 241, 227, .8); margin-top: 1rem; max-width: 320px; }
.social { display: flex; gap: .6rem; margin-top: .8rem; }
.social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); display: grid; place-items: center; margin: 0; }
.social svg { width: 17px; height: 17px; }
.site-footer__bottom { margin-top: 2.8rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-direction: column; gap: .4rem; font-size: .8rem; color: rgba(232, 241, 227, .7); }
@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, .35); z-index: 50; transition: transform .2s var(--ease); }
.wa-fab:hover { transform: scale(1.05); color: #fff; }
.wa-fab svg { width: 28px; height: 28px; }
.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: 500; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: clamp(2.6rem, 6vw, 4.5rem) 0 clamp(1.5rem, 4vw, 2.5rem); }
.page-hero p { max-width: 620px; color: var(--ink-2); font-size: 1.08rem; }
.breadcrumb { font-size: .8rem; 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: var(--surface); aspect-ratio: 1 / 1.05; }
.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(28, 58, 19, .22)); }
.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: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); background: rgba(255, 255, 255, .8); border: 1px solid var(--line); padding: .4rem .75rem; 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: 1px solid var(--line); background: var(--surface); padding: 6px; display: grid; place-items: center; }
.product__thumbs button.is-active { border-color: var(--green-900); }
.product__thumbs img, .product__thumbs .bottle-svg { height: 100%; width: auto; }
.product__info h1 { font-size: clamp(2rem, 5.2vw, 3rem); margin-bottom: .3rem; }
.product__brand { color: var(--muted); font-size: .9rem; margin-bottom: .8rem; }
.product__price { font-family: var(--font-head); font-weight: 400; font-size: 1.8rem; letter-spacing: -0.03em; color: var(--ink); margin-bottom: .2rem; }
.product__stock { font-size: .82rem; color: var(--green-700); font-weight: 500; margin-bottom: 1.2rem; display: flex; align-items: center; gap: .45rem; }
.product__stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green-500); }
.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; font-size: 1.02rem; }
.field-label { display: block; font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .55rem; }
.variants { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.3rem; }
.variant { border: 1px solid var(--line); background: #fff; border-radius: var(--radius-sm); padding: .7rem 1rem; text-align: left; transition: all .2s; }
.variant strong { display: block; font-size: .95rem; font-weight: 500; color: var(--ink); }
.variant span { font-size: .78rem; color: var(--muted); }
.variant.is-active { border-color: var(--green-900); background: var(--mint-50); box-shadow: inset 0 0 0 1px var(--green-900); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-pill); background: #fff; height: 50px; }
.qty button { width: 44px; height: 100%; border: 0; background: transparent; font-size: 1.2rem; color: var(--green-900); }
.qty input { width: 44px; text-align: center; border: 0; font: inherit; font-weight: 500; 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-700); flex: none; }
.highlights { display: grid; gap: .7rem; grid-template-columns: repeat(2, 1fr); margin: 1.2rem 0; }
.highlight { background: var(--surface); border-radius: var(--radius-sm); padding: 1rem; }
.highlight strong { display: block; color: var(--ink); font-weight: 500; 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: 500; color: var(--muted); white-space: nowrap; border-bottom: 1px solid transparent; margin-bottom: -1px; }
.tabs__nav button.is-active { color: var(--ink); border-bottom-color: var(--ink); }
.tabs__panel { padding: 1.3rem 0; color: var(--ink-2); }
.tabs__nav button:focus-visible { outline: 2px 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: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.supp-table th, .supp-table td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--line); }
.supp-table th { background: var(--surface); color: var(--ink); font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.notice { background: #fbf4e4; border: 1px solid #ecdcb4; border-radius: var(--radius-sm); padding: .9rem 1rem; font-size: .9rem; color: #5f4710; }
@media (min-width: 900px) {
  .product { grid-template-columns: 1.05fr .95fr; gap: 4rem; 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: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; align-items: center; }
.cart-line__visual { width: 72px; height: 90px; display: grid; place-items: center; background: var(--surface); border-radius: var(--radius-sm); padding: 6px; }
.cart-line__visual .bottle-svg, .cart-line__visual img { height: 100%; width: auto; mix-blend-mode: multiply; }
.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; text-underline-offset: 3px; padding: 0; }
.cart-line__total { font-weight: 500; color: var(--ink); grid-column: 1 / -1; text-align: right; }
.summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; 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: 500; color: var(--ink); 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: 1px solid var(--line); border-radius: var(--radius); }
.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: 500; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: inherit; padding: .9rem 1rem; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: #98a394; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-900); box-shadow: 0 0 0 3px rgba(28, 58, 19, .12); }
.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: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.2rem; }
.panel h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.panel h3 .num { width: 26px; height: 26px; border-radius: 50%; background: var(--green-900); color: #fff; font-family: var(--font-body); font-size: .75rem; font-weight: 500; 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: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: .9rem 1rem; cursor: pointer; background: #fff; transition: all .2s; }
.choice:has(input:checked) { border-color: var(--green-900); background: var(--mint-50); box-shadow: inset 0 0 0 1px var(--green-900); }
.choice input { accent-color: var(--green-900); width: 18px; height: 18px; margin: 0; }
.choice strong { display: block; font-size: .95rem; font-weight: 500; color: var(--ink); }
.choice span { font-size: .8rem; color: var(--muted); }
.choice .fee { font-weight: 500; color: var(--ink); font-size: .95rem; }
.choice__logo { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; font-size: .6rem; font-weight: 700; color: #fff; letter-spacing: .02em; }
.pay-note { margin-top: 1rem; display: none; }
.pay-note.is-visible { display: block; }
.momo-box { background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); padding: 1rem; font-size: .92rem; }
.momo-box strong { color: var(--ink); }
.momo-box code { font-family: var(--font-body); font-weight: 600; 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: 500; color: var(--ink); 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: .45rem 1rem; border-radius: var(--radius-pill); font-weight: 500; letter-spacing: .1em; 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: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; }
.about-card .icon { width: 44px; height: 44px; border-radius: 50%; background: var(--surface); color: var(--green-700); display: grid; place-items: center; margin-bottom: 1.1rem; }
.about-card .icon svg { width: 22px; height: 22px; }
.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.6rem 1.8rem; font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: clamp(1.45rem, 3.4vw, 2rem); line-height: 1.35; letter-spacing: -0.01em; text-align: center; }
.quote-band span { display: block; font-family: var(--font-body); font-style: normal; font-size: .7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--green-300); margin-top: 1.2rem; }

/* ---------- 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: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; color: var(--ink); transition: border-color .2s; }
.contact-card:hover { color: var(--ink); border-color: var(--line-strong); }
.contact-card .icon { width: 44px; height: 44px; border-radius: 50%; background: var(--surface); color: var(--green-800); display: grid; place-items: center; flex: none; }
.contact-card .icon svg { width: 20px; height: 20px; }
.contact-card strong { display: block; font-size: .95rem; font-weight: 500; }
.contact-card span { font-size: .85rem; color: var(--muted); }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; }
.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.3rem 1.4rem 1.4rem; margin: 1rem 0 1.2rem; }
.purchase__price { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; flex-wrap: wrap; margin-bottom: .9rem; }
.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: .95rem 1rem; }
.purchase__secondary { margin-top: .6rem; }
.purchase__terms { list-style: none; padding: 0; margin: 1.1rem 0 0; border-top: 1px solid var(--line); padding-top: 1rem; display: grid; gap: .5rem; 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(--ink); font-weight: 500; }
.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.6rem; display: block; mix-blend-mode: multiply; }
.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: 1px solid var(--line); background: var(--surface); padding: 4px; display: grid; place-items: center; overflow: hidden; }
.gallery__thumbs button img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.gallery__thumbs button.is-active { border-color: var(--green-900); }
.gallery__thumbs button span { font-size: .62rem; font-weight: 500; letter-spacing: .12em; 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(28, 58, 19, .08); 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: 400; font-size: 1.2rem; letter-spacing: -0.02em; color: var(--ink); }
.buy-bar__price small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .7rem; color: var(--muted); letter-spacing: .02em; }
.buy-bar .btn { padding: .85rem 1.3rem; }
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: 1px solid var(--line); background: rgba(255, 255, 255, .9); color: var(--ink-2); font-size: .76rem; font-weight: 500; backdrop-filter: blur(6px); }
.motion-toggle[hidden] { display: none; }
.motion-toggle svg { width: 13px; height: 13px; }
.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: #fbf4e4; border: 1px solid #ecdcb4; 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(--green-900); color: #fff; padding: .3rem .65rem; border-radius: var(--radius-pill); font-size: .66rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
