/* modifiedmonthly.com design system (engine from livertreats.net). Tokens follow sniffandshift.com sns-theme.css (read 2026-10-15).
   See brand/BRAND.md for usage rules and measured contrast. 16px root; sizes in rem. */

/* ---------- Tokens: light (default) ---------- */
:root {
  color-scheme: light;
  --bg: #F8F7F4;
  --bg-2: #F0EFEC;
  --surface: #FFFFFF;
  --text: #1D1B18;
  --muted: #6E6A63;           /* 5.02:1 on bg */
  --border: rgba(29, 27, 24, .14);
  --image-well: #F2F1ED;
  --red: #A81820;             /* brand red, fills and accent text (6.96:1) */
  --red-hover: #8A1119;
  --red-soft: #F7E9E9;
  --tide: #A9DCD9;            /* water accent (soft sea teal), fills only; text on it is #1D1B18 (11.39:1) */
  --tide-soft: #E4F3F2;       /* tinted panels */
  --tide-text: #0A5C63;       /* deep teal as text: 7.20:1 on bg, 6.76:1 on tide-soft */
  --pearl: #E6ECEE;           /* silver-pearl highlight, fills only (14.40:1 with text) */
  --ripple: rgba(10, 92, 99, .22);
  --accent-text: #A81820;
  --on-red: #FFFFFF;          /* 7.46:1 on --red */
  --btn: #A81820;
  --btn-hover: #8A1119;
  --focus: #A81820;
  --success: #2F7D4F;
  --warning: #9A6410;
  --error: #B3261E;
  --glass-bg: rgba(255, 255, 255, .72);
  --glass-bg-strong: rgba(248, 247, 244, .86);
  --glass-border: rgba(29, 27, 24, .10);
  --glass-highlight: rgba(255, 255, 255, .9);
  --glass-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 1px 2px rgba(29, 27, 24, .04), 0 10px 28px -12px rgba(29, 27, 24, .14);
  --glow: rgba(168, 24, 32, .10);
  --glow-2: rgba(91, 75, 219, .08);
  --shade: rgba(16, 16, 15, .45);

  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --w-bold: 700;
  --w-semi: 650;
  /* radii: one tight scale, nested radii step down by the padding between them */
  --radius-xs: 8px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --pill: 999px;
  --page: 1200px;
  --gutter: 1rem;
  --header-h: 4rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --blur: blur(14px) saturate(1.3);

  /* Easing curves after Open Props (MIT, open-props.style): a few named curves instead of ad-hoc beziers */
  --ease-2: cubic-bezier(.25, 0, .4, 1);
  --ease-out-2: cubic-bezier(0, 0, .5, 1);
  --ease-out-3: cubic-bezier(0, 0, .3, 1);
  --ease-out-4: cubic-bezier(0, 0, .1, 1);
  --ease-in-2: cubic-bezier(.5, 0, 1, 1);
  --ease-in-out-3: cubic-bezier(.5, 0, .5, 1);
  /* Springs as linear() curves, sampled from a damped spring (stiffness/damping): bounce 380/18 (19% overshoot,
     ~760ms), soft 260/26 (1% overshoot, ~530ms), settle 210/29 (no overshoot, ~640ms). Zero JS. */
  --spring-bounce: linear(0, .095, .316, .581, .826, 1.015, 1.135, 1.189, 1.19, 1.157, 1.108, 1.057, 1.014, .984, .967, .962, .965, .974, .984, .993, 1, 1.005, 1.007, 1.007, 1.006, 1.004, 1.002, 1.001, .999, .999, .999, .999, 1);
  --spring-soft: linear(0, .031, .106, .206, .317, .428, .533, .628, .712, .782, .841, .888, .925, .954, .975, .99, 1.001, 1.007, 1.011, 1.013, 1.014, 1.013, 1.012, 1.011, 1.009, 1.008, 1.006, 1.005, 1.004, 1.003, 1.002, 1.002, 1);
  --spring-settle: linear(0, .034, .114, .215, .321, .423, .516, .599, .671, .732, .783, .825, .86, .888, .911, .93, .944, .956, .966, .973, .979, .983, .987, .99, .992, .994, .995, .996, .997, .998, .998, .999, 1);

  /* Layered shadows (ambient + key light), quieter than a single blur */
  --shadow-rgb: 29, 27, 24;
  --shadow-sm: 0 1px 1px rgba(var(--shadow-rgb), .04), 0 2px 4px -1px rgba(var(--shadow-rgb), .06);
  --shadow-md: 0 1px 2px rgba(var(--shadow-rgb), .04), 0 4px 8px -2px rgba(var(--shadow-rgb), .06), 0 14px 28px -10px rgba(var(--shadow-rgb), .12);
  --shadow-lg: 0 2px 4px rgba(var(--shadow-rgb), .04), 0 12px 24px -6px rgba(var(--shadow-rgb), .08), 0 36px 72px -18px rgba(var(--shadow-rgb), .22);
}
@supports not (transition-timing-function: linear(0, 1)) {
  :root { --spring-bounce: cubic-bezier(.34, 1.56, .64, 1); --spring-soft: cubic-bezier(.22, 1, .36, 1); --spring-settle: cubic-bezier(.22, 1, .36, 1); }
}

/* ---------- Tokens: dark ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #10100F;
    --bg-2: #171716;
    --surface: #1D1D1B;
    --text: #F5F3EF;
    --muted: #B8B6B1;
    --border: rgba(245, 243, 239, .16);
    --image-well: #252523;
    --red: #E25353;
    --red-hover: #C0272E;
    --red-soft: #2A1B1A;
    --tide: #6CC9C6;
    --tide-soft: #11292B;
    --tide-text: #86D9D6;
    --pearl: #DCE6E8;
    --ripple: rgba(134, 217, 214, .20);
    --accent-text: #EE7272;
    --on-red: #FFFFFF;
    --btn: #C0272E;
    --btn-hover: #A81820;
    --focus: #E25353;
    --success: #5CB380;
    --warning: #E0A94F;
    --error: #E07268;
    --glass-bg: rgba(28, 28, 26, .78);
    --glass-bg-strong: rgba(23, 23, 22, .88);
    --glass-border: rgba(245, 243, 239, .12);
    --glass-highlight: rgba(255, 255, 255, .10);
    --glass-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 1px 2px rgba(0, 0, 0, .3), 0 14px 36px -12px rgba(0, 0, 0, .55);
    --shadow-rgb: 0, 0, 0;
    --glow: rgba(168, 24, 32, .22);
    --glow-2: rgba(127, 114, 240, .14);
    --shade: rgba(0, 0, 0, .6);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #10100F;
  --bg-2: #171716;
  --surface: #1D1D1B;
  --text: #F5F3EF;
  --muted: #B8B6B1;
  --border: rgba(245, 243, 239, .16);
  --image-well: #252523;
  --red: #E25353;
  --red-hover: #C0272E;
  --red-soft: #2A1B1A;
  --tide: #6CC9C6;
  --tide-soft: #11292B;
  --tide-text: #86D9D6;
  --pearl: #DCE6E8;
  --ripple: rgba(134, 217, 214, .20);
  --accent-text: #EE7272;
  --on-red: #FFFFFF;
  --btn: #C0272E;
  --btn-hover: #A81820;
  --focus: #E25353;
  --success: #5CB380;
  --warning: #E0A94F;
  --error: #E07268;
  --glass-bg: rgba(28, 28, 26, .78);
  --glass-bg-strong: rgba(23, 23, 22, .88);
  --glass-border: rgba(245, 243, 239, .12);
  --glass-highlight: rgba(255, 255, 255, .10);
  --glass-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 1px 2px rgba(0, 0, 0, .3), 0 14px 36px -12px rgba(0, 0, 0, .55);
  --shadow-rgb: 0, 0, 0;
  --glow: rgba(168, 24, 32, .22);
  --glow-2: rgba(127, 114, 240, .14);
  --shade: rgba(0, 0, 0, .6);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); hanging-punctuation: first allow-end last; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; letter-spacing: .01rem;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
  font-kerning: normal; font-optical-sizing: auto;
}
body.is-locked { overflow: hidden; }
/* soft ambient glow so glass surfaces have something to refract */
body::before {
  content: ""; position: fixed; inset: -20vh -20vw; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40vw 40vw at 85% 8%, var(--glow), transparent 70%),
    radial-gradient(36vw 36vw at 5% 60%, var(--glow-2), transparent 70%),
    radial-gradient(30vw 30vw at 70% 95%, var(--glow), transparent 70%);
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-text); text-underline-offset: .3rem; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.12; letter-spacing: -.02em; font-weight: var(--w-bold); text-wrap: balance; }
/* Helvetica has no optical axis, so size-specific tracking does the job: tighter as type gets bigger */
h1 { font-size: clamp(2.25rem, 5.4vw, 4rem); line-height: 1.04; letter-spacing: -.034em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.625rem); letter-spacing: -.026em; }
h3 { font-size: 1.25rem; letter-spacing: -.012em; }
/* figures that change or line up (prices, counts, calculator output) never jiggle */
.price, .cart-count, .cart-line__price, [data-cart-subtotal], .calc__num, .stat__value, .qty input, .cart-line__qty input, .size-picker small, .rating-summary strong { font-variant-numeric: tabular-nums; }
p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }
ul, ol { padding-left: 1.25rem; margin: 0 0 1em; }
li + li { margin-top: .35em; }
strong { font-weight: var(--w-bold); }
hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
::selection { background: var(--red); color: var(--on-red); }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

