/* Dollup site styles: design tokens + components (ported from the Dollup design system). */

:root {
  /* Brand: one vibrant blue, white, a light blue for cards, yellow for the main call to action.
     Pack colours below belong to product artwork only, never to UI surfaces. */
  --blue: #1F4FFF;
  --blue-hover: #1239D9;
  --card: #EEF2FF;
  --card-strong: #DCE5FF;
  --cream: #FFFFFF;
  --white: #FFFFFF;
  --ink: #0E1330;
  --ink-2: #4A5170;
  --line: #E1E6F2;
  --line-strong: #8C93AD;
  --tint: #EEF2FF;
  --photo: #DFE6FF;
  --cta: #FFD233;
  --cta-hover: #FFC300;
  --cta-text: #0E1330;
  --success: #1E7A45;
  --success-tint: #E3F1E7;
  --error: #C4271B;
  --tangerine: #FF8A4C;
  --bubblegum: #FF9EC4;
  --lime: #CDEA68;
  --lilac: #C6B5FF;
  --mint: #9EE0C0;
  --butter: #FFD66B;
  --pack: var(--card);
  --footer-accent: var(--cta);
  --font-display: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --font-hand: 'Gochi Hand', 'Comic Sans MS', cursive;
  --font-brand: 'Shrikhand', 'Cooper Black', Georgia, serif;
  --font-body: 'Anek Latin', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius-card: 20px;
  --radius-input: 12px;
  --pill: 999px;
  --page-max: 1440px;
  --page-pad: 16px;
}

/* ==========================================================================
   Dollup theme — base.css
   Tokens come from theme settings (snippets/css-variables.liquid).
   Rules of the system:
   1. Cobalt (--cta) is only for the next step toward paying.
   2. Pack colours are grounds for product and brand moments, never UI state.
   3. Every price travels with its price per 100 g.
   4. 8 pt grid, 20 px card radius, 44 px minimum touch target.
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--ink-2); }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }
product-info, media-gallery, facet-filters, cart-drawer, product-card-form, pincode-eta, fbt-offer { display: block; }

:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--cream), 0 0 0 5px var(--ink); border-radius: 4px; }
.btn:focus-visible, .chip:focus-visible, .icon-btn:focus-visible { border-radius: var(--pill); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 16px; top: -64px; z-index: 100; padding: 12px 16px; background: var(--ink); color: var(--cream); border-radius: var(--pill); font-weight: 600; }
.skip-link:focus { top: 16px; }
.page-width { width: 100%; max-width: var(--page-max); margin: 0 auto; padding-left: var(--page-pad); padding-right: var(--page-pad); }
.section { padding-top: 48px; }
.section--flush { padding-top: 0; }
.section--last { padding-bottom: 64px; }
.stack { display: flex; flex-direction: column; gap: var(--stack-gap, 16px); }
.muted { color: var(--ink-2); }
.tabular { font-variant-numeric: tabular-nums; }
.main:focus { outline: none; box-shadow: none; }

@media (min-width: 990px) {
  :root { --page-pad: 80px; }
  .section { padding-top: 96px; }
  .section--last { padding-bottom: 96px; }
}

/* ---------- Type ---------- */
.wordmark { font-family: var(--font-brand); font-weight: 400; letter-spacing: 0; }
.h-display, .h1, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.005em;
  text-wrap: balance;
}
.h1 { font-size: 46px; line-height: 48px; }
.h2 { font-size: 36px; line-height: 40px; }
.h3 { font-size: 30px; line-height: 34px; }
.eyebrow { font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.lede { font-size: 18px; line-height: 26px; }
.section-sub { font-size: 16px; line-height: 24px; color: var(--ink-2); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 16px; }
.section-head .section-sub { max-width: 520px; }
@media (min-width: 990px) {
  .h1 { font-size: 92px; line-height: 92px; }
  .h2 { font-size: 60px; line-height: 64px; }
  .h3 { font-size: 46px; line-height: 50px; }
  .lede { font-size: 22px; line-height: 32px; }
  .section-head { margin-bottom: 24px; }
  .section-sub { font-size: 18px; line-height: 28px; }
}
.rte > * + * { margin-top: 12px; }
.rte a { font-weight: 600; }
.rte ul, .rte ol { padding-left: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px;
  border: 2px solid transparent; border-radius: var(--pill);
  font-size: 16px; line-height: 20px; font-weight: 600; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
  font-variant-numeric: tabular-nums;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--line); border-color: var(--line); color: var(--ink-2); cursor: not-allowed; }
.btn--cta { min-height: 56px; padding: 0 32px; background: var(--cta); color: var(--cta-text); font-size: 18px; }
.btn--cta:hover { background: var(--cta-hover); color: var(--cta-text); }
.btn--ink { background: var(--blue); color: #fff; }
.btn--ink:hover { background: var(--blue-hover); color: #fff; }

.btn--outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn.is-loading { position: relative; color: transparent !important; }
.btn.is-loading::after {
  content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid currentColor; border-color: var(--spinner, #fff) transparent var(--spinner, #fff) transparent;
  animation: spin .8s linear infinite;
}
.btn--ink.is-loading, .btn--outline.is-loading { --spinner: var(--ink-2); }
@keyframes spin { to { transform: rotate(360deg); } }

.link-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0;
  border: 0; background: none; color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
}
.link-btn svg { width: 18px; height: 18px; }
.link-btn--muted { color: var(--ink-2); font-weight: 500; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--pill);
  background: none; color: var(--ink); text-decoration: none; position: relative;
}
.icon-btn svg { width: 24px; height: 24px; }
.icon-btn:hover { background: rgba(28, 23, 20, 0.06); color: var(--ink); }

.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px;
  border: 1.5px solid var(--line); border-radius: var(--pill); background: var(--white); color: var(--ink);
  font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.chip svg { width: 18px; height: 18px; }
.chip--outline { border-color: var(--ink); background: transparent; font-weight: 600; }
.chip[aria-pressed="true"], .chip[aria-current="page"], .chip.is-active,
input:checked + .chip { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }
input:focus-visible + .chip { box-shadow: 0 0 0 2px var(--cream), 0 0 0 5px var(--ink); }
.chip-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chip-row::-webkit-scrollbar { display: none; }
.chip-row > * { flex-shrink: 0; }

/* ---------- Badges & tags ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px;
  border-radius: var(--pill); font-size: 12px; line-height: 18px; font-weight: 600; white-space: nowrap;
}
.badge svg { width: 14px; height: 14px; }
.badge--ink { background: var(--blue); color: #fff; }
.badge--cream { background: var(--card); color: var(--ink); }
.badge--save { background: var(--success-tint); color: var(--success); font-size: 14px; line-height: 22px; font-weight: 700; }
.badge--sub { border: 1.5px solid var(--ink); color: var(--ink); }
.badge--success { background: var(--success); color: #fff; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 4px 12px; border: 1px solid var(--line-strong); border-radius: var(--pill); font-size: 13px; line-height: 18px; font-weight: 500; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 14px; line-height: 20px; font-weight: 600; }
.field__label .muted { font-weight: 400; }
.input, .select {
  width: 100%; min-height: 56px; padding: 0 16px;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-input);
  background: var(--white); color: var(--ink); font-size: 16px;
}
.input--sm, .select--sm { min-height: 48px; }
.input::placeholder { color: var(--ink-2); opacity: 0.8; }
.input:focus-visible, .select:focus-visible { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); border-radius: var(--radius-input); }
.input[aria-invalid="true"] { border: 2px solid var(--error); }
.input--auto { background: var(--tint); }
.field__hint { font-size: 13px; line-height: 18px; color: var(--ink-2); }
.field__success { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--success); }
.field__error { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--error); }
.input-row { display: flex; gap: 8px; }
.input-row .input { flex: 1 1 auto; min-width: 0; }
.checkbox { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 15px; cursor: pointer; }
.checkbox input { width: 22px; height: 22px; margin: 0; accent-color: var(--ink); flex-shrink: 0; }
.form-message { padding: 12px 16px; border-radius: var(--radius-input); font-size: 15px; }
.form-message--error { background: #FBE9E7; color: var(--error); font-weight: 600; }
.form-message--success { background: var(--success-tint); color: var(--success); font-weight: 600; }

/* Visually hidden radio/checkbox that still receives focus */
.option-input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }

/* ---------- Stepper ---------- */
.stepper {
  display: inline-flex; align-items: center; height: 48px;
  border: 1.5px solid var(--line-strong); border-radius: var(--pill); background: var(--white);
}
.stepper__btn {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0; border: 0; border-radius: var(--pill); background: none; color: var(--ink);
}
.stepper__btn svg { width: 20px; height: 20px; }
.stepper__btn:disabled { opacity: 0.35; cursor: not-allowed; }
.stepper__input, .stepper__value {
  width: 32px; border: 0; background: none; text-align: center; font-size: 17px; font-weight: 700;
  -moz-appearance: textfield; appearance: textfield; font-variant-numeric: tabular-nums;
}
.stepper__input::-webkit-outer-spin-button, .stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper--lg { height: 56px; }
.stepper--ink { border: 2px solid var(--ink); }

/* ---------- Rating ---------- */
.rating { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; line-height: 20px; color: var(--ink); text-decoration: none; }
a.rating { min-height: 44px; }
a.rating .rating__count { text-decoration: underline; }
.rating__stars { position: relative; display: inline-block; width: 90px; height: 18px; flex-shrink: 0; }
.rating__stars svg { width: 90px; height: 18px; }
.rating__stars-fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; }
.rating__stars-bg { color: var(--line); }
.rating__stars-fill svg { color: var(--ink); }
.rating__star { width: 16px; height: 16px; color: var(--ink); }
.rating__value { font-weight: 700; }
.rating__count { color: var(--ink-2); }

/* ---------- Card basics ---------- */
.card { background: var(--white); border-radius: var(--radius-card); }
.card--pad { padding: 20px; }
@media (min-width: 990px) { .card--pad { padding: 28px; } }