/* Lucide icons (inlined at build). One stroke weight everywhere; sizes come from the component. */
.i { flex: none; stroke-width: 1.75; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .75rem 1rem;
  background: var(--btn); color: var(--on-red); border-radius: var(--radius-sm); font-weight: var(--w-semi); text-decoration: none;
}
.skip-link:focus { top: 1rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.section { padding: 3.5rem 0; }
.section--tight { padding: 2rem 0; }
.section--alt { background: var(--bg-2); }
@media (min-width: 768px) { :root { --gutter: 2rem; } .section { padding: 5.5rem 0; } }
@media (min-width: 1100px) { .section { padding: 6.5rem 0; } }
@media (min-width: 1680px) { :root { --page: 1320px; } }

.eyebrow {
  display: inline-block; margin: 0 0 .75rem; color: var(--accent-text);
  font-size: .8125rem; font-weight: var(--w-bold); letter-spacing: .14em; text-transform: uppercase;
}
.lede { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.section-head { max-width: 46rem; margin-bottom: 2.25rem; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .lede { margin-left: auto; margin-right: auto; }
.prose { max-width: 44rem; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }

/* ---------- Glass ---------- */
.glass {
  position: relative; isolation: isolate;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border); border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
}
/* top-edge highlight */
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: linear-gradient(180deg, var(--glass-highlight), transparent 38%);
  opacity: .55;
}
/* pointer-following light; ui.js sets --mx/--my */
.glass--lit::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, -20%), var(--glass-highlight), transparent 60%);
  opacity: 0; transition: opacity .35s var(--ease); mix-blend-mode: soft-light;
}
.glass--lit:hover::after { opacity: 1; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .site-header, .drawer__panel, .sticky-atc, .consent, .mobile-nav, .toast { background: var(--surface) !important; }
  .btn--ghost, .chip { background: var(--surface); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.5rem; border-radius: var(--pill); border: 1px solid transparent;
  font: inherit; font-size: 1rem; font-weight: var(--w-semi); letter-spacing: .02em; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s var(--ease-2), color .18s var(--ease-2), border-color .18s var(--ease-2), transform .3s var(--spring-soft), box-shadow .2s var(--ease-2);
}
.btn:active:not([disabled]) { transform: scale(.98); transition-duration: .08s; }
.btn--primary { background: var(--btn); color: var(--on-red); box-shadow: 0 1px 0 rgba(255, 255, 255, .14) inset, 0 1px 2px rgba(168, 24, 32, .22), 0 8px 20px -8px rgba(168, 24, 32, .45); }
.btn--primary:hover { background: var(--btn-hover); color: var(--on-red); transform: translateY(-1px); }
.btn--ghost { background: var(--glass-bg); color: var(--text); border-color: var(--border); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.btn--ghost:hover { border-color: var(--text); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.btn svg { width: 1.125rem; height: 1.125rem; flex: none; }
/* Add to cart: "Added" face shares the grid cell with the label, so the width never changes */
.btn--atc { display: inline-grid; grid-template-areas: "face"; overflow: hidden; }
.btn--atc > .btn__face { grid-area: face; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; transition: opacity .18s var(--ease-out-3), transform .45s var(--spring-soft); }
.btn__face--done { opacity: 0; transform: translateY(60%); }
.btn--atc[data-state="added"] > .btn__face:first-child { opacity: 0; transform: translateY(-60%); }
.btn--atc[data-state="added"] > .btn__face--done { opacity: 1; transform: none; }
.btn--atc[data-state="added"] .btn__face--done path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw .42s .08s var(--ease-out-3) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.link-strong { font-weight: var(--w-semi); color: var(--accent-text); }
.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border-radius: var(--pill); border: 1px solid transparent; background: transparent; color: var(--text); cursor: pointer;
  transition: background-color .18s var(--ease-2), border-color .18s var(--ease-2), transform .3s var(--spring-soft);
}
.icon-btn:hover { background: var(--glass-bg); border-color: var(--border); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:active { transform: scale(.94); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--glass-bg-strong); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border-bottom: 1px solid var(--glass-border);
}
.site-header__inner { display: flex; align-items: center; gap: .75rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .625rem; color: var(--text); text-decoration: none; margin-right: auto; min-height: 44px; }
.brand__mark { width: 36px; height: 36px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-size: 1.1875rem; font-weight: var(--w-bold); letter-spacing: -.02em; }
.brand__by { margin-top: .25rem; font-size: .625rem; font-weight: var(--w-semi); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav { display: none; }
.nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav li + li { margin: 0; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 .875rem; border-radius: var(--pill);
  color: var(--text); font-size: .9375rem; font-weight: var(--w-semi); text-decoration: none;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent-text); }
.header-actions { display: flex; align-items: center; gap: .25rem; }
.header-shop { display: none; }
.cart-count {
  position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: var(--pill);
  background: var(--btn); color: var(--on-red); font-size: .75rem; font-weight: var(--w-bold); line-height: 20px; text-align: center;
  box-shadow: 0 0 0 2px var(--bg);
}
.cart-count[data-count="0"], .cart-count:empty { display: none; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}
.menu-toggle { display: inline-grid; }
@media (min-width: 900px) {
  .nav { display: block; }
  .menu-toggle { display: none; }
  .header-shop { display: inline-flex; min-height: 44px; padding: .5rem 1rem; font-size: .875rem; }
}
/* mobile menu */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 39; padding: .5rem var(--gutter) 1.25rem;
  padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right));
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
  background: var(--glass-bg-strong); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border-bottom: 1px solid var(--glass-border);
  transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .16s var(--ease-in-2), transform .2s var(--ease-in-2), visibility 0s .2s;
}
.mobile-nav.is-open { transform: none; opacity: 1; visibility: visible; transition: opacity .22s var(--ease-out-3), transform .5s var(--spring-soft); }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li + li { margin: 0; border-top: 1px solid var(--border); }
.mobile-nav a { display: flex; align-items: center; min-height: 52px; color: var(--text); font-size: 1.125rem; font-weight: var(--w-semi); text-decoration: none; }
@media (min-width: 900px) { .mobile-nav { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: 2.5rem 0 3.5rem; overflow: hidden; overflow: clip; } /* clip: not a scroll container, so view() timelines see the page */
.hero__grid { display: grid; gap: 2.5rem; align-items: center; }
.hero__copy .lede { margin-bottom: 1.75rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.hero__chips li { margin: 0; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 36px; padding: .375rem .875rem; border-radius: var(--pill);
  background: var(--glass-bg); border: 1px solid var(--glass-border); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  font-size: .875rem; font-weight: var(--w-semi); color: var(--text);
}
.chip svg { width: 16px; height: 16px; color: var(--accent-text); }
.hero__media { position: relative; }
.hero__frame {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-xl); overflow: hidden; background: #000;
  box-shadow: var(--shadow-lg); border: 1px solid var(--glass-border);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease-out-4); }
.hero__frame:hover img { transform: scale(1.05); }
.hero__badge {
  position: absolute; left: .75rem; bottom: .75rem; padding: .875rem 1.125rem; border-radius: var(--radius);
  display: flex; align-items: center; gap: .75rem; max-width: 80%;
}
.hero__badge strong { display: block; font-size: 1.0625rem; line-height: 1.2; }
.hero__badge span { display: block; color: var(--muted); font-size: .8125rem; }
.hero__badge .mark { width: 40px; height: 40px; flex: none; }
.hero__float {
  position: absolute; right: .75rem; top: .75rem; width: 32%; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden;
  border: 4px solid var(--bg); box-shadow: var(--shadow-md); background: var(--image-well);
}
.hero__float img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .hero { padding: 4.5rem 0 5.5rem; }
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 4rem; }
  .hero__badge { left: -2rem; }
  .hero__float { right: -2rem; }
}
/* landscape phones (e.g. 844x390): put the photo beside the copy and calm the H1 so the hero is not 3 screens tall */
@media (min-width: 640px) and (max-width: 899px) and (max-height: 520px) and (orientation: landscape) {
  h1 { font-size: clamp(1.875rem, 4.2vw, 2.5rem); }
  .hero { padding: 1.5rem 0 2.5rem; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 2rem; }
  .hero__chips { margin-top: 1.25rem; }
}