/* ---------- Pack illustration ---------- */
.pack-illustration { width: 60%; max-width: 260px; height: auto; filter: drop-shadow(0 8px 12px rgba(28, 23, 20, 0.12)); }
.pack-illustration__body { fill: #FFF8EE; }
.pack-illustration__seal { fill: color-mix(in srgb, var(--pack) 72%, #1C1714); }
.pack-illustration__pill { fill: var(--pack); }

/* ---------- Announcement ---------- */
.announcement { background: var(--blue); color: #fff; }
.announcement__text { min-height: 32px; display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 13px; line-height: 16px; font-weight: 500; text-align: center; }
.announcement__text a { color: var(--cream); }
.announcement__text > span:nth-child(n + 2) { display: none; }
@media (min-width: 750px) {
  .announcement__text { min-height: 36px; font-size: 14px; }
  .announcement__text > span:nth-child(n + 2) { display: inline; }
}

/* ---------- Header ---------- */
.header { background: var(--cream); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.header__inner { display: grid; grid-template-columns: 88px minmax(0, 1fr) 88px; align-items: center; min-height: 56px; padding-left: 8px; padding-right: 8px; }
.header__logo { justify-self: center; display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink); }
.header__logo:hover { color: var(--ink); }
.wordmark { font-size: 28px; line-height: 32px; }
.header__logo-img { width: var(--logo-width, 120px); height: auto; }
.header__nav { display: none; }
.header__icons { display: flex; justify-content: flex-end; }
.header__account { display: none; }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--pill); background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; line-height: 1;
}
.cart-count[data-count="0"] { display: none; }
@media (min-width: 990px) {
  .header__inner { grid-template-columns: 200px minmax(0, 1fr) 200px; min-height: 80px; padding-left: var(--page-pad); padding-right: var(--page-pad); }
  .header__menu-btn { display: none; }
  .header__logo { justify-self: start; }
  .wordmark { font-size: 36px; line-height: 40px; }
  .header__nav { display: block; }
  .header__nav ul { display: flex; justify-content: center; gap: 4px; }
  .header__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-weight: 500; text-decoration: none; border-radius: var(--pill); }
  .header__nav a:hover { background: rgba(28, 23, 20, 0.06); color: var(--ink); }
  .header__nav a[aria-current="page"] { font-weight: 700; text-decoration: underline; text-underline-offset: 6px; }
  .header__account { display: inline-flex; }
  .header__icons { gap: 4px; }
}

/* ---------- Dialogs (drawers, sheets, search) ---------- */
dialog { padding: 0; border: 0; color: var(--ink); background: transparent; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(28, 23, 20, 0.56); }
.drawer {
  margin: 0 0 0 auto; width: min(420px, calc(100vw - 32px)); height: 100%; max-height: 100dvh;
  background: var(--cream); box-shadow: -24px 0 48px rgba(28, 23, 20, 0.24);
}
.drawer[open] { animation: drawer-in .28s cubic-bezier(.2, .8, .2, 1); }
.drawer--left { margin: 0 auto 0 0; box-shadow: 24px 0 48px rgba(28, 23, 20, 0.24); }
.drawer--left[open] { animation-name: drawer-in-left; }
@keyframes drawer-in { from { transform: translateX(100%); } }
@keyframes drawer-in-left { from { transform: translateX(-100%); } }
.drawer__panel { height: 100%; display: flex; flex-direction: column; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 8px 12px 16px; border-bottom: 1px solid var(--line); }
.drawer__title { font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 36px; }

.menu-drawer__body { flex: 1 1 auto; overflow-y: auto; padding: 8px 16px 24px; }
.menu-drawer__list > li { border-bottom: 1px solid var(--line); }
.menu-drawer__link, .menu-drawer summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 56px;
  font-size: 18px; font-weight: 600; text-decoration: none; list-style: none; cursor: pointer;
}
.menu-drawer summary::-webkit-details-marker { display: none; }
.menu-drawer summary svg { width: 20px; height: 20px; transition: transform .2s; }
.menu-drawer details[open] summary svg { transform: rotate(180deg); }
.menu-drawer__sub { padding: 0 0 12px 12px; }
.menu-drawer__sub a { display: flex; align-items: center; min-height: 44px; font-size: 16px; text-decoration: none; }
.menu-drawer__foot { padding: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }

.search-dialog { margin: 0 auto auto; width: 100%; max-width: 720px; padding: 16px; }
.search-dialog[open] { animation: fade-down .2s ease-out; }
@keyframes fade-down { from { opacity: 0; transform: translateY(-12px); } }
.search-dialog__form { display: flex; gap: 8px; align-items: center; padding: 12px; border-radius: var(--radius-card); background: var(--white); }
.search-dialog__form .input { border: 0; min-height: 48px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--cream); padding: 48px 0; }
.footer a { color: var(--cream); }
.footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
.footer__brand { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 12px; }
.footer__brand .wordmark { font-size: 40px; line-height: 48px; }
.footer__brand p { color: var(--line); max-width: 360px; }
.footer__heading { margin-bottom: 4px; font-size: 13px; line-height: 20px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--footer-accent); }
.footer__links a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer__links a:hover { text-decoration: underline; color: var(--cream); }
.footer__bottom { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--ink-2); font-size: 13px; line-height: 20px; color: var(--line); }
.payment-icons { display: flex; flex-wrap: wrap; gap: 8px; }
.payment-icon { width: 38px; height: 24px; }
@media (min-width: 990px) {
  .footer { padding: 64px 0 48px; }
  .footer__grid { grid-template-columns: 2fr repeat(3, minmax(0, 1fr)); gap: 32px; }
  .footer__brand { grid-column: auto; }
  .footer__brand .wordmark { font-size: 56px; line-height: 64px; }
  .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---------- Hero (product-led) ---------- */
.hero { background: var(--blue); color: #fff; overflow: hidden; }
.hero__inner { display: grid; gap: 16px; padding-top: 24px; padding-bottom: 32px; grid-template-areas: "copy" "media" "cta"; }
.hero__copy { grid-area: copy; display: flex; flex-direction: column; gap: 8px; }
.hero__media { grid-area: media; position: relative; display: flex; align-items: center; justify-content: center; height: 240px; }
.hero__media img.hero__pack { width: auto; height: 100%; max-height: 240px; object-fit: contain; }
.hero__media .pack-illustration { width: auto; height: 100%; max-width: none; transform: rotate(-6deg); }
.hero__lifestyle { display: none; }
.hero__cta { grid-area: cta; display: flex; flex-direction: column; gap: 12px; }
.hero__cta .btn { width: 100%; }
.hero__meta { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; line-height: 20px; }
.hero__meta svg { width: 16px; height: 16px; }
@media (min-width: 990px) {
  .hero__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "copy media" "cta media";
    column-gap: 64px; row-gap: 32px; align-content: center; min-height: 640px; padding-top: 48px; padding-bottom: 48px;
  }
  .hero__copy { align-self: end; gap: 24px; }
  .hero__copy .eyebrow { font-size: 16px; }
  .hero__copy .lede { max-width: 480px; }
  .hero__cta { align-self: start; flex-direction: row; align-items: center; gap: 24px; }
  .hero__cta .btn { width: auto; min-height: 60px; padding: 0 36px; font-size: 19px; }
  .hero__meta { justify-content: flex-start; font-size: 16px; }
  .hero__media { height: 560px; }
  .hero__media img.hero__pack { max-height: 480px; }
  .hero__media .pack-illustration { height: 440px; }
  .hero__lifestyle {
    display: block; position: absolute; left: 0; bottom: 24px; width: 220px; aspect-ratio: 11 / 14;
    border: 6px solid var(--cream); border-radius: var(--radius-card); overflow: hidden; transform: rotate(-4deg);
    background: var(--photo);
  }
  .hero__lifestyle img { width: 100%; height: 100%; object-fit: cover; }
}

/* ---------- Shop by need ---------- */
.need-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.need-tile {
  display: flex; flex-direction: column; justify-content: space-between; min-height: 128px; padding: 16px;
  border-radius: var(--radius-card); background: var(--card); color: var(--ink); text-decoration: none;
}
.need-tile:hover { color: var(--ink); transform: translateY(-2px); transition: transform .15s; }
.need-tile__title { font-size: 20px; line-height: 24px; font-weight: 700; }
.need-tile__meta { display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 600; }
.need-tile__meta svg { width: 20px; height: 20px; }
.need-formats { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; }
.need-formats__label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
@media (min-width: 990px) {
  .need-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .need-tile { min-height: 200px; padding: 24px; }
  .need-tile__title { font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 36px; }
  .need-formats { flex-direction: row; align-items: center; gap: 16px; }
}

/* ---------- Product grid & card ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 750px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 990px) {
  .product-grid { gap: 32px; }
  .product-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.product-grid__promo {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px; border-radius: var(--radius-card); background: var(--card); color: var(--ink); text-decoration: none;
}
.product-grid__promo:hover { color: var(--ink); }
.product-grid__promo-title { font-family: var(--font-display); font-size: 24px; line-height: 32px; }
.product-grid__promo-text { font-size: 15px; line-height: 22px; }
.product-grid__promo svg { width: 28px; height: 28px; flex-shrink: 0; }
@media (min-width: 990px) {
  .product-grid__promo { padding: 28px 32px; }
  .product-grid__promo-title { font-size: 32px; line-height: 40px; }
  .product-grid__promo-text { font-size: 17px; line-height: 26px; }
}

.product-card { container: card / inline-size; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-card); overflow: hidden; }
.product-card__media { position: relative; aspect-ratio: 1; background: var(--card); }
.product-card__media-link { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.product-card__img { width: 100%; height: 100%; object-fit: contain; }
.product-card__media .pack-illustration { width: 56%; }
.product-card__badge { position: absolute; top: 12px; left: 12px; }
.product-card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px; flex: 1 1 auto; }
.product-card__title { font-size: 18px; line-height: 24px; font-weight: 700; }
.product-card__title a { text-decoration: none; }
.product-card__title a:hover { text-decoration: underline; color: var(--ink); }
.product-card__subtitle { margin-top: -6px; font-size: 14px; line-height: 20px; color: var(--ink-2); }
.product-card__tags { font-size: 13px; line-height: 18px; color: var(--ink-2); }
.product-card__form { display: flex; flex-direction: column; gap: 12px; margin-top: auto; padding-top: 4px; }
.product-card__sizes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.size-pill {
  min-height: 44px; padding: 0 4px; border: 2px solid var(--line); border-radius: var(--pill);
  background: var(--white); color: var(--ink); font-size: 14px; line-height: 16px; font-weight: 600;
}
.size-pill[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.size-pill[data-soldout] { text-decoration: line-through; color: var(--ink-2); }
.product-card__buy { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.product-card__price { display: flex; flex-direction: column; }
.product-card__now { font-size: 22px; line-height: 28px; font-weight: 700; font-variant-numeric: tabular-nums; }
.product-card__unit { font-size: 13px; line-height: 18px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.product-card__sub { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--success); }
.product-card__action { flex-shrink: 0; }
.product-card__add { padding: 0 20px 0 16px; }
.product-card__stepper { height: 48px; border: 2px solid var(--ink); }
.product-card__error { font-size: 13px; line-height: 18px; color: var(--error); font-weight: 600; }

@container card (max-width: 239px) {
  .product-card__body { padding: 12px; }
  .product-card__title { font-size: 16px; line-height: 20px; }
  .product-card__tags { display: none; }
  .product-card__sub { display: none; }
  .product-card__rating-count-word { display: none; }
  .product-card__buy { flex-direction: column; align-items: stretch; }
  .product-card__now { font-size: 18px; line-height: 24px; }
  .product-card__unit { font-size: 12px; line-height: 16px; }
  .product-card__add { width: 100%; min-height: 44px; }
  .product-card__stepper { width: 100%; justify-content: space-between; height: 44px; }
  .size-pill { font-size: 13px; }
}

/* ---------- Subscribe strip ---------- */
.sub-strip { display: grid; gap: 16px; padding: 24px; border-radius: var(--radius-card); background: var(--card); }
.sub-strip__points { display: flex; flex-direction: column; gap: 12px; }
.sub-strip__point { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; font-size: 16px; line-height: 24px; }
.sub-strip__point svg { width: 24px; height: 24px; }
.sub-strip__point strong { display: block; }
@media (min-width: 990px) {
  .sub-strip { grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; padding: 48px; }
  .sub-strip__points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .sub-strip__point { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 2px solid var(--ink); }
  .sub-strip__point svg { display: none; }
  .sub-strip__point strong { font-size: 20px; line-height: 28px; }
}

/* ---------- Proof (The receipts) ---------- */
.proof { --proof-line: rgba(255, 255, 255, 0.45); margin-top: 48px; padding: 48px 0; background: var(--blue); color: #fff; }
.proof a { color: var(--cream); }
.proof__head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.proof__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; margin-bottom: 24px; }
.proof__stat { display: flex; flex-direction: column; gap: 4px; padding-top: 16px; border-top: 2px solid var(--proof-line); }
.proof__num { font-family: var(--font-display); font-size: 48px; line-height: 56px; color: var(--cta); }
.proof__stat-text { font-size: 14px; line-height: 20px; }
.proof__bottom { display: grid; gap: 16px; }
.proof__label-card { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: var(--radius-card); background: var(--cream); color: var(--ink); }
.proof__label-card .eyebrow { font-size: 13px; color: var(--ink-2); }
.proof__label-text { font-size: 20px; line-height: 28px; font-weight: 600; }
.proof__certs { display: flex; flex-direction: column; gap: 16px; }
.proof__cert-list { display: flex; flex-wrap: wrap; gap: 8px; }
.proof__cert { padding: 8px 12px; border: 1px solid var(--proof-line); border-radius: var(--pill); font-size: 13px; line-height: 18px; }
.proof__link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; }
.proof__link svg { width: 20px; height: 20px; }
@media (min-width: 990px) {
  .proof { margin-top: 96px; padding: 96px 0; }
  .proof__head { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: end; margin-bottom: 48px; }
  .proof__head .h2 { font-size: 72px; line-height: 80px; }
  .proof__head p { font-size: 20px; line-height: 30px; }
  .proof__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-bottom: 48px; }
  .proof__stat { padding-top: 24px; gap: 8px; }
  .proof__num { font-size: 80px; line-height: 88px; }
  .proof__stat-text { font-size: 17px; line-height: 26px; }
  .proof__bottom { grid-template-columns: 7fr 5fr; gap: 32px; }
  .proof__label-card { padding: 32px; }
  .proof__label-text { font-size: 28px; line-height: 38px; }
  .proof__certs { justify-content: space-between; padding: 32px; border: 1.5px solid var(--proof-line); border-radius: var(--radius-card); }
  .proof__cert-list { flex-direction: column; flex-wrap: nowrap; gap: 12px; }
  .proof__cert { display: flex; justify-content: space-between; padding: 0 0 12px; border: 0; border-bottom: 1px solid var(--proof-line); border-radius: 0; font-size: 16px; line-height: 24px; }
}