/* ---------- Cards / product grid ---------- */
.grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.grid--1 { max-width: 920px; }
@media (min-width: 720px) {
  .grid--1 .card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 2rem; padding: 1.25rem; }
  .grid--1 .card__media { grid-row: 1 / 4; margin: 0; }
  .grid--1 .card > :not(.card__media) { margin-left: 0; margin-right: 0; }
  .grid--1 .card__title { font-size: 1.5rem; align-self: end; margin-top: 1rem; }
  .grid--1 .card__meta .price { font-size: 1.5rem; }
  .grid--1 .card__foot { align-content: start; }
}
.card { display: flex; flex-direction: column; padding: .5rem .5rem 1rem; border-radius: var(--radius-lg); height: 100%; transition: transform .45s var(--spring-soft), box-shadow .3s var(--ease-2), border-color .2s var(--ease-2); }
.card > :not(.card__media) { margin-left: .5rem; margin-right: .5rem; }
.card:hover { transform: translateY(-2px); box-shadow: var(--glass-shadow), var(--shadow-md); }
/* nested radius = card radius minus the .5rem gap, so the corners run parallel */
.card__media { position: relative; aspect-ratio: 1; border-radius: calc(var(--radius-lg) - .5rem); overflow: hidden; background: var(--image-well); margin-bottom: 1rem; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out-4); }
.card:hover .card__media img { transform: scale(1.04); }
.card__title { font-size: 1.125rem; font-weight: var(--w-semi); line-height: 1.3; letter-spacing: -.01em; margin: 0 0 .25rem; }
.card__title a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); text-decoration: none; }
.card__title a:hover { color: var(--accent-text); }
.card__meta { color: var(--muted); font-size: .875rem; margin: 0 0 .75rem; }
.card__foot { margin-top: auto; display: grid; gap: .75rem; }
.price { color: var(--accent-text); font-weight: var(--w-bold); font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.price--lg { font-size: 1.75rem; }
.badge {
  position: absolute; top: .75rem; left: .75rem; z-index: 1; padding: .25rem .625rem; border-radius: var(--pill);
  background: var(--red-soft); color: var(--accent-text); font-size: .75rem; font-weight: var(--w-bold); letter-spacing: .04em;
}
.badge--muted { background: var(--surface); color: var(--muted); }
.sold-out { color: var(--muted); font-weight: var(--w-semi); }

/* ---------- Size picker ---------- */
.size-picker { border: 0; padding: 0; margin: 0; min-width: 0; }
.size-picker legend { padding: 0; margin-bottom: .5rem; font-size: .875rem; font-weight: var(--w-semi); color: var(--muted); }
.size-picker__opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.size-picker input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.size-picker label {
  position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 72px; min-height: 48px; padding: .375rem .875rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface); cursor: pointer; line-height: 1.15;
  font-size: .9375rem; font-weight: var(--w-semi); color: var(--text);
  transition: border-color .15s var(--ease-2), background-color .15s var(--ease-2), box-shadow .15s var(--ease-2), transform .3s var(--spring-soft);
}
.size-picker label:active { transform: scale(.97); transition-duration: .08s; }
.size-picker label small { font-size: .75rem; font-weight: 500; color: var(--muted); }
.size-picker label:hover { border-color: var(--text); }
.size-picker input:checked + label { border-color: var(--red); box-shadow: 0 0 0 1px var(--red) inset; background: var(--red-soft); }
.size-picker input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 2px; }
.size-picker input:disabled + label { opacity: .5; cursor: not-allowed; text-decoration: line-through; }
.card .size-picker label { min-width: 0; flex: 1 1 0; }

/* ---------- Buybox ---------- */
.buybox { display: grid; gap: 2rem; align-items: start; }
.buybox__gallery { display: grid; gap: .75rem; }
.buybox__main { aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--image-well); }
.buybox__main img { width: 100%; height: 100%; object-fit: cover; }
.buybox__thumbs { display: flex; gap: .5rem; }
.buybox__thumbs button { width: 72px; height: 72px; padding: 0; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid transparent; background: var(--image-well); cursor: pointer; }
.buybox__thumbs button[aria-current="true"] { border-color: var(--red); }
.buybox__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buybox__panel { padding: 1.5rem; display: grid; gap: 1.25rem; }
.buybox__panel h2 { margin: 0; }
.buybox__row { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.buybox__note { font-size: .875rem; color: var(--muted); margin: 0; }
@media (min-width: 900px) { .buybox { grid-template-columns: 1.1fr .9fr; gap: 3rem; } .buybox__panel { position: sticky; top: calc(var(--header-h) + 1.5rem); padding: 2rem; } }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: var(--pill); background: var(--surface); }
.qty button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--text); font-size: 1.25rem; cursor: pointer; border-radius: var(--pill); }
.qty button svg, .cart-line__qty button svg { width: 16px; height: 16px; }
.qty input { width: 3rem; height: 44px; border: 0; background: transparent; color: var(--text); text-align: center; font: inherit; font-size: 1rem; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- Purchase type (Subscribe and save is opt-in, never preselected) ---------- */
.buy-type { border: 0; padding: 0; margin: 0; display: grid; gap: .5rem; min-width: 0; }
.buy-type legend { padding: 0; margin-bottom: .5rem; font-size: .875rem; font-weight: var(--w-semi); color: var(--muted); }
.buy-type__opt { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); transition: border-color .15s ease, box-shadow .15s ease; }
.buy-type__opt:has(input:checked) { border-color: var(--red); box-shadow: 0 0 0 1px var(--red) inset; }
.buy-type__opt > input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.buy-type__opt > label { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 52px; padding: .75rem 1rem .75rem 2.75rem; cursor: pointer; position: relative; font-weight: var(--w-semi); }
.buy-type__opt > label::before { content: ""; position: absolute; left: 1rem; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 2px solid var(--muted); background: var(--surface); }
.buy-type__opt > input:checked + label::before { border-color: var(--red); box-shadow: inset 0 0 0 4px var(--surface); background: var(--red); }
.buy-type__opt > input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--radius-sm); }
.buy-type__save { padding: .2rem .6rem; border-radius: var(--pill); background: var(--red-soft); color: var(--accent-text); font-size: .8125rem; font-weight: var(--w-bold); white-space: nowrap; }
.buy-type__plans { padding: 0 1rem 1rem 2.75rem; }
.buy-type__plans[hidden] { display: none; }
.buy-type__plans select { width: 100%; }
.buy-type__fine { margin: .5rem 0 0; font-size: .8125rem; color: var(--muted); }
.compare-at { color: var(--muted); font-size: 1rem; }
.compare-at:empty { display: none; }

/* ---------- Sticky mobile add to cart ---------- */
.sticky-atc {
  position: fixed; z-index: 35;
  left: max(.5rem, env(safe-area-inset-left)); right: max(.5rem, env(safe-area-inset-right)); bottom: max(.5rem, env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: .75rem; padding: .625rem .625rem .625rem 1rem; border-radius: var(--radius);
  background: var(--glass-bg-strong); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border); box-shadow: var(--shadow-lg);
  transform: translateY(calc(100% + 1rem)); transition: transform .5s var(--spring-soft);
}
.sticky-atc.is-visible { transform: none; }
.sticky-atc__info { min-width: 0; flex: 1; line-height: 1.25; }
.sticky-atc__title { display: block; font-size: .875rem; font-weight: var(--w-semi); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-atc .price { font-size: 1rem; }
.sticky-atc .btn { min-height: 44px; padding: .625rem 1.125rem; }
@media (min-width: 900px) { .sticky-atc { display: none; } }
/* while the consent banner is open the bar sits directly above it (ui.js measures the banner into --consent-h),
   so the two never overlap; the cart drawer (z-index 60) always covers both */
html.lt-consent-pending .sticky-atc { bottom: calc(var(--consent-h, 6rem) + max(.5rem, env(safe-area-inset-bottom)) + .5rem); }
@media (max-width: 899px) { body:has(.sticky-atc) .site-footer { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); } }

/* ---------- Steps (how it's made) ---------- */
.steps { position: relative; display: grid; gap: 1rem; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { margin: 0; display: flex; }
.steps li > .step { flex: 1; }
.step { position: relative; padding: 1.5rem 1.5rem 1.5rem 4.75rem; border-radius: var(--radius-lg); min-height: 7rem; transition: transform .4s var(--ease), border-color .4s ease; }
.step__num {
  position: absolute; left: 1.25rem; top: 1.375rem; width: 2.5rem; height: 2.5rem; border-radius: var(--pill);
  display: grid; place-items: center; font-weight: var(--w-bold); font-size: 1rem;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted);
  transition: background-color .4s ease, color .4s ease, border-color .4s ease, transform .4s var(--ease);
}
.step h3 { margin: .35rem 0 .4rem; }
.step p { margin: 0; color: var(--muted); }
.step.is-active { border-color: color-mix(in srgb, var(--red) 45%, transparent); }
.step.is-active .step__num { background: var(--btn); color: var(--on-red); border-color: var(--btn); transform: scale(1.06); }
.steps__rail { display: none; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(var(--n, 4), 1fr); gap: 1.25rem; padding-top: 4.5rem; }
  .step { padding: 1.75rem 1.5rem; }
  .step__num { position: absolute; left: 1.5rem; top: -3.75rem; width: 3rem; height: 3rem; }
  .steps__rail { display: block; position: absolute; left: 2.5rem; right: 2.5rem; top: 1.5rem; height: 3px; border-radius: 3px; background: var(--border); overflow: hidden; }
  .steps__rail span { display: block; height: 100%; width: 100%; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .6s var(--ease); }
}