/* ---------- Reviews showcase ---------- */
.reviews-row { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.review-card { flex: 0 0 300px; scroll-snap-align: start; display: flex; flex-direction: column; border-radius: var(--radius-card); overflow: hidden; background: var(--white); }
.review-card__photo { aspect-ratio: 3 / 2; background: var(--photo); }
.review-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.review-card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px; }
.review-card__stars { font-size: 16px; letter-spacing: 2px; }
.review-card__quote { font-size: 16px; line-height: 24px; }
.review-card__author { font-size: 14px; line-height: 20px; color: var(--ink-2); }
.review-card__author strong { color: var(--ink); }
.reviews-showcase__summary { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
@media (min-width: 990px) {
  .reviews-showcase { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .reviews-showcase__summary { margin: 0; }
  .reviews-row { display: contents; }
  .review-card { flex: none; }
  .review-card__body { padding: 20px; }
  .review-card__quote { font-size: 17px; line-height: 26px; }
}

/* ---------- Bundles ---------- */
.bundle-grid { display: grid; gap: 16px; }
.bundle-card { display: flex; flex-direction: column; border-radius: var(--radius-card); overflow: hidden; background: var(--white); }
.bundle-card__media { height: 160px; display: flex; align-items: center; justify-content: center; background: var(--card); }
.bundle-card__media img { width: 100%; height: 100%; object-fit: cover; }
.bundle-card__media .pack-illustration { height: 120px; width: auto; }
.bundle-card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px; flex: 1 1 auto; }
.bundle-card__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bundle-card__title { font-size: 18px; line-height: 24px; font-weight: 700; }
.bundle-card__title a { text-decoration: none; }
.bundle-card__contents { font-size: 14px; line-height: 20px; color: var(--ink-2); }
.bundle-card__buy { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 4px; }
.bundle-card__price { display: flex; align-items: baseline; gap: 8px; }
.bundle-card__price strong { font-size: 22px; line-height: 28px; }
.bundle-card__price s { font-size: 14px; color: var(--ink-2); }
.bundle-card__unit { font-size: 13px; line-height: 18px; color: var(--ink-2); }
.bundle-diy {
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 20px;
  border: 2px solid var(--ink); border-radius: var(--radius-card); color: var(--ink); text-decoration: none;
}
.bundle-diy:hover { background: var(--white); color: var(--ink); }
.bundle-diy__title { font-family: var(--font-display); font-size: 28px; line-height: 36px; }
.bundle-diy__cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.bundle-diy__cta svg { width: 22px; height: 22px; }
@media (min-width: 990px) {
  .bundle-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .bundle-card__media { height: 200px; }
  .bundle-card__body { padding: 24px; }
  .bundle-card__title { font-size: 22px; line-height: 28px; }
  .bundle-diy { padding: 32px; }
  .bundle-diy__title { font-size: 36px; line-height: 44px; }
}

/* ---------- Collection ---------- */
.collection-head { display: flex; flex-direction: column; gap: 4px; padding-top: 16px; padding-bottom: 16px; }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-2); }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); }
.collection-tabs { padding-bottom: 16px; }
.collection-toolbar {
  position: sticky; top: 0; z-index: 5; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
  padding: 8px var(--page-pad); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--cream);
}
.collection-toolbar .btn, .collection-toolbar .select { min-height: 48px; }
.collection-toolbar .btn { border: 1.5px solid var(--ink); background: var(--white); color: var(--ink); }
.collection-toolbar .select { border-radius: var(--pill); border-color: var(--ink); font-weight: 600; }
.count-dot { min-width: 22px; height: 22px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--pill); background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; }
.active-facets { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 12px; }
.active-facets__count { margin-right: 4px; font-size: 15px; font-weight: 700; }
.active-facet {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px 0 16px;
  border-radius: var(--pill); background: var(--line); color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none;
}
.active-facet:hover { background: var(--ink); color: var(--cream); }
.active-facet svg { width: 16px; height: 16px; }
.collection-results { padding-top: 16px; }
.collection-results.is-loading { opacity: 0.5; transition: opacity .15s; pointer-events: none; }
.collection-more { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 0 48px; }
.progress { width: 160px; height: 4px; border-radius: var(--pill); background: var(--line); overflow: hidden; }
.progress__bar { height: 100%; border-radius: var(--pill); background: var(--blue); }
.collection-empty { padding: 48px 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }

.facets {
  margin: auto 0 0; width: 100%; max-height: calc(100dvh - 64px);
  border-radius: var(--radius-card) var(--radius-card) 0 0; background: var(--cream);
  box-shadow: 0 -24px 48px rgba(28, 23, 20, 0.24);
}
.facets[open] { animation: sheet-in .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes sheet-in { from { transform: translateY(100%); } }
.facets__form { display: flex; flex-direction: column; max-height: calc(100dvh - 64px); }
.facets__grabber { align-self: center; width: 40px; height: 4px; margin-top: 8px; border-radius: var(--pill); background: var(--line-strong); }
.facets__head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 16px; border-bottom: 1px solid var(--line); }
.facets__body { flex: 1 1 auto; overflow-y: auto; display: flex; flex-direction: column; gap: 24px; padding: 20px 16px; }
.facet { display: flex; flex-direction: column; gap: 12px; }
.facet__title { float: left; width: 100%; padding-bottom: 4px; font-size: 16px; line-height: 24px; font-weight: 700; }
.facet__options { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.facet__option.is-disabled .chip { opacity: 0.45; cursor: not-allowed; }
.facet__count { color: var(--ink-2); font-weight: 400; }
input:checked + .chip .facet__count { color: var(--line); }
.facet__price { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.facets__foot { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 12px 16px 20px; border-top: 1px solid var(--line); }

@media (min-width: 990px) {
  .collection-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 32px; padding-top: 32px; padding-bottom: 24px; }
  .collection-head .h1 { font-size: 64px; line-height: 72px; }
  .collection-head .section-sub { max-width: 420px; margin-bottom: 12px; }
  .collection-tabs { padding-bottom: 32px; }
  .collection-tabs .chip { min-height: 48px; padding: 0 20px; font-size: 16px; }
  .collection-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; padding-left: var(--page-pad); padding-right: var(--page-pad); max-width: var(--page-max); margin: 0 auto; }
  .collection-toolbar { position: static; display: flex; align-items: center; justify-content: space-between; padding: 0 0 8px; border-top: 0; border-bottom: 2px solid var(--ink); background: none; }
  .collection-toolbar__filters-btn { display: none !important; }
  .collection-toolbar .select { width: auto; min-height: 44px; border-radius: var(--radius-input); border-color: var(--line-strong); font-weight: 500; }
  .collection-results { padding-top: 24px; }
  .collection-main .active-facets { padding-top: 0; }
  .collection-more { padding-bottom: 96px; }
  .facets { display: block; position: static; inset: auto; width: auto; max-height: none; margin: 0; border-radius: 0; box-shadow: none; background: none; animation: none; }
  .facets::backdrop { display: none; }
  .facets__form { max-height: none; }
  .facets__grabber, .facets__close, .facets__foot { display: none; }
  .facets__head { padding: 0 0 8px; border-bottom: 2px solid var(--ink); }
  .facets__head .drawer__title { font-family: var(--font-body); font-size: 20px; line-height: 28px; font-weight: 700; }
  .facets__body { overflow: visible; padding: 0; gap: 0; }
  .facet { padding: 12px 0; border-bottom: 1px solid var(--line); gap: 0; }
  .facet:last-child { border-bottom: 0; }
  .facet__options { flex-direction: column; flex-wrap: nowrap; gap: 0; }
  .facet__option .chip {
    width: 100%; min-height: 44px; padding: 0; border: 0; background: none; border-radius: 0;
    display: flex; justify-content: space-between; font-weight: 500;
  }
  .facet__option .chip::before {
    content: ""; order: -1; width: 20px; height: 20px; margin-right: 12px; flex-shrink: 0;
    border: 1.5px solid var(--line-strong); border-radius: 4px; background: var(--white);
  }
  .facet__option .chip .facet__label { flex: 1 1 auto; }
  .facet__option input:checked + .chip { background: none; color: var(--ink); font-weight: 700; }
  .facet__option input:checked + .chip::before {
    border-color: var(--ink);
    background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FBF5EC' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat;
  }
  .facet__option input:checked + .chip .facet__count { color: var(--ink-2); }
}