/* ---------- Split ---------- */
.split { display: grid; gap: 2rem; align-items: center; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; background: var(--image-well); aspect-ratio: 4 / 3; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .split--reverse .split__media { order: 2; }
}
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem; border-radius: var(--pill); background: var(--red-soft); }
/* Lucide "check" as a mask, painted in the accent text colour, so it follows light and dark */
.checklist li::after {
  content: ""; position: absolute; left: .25rem; top: calc(.2em + .25rem); width: .75rem; height: .75rem; background: var(--accent-text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Stats ---------- */
.stats { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(var(--n, 4), 1fr); } }
.stat { padding: 1.5rem; border-radius: var(--radius-lg); }
.stat__value { display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: var(--w-bold); line-height: 1; letter-spacing: -.03em; color: var(--accent-text); margin-bottom: .5rem; }
.stat__label { color: var(--muted); font-size: .9375rem; margin: 0; }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; font-size: .9375rem; }
.compare th, .compare td { padding: .875rem 1rem; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare thead th { font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: var(--w-bold); }
.compare tbody th { font-weight: var(--w-semi); }
.compare tr:last-child > * { border-bottom: 0; }
.compare .is-hl { background: color-mix(in srgb, var(--red-soft) 70%, transparent); }
.compare thead .is-hl { color: var(--accent-text); }
.compare caption { caption-side: bottom; padding: .75rem 1rem; text-align: left; color: var(--muted); font-size: .8125rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .75rem; max-width: 50rem; }
.faq--center { margin: 0 auto; }
.faq details { border-radius: var(--radius); padding: 0; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; padding: 1rem 1.25rem;
  cursor: pointer; list-style: none; font-weight: var(--w-semi); font-size: 1.0625rem; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 18px; height: 18px; color: var(--muted); transition: transform .5s var(--spring-soft); }
.faq details[open] summary .i { transform: rotate(180deg); }
/* smooth open/close where the browser can animate to height:auto (Chromium 131+); instant elsewhere */
@media (prefers-reduced-motion: no-preference) {
  @supports (interpolate-size: allow-keywords) and selector(::details-content) {
    .faq { interpolate-size: allow-keywords; }
    .faq details::details-content { block-size: 0; overflow: clip; transition: block-size .34s var(--ease-out-4), content-visibility .34s allow-discrete; }
    .faq details[open]::details-content { block-size: auto; }
  }
}
.faq__a { padding: 0 1.25rem 1.25rem; color: var(--muted); }
.faq__a > :last-child { margin-bottom: 0; }

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: 1rem; grid-auto-flow: column; grid-auto-columns: minmax(280px, 85%); overflow-x: auto; scroll-snap-type: x mandatory; padding: .25rem .25rem 1rem; margin: 0 -.25rem; }
@media (min-width: 900px) { .reviews { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; } }
.review { margin: 0; scroll-snap-align: start; padding: 1.5rem; border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: .75rem; }
.review blockquote { margin: 0; font-size: 1rem; }
.review figcaption { margin-top: auto; color: var(--muted); font-size: .875rem; }
.stars { display: inline-flex; gap: 2px; color: var(--warning); }
.stars svg { width: 18px; height: 18px; }
.rating-summary { min-height: 44px; display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.rating-summary strong { font-size: 1.5rem; }
.buybox__panel .rating-summary { margin-bottom: 0; gap: .5rem; font-size: .9375rem; }
.reviews-empty { padding: 1.5rem; border-radius: var(--radius-lg); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; padding: 2.5rem 1.5rem; border-radius: var(--radius-xl); text-align: center; background: #1D1B18; color: #F5F3EF; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 120% at 80% 0%, rgba(168, 24, 32, .65), transparent 70%), radial-gradient(50% 100% at 0% 100%, rgba(226, 83, 83, .25), transparent 70%); }
.cta-band h2 { color: #F5F3EF; }
.cta-band p { color: #D9D6D0; max-width: 40rem; margin-left: auto; margin-right: auto; }
.cta-band .eyebrow { color: #F07B7B; }
.cta-band .btn--primary { background: #C0272E; }
.cta-band .btn--primary:hover { background: #A81820; }
.cta-band .btn--ghost { background: rgba(255,255,255,.08); color: #F5F3EF; border-color: rgba(245,243,239,.3); }
.cta-band a:not(.btn) { color: #F5F3EF; }
@media (min-width: 768px) { .cta-band { padding: 4rem 3rem; } }
:root[data-theme="dark"] .cta-band { background: #1D1D1B; border: 1px solid var(--border); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cta-band { background: #1D1D1B; border: 1px solid var(--border); } }

/* ---------- Breadcrumbs / page header ---------- */
.crumbs { font-size: .875rem; color: var(--muted); padding-top: 1.25rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; list-style: none; margin: 0; padding: 0; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .6; }
.crumbs a { color: var(--muted); }
.page-head { padding: 2rem 0 1rem; }
.page-top + .section { padding-top: 1.5rem; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 2rem; padding: 3.5rem 0 calc(2rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: var(--bg-2); font-size: .9375rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: 0; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--accent-text); text-decoration: underline; }
.site-footer .muted { color: var(--muted); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .8125rem; }
.footer-base button { font: inherit; color: var(--muted); background: none; border: 0; padding: 0; min-height: 44px; text-decoration: underline; cursor: pointer; }

/* ---------- Cart drawer (shell; cart.js toggles [hidden] and [data-open], fills [data-cart-items]) ---------- */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer[hidden] { display: none; }
.drawer__scrim { position: absolute; inset: 0; background: var(--shade); opacity: 0; transition: opacity .3s var(--ease-2); }
.drawer[data-open] .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); display: flex; flex-direction: column;
  padding-right: env(safe-area-inset-right); padding-top: env(safe-area-inset-top);
  background: var(--glass-bg-strong); -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3);
  border-left: 1px solid var(--glass-border); box-shadow: -1px 0 0 var(--glass-border), -24px 0 64px -16px rgba(0,0,0,.28);
  transform: translateX(104%); transition: transform .28s var(--ease-in-2);
}
/* opens on a spring with no overshoot (the panel is pinned to the right edge), closes quickly */
.drawer[data-open] .drawer__panel { transform: none; transition: transform .64s var(--spring-settle); }
@media (max-width: 520px) { .drawer__panel { width: 100%; border-left: 0; } }
html.lt-cart-open, html.lt-cart-open body { overflow: hidden; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: .75rem .75rem .75rem 1.25rem; border-bottom: 1px solid var(--border); }
.drawer__head h2 { font-size: 1.25rem; margin: 0; }
.drawer__body { flex: 1; overflow-y: auto; padding: 1rem 1.25rem; overscroll-behavior: contain; }
.drawer__foot { padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); display: grid; gap: .75rem; }
.drawer__foot[hidden] { display: none; }
.drawer__foot .row { display: flex; justify-content: space-between; font-weight: var(--w-semi); font-size: 1.0625rem; }
.drawer__fine { font-size: .8125rem; color: var(--muted); margin: 0; }
.cart-empty { text-align: center; padding: 2rem 0; color: var(--muted); }
.cart-empty[hidden] { display: none; }
.free-ship { padding: .875rem 1rem; margin-bottom: .5rem; border-radius: var(--radius-sm); background: var(--red-soft); font-size: .875rem; font-weight: var(--w-semi); }
.free-ship p { margin: 0 0 .5rem; }
.free-ship p:empty { display: none; }
.free-ship__track { height: 6px; border-radius: 6px; background: var(--border); overflow: hidden; }
.free-ship__track span { display: block; height: 100%; width: 0; background: var(--red); border-radius: inherit; transition: width .5s var(--ease); }
.free-ship[data-reached="true"] { background: color-mix(in srgb, var(--success) 14%, transparent); }
.free-ship[data-reached="true"] .free-ship__track span { background: var(--success); }
.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line {
  display: grid; grid-template-columns: 64px 1fr auto; grid-template-areas: "img info price" "img qty remove";
  gap: .25rem .875rem; align-items: center; padding: .875rem 0; border-bottom: 1px solid var(--border); margin: 0;
  animation: line-in .55s var(--spring-soft) backwards;
}
@keyframes line-in { from { opacity: 0; transform: translateX(16px); } }
.cart-line__img { grid-area: img; width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); background: var(--image-well); }
.cart-line__info { grid-area: info; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.cart-line__title { font-weight: var(--w-semi); font-size: .9375rem; color: var(--text); text-decoration: none; }
.cart-line__title:hover { color: var(--accent-text); }
.cart-line__variant, .cart-line__plan { color: var(--muted); font-size: .8125rem; }
.cart-line__plan:empty, .cart-line__variant:empty { display: none; }
.cart-line__price { grid-area: price; font-weight: var(--w-bold); font-variant-numeric: tabular-nums; }
.cart-line__qty { grid-area: qty; display: inline-flex; align-items: center; justify-self: start; border: 1px solid var(--border); border-radius: var(--pill); background: var(--surface); }
.cart-line__qty button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; background: transparent; color: var(--text); font-size: 1.125rem; cursor: pointer; border-radius: var(--pill); }
.cart-line__qty input { width: 2.5rem; height: 40px; border: 0; padding: 0; min-height: 0; background: transparent; color: var(--text); text-align: center; font: inherit; font-size: 1rem; -moz-appearance: textfield; }
.cart-line__qty input::-webkit-outer-spin-button, .cart-line__qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-line__remove { grid-area: remove; justify-self: end; background: none; border: 0; padding: 0 .25rem; min-height: 44px; color: var(--muted); font: inherit; font-size: .8125rem; text-decoration: underline; cursor: pointer; }
.cart-line__remove:hover { color: var(--accent-text); }

/* ---------- Consent banner (shell; track.js decides when to show) ---------- */
.consent {
  position: fixed; z-index: 70; max-width: 560px; margin-left: auto;
  left: max(.75rem, env(safe-area-inset-left)); right: max(.75rem, env(safe-area-inset-right)); bottom: max(.75rem, env(safe-area-inset-bottom));
  max-height: calc(100dvh - var(--header-h) - 1.5rem); overflow-y: auto;
  padding: 1.125rem; border-radius: var(--radius); display: grid; gap: .875rem;
  background: var(--glass-bg-strong); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border); box-shadow: var(--shadow-lg); font-size: .9375rem;
}
.consent[hidden] { display: none; }
.consent p { margin: 0; color: var(--text); }
.consent__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.consent__actions .btn { min-height: 44px; padding: .5rem 1.125rem; flex: 1 1 auto; }
.consent p a { white-space: nowrap; }
.consent [data-gpc-note], .consent .consent-banner__gpc { color: var(--muted); font-size: .875rem; }
@media (min-width: 560px) { .consent__actions .btn { flex: 0 0 auto; } }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; top: calc(var(--header-h) + .75rem); z-index: 80; transform: translate(-50%, -12px); opacity: 0; pointer-events: none; padding: .75rem 1.125rem; border-radius: var(--pill); font-weight: var(--w-semi); font-size: .9375rem; transition: opacity .2s var(--ease-out-3), transform .5s var(--spring-soft); box-shadow: var(--shadow-md); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Forms ---------- */
input, select, textarea, button { font-family: inherit; }
input[type="text"], input[type="email"], input[type="search"], input[type="number"], select, textarea {
  font-size: 1rem; min-height: 48px; padding: .75rem 1rem; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); color: var(--text);
}

/* steppers: the bare number sits inside the pill, without the generic input box */
.qty input[type="number"], .cart-line__qty input[type="number"] { border: 0; border-radius: 0; padding: 0; min-height: 0; background: transparent; }

/* ---------- Treat budget calculator ---------- */
.calc { display: grid; gap: 1.5rem; padding: 1.5rem; }
.calc label { display: block; font-weight: var(--w-semi); margin-bottom: .5rem; }
.calc__field { display: flex; align-items: center; gap: .75rem; }
.calc__field input { width: 100%; max-width: 14rem; font-size: 1.375rem; font-weight: var(--w-bold); min-height: 56px; }
.calc__field span, .calc__hint { color: var(--muted); font-size: .875rem; }
.calc__hint { margin: .5rem 0 0; }
.calc__out { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; align-content: start; }
.calc__stat { padding: 1rem .75rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-align: center; }
.calc__num { display: block; font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: var(--w-bold); line-height: 1.1; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.calc__unit { display: block; margin-top: .25rem; font-size: .8125rem; color: var(--muted); line-height: 1.3; }
.calc__bar { grid-column: 1 / -1; height: 8px; border-radius: 8px; background: var(--border); overflow: hidden; }
.calc__bar span { display: block; height: 100%; width: 0; background: var(--red); border-radius: inherit; transition: width .5s var(--ease); }
.calc__note { grid-column: 1 / -1; font-size: .9375rem; color: var(--muted); }
.calc__note > :last-child { margin-bottom: 0; }
@media (min-width: 900px) { .calc { grid-template-columns: .9fr 1.1fr; padding: 2.25rem; gap: 2rem 3rem; } }
@media (max-width: 420px) { .calc__out { grid-template-columns: 1fr 1fr; } .calc__stat:first-child { grid-column: 1 / -1; } }

/* ---------- Legal pages ---------- */
.page-head--legal { padding-bottom: 0; }
.updated { color: var(--muted); font-size: .9375rem; margin: 0; }
.section--legal { padding-top: 1.5rem; }
.legal { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
.legal > * { min-width: 0; }
.prose { overflow-wrap: break-word; }
/* wide tables in long-form text scroll inside themselves instead of widening the page (WebKit 320px) */
.prose table:not(.compare) { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose--legal { max-width: 42rem; font-size: 1rem; line-height: 1.7; }
.prose--legal h2 { font-size: 1.375rem; margin-top: 2em; scroll-margin-top: calc(var(--header-h) + 1rem); }
.prose--legal h3 { font-size: 1.0625rem; }
.prose--legal table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.toc { padding: 1.125rem 1.25rem; border-radius: var(--radius); font-size: .9375rem; align-self: start; }
.toc__title { font-weight: var(--w-bold); font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 .5rem; }
.toc ol { margin: 0; padding-left: 1.25rem; }
.toc li { margin: 0; padding: .3rem 0; line-height: 1.4; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover, .toc a[aria-current="true"] { color: var(--accent-text); text-decoration: underline; }
@media (min-width: 1000px) { .legal--toc { grid-template-columns: 16rem minmax(0, 42rem); gap: 4rem; } .toc { position: sticky; top: calc(var(--header-h) + 1.5rem); } }

/* ---------- Placeholder marker (dev only, removed once copy lands) ---------- */
.placeholder-flag { outline: 2px dashed var(--warning); outline-offset: 4px; }

/* ---------- Scroll reveal ---------- */
/* Visible by default. ui.js marks everything in (or above) the first viewport .is-in, then adds ONE of:
   .reveal-sda  browsers with scroll-driven animations: the reveal is tied to scroll position, off the main
                thread, over the first 140px of an element entering the viewport;
   .reveal-on   everyone else (Firefox today): IntersectionObserver toggles .is-in with a transition.
   First-viewport content never fades, and content stays visible if JS fails. */
.reveal-on .reveal { transition: opacity .35s var(--ease-out-3), transform .45s var(--spring-soft); transition-delay: var(--d, 0s); }
.reveal-on .reveal:not(.is-in) { opacity: 0; transform: translateY(12px); }
@supports (animation-timeline: view()) {
  .reveal-sda .reveal:not(.is-in) { animation: rise linear both; animation-timeline: view(); animation-range: entry 0 entry 140px; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Scroll-linked progress (CSS only; absent where unsupported) ---------- */
.read-progress { display: none; }
@supports (animation-timeline: scroll()) {
  /* header gains a soft shadow over the first 64px of scroll */
  .site-header::after {
    content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; pointer-events: none;
    background: linear-gradient(rgba(var(--shadow-rgb), .07), transparent); opacity: 0;
    animation: fade-in linear both; animation-timeline: scroll(root); animation-range: 0 64px;
  }
  /* reading progress hairline on guides */
  .read-progress {
    display: block; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red);
    transform-origin: 0 50%; transform: scaleX(0); pointer-events: none;
    animation: grow-x linear both; animation-timeline: scroll(root);
  }
}
@keyframes fade-in { to { opacity: 1; } }
@keyframes grow-x { to { transform: scaleX(1); } }

/* ---------- Cross-document View Transitions (Chromium 126+, Safari 18.2+; others navigate normally) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
.site-header { view-transition-name: site-header; }
.consent { view-transition-name: consent; }
/* header and consent banner are identical on both pages: swap instantly so they read as standing still */
::view-transition-old(site-header), ::view-transition-old(consent) { display: none; }
::view-transition-new(site-header), ::view-transition-new(consent) { animation: none; }
::view-transition-group(site-header), ::view-transition-group(consent) { animation: none; z-index: 2; }
/* page body: quick fade out, a short rise in */
::view-transition-old(root) { animation: vt-out .16s var(--ease-in-2) both; }
::view-transition-new(root) { animation: vt-in .32s var(--ease-out-3) .04s both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }
/* product photo (view-transition-name: pic-<handle>, set per card and product gallery by build.mjs) */
::view-transition-group(*) { animation-duration: .44s; animation-timing-function: var(--ease-out-4); }
::view-transition-old(*):only-child, ::view-transition-new(*):only-child { animation-duration: .2s; }
/* theme toggle: ui.js adds .vt-theme so the whole page cross-fades as one image */
.vt-theme .site-header, .vt-theme .consent, .vt-theme [style*="view-transition-name"] { view-transition-name: none !important; }
.vt-theme::view-transition-old(root) { animation: vt-out .3s var(--ease-2) both; }
.vt-theme::view-transition-new(root) { animation: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal-on .reveal:not(.is-in) { opacity: 1; transform: none; }
  .card:hover, .card:hover .card__media img, .hero__frame:hover img, .btn--primary:hover { transform: none; }
  .glass--lit::after { display: none; }
  /* scroll-linked (not time-based) progress stays: it only moves when the visitor scrolls */
  .read-progress, .site-header::after { animation-duration: auto !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .mobile-nav, .sticky-atc, .drawer, .consent, .toast, .site-footer, .theme-toggle, .skip-link, .hero__actions, .cta-band, .card__foot, .buybox__thumbs, .calc__field input, .hero__float { display: none !important; }
  body::before { display: none; }
  :root { --bg: #fff; --bg-2: #fff; --surface: #fff; --text: #000; --muted: #333; --accent-text: #000; --glass-bg: #fff; --glass-bg-strong: #fff; }
  body { background: #fff; color: #000; font-size: 11pt; line-height: 1.5; }
  .section, .hero { padding: 1.25rem 0; }
  .glass { box-shadow: none !important; -webkit-backdrop-filter: none; backdrop-filter: none; border-color: #ccc; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  .read-progress, .site-header::after { display: none !important; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; word-break: break-all; }
  h2, h3 { break-after: avoid; }
  .card, .step, .stat, .faq details, .review, figure, table, img { break-inside: avoid; }
  .faq details > .faq__a { display: block !important; }
  .table-wrap { overflow: visible; }
  .compare { min-width: 0; }
  .hero__frame, .split__media { max-width: 60%; box-shadow: none; }
}

/* ---------- Ad landing pages: buy strip, trust row, compact first screen on phones ----------
   Merge lane 2026-10-15. Goal: price, sizes and Add to cart inside the first 660 px of a phone screen on every ad
   landing page, the direct answer still above them on guides, and nothing fixed covering a buy button. */
.strip { display: grid; gap: .5rem; padding: .875rem; border-radius: var(--radius-lg); max-width: 34rem; }
.strip__proof { margin: 0; font-size: .9375rem; line-height: 1.4; color: var(--muted); }
.strip__top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .25rem 1rem; }
.strip__top .price--lg { font-size: 1.5rem; font-weight: var(--w-bold); }
.strip__rating, .buybox__panel .rating-summary { display: inline-flex; align-items: center; gap: .375rem; min-height: 44px; color: var(--text); font-size: .875rem; text-decoration: none; }
.strip__rating:hover span { text-decoration: underline; }
.strip__rating .stars svg { width: 15px; height: 15px; }
.strip__fine, .buybox__fine { margin: 0; font-size: .875rem; color: var(--muted); }
.strip .size-picker legend, .strip .buy-type legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.trust { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin: 0; padding: 0; list-style: none; font-size: .875rem; color: var(--muted); }
.trust li { margin: 0; display: inline-flex; align-items: center; gap: .375rem; }
.trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex: none; }
.section--strip { padding: 0 0 2rem; }
.hero--buy .strip { margin-top: .25rem; }
.jump { margin: 0 0 .5rem; padding: 1rem 1.25rem; border: 1px solid var(--border); border-radius: var(--radius); max-width: 42rem; }
.jump__title { margin: 0 0 .375rem; font-size: .875rem; font-weight: var(--w-bold); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.jump ol { margin: 0; padding-left: 1.25rem; columns: 2 16rem; column-gap: 2rem; }
.jump li { margin: 0; padding: .125rem 0; break-inside: avoid; }
.jump a { display: inline-block; padding: .3rem 0; }

/* compact size and purchase-type controls: the strip everywhere, the product buy box on phones */
.strip .size-picker__opts { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip .size-picker label { min-width: 0; min-height: 44px; flex-direction: row; gap: .375rem; padding: .25rem .5rem; }
.strip .size-picker label small { font-size: .8125rem; }
.strip .buy-type { grid-template-columns: 1fr 1fr; gap: .5rem; }
.strip .buy-type__opt > label { min-height: 44px; padding: .375rem .5rem .375rem 1.875rem; font-size: .8125rem; flex-direction: column; align-items: flex-start; justify-content: center; gap: .125rem; line-height: 1.2; }
.strip .buy-type__opt > label::before { left: .5rem; width: 16px; height: 16px; margin-top: -8px; }
.strip .buy-type__save { padding: 0; background: none; font-size: .8125rem; }
.strip .buy-type__opt:has(> input:checked[value="sub"]) { grid-column: 1 / -1; }
.strip .buy-type__plans { padding: 0 .625rem .625rem; }

@media (max-width: 899px) {
  .page-top--buy .crumbs { display: none; }
  .page-top--buy .page-head { padding: .5rem 0 .375rem; display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: .75rem; }
  .page-top--buy .page-head > * { grid-column: 1 / -1; }
  /* eyebrow and "Last updated" share the first row, so the date stays visible without costing a line */
  .page-top--buy .page-head > .eyebrow { grid-column: 1; grid-row: 1; }
  .page-top--buy .page-head > .updated { grid-column: 2; grid-row: 1; justify-self: end; text-align: right; font-size: .875rem; }
  .page-top--buy .page-head h1, .hero--buy h1 { font-size: clamp(1.625rem, 7vw, 2rem); line-height: 1.08; margin-bottom: .5rem; }
  .page-top--buy .page-head .eyebrow, .hero--buy .eyebrow { margin-bottom: .375rem; font-size: .75rem; }
  .page-top--buy .page-head .lede { font-size: 1rem; line-height: 1.5; color: var(--text); margin: 0 0 .25rem; }
  .page-top--buy + .section { padding-top: .5rem; }
  .hero--buy { padding-top: .875rem; }
  .hero--buy .hero__grid { gap: 1.75rem; }
  .hero--buy .hero__copy .lede { margin-bottom: .75rem; }
  .strip { max-width: none; }

  /* product buy box: panel first, photo under Add to cart, product notes after the button */
  .buybox { gap: 1.25rem; }
  .buybox__panel { order: -1; padding: 1rem; gap: .625rem; }
  .buybox__head { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .buybox__body { order: 5; }
  .buybox__fine, .buybox .trust, .buybox__note { order: 6; }
  .buybox__main { aspect-ratio: 4 / 3; max-height: 280px; }
  .buybox__panel .size-picker legend, .buybox__panel .buy-type legend { margin-bottom: .25rem; font-size: .8125rem; }
  .buybox__panel .size-picker__opts { display: grid; grid-template-columns: repeat(3, 1fr); }
  .buybox__panel .size-picker label { min-width: 0; min-height: 44px; flex-direction: row; gap: .375rem; padding: .25rem .5rem; }
  .buybox__panel .buy-type { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .buybox__panel .buy-type legend { grid-column: 1 / -1; }
  .buybox__panel .buy-type__opt > label { min-height: 44px; padding: .375rem .625rem .375rem 2.125rem; font-size: .875rem; flex-direction: column; align-items: flex-start; justify-content: center; gap: .125rem; line-height: 1.2; }
  .buybox__panel .buy-type__opt > label::before { left: .625rem; width: 16px; height: 16px; margin-top: -8px; }
  .buybox__panel .buy-type__save { padding: 0; background: none; font-size: .8125rem; }
  .buybox__panel .buy-type__opt:has(> input:checked[value="sub"]) { grid-column: 1 / -1; }
  .buybox__panel .buy-type__plans { padding: 0 .625rem .625rem; }
}

/* home hook (Asher 2026-10-16, mobile only): a real photo, the H1 and a short story lead the first screen and the
   unchanged buy strip follows. The hook pieces are display:none from 900 px up, so desktop renders as before.
   Same DOM order everywhere (no duplicate product form). The sticky bar waits until the photo has scrolled away. */
.hero__hookpic, .hero__hook { display: none; }
@media (max-width: 899px) {
  .hero--hook { padding-top: .75rem; }
  .hero--hook .hero__hookpic { display: block; margin: 0 0 1rem; aspect-ratio: 4 / 3; border-radius: var(--radius-xl); overflow: hidden; background: #000; box-shadow: var(--shadow-lg); border: 1px solid var(--glass-border); }
  .hero--hook .hero__hookpic img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 75%; }
  .hero--hook .hero__hook { display: block; margin: 0 0 1.25rem; }
  .hero--hook .hero__story { font-size: 1.0625rem; line-height: 1.5; color: var(--text); margin: 0 0 .75rem; }
  .hero--hook .hero__read { font-size: 1rem; line-height: 1.55; color: var(--muted); margin: 0; }
  .hero--hook h1 { margin-bottom: .75rem; }
}

/* small phones (360 px class): a little tighter so Add to cart still clears the consent bar */
@media (max-width: 380px) {
  .page-top--buy .page-head h1, .hero--buy h1 { font-size: 1.5rem; }
  .page-top--buy .page-head .lede { font-size: .9375rem; line-height: 1.45; }
  .strip__proof { font-size: .875rem; }
  .strip { padding: .75rem; }
}

/* consent: Accept and No thanks carry the same weight */
.btn--choice { background: var(--surface); color: var(--text); border: 1.5px solid var(--text); box-shadow: none; }
.btn--choice:hover { background: var(--bg-2); }
/* on phones the banner is one compact bar: text left, both buttons right, about 80 px tall */
@media (max-width: 559px) {
  .consent { grid-template-columns: 1fr auto; align-items: center; gap: .5rem .625rem; padding: .5rem .5rem .5rem .875rem; font-size: .875rem; line-height: 1.35;
    left: max(.5rem, env(safe-area-inset-left)); right: max(.5rem, env(safe-area-inset-right)); bottom: max(.5rem, env(safe-area-inset-bottom)); }
  .consent [data-gpc-note], .consent .consent-banner__gpc { grid-column: 1 / -1; }
  .consent__actions { flex-wrap: nowrap; gap: .375rem; }
  .consent__actions .btn { flex: 0 0 auto; min-height: 44px; padding: .5rem .75rem; font-size: .875rem; letter-spacing: 0; }
}


/* =====================================================================
   Pup-Ornaut additions (design lane). Class names are listed in brand/NOTES.md.
   ===================================================================== */

/* footer ownership disclosure */
.footer-owner { margin-top: .75rem; font-size: .875rem; line-height: 1.5; max-width: 34rem; }
.footer-owner a { display: inline; min-height: 0; min-width: 0; color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.footer-owner a:hover { color: var(--accent-text); }

/* tide (water accent) helpers */
.eyebrow--tide { color: var(--tide-text); }
.badge--tide { background: var(--tide); color: #1D1B18; }
.road-rule { height: 4px; border: 0; margin: 1.5rem 0; background: repeating-linear-gradient(90deg, var(--tide) 0 28px, transparent 28px 56px); border-radius: 2px; }

/* ---------- Dog / Cat choice (two large selectable cards) ---------- */
.pet-choice { border: 0; padding: 0; margin: 0; min-width: 0; }
.pet-choice legend { padding: 0; margin-bottom: .625rem; font-size: .9375rem; font-weight: var(--w-semi); color: var(--text); }
.pet-choice__opts { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.pet-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.pet-card {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .375rem;
  min-height: 7.5rem; padding: 1rem .75rem; text-align: center; cursor: pointer;
  border-radius: var(--radius); border: 1.5px solid var(--border); background: var(--surface); color: var(--text);
  transition: border-color .15s var(--ease-2), background-color .15s var(--ease-2), box-shadow .15s var(--ease-2), transform .3s var(--spring-soft);
}
.pet-card:hover { border-color: var(--text); }
.pet-card:active { transform: scale(.98); transition-duration: .08s; }
.pet-card__icon {
  width: 3rem; height: 3rem; background: currentColor; color: var(--muted);
  -webkit-mask: var(--pet-icon) center / contain no-repeat; mask: var(--pet-icon) center / contain no-repeat;
  transition: color .15s var(--ease-2);
}
.pet-card__text { display: flex; flex-direction: column; align-items: inherit; gap: .25rem; }
.pet-card__name { font-size: 1.1875rem; font-weight: var(--w-bold); line-height: 1.1; }
.pet-card__sub { font-size: .875rem; color: var(--muted); line-height: 1.3; }
.pet-card__tick {
  position: absolute; top: .5rem; right: .5rem; width: 1.5rem; height: 1.5rem; border-radius: var(--pill);
  display: grid; place-items: center; background: var(--btn); color: var(--on-red); opacity: 0; transform: scale(.6);
  transition: opacity .15s var(--ease-2), transform .3s var(--spring-soft);
}
.pet-card__tick svg { width: 14px; height: 14px; }
.pet-choice input:checked + .pet-card { border-color: var(--red); box-shadow: 0 0 0 1px var(--red) inset; background: var(--red-soft); }
.pet-choice input:checked + .pet-card .pet-card__icon { color: var(--accent-text); }
.pet-choice input:checked + .pet-card .pet-card__tick { opacity: 1; transform: none; }
.pet-choice input:focus-visible + .pet-card { outline: 2px solid var(--focus); outline-offset: 2px; }
.pet-choice input:disabled + .pet-card { opacity: .5; cursor: not-allowed; }
@media (min-width: 900px) { .pet-card { flex-direction: row; justify-content: flex-start; text-align: left; gap: .875rem; padding: 1rem 1.25rem; min-height: 6rem; } .pet-card__text { align-items: flex-start; } }

/* ---------- Price lockup: "$1 first box, then $50 every 30 days" ---------- */
.offer { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .875rem; margin: 0; }
.offer__now { display: inline-flex; align-items: baseline; gap: .5rem; font-variant-numeric: tabular-nums; }
.offer__amount { font-size: clamp(2.75rem, 9vw, 3.5rem); font-weight: var(--w-bold); line-height: 1; letter-spacing: -.04em; color: var(--accent-text); }
.offer__label { font-size: 1.0625rem; font-weight: var(--w-semi); color: var(--text); }
.offer__then { font-size: 1.0625rem; color: var(--text); font-variant-numeric: tabular-nums; }
.offer__then strong { font-weight: var(--w-bold); }
.offer__perk { flex-basis: 100%; margin: .25rem 0 0; font-size: .9375rem; color: var(--muted); }
.offer--center { justify-content: center; text-align: center; }

/* ---------- Auto-renewal disclosure box (sits directly under the subscribe button; always visible) ---------- */
.subscribe-cta { display: grid; gap: .75rem; }
.renewal-box {
  padding: .875rem 1rem; border-radius: var(--radius); border: 1.5px solid var(--tide-text);
  background: var(--tide-soft); color: var(--text); font-size: .9375rem; line-height: 1.5;
}
.renewal-box__title { margin: 0 0 .375rem; font-size: .9375rem; font-weight: var(--w-bold); color: var(--tide-text); letter-spacing: .01em; }
.renewal-box p { margin: 0; font-size: .9375rem; line-height: 1.5; color: var(--text); }
.renewal-box ul { margin: .375rem 0 0; padding-left: 1.125rem; }
.renewal-box li { margin: .25rem 0 0; font-size: .9375rem; line-height: 1.45; color: var(--text); }
.renewal-box a { display: inline; min-height: 0; color: var(--text); font-weight: var(--w-semi); text-decoration: underline; text-underline-offset: 2px; }
.renewal-box a:hover { color: var(--accent-text); }
.renewal-box__links { margin-top: .5rem !important; }
/* phones: keep every line, never collapse; just a touch tighter */
@media (max-width: 559px) { .renewal-box { padding: .75rem .875rem; } }
/* the existing phone buybox rules reorder fine print; the disclosure must stay next to the button */
.subscribe-cta .renewal-box, .buybox .renewal-box { order: 0 !important; display: block !important; }

/* ---------- How it works row (static; 3 or 4 steps, set --n) ---------- */
.how { display: grid; gap: 1rem; list-style: none; padding: 0; margin: 0; counter-reset: how; }
.how__step { position: relative; margin: 0; padding: 1.25rem 1.25rem 1.25rem 4.25rem; border-radius: var(--radius-lg); counter-increment: how; }
.how__num {
  position: absolute; left: 1.125rem; top: 1.125rem; width: 2.25rem; height: 2.25rem; border-radius: var(--pill);
  display: grid; place-items: center; font-weight: var(--w-bold); background: var(--tide); color: #1D1B18;
}
.how__step h3 { margin: .125rem 0 .375rem; font-size: 1.125rem; }
.how__step p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (min-width: 900px) {
  .how { grid-template-columns: repeat(var(--n, 4), 1fr); }
  .how__step { padding: 4.25rem 1.5rem 1.5rem; }
  .how__num { left: 1.5rem; top: 1.25rem; width: 2.5rem; height: 2.5rem; }
  /* dashed line between steps */
  .how__step:not(:last-child)::after { content: ""; position: absolute; left: calc(1.5rem + 3.25rem); right: -1.25rem; top: 2.25rem; height: 3px; background: repeating-linear-gradient(90deg, var(--tide) 0 10px, transparent 10px 20px); opacity: .9; pointer-events: none; }
}

/* ---------- Comparison table: accessible, stacks on phones ---------- */
.compare--stack { min-width: 0; }
.compare th[scope="row"] { font-weight: var(--w-semi); }
.compare .is-us { background: color-mix(in srgb, var(--red-soft) 70%, transparent); }
.compare__yes, .compare__no, .compare__ns { display: inline-flex; align-items: center; gap: .375rem; }
.compare__yes { color: var(--success); font-weight: var(--w-semi); }
.compare__no { color: var(--text); }
.compare__ns { color: var(--muted); font-style: italic; }
.compare__src { display: block; margin-top: .25rem; font-size: .8125rem; color: var(--muted); }
.compare__src a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.compare-note { margin: 1rem 0 0; padding: .875rem 1rem; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); font-size: .875rem; line-height: 1.5; color: var(--muted); }
@media (max-width: 639px) {
  .table-wrap:has(.compare--stack) { overflow: visible; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .table-wrap:has(.compare--stack)::before { display: none; }
  .compare--stack, .compare--stack tbody, .compare--stack tr, .compare--stack th, .compare--stack td { display: block; width: 100%; }
  .compare--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .compare--stack tr { margin: 0 0 .875rem; padding: .25rem 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
  .compare--stack tbody th { padding: .75rem 1rem .5rem; border-bottom: 1px solid var(--border); font-size: 1rem; background: var(--bg-2); }
  .compare--stack td { display: grid; grid-template-columns: 7.5rem 1fr; gap: .75rem; padding: .625rem 1rem; border-bottom: 1px dashed var(--border); font-size: 1rem; }
  .compare--stack td:last-child { border-bottom: 0; }
  .compare--stack td::before { content: attr(data-label); font-size: .875rem; font-weight: var(--w-bold); color: var(--muted); }
  .compare--stack tr:last-child > * { border-bottom: 1px dashed var(--border); }
  .compare--stack tr:last-child > td:last-child { border-bottom: 0; }
}

/* ---------- Month theme showcase ---------- */
.month-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .month-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .month-grid { grid-template-columns: repeat(3, 1fr); } }
.month-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); }
.month-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--image-well); overflow: hidden; }
.month-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.month-card:hover .month-card__media img { transform: scale(1.04); }
.month-card__stamp {
  position: absolute; left: .75rem; top: .75rem; padding: .3125rem .75rem; border-radius: var(--pill);
  background: var(--tide); color: #1D1B18; font-size: .8125rem; font-weight: var(--w-bold); letter-spacing: .1em; text-transform: uppercase;
}
.month-card__body { padding: 1.125rem 1.25rem 1.375rem; display: grid; gap: .5rem; }
.month-card__title { margin: 0; font-size: 1.25rem; font-weight: var(--w-bold); letter-spacing: -.01em; line-height: 1.2; }
.month-card__text { margin: 0; color: var(--muted); font-size: 1rem; }
.month-card__meta { margin: 0; font-size: .875rem; color: var(--tide-text); font-weight: var(--w-semi); }
.month-card--current { border-color: var(--tide); box-shadow: 0 0 0 1px var(--tide) inset, var(--glass-shadow); }
.month-card--soon .month-card__media::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(127, 114, 240, .14) 14px 28px); }
@media (prefers-reduced-motion: reduce) { .month-card__media img, .pet-card, .pet-card__tick { transition: none; } }

/* ---------- Phone sticky bar with offer: short disclosure wraps under the button ---------- */
.sticky-atc--offer { flex-wrap: wrap; align-items: center; row-gap: .5rem; max-height: calc(100dvh - 1rem - env(safe-area-inset-bottom)); overflow-y: auto; }
.sticky-atc--offer .sticky-atc__info { flex: 1 1 8rem; }
.sticky-atc--offer .btn { flex: 0 0 auto; }
.sticky-atc--offer .renewal-box--short {
  order: 3; flex: 1 1 100%; margin: 0; padding: .5rem .75rem; border-radius: var(--radius-sm);
  font-size: .875rem; line-height: 1.4; color: var(--text); overflow-wrap: anywhere;
}
.sticky-atc--offer .renewal-box--short :is(p, li, span, strong) { font-size: .875rem; line-height: 1.4; color: var(--text); margin: 0; }
.sticky-atc--offer .renewal-box--short ul { margin: .125rem 0 0; padding-left: 1rem; }
.sticky-atc--offer .renewal-box--short .renewal-box__title { margin: 0 0 .125rem; font-size: .875rem; color: var(--tide-text); }
.sticky-atc--offer .renewal-box--short a { display: inline; min-height: 0; font-weight: var(--w-semi); color: var(--text); text-decoration: underline; }
@media (max-width: 899px) { body:has(.sticky-atc--offer) .site-footer { padding-bottom: calc(11rem + env(safe-area-inset-bottom)); } }
@media (max-width: 420px) { .brand__name { font-size: 1.0625rem; white-space: nowrap; } .brand__mark { width: 32px; height: 32px; } .site-header__inner { gap: .25rem; } }

/* ---------- QA fixes (design lane, 2026-10-16) ---------- */
/* consent: reserve room under the page while the banner is open so it can never sit on a buy button or the disclosure */
html.lt-consent-pending body { padding-bottom: calc(var(--consent-h, 7rem) + 1.5rem); }
@media (min-width: 900px) { .consent { margin-left: 0; } }
@media (max-width: 559px) {
  .consent { padding: .375rem .375rem .375rem .75rem; font-size: .8125rem; line-height: 1.3; }
  .consent p { max-width: 100%; }
}
/* footer tap targets */
.footer-base a, .footer-base button { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: .25rem .5rem; }
.footer-owner a { display: inline-block; padding: .625rem .25rem; min-height: 44px; line-height: 1.2; }
.footer-owner { line-height: 1.4; }
/* compare source note and yes colour */
.compare__src { font-size: .875rem; }
.compare__yes { color: #1F6B40; }
:root[data-theme="dark"] .compare__yes { color: #7FD1A0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .compare__yes { color: #7FD1A0; } }

/* =====================================================================
   Minnow Pet Treats water theme (builder lane, 2026-10-16). Classes: brand/NOTES.md
   ===================================================================== */

/* ---------- Hero: fish-scale shimmer and ripple rings (decorative, CSS only, no images) ---------- */
.hero { position: relative; isolation: isolate; }
.hero > .container { position: relative; z-index: 1; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .9;
  background-image:
    radial-gradient(circle 16px at 50% 0, transparent 13.5px, var(--ripple) 14.5px, var(--ripple) 16px, transparent 17px),
    radial-gradient(circle 16px at 50% 0, transparent 13.5px, var(--ripple) 14.5px, var(--ripple) 16px, transparent 17px);
  background-size: 32px 24px, 32px 24px;
  background-position: 0 0, 16px 12px;
  -webkit-mask-image: linear-gradient(100deg, transparent 25%, #000 85%);
  mask-image: linear-gradient(100deg, transparent 25%, #000 85%);
  animation: mp-drift 60s linear infinite;
}
.hero::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none; right: -12%; bottom: -30%; width: 55%; aspect-ratio: 1;
  border-radius: 50%; opacity: .7;
  background: repeating-radial-gradient(circle at 50% 50%, transparent 0 34px, var(--ripple) 35px 36.5px, transparent 37.5px 70px);
  -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 68%);
  mask-image: radial-gradient(circle, #000 20%, transparent 68%);
}
@keyframes mp-drift { from { background-position: 0 0, 16px 12px; } to { background-position: 32px 0, 48px 12px; } }
@media (prefers-reduced-motion: reduce) { .hero::before { animation: none; } }
@media (max-width: 599px) { .hero::before { opacity: .55; } .hero::after { width: 90%; right: -40%; opacity: .5; } }
@media print { .hero::before, .hero::after { display: none; } }

/* ---------- Flavor cards (two flavors side by side) ---------- */
.flavors { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 480px) { .flavors { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
.flavor { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); }
.flavor__media { position: relative; aspect-ratio: 1 / 1; background: var(--image-well); overflow: hidden; }
.flavor__media img { width: 100%; height: 100%; object-fit: cover; }
.flavor__tag {
  position: absolute; left: .75rem; top: .75rem; padding: .3125rem .75rem; border-radius: var(--pill);
  background: var(--tide); color: #1D1B18; font-size: .8125rem; font-weight: var(--w-bold); letter-spacing: .08em; text-transform: uppercase;
}
.flavor__tag--pearl { background: var(--pearl); }
.flavor__body { padding: 1rem 1.125rem 1.25rem; display: grid; gap: .5rem; align-content: start; flex: 1; }
.flavor__name { margin: 0; font-size: 1.1875rem; font-weight: var(--w-bold); letter-spacing: -.01em; line-height: 1.2; }
.flavor__text { margin: 0; color: var(--muted); font-size: 1rem; }
.flavor__meta { margin: 0; font-size: .875rem; font-weight: var(--w-semi); color: var(--tide-text); }
.flavor__foot { margin-top: auto; padding-top: .5rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; }
.flavor--tide { border-color: var(--tide); box-shadow: 0 0 0 1px var(--tide) inset, var(--glass-shadow); }
@media (max-width: 479px) { .flavor { flex-direction: row; } .flavor__media { aspect-ratio: auto; width: 38%; flex: none; } .flavor__body { padding: .875rem 1rem; } }

/* ---------- How to serve: reuse .how; this adds a pearl number badge variant ---------- */
.how--serve .how__num { background: var(--pearl); box-shadow: 0 0 0 3px var(--tide-soft); }

/* ---------- Nutrition / guaranteed analysis (stacks on phones) ---------- */
.nutrition { border-radius: var(--radius-lg); overflow: hidden; }
.nutrition__title { margin: 0; padding: .875rem 1.25rem; font-size: 1.0625rem; font-weight: var(--w-bold); background: var(--tide-soft); color: var(--text); border-bottom: 1px solid var(--border); }
.nutrition table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.nutrition caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nutrition th, .nutrition td { padding: .75rem 1.25rem; text-align: left; border-bottom: 1px solid var(--border); font-size: 1rem; vertical-align: top; }
.nutrition thead th { font-size: .875rem; color: var(--muted); font-weight: var(--w-bold); text-transform: uppercase; letter-spacing: .06em; }
.nutrition tbody th { font-weight: var(--w-semi); }
.nutrition td:last-child, .nutrition thead th:last-child { text-align: right; }
.nutrition td:last-child { font-weight: var(--w-semi); }
.nutrition tr:last-child > * { border-bottom: 0; }
.nutrition__note { margin: 0; padding: .875rem 1.25rem; font-size: .875rem; line-height: 1.5; color: var(--muted); border-top: 1px solid var(--border); }
.nutrition__ingredients { margin: 0; padding: 1rem 1.25rem; font-size: 1rem; line-height: 1.5; border-top: 1px solid var(--border); }
.nutrition__ingredients strong { display: block; margin-bottom: .25rem; font-size: .875rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 559px) {
  .nutrition table, .nutrition tbody, .nutrition tr, .nutrition th, .nutrition td { display: block; width: 100%; }
  .nutrition thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nutrition tr { padding: .625rem 0; border-bottom: 1px solid var(--border); }
  .nutrition tr:last-child { border-bottom: 0; }
  .nutrition th, .nutrition td { border: 0; padding: .125rem 1rem; }
  .nutrition td:last-child { text-align: left; color: var(--text); font-weight: var(--w-bold); }
  .nutrition td[data-label]::before { content: attr(data-label) ": "; font-weight: var(--w-semi); color: var(--muted); }
}

/* ---------- engine lane, 2026-10-16 (QA items 1 and 2, sold-out cards, subscription note) ---------- */
/* QA 1: consent text is never below 14px on phones */
@media (max-width: 559px) { .consent { font-size: .875rem; line-height: 1.35; } }
/* QA 2: ui.js moves the open consent bar to the top while a buy button would be under it */
.consent.consent--top { top: calc(var(--header-h) + .5rem); bottom: auto; }
html.lt-consent-pending [data-main-form], html.lt-consent-pending .btn--atc { scroll-margin-bottom: calc(var(--consent-h, 7rem) + 1rem); }
/* sold out: the button stays (the edge and cart.js switch it back on when stock arrives) */
.btn--atc[data-sold-out], .btn--atc:disabled { background: var(--bg-2); color: var(--muted); border-color: var(--border); box-shadow: none; cursor: not-allowed; }
.size-picker input:disabled + label { opacity: .6; cursor: not-allowed; text-decoration: none; }
.size-picker input:disabled + label small { color: var(--muted); }
/* Subscribe and save: the auto-renewal note sits next to the option */
.buy-type__note { margin: -.25rem 0 0; padding: 0 1rem .75rem 2.75rem; font-size: .875rem; line-height: 1.45; color: var(--text); }
.buy-type__note a { white-space: nowrap; }
[data-buy-type][hidden] { display: none; }
/* while the consent bar is open the hidden phone bar waits behind it; fade it in place instead of sliding it out
   through the consent bar (QA 2: the consent bar never covers the bar's Add to cart) */
html.lt-consent-pending .sticky-atc { transform: none; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s .2s; }
html.lt-consent-pending .sticky-atc.is-visible { opacity: 1; visibility: visible; transition: opacity .2s ease; }
/* both spots would cover a buy button (short phone screens): the consent bar steps aside until the buttons pass */
.consent.consent--away { opacity: 0; visibility: hidden; pointer-events: none; }
/* purchase type with the auto-renewal note: one column, so the note reads at full width on phones too */
.buybox__panel .buy-type:has(.buy-type__note), .strip .buy-type:has(.buy-type__note) { grid-template-columns: 1fr; }
@media (max-width: 899px) { .buybox__panel .buy-type__note { padding: 0 .75rem .625rem 2.125rem; } }
.strip .buy-type__note { padding: 0 .625rem .625rem 1.875rem; font-size: .875rem; }
/* flavor picker: up to five flavors, two or more per row, name over price or "Sold out, back soon" */
.size-picker--flavor .size-picker__opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: .5rem; }
.size-picker--flavor .size-picker__opts label { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; text-align: left; min-width: 0; width: 100%; padding: .5rem .75rem; gap: .125rem; }
.size-picker--flavor label small { font-size: .8125rem; }

/* ---------- Sold out: no purchase options until stock returns ----------
   The form (edge) or its Add to cart button (build and edge) carries data-sold-out while every option is sold out; the edge removes it when live data says available. */
[data-product-form][data-sold-out] .buy-type, [data-product-form][data-sold-out] .qty,
[data-product-form]:has([data-add-to-cart][data-sold-out]) .buy-type, [data-product-form]:has([data-add-to-cart][data-sold-out]) .qty { display: none; }

/* QA 2026-10-16 header fit at 360 to 420 and renewal note floor */
@media (max-width: 420px) { .brand__name { font-size: .9375rem; } .brand__by { letter-spacing: .06em; } .header-actions { gap: 0; } }
.buy-type__note { font-size: max(.875rem, 14px); }

/* QA2 buybox min-width: long thumbnail rows never widen the page */
.buybox { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .buybox { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.buybox__gallery { min-width: 0; }
.buybox__thumbs { overflow-x: auto; } .buybox__thumbs button { flex-shrink: 0; }