/* ---------- Product page ---------- */
.product { padding-bottom: 16px; }
.product__grid { display: flex; flex-direction: column; }
.gallery { position: relative; margin: 0 calc(var(--page-pad) * -1); }
.gallery__viewport { position: relative; background: var(--card); }
.gallery__slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery__slides::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; background: var(--photo); }
.gallery__slide--pack { background: var(--card); }
.gallery__slide img { width: 100%; height: 100%; object-fit: contain; }
.gallery__slide video { width: 100%; height: 100%; object-fit: cover; }
.gallery__slide .pack-illustration { width: 64%; }
.gallery__counter { position: absolute; top: 12px; right: 12px; z-index: 1; }
.gallery__thumbs { display: flex; gap: 8px; padding: 12px var(--page-pad); overflow-x: auto; scrollbar-width: none; }
.gallery__thumb {
  flex: 0 0 56px; width: 56px; height: 56px; padding: 0; border: 2px solid transparent; border-radius: var(--radius-input);
  overflow: hidden; background: var(--photo);
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb[aria-current="true"] { border-color: var(--ink); }

.product__info { display: flex; flex-direction: column; gap: 16px; padding-top: 4px; }
.product__rating-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.product__heading { display: flex; flex-direction: column; gap: 4px; }
.product__title { font-family: var(--font-display); font-weight: 400; font-size: 40px; line-height: 48px; }
.product__subtitle { font-size: 18px; line-height: 24px; font-weight: 600; }
.product__benefit { margin-top: 8px; font-size: 20px; line-height: 28px; font-weight: 500; }
.price-block { display: flex; flex-direction: column; gap: 2px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price-block__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.price-block__now { font-size: 32px; line-height: 40px; font-weight: 700; font-variant-numeric: tabular-nums; }
.price-block__was { font-size: 18px; line-height: 24px; color: var(--ink-2); }
.price-block__unit { font-size: 16px; line-height: 24px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.price-block__note { font-size: 13px; line-height: 18px; color: var(--ink-2); }
[data-mode="one"] .price-block__sub, [data-mode="sub"] .price-block__one { display: none; }

.variant-group { display: flex; flex-direction: column; gap: 8px; }
.variant-group__label { padding-bottom: 8px; font-size: 14px; line-height: 20px; font-weight: 600; }
.variant-group__label span { font-weight: 400; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch-pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px 0 8px;
  border: 2px solid var(--line); border-radius: var(--pill); background: var(--white); color: var(--ink);
  font-size: 15px; font-weight: 500; cursor: pointer; text-decoration: none;
}
.swatch-pill:hover { border-color: var(--line-strong); color: var(--ink); }
.swatch-pill__dot { width: 30px; height: 30px; border-radius: var(--pill); background: var(--line); box-shadow: inset 0 0 0 1px rgba(28, 23, 20, 0.12); flex-shrink: 0; }
input:checked + .swatch-pill, .swatch-pill[aria-current="true"] { border-color: var(--ink); font-weight: 700; }
input:focus-visible + .swatch-pill, input:focus-visible + .option-card { box-shadow: 0 0 0 2px var(--cream), 0 0 0 5px var(--ink); }
.swatch-pill.is-unavailable, .option-card.is-unavailable { color: var(--ink-2); text-decoration: line-through; }

.option-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-top: 8px; }
.option-card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  min-height: 88px; padding: 12px 16px; border: 2px solid var(--line); border-radius: var(--radius-input);
  background: var(--white); color: var(--ink); cursor: pointer;
}
input:checked + .option-card { border-color: var(--ink); }
.option-card__title { font-size: 16px; line-height: 24px; font-weight: 700; }
.option-card__meta { font-size: 14px; line-height: 20px; font-variant-numeric: tabular-nums; }
.option-card__unit { font-size: 13px; line-height: 18px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.option-card__save { position: absolute; top: -12px; right: 12px; font-size: 12px; line-height: 18px; }

.purchase { display: flex; flex-direction: column; gap: 12px; }
.purchase__card { border: 2px solid var(--line-strong); border-radius: var(--radius-input); background: var(--white); }
.purchase__card:has([data-mode-input]:checked) { border-color: var(--ink); }
.purchase__option { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 16px; cursor: pointer; }
.radio-dot { flex-shrink: 0; width: 22px; height: 22px; border: 2px solid var(--line-strong); border-radius: var(--pill); position: relative; }
input:checked + .purchase__option .radio-dot { border-color: var(--ink); }
input:checked + .purchase__option .radio-dot::after { content: ""; position: absolute; inset: 4px; border-radius: var(--pill); background: var(--blue); }
input:focus-visible + .purchase__option { box-shadow: 0 0 0 2px var(--cream), 0 0 0 5px var(--ink); border-radius: var(--radius-input); }
.purchase__text { flex: 1 1 auto; display: flex; flex-direction: column; }
.purchase__title { font-size: 16px; line-height: 24px; font-weight: 700; }
.purchase__title .save { color: var(--success); font-size: 13px; }
.purchase__meta { font-size: 14px; line-height: 20px; color: var(--ink-2); }
.purchase__price { display: flex; flex-direction: column; align-items: flex-end; font-weight: 700; font-variant-numeric: tabular-nums; }
.purchase__price s { font-size: 13px; font-weight: 400; color: var(--ink-2); }
.purchase__freq { display: flex; flex-direction: column; gap: 8px; padding: 0 16px 16px 50px; }
.purchase__freq legend { padding-bottom: 8px; font-size: 13px; line-height: 18px; font-weight: 600; }
.purchase__freq .chip { min-height: 44px; padding: 0 12px; font-size: 14px; font-weight: 600; }
.purchase__freq-note { font-size: 13px; line-height: 18px; color: var(--ink-2); }
[data-mode="one"] .purchase__freq { display: none; }

.product__atc-row { display: flex; align-items: center; gap: 12px; }
.product__atc { flex: 1 1 auto; }
.product__ship-note { margin-top: -4px; font-size: 14px; line-height: 20px; text-align: center; color: var(--ink-2); }
.product__error { font-size: 14px; font-weight: 600; color: var(--error); }

.eta { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: var(--radius-card); background: var(--white); }
.eta .input { min-height: 48px; }
.eta .btn { min-height: 48px; border-radius: var(--radius-input); border-color: var(--ink); }
.eta__result { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 20px; font-weight: 600; }
.eta__result svg { width: 20px; height: 20px; flex-shrink: 0; }
.eta__result.is-ok { color: var(--success); }
.eta__result.is-error { color: var(--error); }

.trust-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; font-size: 13px; line-height: 18px; text-align: center; }
.trust-row li { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.trust-row svg { width: 24px; height: 24px; }

.sticky-atc {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line);
  background: var(--white); box-shadow: 0 -12px 32px rgba(28, 23, 20, 0.14);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky-atc.is-visible { transform: none; }
.sticky-atc__thumb { flex-shrink: 0; width: 48px; height: 48px; border-radius: var(--radius-input); background: var(--card); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.sticky-atc__thumb img { width: 100%; height: 100%; object-fit: contain; }
.sticky-atc__info { flex: 1 1 auto; min-width: 0; min-height: 48px; display: flex; flex-direction: column; justify-content: center; text-decoration: none; color: var(--ink); }
.sticky-atc__price { font-size: 15px; line-height: 20px; font-weight: 700; }
.sticky-atc__price span { font-weight: 400; font-size: 13px; color: var(--ink-2); }
.sticky-atc__variant { font-size: 13px; line-height: 18px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-atc .btn { min-height: 52px; padding: 0 24px; font-size: 17px; flex-shrink: 0; }

@media (min-width: 990px) {
  .product { padding-top: 8px; }
  .product__grid { display: grid; grid-template-columns: minmax(0, 704px) minmax(0, 1fr); gap: 64px; align-items: start; }
  .gallery { margin: 0; display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 24px; position: sticky; top: 24px; }
  .gallery__viewport { grid-column: 2; grid-row: 1; border-radius: var(--radius-card); overflow: hidden; }
  .gallery__counter { top: 16px; right: 16px; }
  .gallery__thumbs { grid-column: 1; grid-row: 1; flex-direction: column; gap: 12px; padding: 0; overflow: visible; }
  .gallery__thumb { flex-basis: 80px; width: 80px; height: 80px; }
  .product__info { position: sticky; top: 24px; }
  .product__title { font-size: 44px; line-height: 52px; }
  .product__title-sub { font-family: var(--font-body); font-size: 24px; font-weight: 600; }
  .product__benefit { margin-top: 0; font-size: 19px; line-height: 26px; }
  .price-block { padding: 12px 0; }
  .purchase--desktop-row .purchase__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product__ship-note { text-align: left; }
  .sticky-atc { display: none; }
}

/* Product facts: ingredients + nutrition */
.facts { display: grid; gap: 48px; }
.facts__block { display: flex; flex-direction: column; gap: 16px; }
.stack-bar { display: flex; height: 24px; border-radius: var(--pill); overflow: hidden; }
.stack-bar span { height: 100%; }
.ingredient-list li { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 44px; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 22px; }
.ingredient-list__swatch { width: 16px; height: 16px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(28, 23, 20, 0.2); }
.ingredient-list__pct { font-weight: 700; font-variant-numeric: tabular-nums; }
.facts__allergens { font-size: 14px; line-height: 20px; }
.nutrition { font-size: 15px; line-height: 20px; font-variant-numeric: tabular-nums; }
.nutrition caption { padding: 12px 0 8px; text-align: left; font-size: 13px; line-height: 18px; color: var(--ink-2); }
.nutrition thead tr { border-bottom: 2px solid var(--ink); }
.nutrition th, .nutrition td { padding: 11px 0; text-align: right; font-weight: 400; }
.nutrition th[scope="row"] { text-align: left; }
.nutrition thead th { font-weight: 700; width: 84px; vertical-align: bottom; }
.nutrition thead th:first-child { width: auto; }
.nutrition tbody tr { border-bottom: 1px solid var(--line); }
.nutrition tbody tr:last-child { border-bottom: 0; }
.nutrition .is-sub th { padding-left: 16px; color: var(--ink-2); }
.nutrition .is-highlight { background: var(--tint); font-weight: 700; }
.nutrition .is-highlight th { font-weight: 700; color: var(--ink); }
.nutrition .is-highlight > :first-child { padding-left: 8px; }
.nutrition .is-highlight.is-sub > :first-child { padding-left: 16px; }
.nutrition .is-highlight > :last-child { padding-right: 8px; }
.nutrition__note { margin-top: 8px; font-size: 13px; line-height: 18px; color: var(--ink-2); }
@media (min-width: 990px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .stack-bar { height: 28px; }
  .ingredient-list li { min-height: 48px; font-size: 17px; }
  .nutrition { font-size: 16px; line-height: 22px; }
  .nutrition thead th { width: 140px; }
}

/* How to eat */
.howto { display: flex; flex-direction: column; gap: 12px; }
.howto__step { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; }
.howto__media { aspect-ratio: 1; border-radius: var(--radius-card); overflow: hidden; background: var(--photo); display: flex; align-items: flex-end; padding: 8px; font-size: 12px; line-height: 16px; color: var(--ink-2); }
.howto__media img { width: 100%; height: 100%; object-fit: cover; }
.howto__media:has(img) { padding: 0; }
.howto__title { font-size: 17px; line-height: 24px; font-weight: 700; }
.howto__text { font-size: 15px; line-height: 22px; color: var(--ink-2); }
@media (min-width: 990px) {
  .howto { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .howto__step { display: flex; flex-direction: column; align-items: stretch; }
  .howto__media { aspect-ratio: 4 / 3; padding: 16px; font-size: 14px; }
  .howto__title { font-size: 20px; line-height: 28px; }
  .howto__text { font-size: 16px; line-height: 24px; }
}

/* Comparison */
.compare { overflow-x: auto; border-radius: var(--radius-card); background: var(--white); }
.compare table { min-width: 520px; font-size: 14px; line-height: 20px; }
.compare th, .compare td { padding: 12px 8px; text-align: left; vertical-align: top; }
.compare thead th { font-weight: 600; }
.compare thead th.is-us { background: var(--blue); color: #fff; font-weight: 700; }
.compare tbody tr { border-top: 1px solid var(--line); }
.compare tbody th { padding-left: 12px; font-weight: 600; width: 96px; }
.compare td.is-us { background: var(--card); font-weight: 600; }
.compare__note { margin-top: 12px; font-size: 13px; line-height: 18px; color: var(--ink-2); }
@media (min-width: 990px) {
  .compare table { font-size: 17px; line-height: 24px; }
  .compare th, .compare td { padding: 16px 24px; }
  .compare thead th { padding-top: 20px; padding-bottom: 20px; }
  .compare tbody th { width: 280px; }
}

/* Reviews (product) */
.reviews { display: flex; flex-direction: column; gap: 16px; }
.reviews__summary { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: var(--radius-card); background: var(--white); }
.reviews__score { font-family: var(--font-display); font-size: 48px; line-height: 56px; }
.editor-hint { padding: 16px; border: 2px dashed var(--line-strong); border-radius: var(--radius-card); color: var(--ink-2); font-size: 15px; }
@media (min-width: 990px) {
  .reviews--split { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 64px; align-items: start; }
  .reviews__score { font-size: 64px; line-height: 72px; }
}

/* FAQ */
.faq { border-top: 1px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--ink); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 12px 0;
  font-size: 17px; line-height: 24px; font-weight: 700; list-style: none; cursor: pointer;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q svg { width: 22px; height: 22px; flex-shrink: 0; transition: transform .2s; }
.faq__item[open] .faq__q svg { transform: rotate(45deg); }
.faq__a { padding: 0 32px 16px 0; font-size: 16px; line-height: 24px; }
@media (min-width: 990px) {
  .faq-layout { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 64px; }
  .faq__q { min-height: 64px; padding: 16px 0; font-size: 20px; line-height: 28px; }
  .faq__a { max-width: 720px; padding-bottom: 20px; font-size: 17px; line-height: 26px; }
}

/* Frequently bought together */
.fbt { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: var(--radius-card); background: var(--white); }
.fbt__item { display: grid; grid-template-columns: 22px 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 64px; cursor: pointer; }
.fbt__item input { width: 22px; height: 22px; margin: 0; accent-color: var(--ink); }
.fbt__thumb { width: 56px; height: 56px; border-radius: var(--radius-input); overflow: hidden; background: var(--card); display: flex; align-items: center; justify-content: center; }
.fbt__thumb img { width: 100%; height: 100%; object-fit: contain; }
.fbt__name { display: flex; flex-direction: column; font-size: 15px; line-height: 20px; }
.fbt__name span { font-size: 13px; line-height: 18px; color: var(--ink-2); }
.fbt__price { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.fbt__total { display: flex; align-items: baseline; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); }
.fbt__total strong { font-size: 22px; font-variant-numeric: tabular-nums; }
.fbt__save { margin-top: -8px; font-size: 14px; font-weight: 600; color: var(--success); text-align: right; }
@media (min-width: 990px) { .fbt { max-width: 640px; padding: 24px; } }

/* ---------- Cart (drawer + page) ---------- */
.cart { display: flex; flex-direction: column; height: 100%; }
.cart__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 8px 12px 16px; }
.cart__title { font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 36px; }
.cart__title span { font-family: var(--font-body); font-size: 18px; font-weight: 600; color: var(--ink-2); }
.ship-bar { display: flex; flex-direction: column; gap: 8px; margin: 0 16px; padding: 14px 16px; border-radius: var(--radius-card); background: var(--white); }
.ship-bar__text { display: flex; align-items: center; gap: 8px; font-size: 15px; line-height: 20px; font-weight: 600; }
.ship-bar__text svg { width: 20px; height: 20px; flex-shrink: 0; }
.ship-bar.is-free .ship-bar__text { color: var(--success); }
.ship-bar__track { height: 8px; border-radius: var(--pill); background: var(--line); overflow: hidden; }
.ship-bar__fill { height: 100%; border-radius: var(--pill); background: var(--blue); transition: width .4s ease; }
.ship-bar.is-free .ship-bar__fill { background: var(--success); }
.cart__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding: 16px; }
.cart__items { display: flex; flex-direction: column; gap: 12px; }
.cart__empty { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 32px 16px; text-align: center; }
.cart__empty p { font-family: var(--font-display); font-size: 24px; line-height: 32px; }
.cart__foot { display: flex; flex-direction: column; gap: 12px; padding: 16px 16px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--white); }
.totals { display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 20px; font-variant-numeric: tabular-nums; }
.totals__row { display: flex; justify-content: space-between; gap: 12px; }
.totals__row dd { margin: 0; text-align: right; }
.totals__row--discount { color: var(--success); font-weight: 600; }
.totals__row--total { align-items: baseline; padding-top: 8px; border-top: 1px solid var(--line); }
.totals__row--total dt { font-size: 18px; font-weight: 700; }
.totals__row--total dt span { font-size: 13px; font-weight: 400; color: var(--ink-2); }
.totals__row--total dd { font-size: 22px; font-weight: 700; }
.cart__saving { font-size: 14px; font-weight: 600; color: var(--success); }
.cart__note { font-size: 13px; line-height: 18px; text-align: center; color: var(--ink-2); }
.cart.is-loading .cart__body, .cart.is-loading .cart__foot { opacity: 0.55; pointer-events: none; transition: opacity .15s; }

.cart-line { display: flex; gap: 12px; padding: 16px; border-radius: var(--radius-card); background: var(--white); }
.cart-line__thumb { flex-shrink: 0; width: 72px; height: 72px; border-radius: var(--radius-input); overflow: hidden; background: var(--card); display: flex; align-items: center; justify-content: center; }
.cart-line__thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart-line__thumb .pack-illustration { width: 60%; filter: none; }
.cart-line__main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cart-line__top { display: flex; justify-content: space-between; gap: 8px; }
.cart-line__title { font-size: 16px; line-height: 20px; font-weight: 700; text-decoration: none; }
.cart-line__meta { font-size: 14px; line-height: 20px; color: var(--ink-2); }
.cart-line__price { display: flex; flex-direction: column; align-items: flex-end; font-size: 16px; line-height: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cart-line__price s { font-size: 13px; line-height: 18px; font-weight: 400; color: var(--ink-2); }
.cart-line__plan { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 8px; }
.cart-line__plan .link-btn { font-size: 13px; }
.cart-line__actions { display: flex; align-items: center; justify-content: space-between; }
.cart-line__actions .stepper { height: 44px; }
.cart-line__nudge {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 8px 12px;
  border: 0; border-radius: var(--radius-input); background: var(--cream); color: var(--ink); font-size: 14px; line-height: 18px; text-align: left;
}
.cart-line__nudge svg { width: 18px; height: 18px; flex-shrink: 0; }
.cart-line__error { font-size: 13px; color: var(--error); font-weight: 600; }
.cart-upsell { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-card); }
.cart-upsell__row { display: flex; align-items: center; gap: 12px; }
.cart-upsell__thumb { flex-shrink: 0; width: 56px; height: 56px; border-radius: var(--radius-input); overflow: hidden; background: var(--card); display: flex; align-items: center; justify-content: center; }
.cart-upsell__thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart-upsell__info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; font-size: 13px; line-height: 18px; color: var(--ink-2); }
.cart-upsell__info strong { font-size: 15px; line-height: 20px; color: var(--ink); }
.cart-upsell__unlock { font-weight: 700; color: var(--success); }
.coupon summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 15px; font-weight: 600; list-style: none; cursor: pointer; }
.coupon summary::-webkit-details-marker { display: none; }
.coupon summary svg { width: 18px; height: 18px; }
.coupon__form { display: flex; flex-direction: column; gap: 6px; }
.coupon__form .input { min-height: 48px; letter-spacing: 0.04em; }
.coupon__form .btn { min-height: 48px; border-radius: var(--radius-input); }
.coupon__applied { display: flex; flex-wrap: wrap; gap: 8px; }

.cart-page { padding-top: 24px; }
.cart-page__panel { max-width: 720px; margin: 16px auto 0; }
.cart-page__panel .cart__foot { border-radius: var(--radius-card); border: 0; }
.cart-page__panel .cart__body { overflow: visible; padding-left: 0; padding-right: 0; }
.cart-page__panel .ship-bar { margin: 0; }

/* ---------- Account ---------- */
.account { padding-top: 24px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 16px; }
.account__hello { display: flex; flex-direction: column; gap: 4px; }
.account__tabs { margin-top: 8px; }
.account-card { display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: var(--radius-card); background: var(--white); }
.account-card--lilac { background: var(--card); }
.account-items li { display: flex; align-items: center; gap: 12px; }
.account-items li + li { margin-top: 12px; }
.account-thumb { flex-shrink: 0; width: 56px; height: 56px; border-radius: var(--radius-input); overflow: hidden; background: var(--card); display: flex; align-items: center; justify-content: center; }
.account-thumb img { width: 100%; height: 100%; object-fit: contain; }
.account-thumb--sm { width: 44px; height: 44px; border-radius: 10px; }
.account-item__name { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; font-size: 13px; line-height: 18px; color: var(--ink-2); }
.account-item__name strong { font-size: 15px; line-height: 20px; color: var(--ink); }
.order-card { display: flex; flex-direction: column; gap: 12px; padding: 16px 20px; border-radius: var(--radius-card); background: var(--white); }
.order-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.order-card__meta { font-size: 14px; line-height: 20px; color: var(--ink-2); }
.order-card__thumbs { display: flex; gap: 8px; }
.order-card__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.order-card__actions .btn { min-height: 44px; font-size: 15px; }
.tracker { display: flex; flex-direction: column; }
.tracker__step { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; padding-bottom: 16px; position: relative; }
.tracker__step:not(:last-child)::after { content: ""; position: absolute; left: 11px; top: 28px; bottom: 4px; width: 2px; background: var(--line); }
.tracker__dot { width: 24px; height: 24px; border: 2px solid var(--line-strong); border-radius: var(--pill); background: var(--white); display: flex; align-items: center; justify-content: center; }
.tracker__step.is-done .tracker__dot { border-color: var(--success); background: var(--success); color: #fff; }
.tracker__dot svg { width: 14px; height: 14px; }
.tracker__label { display: flex; flex-direction: column; font-size: 14px; line-height: 20px; color: var(--ink-2); }
.tracker__label strong { font-size: 16px; line-height: 24px; color: var(--ink); }
.auth { max-width: 480px; margin: 0 auto; padding-top: 32px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 24px; }
.auth form { display: flex; flex-direction: column; gap: 16px; }
.address-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--radius-card); background: var(--white); }
@media (min-width: 990px) {
  .account { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px 32px; padding-top: 48px; padding-bottom: 96px; }
  .account > * { grid-column: 1 / -1; }
  .account__reorder { grid-column: 1 / span 7; }
  .account__side { grid-column: 8 / -1; }
  .account-card { padding: 28px; }
  .order-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}

/* ---------- Generic content pages ---------- */
.page-content { max-width: 760px; margin: 0 auto; padding-top: 32px; padding-bottom: 64px; }
.page-content .h1 { margin-bottom: 24px; }
.blog-grid { display: grid; gap: 24px; }
@media (min-width: 750px) { .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.article-card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.article-card__media { aspect-ratio: 4 / 3; border-radius: var(--radius-card); overflow: hidden; background: var(--photo); }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; }
.not-found { padding-top: 64px; padding-bottom: 96px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.pagination { display: flex; justify-content: center; gap: 8px; padding: 32px 0; }
.search-form { display: flex; gap: 8px; max-width: 640px; }
.password-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 32px 16px; text-align: center; }


/* ==========================================================================
   Static-site additions: demo bar, toast, checkout, confirmation, subscription
   ========================================================================== */
.demo-bar { margin: 0; padding: 6px 16px; background: #FFF3C4; color: var(--ink); font-size: 13px; line-height: 18px; font-weight: 600; text-align: center; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 50; max-width: calc(100vw - 32px);
  padding: 12px 20px; border-radius: var(--pill); background: var(--ink); color: var(--cream);
  font-size: 15px; font-weight: 600; box-shadow: 0 12px 32px rgba(28, 23, 20, 0.24);
  transform: translate(-50%, 140%); transition: transform .25s ease; pointer-events: none;
}
.toast.is-visible { transform: translate(-50%, 0); }

.bundle-thumb { display: flex; width: 100%; height: 100%; }
.bundle-thumb i { flex: 1 1 0; }

.hero__media--drawn { gap: 0; }
.hero__lifestyle-placeholder { display: none; }
@media (min-width: 990px) {
  .hero__lifestyle-placeholder {
    display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 16px;
    position: absolute; left: 0; bottom: 24px; width: 220px; aspect-ratio: 11 / 14;
    border: 6px solid var(--cream); border-radius: var(--radius-card); background: var(--photo);
    transform: rotate(-4deg); font-size: 14px; line-height: 20px;
  }
}
.photo-note { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }

/* Product page placeholders for photos */
.gallery__slide--photo { flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 4px; padding: 20px; text-align: left; }
.gallery__slide--photo p { font-size: 16px; line-height: 22px; }
.gallery__thumb--pack { background: var(--card); }
.gallery__thumb .pack-illustration { width: 70%; margin: 0 auto; filter: none; }

/* Checkout */
.checkout-header { border-bottom: 1px solid var(--line); background: var(--cream); }
.checkout-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.checkout-header__secure { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.checkout-header__secure svg { width: 18px; height: 18px; }
.summary-bar { position: sticky; top: 0; z-index: 10; background: var(--white); border-bottom: 1px solid var(--line); }
.summary-bar__toggle { width: 100%; min-height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--page-pad); border: 0; background: none; color: var(--ink); font-size: 15px; font-weight: 600; }
.summary-bar__toggle svg { width: 18px; height: 18px; transition: transform .2s; }
.summary-bar__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.summary-bar__total { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.summary-bar__body { padding: 0 var(--page-pad) 16px; }

.checkout { display: flex; flex-direction: column; gap: 16px; padding-top: 16px; padding-bottom: 48px; }
.co-card { display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: var(--radius-card); background: var(--white); }
.co-card[aria-disabled="true"] { opacity: 0.55; }
.co-card__title { display: flex; align-items: center; gap: 12px; font-size: 20px; line-height: 28px; font-weight: 700; }
.step-num { flex-shrink: 0; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--pill); background: var(--blue); color: #fff; font-size: 14px; }
.step-num.is-done { background: var(--success); color: #fff; }
.step-num svg { width: 16px; height: 16px; }
.co-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.phone-field { display: flex; align-items: center; min-height: 56px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-input); background: var(--white); overflow: hidden; }
.phone-field:focus-within { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.phone-field__prefix { align-self: stretch; display: flex; align-items: center; padding: 0 12px 0 16px; border-right: 1px solid var(--line); font-weight: 600; }
.phone-field .input { border: 0; min-height: 52px; }
.phone-field .input:focus-visible { box-shadow: none; }
.phone-field .btn { margin-right: 4px; min-height: 44px; border-radius: 8px; padding: 0 14px; }
.otp { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.otp input { width: 100%; min-height: 56px; padding: 0; border: 1.5px solid var(--line-strong); border-radius: var(--radius-input); background: var(--white); text-align: center; font-size: 22px; font-weight: 700; }
.otp input:focus-visible { border: 2.5px solid var(--ink); box-shadow: none; border-radius: var(--radius-input); }
.verified { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.verified__text { display: flex; flex-direction: column; font-size: 15px; }
.verified__text strong { font-size: 16px; }
.eta-inline { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: var(--radius-input); background: var(--success-tint); color: var(--success); font-weight: 700; }
.eta-inline svg { width: 20px; height: 20px; flex-shrink: 0; }
.pay-list { display: flex; flex-direction: column; gap: 12px; }
.pay-option { border: 2px solid var(--line-strong); border-radius: var(--radius-input); background: var(--white); }
.pay-option:has(input:checked) { border-color: var(--ink); }
.pay-option__row { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 16px; cursor: pointer; }
input:checked + .pay-option__row .radio-dot { border-color: var(--ink); }
input:checked + .pay-option__row .radio-dot::after { content: ""; position: absolute; inset: 4px; border-radius: var(--pill); background: var(--blue); }
input:focus-visible + .pay-option__row { box-shadow: 0 0 0 2px var(--cream), 0 0 0 5px var(--ink); border-radius: var(--radius-input); }
.pay-option__body { padding: 0 16px 16px 50px; display: flex; flex-direction: column; gap: 12px; }
.pay-option__fee { font-weight: 700; white-space: nowrap; }
.upi-apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.upi-apps .chip { justify-content: center; border-radius: var(--radius-input); min-height: 48px; }
.match-note { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--success); }
.match-note svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.summary-card { display: flex; flex-direction: column; gap: 12px; }
.summary-line { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.summary-line__thumb { position: relative; width: 56px; height: 56px; border-radius: var(--radius-input); background: var(--card); display: flex; align-items: center; justify-content: center; }
.summary-line__thumb .pack-illustration { width: 60%; filter: none; }
.summary-line__qty { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; display: flex; align-items: center; justify-content: center; border-radius: var(--pill); background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; }
.summary-line__name { display: flex; flex-direction: column; font-size: 13px; line-height: 18px; color: var(--ink-2); }
.summary-line__name strong { font-size: 15px; line-height: 20px; color: var(--ink); }
.summary-line__price { font-weight: 700; font-variant-numeric: tabular-nums; }
.legal-note { font-size: 13px; line-height: 20px; text-align: center; color: var(--ink-2); }
@media (min-width: 990px) {
  .summary-bar { display: none; }
  .checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 64px; align-items: start; padding-top: 48px; padding-bottom: 96px; }
  .checkout { padding: 0; }
  .checkout-aside { position: sticky; top: 24px; padding: 28px; border-radius: var(--radius-card); background: var(--white); }
  .co-card { padding: 28px; }
  .upi-apps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 989px) { .checkout-aside { display: none; } }

/* Confirmation */
.confirm-hero { padding: 32px 0; background: var(--card); }
.confirm-hero .page-width { display: flex; flex-direction: column; gap: 12px; }
.confirm-hero__check { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: var(--pill); background: var(--blue); color: #fff; }
.confirm-hero__check svg { width: 30px; height: 30px; stroke-width: 2.6; }
.confirm-grid { display: flex; flex-direction: column; gap: 16px; padding-top: 16px; padding-bottom: 64px; }
@media (min-width: 990px) {
  .confirm-hero { padding: 64px 0; }
  .confirm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-top: 32px; padding-bottom: 96px; }
}

/* Subscription management */
.sub-page { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; padding-bottom: 64px; max-width: 720px; }
.sub-status { flex-shrink: 0; }
.upcoming li { display: flex; align-items: center; justify-content: space-between; min-height: 44px; border-bottom: 1px solid var(--line); font-size: 15px; }
.upcoming li span:first-child { display: flex; align-items: center; gap: 8px; }
.upcoming svg { width: 18px; height: 18px; }
.notice { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 4px 4px 12px; border-radius: var(--radius-input); background: var(--tint); font-size: 14px; }
.chip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.chip-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chip-grid .chip { justify-content: center; padding: 0 4px; font-weight: 600; font-size: 14px; }
.danger-zone { border: 2px solid var(--ink); }
.empty-state { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

/* Header fit between 990 and 1280 px */
@media (min-width: 990px) {
  .header__inner { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 24px; }
  .header__nav a { white-space: nowrap; }
}
@media (min-width: 990px) and (max-width: 1279px) {
  .header__nav ul { gap: 0; }
  .header__nav a { padding: 0 8px; font-size: 15px; }
  .hero__lifestyle-placeholder { display: none; }
}
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; margin: 0; }
@media (min-width: 1280px) {
  .hero__media { justify-content: flex-end; padding-right: 40px; }
}

.phone-field .btn { white-space: nowrap; }
@media (min-width: 990px) { .collection-toolbar { justify-content: flex-end; } }

/* ---------- Content pages: policies, help, 404 ---------- */
.template-note { padding: 12px 16px; margin-top: 16px; }
.policy { margin-top: 24px; }
.policy h2.h3 { margin-top: 40px; font-size: 24px; line-height: 32px; }
.policy li + li { margin-top: 8px; }
.policy-nav { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.policy-nav ul { display: flex; flex-wrap: wrap; gap: 0 24px; }
.policy-nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.help-tasks[role="list"] { display: grid; gap: 12px; margin-top: 24px; }
@media (min-width: 750px) { .help-tasks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.help-task { display: flex; flex-direction: column; gap: 4px; height: 100%; text-decoration: none; font-size: 18px; }
.help-task .muted { font-size: 15px; }
.help-section { margin-top: 56px; }
.help-section > .h3 { margin-bottom: 16px; }
.contact-list[role="list"] { display: grid; gap: 8px; margin-bottom: 16px; }
.contact-list li { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; min-height: 44px; }
.contact-list a { font-weight: 700; overflow-wrap: anywhere; }
.faq__a a { font-weight: 600; }
.not-found .co-row { width: 100%; max-width: 420px; }
.footer__bottom a { color: inherit; }
.legal-note a { color: inherit; font-weight: 600; }

/* ---------- 3D hero pouch (assets/js/pack3d.js) ---------- */
.hero__media--3d { touch-action: pan-y; height: 320px; }
.pack3d { position: relative; height: 100%; aspect-ratio: 400 / 520; perspective: 1100px; user-select: none; -webkit-user-select: none; }
.pack3d__bob { position: absolute; inset: 0; transform-style: preserve-3d; animation: pack3d-bob 5s ease-in-out infinite alternate; }
.pack3d__tilt { position: absolute; inset: 0; transform-style: preserve-3d; }
.pack3d__tilt > svg, .pack3d__edge, .pack3d__edge svg, .pack3d__glare { position: absolute; inset: 0; width: 100%; height: 100%; }
.pack3d__body { overflow: visible; }
.pack3d__glare { overflow: hidden; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; transform: translateZ(0.5px); pointer-events: none; }
.pack3d__glare i {
  position: absolute; left: -50%; top: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 250, 238, 0.55) 0, rgba(255, 250, 238, 0.16) 18%, rgba(255, 250, 238, 0) 40%);
}
.pack3d__shadow {
  position: absolute; left: 6%; right: 6%; bottom: -5%; height: 12%;
  background: radial-gradient(closest-side, rgba(28, 23, 20, 0.34), rgba(28, 23, 20, 0));
  animation: pack3d-shadow 5s ease-in-out infinite alternate;
}
.pack3d__float { position: absolute; display: block; transform: translateZ(var(--z)); pointer-events: none; }
.pack3d__float svg { display: block; width: 100%; height: auto; overflow: visible; animation: pack3d-drift 6s ease-in-out infinite alternate; }
.pack3d__float--a { width: 19%; left: -15%; top: 20%; }
.pack3d__float--b { width: 15%; right: -13%; top: 46%; }
.pack3d__float--b svg { animation-duration: 7s; animation-delay: -2s; }
.pack3d__float--c { width: 11%; right: 4%; bottom: 6%; }
.pack3d__float--c svg { animation-duration: 5.2s; animation-delay: -4s; }
.pack3d__float--chilli { width: 38%; left: -22%; bottom: 8%; }
.pack3d__float--chilli svg { transform-origin: 40% 50%; animation-name: pack3d-drift-tilt; animation-duration: 6.5s; }
.pack3d__float--leaf { width: 17%; right: -6%; top: 9%; }
.pack3d__float--leaf svg { animation-name: pack3d-drift-tilt; animation-duration: 5.6s; animation-delay: -3s; }
.pack3d__wordmark, .pack3d__title { font-family: var(--font-brand); }
.pack3d__small { font-family: var(--font-body); font-weight: 700; }
.pack3d.is-offscreen *, .pack3d.is-still * { animation-play-state: paused; }
.pack3d.is-still .pack3d__bob, .pack3d.is-still .pack3d__shadow, .pack3d.is-still .pack3d__float svg { animation: none; }
@keyframes pack3d-bob { from { transform: translateY(2px); } to { transform: translateY(-4px); } }
@keyframes pack3d-shadow { from { opacity: 1; } to { opacity: 0.7; } }
@keyframes pack3d-drift { from { transform: translateY(2px); } to { transform: translateY(-3px); } }
@keyframes pack3d-drift-tilt { from { transform: translateY(2px) rotate(-2deg); } to { transform: translateY(-3px) rotate(2deg); } }
@media (min-width: 990px) {
  .hero__media--3d { height: 560px; }
  .hero__media--3d .pack3d { height: 470px; }
}
.hero__copy, .hero__cta { position: relative; z-index: 1; }

/* ---------- WebGL hero pouch (assets/js/hero3d.js) ---------- */
.hero3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .6s ease; }
.hero__media.is-3d .hero3d { opacity: 1; }
.hero__media .pack3d { transition: opacity .6s ease; }
.hero__media.is-3d .pack3d { opacity: 0; }

/* ---------- Product mockup images (assets/img/packs, rendered by tools/mockups.html) ---------- */
.pack-img { display: block; width: 100%; height: 100%; object-fit: contain; }
.product-card__media-link .pack-img { width: 100%; height: 100%; transition: transform .25s ease; }
.product-card:hover .product-card__media-link .pack-img { transform: translateY(-4px) scale(1.02); }
.gallery__slide--pack .pack-img { width: 88%; height: 88%; margin: auto; }
.gallery__thumb--pack .pack-img, .sticky-atc__thumb .pack-img, .fbt__thumb .pack-img, .cart-upsell__thumb .pack-img,
.account-thumb .pack-img, .summary-line__thumb .pack-img { width: 100%; height: 100%; }
.cart-line__thumb .pack-img { width: 100%; height: 100%; }
.bundle-card__media { overflow: hidden; }
.bundle-card__media .pack-img { width: 100%; height: 100%; object-fit: contain; padding: 8px 0 0; }
@media (prefers-reduced-motion: reduce) { .product-card__media-link .pack-img { transition: none; } }

/* ---------- Heading accents: hand-written note and hand-drawn underline ---------- */
.note { font-family: var(--font-hand); font-weight: 400; font-size: 20px; line-height: 24px; color: var(--blue); }
.note-inline { font-family: var(--font-hand); font-size: 1.12em; color: var(--blue); white-space: nowrap; }
.u-squiggle {
  /* inline-block + line-height 1 keeps the underline at the baseline: Anton's content box runs far below it */
  display: inline-block; line-height: 1; padding-bottom: 0.1em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M3 11C45 8 88 6 124 7l8-5-3 10c24-1 46-2 68-3' fill='none' stroke='%231F4FFF' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") left 100% / 100% 0.16em no-repeat;
}
.hero .u-squiggle { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M3 11C45 8 88 6 124 7l8-5-3 10c24-1 46-2 68-3' fill='none' stroke='%23FFD233' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.hero .note, .hero .note-inline { color: var(--cta); }
.hero__copy { position: relative; }
.hero__note { position: absolute; right: 0; top: -4px; max-width: 170px; text-align: center; transform: rotate(-7deg); }
.hero .eyebrow { color: rgba(255, 255, 255, 0.82); }
.hero__meta { color: rgba(255, 255, 255, 0.9); }
@media (min-width: 990px) {
  .note { font-size: 26px; line-height: 30px; }
  .hero__note { right: 4%; top: -18px; max-width: 220px; }
}
.h1, .h2, .h3 { text-wrap: balance; }
.hero .h1 { padding-bottom: 0.12em; }

/* ---------- Tap-to-open pack (hero3d.js) and unboxing overlay (unbox3d.js) ---------- */
.hero__open {
  position: absolute; left: 50%; bottom: 4px; z-index: 2; transform: translateX(-50%);
  display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.55); border-radius: var(--pill);
  background: rgba(14, 19, 48, 0.28); color: #fff; font-weight: 600; font-size: 15px; white-space: nowrap; cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero__open svg { width: 20px; height: 20px; }
.hero__open:hover { background: rgba(14, 19, 48, 0.45); }
.hero__media.is-3d .hero__open { display: inline-flex; }
.hero__media.is-3d .hero3d { cursor: pointer; }
.unbox {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: radial-gradient(120% 90% at 50% 30%, #2E5CFF 0%, #1739D6 55%, #0B1F80 100%); color: #fff; overflow: hidden;
  animation: unbox-in .45s ease both;
}
.unbox::backdrop { background: rgba(8, 16, 60, 0.6); }
.unbox__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.unbox__close {
  position: absolute; top: 16px; right: 16px; z-index: 2; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: var(--pill); background: rgba(255, 255, 255, 0.16); color: #fff; cursor: pointer;
}
.unbox__close:hover { background: rgba(255, 255, 255, 0.28); }
.unbox__close svg { width: 22px; height: 22px; }
.unbox__note { position: absolute; top: 24px; left: 20px; margin: 0; color: var(--cta); transform: rotate(-6deg); }
.unbox__actions {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 24px 16px calc(24px + env(safe-area-inset-bottom)); text-align: center;
  opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; pointer-events: none;
}
.unbox.is-done .unbox__actions { opacity: 1; transform: none; pointer-events: auto; }
.unbox__title { margin: 0; font-family: var(--font-display); font-size: 28px; line-height: 32px; }
.unbox__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.unbox__replay { border-color: rgba(255, 255, 255, 0.7); background: transparent; color: #fff; }
.unbox__replay:hover { background: #fff; color: var(--ink); }
@keyframes unbox-in { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 990px) {
  .unbox__title { font-size: 40px; line-height: 44px; }
  .unbox__note { top: 40px; left: 48px; }
}
@media (prefers-reduced-motion: reduce) { .unbox { animation: none; } .unbox__actions { transition: none; } }

/* ---------- Stories: photo cards that flip to the review (home.js) ---------- */
.stories__head { position: relative; max-width: 820px; margin: 0 auto 32px; text-align: center; }
.stories__head .template-note { margin: 16px auto 0; max-width: 560px; }
.stories__note { position: absolute; right: -8px; top: -30px; margin: 0; transform: rotate(6deg); }
.stories__row[role="list"] {
  display: flex; gap: 12px; margin: 0 calc(var(--page-pad) * -1); padding: 4px var(--page-pad) 8px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.stories__row::-webkit-scrollbar { display: none; }
.story { position: relative; flex: 0 0 78%; aspect-ratio: 480 / 750; perspective: 1600px; scroll-snap-align: center; cursor: pointer; }
.story__inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .75s cubic-bezier(.2, .75, .2, 1); }
.story.is-flipped .story__inner { transform: rotateY(180deg); }
.story__face { position: absolute; inset: 0; overflow: hidden; border-radius: var(--radius-card); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.story__front { background: var(--photo); }
.story__front img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.story:hover .story__front img { transform: scale(1.03); }
.story__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 12, 40, 0.82) 0%, rgba(8, 12, 40, 0.4) 30%, rgba(8, 12, 40, 0) 56%); }
.story__text { position: absolute; left: 20px; right: 20px; bottom: 20px; color: #fff; }
.story__name { display: inline-block; margin: 0 0 2px; font-family: var(--font-hand); font-size: 26px; line-height: 30px; color: var(--cta); transform: rotate(-4deg); transform-origin: left bottom; }
.story__title { margin: 0; font-size: 22px; line-height: 28px; font-weight: 600; }
.story__sub { margin: 6px 0 0; font-size: 15px; line-height: 22px; color: rgba(255, 255, 255, 0.86); }
.story__back {
  transform: rotateY(180deg); display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 32px 28px;
  background: var(--blue); color: #fff;
}
.story__mark { font-family: var(--font-display); font-size: 110px; line-height: 0.6; color: var(--cta); height: 44px; }
.story__quote { margin: 0; font-size: 20px; line-height: 30px; font-weight: 500; }
.story__quote p { margin: 0; }
.story__sign { margin: 8px 0 0; font-family: var(--font-hand); font-size: 34px; line-height: 38px; color: var(--cta); transform: rotate(-3deg); transform-origin: left center; }
.story__meta { margin: 0; font-size: 14px; color: rgba(255, 255, 255, 0.78); }
.story__link { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.story__flip {
  position: absolute; top: 16px; right: 16px; z-index: 3; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: var(--pill); background: rgba(14, 19, 48, 0.5); color: #fff; cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .2s ease, transform .5s ease;
}
.story__flip svg { width: 24px; height: 24px; }
.story__flip:hover { background: rgba(14, 19, 48, 0.72); }
.story.is-flipped .story__flip { background: rgba(255, 255, 255, 0.2); transform: rotate(180deg); }
@media (min-width: 750px) { .story { flex-basis: 44%; } }
@media (min-width: 990px) {
  .stories__head { margin-bottom: 48px; }
  .stories__note { right: -40px; top: -36px; }
  .stories__row[role="list"] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; overflow: visible; }
  .story__text { left: 28px; right: 28px; bottom: 28px; }
  .story__title { font-size: 26px; line-height: 32px; }
  .story__back { padding: 40px 36px; }
  .story__quote { font-size: 22px; line-height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .story__inner, .story__front img, .story__flip { transition: none; }
}

/* ---------- Subscribe strip illustrations (assets/img/illus, white background multiplied into the card) ---------- */
.sub-strip__point { grid-template-columns: 96px minmax(0, 1fr); align-items: center; }
.sub-strip__illus { width: 96px; height: 80px; object-fit: contain; mix-blend-mode: multiply; }
@media (min-width: 990px) {
  .sub-strip__point { padding-top: 0; border-top: 0; gap: 16px; }
  .sub-strip__illus { width: 100%; height: 132px; object-position: left bottom; }
  .sub-strip__point > span { padding-top: 16px; border-top: 2px solid var(--ink); }
}

/* ---------- Product gallery shots (front, back, in hand, inside) ---------- */
.gallery__slide--lifestyle { background: var(--photo); }
.gallery__slide--lifestyle .pack-img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:not(.gallery__thumb--pack) .pack-img { object-fit: cover; }

/* ==========================================================================
   Spacing pass: roomier layout on the 8 pt grid. Later rules override the tighter originals above.
   ========================================================================== */
:root { --page-pad: 20px; }
.section { padding-top: 72px; }
.section--last { padding-bottom: 88px; }
.section-head { margin-bottom: 28px; }
.h1 { line-height: 54px; }
.h2 { line-height: 44px; }
.h3 { line-height: 38px; }
.lede { line-height: 28px; }
.section-sub { line-height: 26px; }

.hero__inner { gap: 24px; padding-top: 40px; padding-bottom: 48px; }
.hero__copy { gap: 14px; }
.hero .h1 { line-height: 48px; } /* hero headline keeps its original tight leading */
.hero__cta { gap: 16px; }

.need-grid, .product-grid { gap: 20px; }
.need-tile { padding: 20px; }
.product-card__body { gap: 10px; padding: 20px; }
@container card (max-width: 239px) { .product-card__body { padding: 16px; } }
.bundle-grid { gap: 24px; }
.bundle-card__body { gap: 12px; padding: 20px; }

.sub-strip { gap: 28px; padding: 32px 24px; }
.sub-strip__points { gap: 20px; }

.proof { padding: 72px 0; }
.proof__head { gap: 12px; margin-bottom: 40px; }
.proof__stats { gap: 32px 20px; margin-bottom: 40px; }
.proof__bottom { gap: 20px; }

.stories__head { margin-bottom: 40px; }
.stories__row[role="list"] { gap: 16px; }

.product__info { gap: 24px; }
.collection-head { gap: 8px; padding-top: 28px; padding-bottom: 24px; }
.account { gap: 24px; padding-top: 40px; }
.account-card, .co-card { gap: 20px; padding: 24px; }
.checkout { gap: 24px; padding-top: 24px; }
.footer { padding: 64px 0 56px; }
.footer__grid { gap: 32px 20px; }
.page-content { padding-top: 48px; padding-bottom: 88px; }

@media (min-width: 990px) {
  :root { --page-pad: 96px; }
  .section { padding-top: 136px; }
  .section--last { padding-bottom: 136px; }
  .section-head { margin-bottom: 48px; }
  .h1 { line-height: 100px; }
  .h2 { line-height: 70px; }
  .h3 { line-height: 56px; }
  .lede { line-height: 34px; }
  .section-sub { line-height: 30px; }

  .hero__inner { min-height: 720px; padding-top: 88px; padding-bottom: 88px; row-gap: 40px; column-gap: 80px; }
  .hero__copy { gap: 32px; }
  .hero .h1 { line-height: 92px; }

  .need-grid, .product-grid, .bundle-grid { gap: 40px; }
  .need-tile { padding: 28px; }
  .product-card__body { padding: 24px; gap: 12px; }
  .bundle-card__body { padding: 28px; }

  .sub-strip { gap: 96px; padding: 72px; }
  .sub-strip__points { gap: 48px; }

  .proof { padding: 136px 0; }
  .proof__head { margin-bottom: 72px; }
  .proof__stats { gap: 48px; margin-bottom: 72px; }
  .proof__bottom { gap: 40px; }
  .proof__label-card, .proof__certs { padding: 40px; }

  .stories__head { margin-bottom: 64px; }
  .stories__row[role="list"] { gap: 24px; }

  .product__grid { gap: 96px; }
  .product__info { gap: 28px; }
  .collection-head { padding-top: 56px; padding-bottom: 40px; }
  .collection-layout { gap: 64px; }
  .faq-layout, .reviews--split { gap: 96px; }
  .account { gap: 32px 40px; padding-top: 64px; padding-bottom: 136px; }
  .account-card, .co-card { padding: 32px; }
  .checkout-layout { gap: 88px; padding-top: 64px; padding-bottom: 136px; }
  .checkout-aside { padding: 32px; }
  .footer { padding: 96px 0 64px; }
  .footer__grid { gap: 48px; }
  .page-content { padding-top: 72px; padding-bottom: 136px; }
}
@media (max-width: 989px) { .hero__note { top: -22px; font-size: 18px; } .hero__copy { padding-top: 8px; } }

/* ---------- Subscribe & save landing (subscription.js explainer) ---------- */
.subx { display: flex; flex-direction: column; gap: 72px; padding-top: 48px; padding-bottom: 88px; }
.subx__hero { display: flex; flex-direction: column; gap: 16px; max-width: 860px; }
.subx__cta { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.subx__cta .btn { align-self: flex-start; }
.subx__cta p { margin: 0; }
.subx__benefits[role="list"] { display: grid; gap: 20px; }
.subx__benefit { display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: var(--radius-card); background: var(--card); }
.subx__benefit img { width: auto; height: 120px; max-width: 100%; object-fit: contain; object-position: left bottom; mix-blend-mode: multiply; margin-bottom: 12px; }
.subx__title { margin: 0; font-size: 20px; line-height: 28px; font-weight: 700; }
.subx__benefit p, .subx__steps p { margin: 0; color: var(--ink-2); }
.subx__how, .subx__faq { display: flex; flex-direction: column; gap: 28px; }
.subx__steps[role="list"] { display: grid; gap: 24px; }
.subx__steps li { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 2px solid var(--ink); }
.subx__num { font-family: var(--font-display); font-size: 48px; line-height: 52px; color: var(--blue); }
.subx__end { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 40px 28px; border-radius: var(--radius-card); background: var(--blue); color: #fff; }
.subx__end p { margin: 0; color: rgba(255, 255, 255, 0.88); }
@media (min-width: 750px) {
  .subx__benefits[role="list"], .subx__steps[role="list"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 990px) {
  .subx { gap: 120px; padding-top: 88px; padding-bottom: 136px; }
  .subx__hero { gap: 24px; }
  .subx__cta { flex-direction: row; align-items: center; gap: 24px; }
  .subx__cta .btn { min-height: 60px; padding: 0 36px; font-size: 19px; }
  .subx__benefits[role="list"] { gap: 32px; }
  .subx__benefit { padding: 40px; }
  .subx__benefit img { height: 150px; }
  .subx__title { font-size: 24px; line-height: 32px; }
  .subx__how, .subx__faq { gap: 48px; }
  .subx__steps[role="list"] { gap: 48px; }
  .subx__faq { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 96px; }
  .subx__end { flex-direction: row; align-items: center; justify-content: space-between; padding: 64px 72px; }
  .subx__end .h2 { max-width: 420px; }
}

/* ---------- How to eat it: rendered scenes (tools/howto.html) ---------- */
.howto[role="list"] {
  display: flex; flex-direction: row; gap: 16px; margin: 0 calc(var(--page-pad) * -1); padding: 0 var(--page-pad) 8px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.howto[role="list"]::-webkit-scrollbar { display: none; }
.howto__step { display: flex; flex-direction: column; align-items: stretch; gap: 16px; flex: 0 0 80%; scroll-snap-align: start; }
.howto__media { aspect-ratio: 4 / 3; padding: 0; background: var(--card); }
.howto__media img { object-fit: cover; }
.howto__title { margin: 0 0 4px; }
@media (min-width: 750px) { .howto__step { flex-basis: 46%; } }
@media (min-width: 990px) {
  .howto[role="list"] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 0; padding: 0; overflow: visible; }
  .howto__step { gap: 20px; }
}

/* ---------- Footer v2: brand + toss toy, link columns, payment marks ---------- */
.footer__top { display: grid; gap: 40px; margin-bottom: 56px; }
.footer__brand { gap: 16px; }
.footer__tag { margin: 0; font-size: 18px; line-height: 26px; color: rgba(255, 255, 255, 0.78); }
.footer__shop { align-self: flex-start; margin-top: 8px; }
.toss { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: var(--radius-card); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); }
.toss__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.toss__note { margin: 0; color: var(--cta); font-size: 22px; line-height: 26px; }
.toss__score { margin: 0; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.8); }
.toss__canvas { display: block; width: 100%; height: 190px; touch-action: none; }
.toss__btn {
  align-self: flex-start; min-height: 44px; padding: 0 20px; border: 1.5px solid rgba(255, 255, 255, 0.5); border-radius: var(--pill);
  background: transparent; color: #fff; font-weight: 600; cursor: pointer;
}
.toss__btn:hover { background: #fff; color: var(--ink); }
.footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer__bottom { border-top-color: rgba(255, 255, 255, 0.18); color: rgba(255, 255, 255, 0.72); }
.footer__bottom p { margin: 0; }
.footer__pay[role="list"] { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.footer__pay li { display: flex; align-items: center; justify-content: center; height: 40px; padding: 0 12px; border-radius: 8px; background: #fff; }
.footer__pay img { display: block; height: 22px; width: auto; }
.footer__pay li:first-child img { height: 26px; }
.footer__cod { color: var(--ink); font-size: 13px; font-weight: 700; }
@media (min-width: 990px) {
  .footer__top { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 96px; align-items: start; margin-bottom: 80px; }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 820px; }
  .toss { padding: 24px 28px; }
  .toss__canvas { height: 210px; }
  .footer__bottom { margin-top: 64px; }
}

/* ---------- Hero headline: always two lines, sized to its column ---------- */
.hero__copy { container-type: inline-size; }
.hero .hero__title { font-size: min(92px, 100cqi / 8.3); line-height: 1.3; }
.hero__line { display: block; white-space: nowrap; }
@media (min-width: 990px) {
  .hero__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}

/* ---------- Primary CTA: one style everywhere (yellow, black text) ---------- */
:root { --cta-text: #0B0B12; }
.btn.btn--cta, .btn.btn--cta:hover, .btn.btn--cta:visited {
  color: var(--cta-text); min-height: 56px; padding: 0 32px; font-size: 17px; font-weight: 700; border-radius: var(--pill);
}
.btn.btn--cta { background: var(--cta); border-color: var(--cta); }
.btn.btn--cta:hover { background: var(--cta-hover); border-color: var(--cta-hover); }
.btn.btn--cta svg { color: var(--cta-text); }
.hero__cta .btn.btn--cta, .subx__cta .btn.btn--cta { min-height: 56px; padding: 0 32px; font-size: 17px; }

/* ---------- Headings and titles: 130% line height across the site ---------- */
.h-display, .h1, .h2, .h3, .hero .h1, .collection-head .h1, .proof__head .h2, .product__title, .drawer__title, .unbox__title,
.need-tile__title, .product-grid__promo-title, .product-card__title, .bundle-card__title, .subx__title, .story__title,
.howto__title, .co-card__title, .cart__title, .faq__q { line-height: 1.3; }

/* ---------- Footer v3: small toss toy under the logo, links beside it, compact payment marks ---------- */
.footer__top { display: grid; gap: 48px; margin-bottom: 48px; }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer__shop { margin-top: 4px; }
.toss { width: 100%; max-width: 380px; gap: 8px; padding: 14px 16px; margin-top: 12px; }
.toss__note { font-size: 18px; line-height: 1.3; }
.toss__score { font-size: 13px; }
.toss__canvas { height: 128px; }
.toss__btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
.footer__grid { align-content: start; }
.footer__pay[role="list"] { gap: 6px; }
.footer__pay li { height: 28px; padding: 0 8px; border-radius: 6px; }
.footer__pay img { height: 14px; }
.footer__pay li:first-child img, .footer__pay li:last-child img { height: 18px; }
@media (min-width: 990px) {
  .footer__top { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 96px; margin-bottom: 72px; }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; padding-top: 12px; }
  .toss { padding: 16px 18px; }
  .toss__canvas { height: 136px; }
}
.footer .toss__note { color: var(--cta); }
