/* Meadowpour store, v5 (2026-11-25): one stylesheet for every page. Static, no build step.
   Layout copied from the reference stores Vesko sent (Section VSO "Product page 8", ASARAI on section.store,
   GRIPT by Sternify): a two-column product top with a sticky gallery, a stacked buy box, then picture-and-text
   sections, a comparison table, material cards, a two-column FAQ and the reviews. Our own fonts, palette and photos. */

@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito.woff2") format("woff2"); font-weight: 400 1000; font-style: normal; font-display: swap; }

:root {
  /* brand colours (Meadowpour brand board, 2026-10-24) */
  --paper: #fffcf6;
  --bg: #f6f1e8;          /* cream */
  --sand: #eee6d8;
  --surface: #e9e1d1;
  --line: #e2d9c8;
  --line-strong: #cfc4b0;
  --ink: #2c3028;
  --ink-soft: #474d42;
  --muted: #6b6f64;       /* small source notes */
  --dark: #23271f;        /* the buy button */
  --dark-press: #3a4034;
  --accent: #4b57ba;      /* butterfly pea */
  --accent-soft: #e6e8f6;
  --field: #3e4c36;       /* deep sage */
  --field-ink: #f6f1e8;
  --sage-light: #e2e7d9;
  --gold: #b07a1e;

  --display: "Cormorant Garamond", "Cormorant", Garamond, Georgia, serif;
  --text: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* the type scale (2026-11-25): seven sizes, nothing else on the site */
  --fs-xs: 0.8125rem;    /* 13: sources, tags, small print */
  --fs-sm: 0.9375rem;    /* 15: labels, buttons, secondary lines */
  --fs-body: 1rem;       /* 16: running text */
  --fs-lead: 1.125rem;   /* 18: intro lines */
  --fs-h3: 1.5rem;       /* 24: card titles, prices, small headings */
  --fs-display: clamp(2.25rem, 1.6rem + 1.8vw, 3rem);  /* 36-48: every h1 and h2 */
  --fs-big: clamp(3.5rem, 2.2rem + 4.4vw, 6rem);      /* the claim numerals */

  --gut: clamp(16px, 2.6vw, 32px);
  --wrap: 1320px;
  --band: clamp(56px, 7vw, 104px);
  --r: 14px;
  --r-sm: 10px;
  --btn-r: 10px;
  --pill: 999px;
  --head-h: 68px;
  /* motion: one curve, three durations (hover and select / open and close / entrances and pictures) */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-1: 300ms;
  --dur-2: 420ms;
  --dur-3: 600ms;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: var(--fs-body); line-height: 1.55; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
img { background-color: var(--surface); }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
table { border-collapse: collapse; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.015em; line-height: 1.05; text-wrap: balance; }
h2 { font-size: var(--fs-display); }
h3 { font-size: var(--fs-h3); line-height: 1.15; }
[id] { scroll-margin-top: 96px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; padding: 0; margin: -1px; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 90; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--pill); text-decoration: none; }
.skip:focus { top: 12px; }
.tbd { background: #fbe9c8; color: #4a3a12; padding: 0 5px; border: 2px dashed #b8922f; font-weight: 700; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.band { padding-block: var(--band); }
.band--cream { background: var(--bg); }
.sec-h { margin-bottom: clamp(24px, 3vw, 40px); }
.src { font-size: var(--fs-xs); line-height: 1.35; color: var(--muted); font-weight: 400; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border: 0; border-radius: var(--btn-r);
  background: var(--dark); color: var(--paper);
  font-family: var(--text); font-weight: 700; font-size: var(--fs-body); line-height: 1.2;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: transform var(--dur-1) var(--ease-out);
}
.btn:hover { background: var(--dark-press); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn--dark { background: var(--dark); color: var(--paper); }
.btn--block { width: 100%; }
.btn--small { min-height: 40px; padding: 0 16px; font-size: var(--fs-sm); }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); } /* taste-skill-ignore: an outline button */
.btn--line:hover { background: var(--bg); }
.btn--line[aria-pressed="true"] { background: var(--field); color: var(--field-ink); box-shadow: none; } /* taste-skill-ignore: inset outline, not a shadow */
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 10px; border: 0; border-radius: var(--pill); background: transparent; cursor: pointer; font-weight: 700; text-decoration: none; color: var(--ink); }
.icon-btn:hover { background: var(--bg); }
.icon-btn svg { width: 22px; height: 22px; }

/* ---------- announcement bar ---------- */
/* v8 (2026-11-25): one line everywhere. Wide screens show every promise in a row; narrower ones show one at a time,
   sliding up through a one-line window every few seconds (paused on hover or tap, still under reduced motion). */
.announce { background: var(--field); color: var(--field-ink); font-size: var(--fs-xs); font-weight: 700; line-height: 1.35; letter-spacing: 0.01em; padding: 9px var(--gut); display: grid; gap: 9px; text-align: center; }
.announce .stars { color: #f0c46a; display: inline-flex; gap: 1px; }
.announce .stars svg { width: 12px; height: 12px; }
.announce p { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.announce__sale { background: var(--accent); color: #fff; margin: -9px calc(-1 * var(--gut)) 0; padding: 8px var(--gut); }
.announce__list { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px 44px; }
.announce__item { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; position: relative; }
.announce__item > svg { width: 16px; height: 16px; flex: none; color: #f0c46a; }
.announce__item + .announce__item::before { content: ""; position: absolute; left: -24px; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: rgba(240, 196, 106, 0.7); }
.announce__item--rating { gap: 6px; }
@media (max-width: 1279px) {
  .announce__item + .announce__item::before { display: none; }
  .js .announce__list { display: grid; justify-items: center; overflow: hidden; }
  .js .announce__item { grid-area: 1 / 1; opacity: 0; transform: translateY(105%); transition: transform var(--dur-3) var(--ease-out), opacity var(--dur-2) var(--ease-out); }
  .js .announce__list:not(.is-ready) .announce__item:first-child, .js .announce__item.is-on { opacity: 1; transform: none; }
  .js .announce__item.is-out { opacity: 0; transform: translateY(-105%); }
  .js .announce__item.is-jump { transition: none; }
}
@media (max-width: 1279px) and (prefers-reduced-motion: reduce) {
  .js .announce__list { display: flex; justify-content: center; flex-wrap: wrap; gap: 2px 20px; overflow: visible; }
  .js .announce__item { grid-area: auto; opacity: 1; transform: none; transition: none; }
  .js .announce__item:nth-child(n + 3) { display: none; }
}
.clock { font-variant-numeric: tabular-nums; font-weight: 700; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 30; background: var(--paper); transition: transform var(--dur-2) var(--ease-out); }
.site-head.is-hidden { transform: translateY(-100%); }
.site-head__in { display: flex; align-items: center; gap: 12px; min-height: var(--head-h); }
.site-head__logo { display: block; flex: none; line-height: 0; }
.site-head__logo img { width: auto; height: 34px; background: none; }
.site-head__nav { display: flex; align-items: center; gap: 4px; margin-left: auto; margin-right: 8px; white-space: nowrap; }
.site-head__nav a { text-decoration: none; font-weight: 700; font-size: var(--fs-sm); color: var(--ink); padding: 10px 14px; border-radius: var(--pill); min-height: 44px; display: inline-flex; align-items: center; }
.site-head__nav a:hover { background: var(--bg); }
.site-head__nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.cart-btn { position: relative; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: var(--pill); background: var(--accent); color: #fff; font-size: var(--fs-xs); line-height: 19px; text-align: center; }
.cart-count[data-n="0"] { display: none; }
.menu-btn { display: none; }
.menu-panel { position: fixed; inset: 0 auto 0 0; z-index: 60; width: min(360px, 88vw); background: var(--paper); padding: 16px 24px 32px; overflow-y: auto; display: none; flex-direction: column; gap: 2px; }
.menu-panel.is-open { display: flex; animation: from-left var(--dur-2) var(--ease-out); }
@keyframes from-left { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes from-right { from { transform: translateX(100%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } }
@keyframes img-in { from { opacity: 0; transform: scale(1.03); } }
@keyframes pick { from { transform: scale(0.985); } }
.menu-panel a { font-family: var(--display); font-weight: 600; font-size: var(--fs-h3); text-decoration: none; padding: 6px 0; }
.menu-panel a.small { font-family: var(--text); font-size: var(--fs-body); font-weight: 700; padding: 10px 0; }
.menu-panel a.small:first-of-type { margin-top: 16px; }
.menu-panel__close { align-self: flex-end; }
.scrim { position: fixed; inset: 0; z-index: 55; background: rgba(35, 39, 31, 0.45); display: none; }
.scrim.is-on { display: block; animation: fade var(--dur-2) var(--ease-out); }

/* ---------- shared bits ---------- */
.stars { display: inline-flex; gap: 1px; color: var(--gold); flex: none; vertical-align: -2px; }
.stars svg { width: 16px; height: 16px; }
.stars .off { color: var(--line-strong); }
.ticks { display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; line-height: 1.4; }
.ticks svg { width: 20px; height: 20px; flex: none; color: var(--field); margin-top: 1px; }
.secure { display: flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 700; color: var(--ink-soft); }
.secure svg { width: 14px; height: 14px; flex: none; color: var(--field); }
.seal { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--sage-light); border-radius: var(--r); }
.seal svg { width: 34px; height: 34px; flex: none; color: var(--field); }
.seal strong { display: block; font-weight: 700; line-height: 1.3; }
.seal span { display: block; font-size: var(--fs-sm); color: var(--ink-soft); font-weight: 400; }
.pay { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pay li { display: block; }
.pay svg { display: block; width: 38px; height: 25px; }
mark { background: var(--accent); color: #fff; padding: 0 0.16em 0.04em; border-radius: 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- product top: gallery + buy box ---------- */
.pdp { padding-block: 20px var(--band); }
.pdp__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 4.5vw, 64px); align-items: start; }
.pdp__media { position: sticky; top: calc(var(--head-h) + 12px); }
.gal { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; }
.gal__track { grid-column: 2; grid-row: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r); background: var(--surface); }
.gal__track::-webkit-scrollbar { display: none; }
.gal__slide { flex: 0 0 100%; scroll-snap-align: start; }
.gal__slide img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.gal__thumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 10px; }
.gal__thumbs button { padding: 0; border: 0; background: none; cursor: pointer; border-radius: var(--r-sm); overflow: hidden; opacity: 0.62; transition: opacity var(--dur-1) var(--ease-out); box-shadow: inset 0 0 0 2px transparent; } /* taste-skill-ignore: selection ring */
.gal__thumbs button img { width: 76px; height: 76px; object-fit: cover; }
.gal__thumbs button:hover { opacity: 0.9; }
.gal__thumbs button[aria-pressed="true"] { opacity: 1; outline: 2px solid var(--ink); outline-offset: -2px; }
.press { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; padding-left: 90px; font-family: var(--display); font-weight: 600; font-size: var(--fs-lead); color: var(--ink-soft); }

.buy { display: grid; gap: 18px; min-width: 0; }
.buy__social { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; font-weight: 700; font-size: var(--fs-sm); }
.buy__social .src { flex-basis: 100%; }
.buy h1 { font-size: var(--fs-display); margin-top: -6px; }
.buy__sub { color: var(--ink-soft); font-size: var(--fs-lead); margin-top: -8px; max-width: 46ch; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.price__now { font-weight: 700; font-size: var(--fs-h3); line-height: 1.1; }
.price__from { font-weight: 700; color: var(--ink-soft); margin-right: -6px; }
.price__was { color: var(--muted); font-weight: 700; font-size: var(--fs-body); }
.price__badge { background: var(--accent); color: #fff; font-weight: 700; font-size: var(--fs-xs); padding: 4px 10px; border-radius: var(--pill); align-self: center; }
/* one teapot chosen: the lowest real price a teapot in a set, tapping it picks that set (v8) */
.price__set { align-self: center; display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; min-height: 44px; padding: 0; border: 0; background: none; font: inherit; font-size: var(--fs-sm); font-weight: 700; color: var(--ink-soft); cursor: pointer; text-align: left; }
.price__set > span:first-child { text-decoration: underline dotted var(--line-strong); text-decoration-thickness: 1.5px; text-underline-offset: 4px; transition: text-decoration-color var(--dur-1) var(--ease-out); }
.price__set b { color: var(--accent); font-weight: 700; }
.price__set:hover > span:first-child { text-decoration-color: var(--accent); }
.price__set:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badges li { font-size: var(--fs-xs); font-weight: 700; padding: 6px 12px; border-radius: var(--pill); background: var(--bg); }
.badges__hot { background: var(--accent) !important; color: #fff; }
.mini-review { background: var(--bg); border-radius: var(--r); padding: 14px 16px; display: grid; gap: 6px; }
.mini-review blockquote { margin: 0; font-weight: 400; line-height: 1.45; }
.mini-review figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: var(--fs-sm); font-weight: 700; }
.mini-review .src { font-weight: 400; }
.mini-review .av { width: 30px; height: 30px; border-radius: 50%; background: var(--field); color: var(--field-ink); display: inline-grid; place-items: center; font-size: var(--fs-xs); }
.verified { color: var(--field); font-weight: 700; font-size: var(--fs-xs); }

.buy__form { display: grid; gap: 16px; }
.sizes legend, .sets legend { font-weight: 700; font-size: var(--fs-sm); margin-bottom: 10px; }
.sizes legend b { font-weight: 700; color: var(--ink-soft); }
.sizes__row { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes input, .sets input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sizes label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--pill); box-shadow: inset 0 0 0 1.5px var(--line-strong); font-weight: 700; font-size: var(--fs-sm); cursor: pointer; transition: background-color 0.2s, color 0.2s; } /* taste-skill-ignore: chip outline */
.sizes label:hover { box-shadow: inset 0 0 0 1.5px var(--ink); } /* taste-skill-ignore: inset outline, not a shadow */
.sizes input:checked + label { background: var(--ink); color: var(--paper); box-shadow: none; } /* taste-skill-ignore: inset outline, not a shadow */
.sizes input:focus-visible + label, .sets input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
.sets { display: grid; gap: 10px; }
.sets legend { margin-bottom: 0; }
.set { position: relative; }
.set label {
  display: grid; grid-template-columns: 22px 64px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: var(--r); background: var(--paper); cursor: pointer;
  box-shadow: inset 0 0 0 1.5px var(--line-strong); position: relative; /* taste-skill-ignore: card outline */
}
.set label::before { content: ""; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line-strong); } /* taste-skill-ignore: inset outline, not a shadow */
.set label::after { content: ""; position: absolute; left: calc(var(--set-pad, 14px) + 5px); top: calc(50% - 5px); width: 10px; height: 10px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform var(--dur-1) var(--ease-out); }
.set input:checked + label::after { transform: scale(1); }
.set input:checked + label { animation: pick var(--dur-1) var(--ease-out); } /* taste-skill-ignore: radio */
.set label:hover { box-shadow: inset 0 0 0 1.5px var(--ink); } /* taste-skill-ignore: inset outline, not a shadow */
.set input:checked + label { background: var(--bg); box-shadow: inset 0 0 0 2px var(--ink); } /* taste-skill-ignore: inset outline, not a shadow */
.set input:checked + label::before { box-shadow: inset 0 0 0 2px var(--ink); } /* taste-skill-ignore: inset outline, not a shadow */
.set__img { display: flex; }
.set__img img { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; outline: 2px solid var(--paper); }
.set__img--2 img + img, .set__img--3 img + img { margin-left: -28px; }
.set__img--3 img { width: 40px; height: 40px; }
.set__img--3 img + img { margin-left: -22px; }
.set__name { font-weight: 700; line-height: 1.25; }
.set__name small { display: block; font-size: var(--fs-xs); font-weight: 700; color: var(--ink-soft); }
.set__save { color: var(--field); font-weight: 700; }
.set__price { text-align: right; line-height: 1.2; }
.set__price b { display: block; font-size: var(--fs-lead); font-weight: 700; }
.set__price s { font-size: var(--fs-xs); color: var(--muted); font-weight: 700; }
.nowrap { white-space: nowrap; }
.set__tag { display: inline-block; vertical-align: 2px; margin-left: 4px; font-size: var(--fs-xs); font-weight: 700; padding: 3px 10px; border-radius: var(--pill); background: var(--ink); color: var(--paper); }
.set__tag--best { background: var(--field); color: var(--field-ink); }
.low-stock { font-weight: 700; font-size: var(--fs-sm); color: #9a3412; }
.subscribe { display: flex; gap: 10px; align-items: center; font-weight: 700; padding: 12px 14px; border-radius: var(--r); background: var(--bg); }

.eta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; text-align: center; font-size: var(--fs-xs); line-height: 1.3; padding: 4px 0; }
.eta li { display: grid; justify-items: center; gap: 2px; position: relative; }
.eta li + li::before { content: ""; position: absolute; top: 15px; right: calc(50% + 22px); width: calc(100% - 36px); height: 2px; background: var(--line-strong); }
.eta svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--sage-light); color: var(--field); margin-bottom: 4px; }
.eta b { font-weight: 700; }
.eta span { color: var(--ink-soft); font-weight: 700; }
.eta .tbd { font-size: var(--fs-xs); color: #4a3a12; }
.btn--cart { min-height: 58px; font-size: var(--fs-body); }
.guarantee { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; background: var(--sage-light); border-radius: var(--r); font-size: var(--fs-sm); line-height: 1.45; margin-top: -4px; }
.guarantee svg { width: 26px; height: 26px; flex: none; color: var(--field); }
.guarantee b { font-weight: 700; }
.paylater { font-size: var(--fs-sm); font-weight: 700; text-align: center; color: var(--ink-soft); margin-top: -6px; }

.tabs__list { display: flex; gap: 4px; box-shadow: inset 0 -2px 0 var(--line); overflow-x: auto; scrollbar-width: none; } /* taste-skill-ignore: tab base */
.tabs__list [role="tab"] { flex: 1 0 auto; border: 0; background: none; cursor: pointer; padding: 12px 10px; min-height: 46px; font-weight: 700; font-size: var(--fs-sm); color: var(--ink-soft); box-shadow: inset 0 -2px 0 transparent; } /* taste-skill-ignore: tab marker */
.tabs__list [role="tab"][aria-selected="true"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--ink); } /* taste-skill-ignore: inset outline, not a shadow */
.tabs__panel { padding-top: 16px; }
.keyspecs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.keyspecs li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.4; }
.keyspecs b { display: block; color: var(--ink); font-weight: 700; font-size: var(--fs-sm); }
.keyspecs svg { width: 30px; height: 30px; flex: none; color: var(--field); }
.howto { display: grid; gap: 10px; counter-reset: h; }
.howto li { counter-increment: h; display: grid; grid-template-columns: 28px 1fr; gap: 10px; line-height: 1.45; }
.howto li::before { content: counter(h); width: 26px; height: 26px; border-radius: 50%; background: var(--sage-light); color: var(--field); display: grid; place-items: center; font-weight: 700; font-size: var(--fs-xs); }
.tabs__note { margin-top: 12px; font-size: var(--fs-sm); color: var(--ink-soft); font-weight: 400; }
.inbox { display: grid; gap: 8px; }
.inbox li { position: relative; padding-left: 18px; line-height: 1.45; }
.inbox li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--field); }
.buy__pay { display: flex; justify-content: center; margin-top: -6px; }
/* under the button: the three promises, the card marks, then the delivery date (v8) */
.assure { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: -4px; }
.assure li { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: var(--fs-xs); font-weight: 700; line-height: 1.25; color: var(--ink-soft); text-align: left; }
.assure svg { width: 30px; height: 30px; padding: 6px; flex: none; border-radius: 50%; background: var(--sage-light); color: var(--field); }
.ship-eta { display: grid; gap: 12px; padding: 14px 16px 12px; border-radius: var(--r); box-shadow: inset 0 0 0 1.5px var(--line); } /* taste-skill-ignore: inset outline, not a shadow */
.ship-eta__when { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: var(--fs-sm); font-weight: 700; text-align: center; }
.ship-eta__when svg { width: 18px; height: 18px; flex: none; color: var(--field); }
.ship-eta__when b { color: var(--field); }
.live { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 700; color: var(--ink-soft); }
.live svg { width: 18px; height: 18px; color: var(--accent); }
.gal__slide[data-lb] { cursor: zoom-in; }
/* back to the top: bottom right, lifted above the floating button while that one shows */
.to-top { position: fixed; z-index: 39; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 18px rgba(35, 39, 31, 0.18), inset 0 0 0 1.5px var(--line); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), visibility 0s linear var(--dur-2); } /* taste-skill-ignore: it floats */
.to-top svg { width: 20px; height: 20px; }
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.fab.is-shown ~ .to-top.is-shown { transform: translateY(-66px); }
.has-layer .to-top { opacity: 0; visibility: hidden; }
@media (min-width: 761px) { .to-top { right: 24px; } }
/* a real recent order from the store's own /api/stats (hidden while it returns nothing) */
.sold-pop { position: fixed; z-index: 38; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: min(360px, calc(100vw - 92px)); display: grid; grid-template-columns: 48px minmax(0, 1fr) 44px; align-items: center; gap: 10px; padding: 8px 4px 8px 8px; border-radius: var(--r); background: var(--paper); box-shadow: 0 10px 28px rgba(35, 39, 31, 0.2); font-size: var(--fs-xs); line-height: 1.35; animation: fade-up var(--dur-2) var(--ease-out); } /* taste-skill-ignore: it floats */
.sold-pop img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }
.sold-pop p b { display: block; font-size: var(--fs-sm); }
.sold-pop .icon-btn { width: 44px; height: 44px; }
.sold-pop .icon-btn svg { width: 16px; height: 16px; }
@media (max-width: 760px) { .sold-pop { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); } }

.xsell { background: var(--bg); border-radius: var(--r); padding: 14px 16px; display: grid; gap: 10px; }
.xsell__h, .ugc-row__h { font-family: var(--text); font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0; }
.xsell__item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; }
.xsell__item img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; }
.xsell__item p { font-size: var(--fs-sm); line-height: 1.35; }
.xsell__item p b { display: block; font-size: var(--fs-sm); }
.xsell__item p span { color: var(--ink-soft); font-weight: 400; }
.xsell__price { font-weight: 700; }
.ugc-row { display: grid; gap: 10px; }
.ugc-row__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ugc-row__list button, .ugc__list button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--r-sm); overflow: hidden; }
.ugc-row__list img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform var(--dur-3) var(--ease-out); }
.ugc-row__list button:hover img, .ugc__list button:hover img { transform: scale(1.04); }

/* ---------- lifestyle picture with one big claim ---------- */
.claim { position: relative; background: #1f2421; color: #fff; overflow: hidden; }
.claim > img { width: 100%; height: clamp(420px, 46vw, 640px); object-fit: cover; object-position: 30% 50%; background: #1f2421; }
.claim__text { position: absolute; top: 50%; right: max(var(--gut), calc((100% - var(--wrap)) / 2 + var(--gut))); transform: translateY(-50%); width: min(440px, 40%); display: grid; gap: 12px; }
.claim__big { font-family: var(--text); font-weight: 700; font-size: var(--fs-big); line-height: 0.9; letter-spacing: -0.04em; color: #c9d0ff; }
.claim h2 { color: #fff; }
.claim__text p:last-child { color: rgba(255, 255, 255, 0.86); font-size: var(--fs-body); max-width: 36ch; }

/* ---------- feature sections ---------- */
.feat__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.feat__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.feat--flip .feat__img { order: 2; }
.feat__text { display: grid; gap: 18px; max-width: 520px; }
.feat__text > p { font-size: var(--fs-lead); line-height: 1.55; }
.feat__text h2 { font-size: var(--fs-display); }

/* ---------- comparison table ---------- */
.vs__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.vs__text { display: grid; gap: 16px; justify-items: start; }
.vs__text p { font-size: var(--fs-lead); }
.vs__table { overflow-x: auto; }
.vs__table table { width: 100%; font-size: var(--fs-sm); }
.vs__table th, .vs__table td { padding: 14px 12px; text-align: center; }
.vs__table thead th { font-weight: 700; font-size: var(--fs-sm); vertical-align: bottom; }
.vs__table tbody th { text-align: left; font-weight: 700; }
.vs__table tbody tr:nth-child(odd) { background: var(--bg); }
.vs__table .vs__us { background: var(--field); color: var(--field-ink); }
.vs__table thead .vs__us { border-radius: var(--r) var(--r) 0 0; font-family: var(--display); font-size: var(--fs-lead); font-weight: 600; }
.vs__table tbody tr:nth-child(odd) .vs__us { background: #45553c; }
.vs__table tbody tr:last-child .vs__us { border-radius: 0 0 var(--r) var(--r); }
.vs__table svg { width: 22px; height: 22px; display: inline-block; }
.vs__table .no { color: #a0988a; }

/* ---------- materials ---------- */
.made { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.made__card { background: var(--paper); border-radius: var(--r); overflow: hidden; display: grid; align-content: start; }
.made__card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.made__card h3 { padding: 18px 20px 0; }
.made__card p { padding: 8px 20px 22px; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(24px, 4vw, 56px); }
.faq details { box-shadow: inset 0 -1.5px 0 var(--line-strong); } /* taste-skill-ignore: FAQ rows as in the reference */
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 700; font-size: var(--fs-body); min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; transition: transform var(--dur-2) var(--ease-out); }
.faq details[open] > p { animation: fade-up var(--dur-2) var(--ease-out); }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding: 0 0 18px; color: var(--ink-soft); max-width: 60ch; }

/* ---------- three steps ---------- */
.steps3 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.steps3__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.steps3__text { display: grid; gap: 24px; justify-items: start; }
.steps3__list { display: grid; gap: 18px; counter-reset: s; }
.steps3__list li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; gap: 4px 16px; }
.steps3__list li::before { content: counter(s); grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-family: var(--text); font-weight: 700; font-size: var(--fs-lead); }
.steps3__list b { font-family: var(--display); font-weight: 600; font-size: var(--fs-h3); line-height: 1.1; }
.steps3__list span { color: var(--ink-soft); }

/* ---------- reviews ---------- */
.rv__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.rv__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.rv__sum { background: var(--bg); border-radius: var(--r); padding: 24px; display: grid; gap: 12px; position: sticky; top: calc(var(--head-h) + 16px); }
.rv__avg { display: flex; align-items: center; gap: 12px; }
.rv__avg b { font-family: var(--display); font-size: var(--fs-display); font-weight: 600; line-height: 0.9; }
.rv__avg span { display: block; font-weight: 700; font-size: var(--fs-sm); color: var(--ink-soft); }
.rv__bars { display: grid; gap: 6px; }
.rv__bars li { display: grid; grid-template-columns: 34px minmax(0, 1fr) 38px; align-items: center; gap: 8px; font-size: var(--fs-xs); font-weight: 700; }
.rv__bars i { display: block; height: 8px; border-radius: var(--pill); background: var(--surface); overflow: hidden; }
.rv__bars i::after { content: ""; display: block; height: 100%; width: var(--w); background: var(--gold); border-radius: var(--pill); }
.rv__bars span:last-child { text-align: right; color: var(--ink-soft); }
.rv__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.rv-card { background: var(--paper); border-radius: var(--r); padding: 18px 20px; display: grid; gap: 8px; align-content: start; box-shadow: inset 0 0 0 1.5px var(--line); } /* taste-skill-ignore: review card edge */
.rv-card p { line-height: 1.5; }
.rv-card footer { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; font-size: var(--fs-xs); font-weight: 700; }
.rv-card footer .src { flex-basis: 100%; }
.rv-card .av { width: 28px; height: 28px; border-radius: 50%; background: var(--sage-light); color: var(--field); display: inline-grid; place-items: center; font-size: var(--fs-xs); }

/* ---------- home ---------- */
.hero { padding-block: 20px var(--band); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero__pic { position: relative; border-radius: var(--r); overflow: hidden; }
.hero__pic img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 62% 50%; }
.hero__claim { position: absolute; left: clamp(18px, 3vw, 36px); top: clamp(18px, 3vw, 36px); display: grid; gap: 4px; color: var(--ink); max-width: 46%; }
.hero__line { font-family: var(--display); font-weight: 600; font-size: var(--fs-h3); line-height: 1; letter-spacing: -0.015em; }
.hero__big { font-family: var(--text); font-weight: 700; font-size: var(--fs-big); line-height: 0.95; color: var(--accent); margin-top: 12px; letter-spacing: -0.04em; }
.hero__small { font-weight: 700; font-size: var(--fs-sm); max-width: 22ch; line-height: 1.35; }
.hero__buy { display: grid; gap: 18px; }
.hero__buy h1 { font-size: var(--fs-display); }
.hero__thumbs { display: flex; gap: 8px; }
.hero__thumbs a { border-radius: var(--r-sm); overflow: hidden; flex: 1 1 0; max-width: 72px; }
.hero__thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform var(--dur-1) var(--ease-out); }
.hero__thumbs a:hover img { transform: scale(1.06); }
.ugc__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 20px); }
.ugc__list button { display: grid; gap: 10px; text-align: left; border-radius: 0; overflow: visible; }
.ugc__list img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r); transition: transform var(--dur-3) var(--ease-out); }
.ugc__list span { font-weight: 700; font-size: var(--fs-sm); }

/* ---------- lightbox + dialogs + forms ---------- */
dialog.lb { border: 0; padding: 0; background: transparent; max-width: min(92vw, 720px); max-height: 92vh; overflow: visible; }
dialog.lb::backdrop { background: rgba(20, 22, 18, 0.82); }
dialog.lb img { max-height: 88vh; width: auto; border-radius: var(--r); }
.lb__close { position: absolute; top: -52px; right: 0; background: var(--paper); }
dialog.dlg { border: 0; padding: 0; width: min(560px, calc(100% - 32px)); max-height: calc(100vh - 32px); background: var(--paper); color: var(--ink); border-radius: 18px; overflow: auto; box-shadow: 0 24px 60px rgba(44, 48, 40, 0.35); } /* taste-skill-ignore: a dialog floats */
dialog.dlg::backdrop { background: rgba(44, 48, 40, 0.5); }
.dlg__in { padding: 28px clamp(20px, 4vw, 36px) 32px; position: relative; }
.dlg__close { position: absolute; top: 10px; right: 10px; }
.dlg h2 { font-size: var(--fs-display); padding-right: 44px; }
.dlg__lede { margin-top: 10px; color: var(--ink-soft); }
.form { display: grid; gap: 14px; margin-top: 20px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: var(--fs-sm); }
.form input[type="text"], .form input[type="email"], .form textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--paper); border: 1.5px solid #8f8778; border-radius: var(--r-sm); padding: 12px 14px; min-height: 48px; width: 100%; }
.form input[type="file"] { font: inherit; font-size: var(--fs-sm); }
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 3px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.form .hint { font-weight: 400; color: var(--ink-soft); font-size: var(--fs-sm); }
.form .btn { width: 100%; }
.form__done { padding: 14px 16px; background: var(--sage-light); color: var(--ink); font-weight: 700; border-radius: var(--r-sm); }
.rate { display: flex; gap: 2px; }
.rate legend { font-weight: 700; font-size: var(--fs-sm); margin-bottom: 6px; }
.rate input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate label { cursor: pointer; color: #a39b8b; display: inline-block; }
.rate label svg { width: 36px; height: 36px; }
.rate label.on { color: var(--gold); }
.rate input:focus-visible + label { outline: 3px solid var(--accent); }

/* ---------- cart drawer (GRIPT's drawer) ---------- */
.cart { position: fixed; inset: 0 0 0 auto; z-index: 60; width: min(440px, 100vw); background: var(--paper); display: none; flex-direction: column; }
.cart.is-open { display: flex; animation: from-right var(--dur-2) var(--ease-out); }
.cart__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px 10px 20px; }
.cart__head h2 { font-family: var(--text); font-size: var(--fs-lead); font-weight: 700; letter-spacing: 0; display: flex; align-items: center; gap: 8px; }
.cart__head h2 svg { width: 22px; height: 22px; color: var(--field); }
.cart__social { display: flex; align-items: center; gap: 10px; padding: 10px 20px; background: var(--bg); font-size: var(--fs-xs); font-weight: 700; line-height: 1.3; }
.cart__social .avs { display: flex; flex: none; }
.cart__social .av { width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--field); color: var(--field-ink); font-size: var(--fs-xs); outline: 2px solid var(--bg); }
.cart__social .av + .av { margin-left: -8px; }
.cart__social .av:nth-child(2) { background: var(--accent); color: #fff; }
.cart__social .av:nth-child(3) { background: var(--gold); color: #fff; }
.cart__social .src { display: block; font-weight: 400; }
.cart__body { flex: 1; overflow-y: auto; padding: 16px 20px; display: grid; gap: 16px; align-content: start; grid-auto-rows: max-content; }  /* rows keep their height and the body scrolls (the banner was squeezed to a strip on short phones) */
.cart-banner { position: relative; border-radius: var(--r); overflow: hidden; color: #fff; }
.cart-banner img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: 20% 60%; }
.cart-banner div { position: absolute; inset: auto 0 0 0; padding: 12px 14px; background: rgba(20, 22, 18, 0.72); display: flex; gap: 10px; align-items: center; font-size: var(--fs-sm); line-height: 1.35; }
.cart-banner svg { width: 26px; height: 26px; flex: none; color: #c9d0ff; }
.cart-banner b { display: block; font-weight: 700; }
.line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: start; }
.line img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--r-sm); }
.line strong { font-weight: 700; display: block; line-height: 1.3; }
.line__meta { font-size: var(--fs-xs); color: var(--ink-soft); font-weight: 700; display: block; margin-top: 2px; }
.line__price { font-weight: 700; white-space: nowrap; text-align: right; }
.line__price s { display: block; font-size: var(--fs-xs); color: var(--muted); font-weight: 700; }
.qty { display: inline-flex; align-items: center; gap: 2px; margin-top: 8px; border-radius: var(--pill); background: var(--bg); }
.qty button { width: 36px; height: 36px; border: 0; background: none; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.qty button:hover:not(:disabled) { background: var(--surface); }
.qty button:disabled { opacity: 0.35; cursor: default; }
.qty svg { width: 16px; height: 16px; }
.qty output { min-width: 22px; text-align: center; font-weight: 700; }
.line__remove { background: none; border: 0; padding: 6px 0; margin-left: 10px; text-decoration: underline; cursor: pointer; font-size: var(--fs-xs); font-weight: 700; color: var(--ink-soft); min-height: 32px; }
.cart__empty { display: grid; gap: 16px; justify-items: start; }
.progress { display: grid; gap: 8px; font-size: var(--fs-sm); font-weight: 700; }
.progress__bar { height: 8px; border-radius: var(--pill); background: var(--surface); overflow: hidden; }
.progress__bar i { display: block; height: 100%; background: var(--field); border-radius: var(--pill); }
.cart .xsell { background: var(--bg); }
.ship-line { font-size: var(--fs-xs); font-weight: 700; color: var(--ink-soft); }
.cart__foot { padding: 14px 20px 18px; background: var(--bg); display: grid; gap: 10px; }
.cart__total { display: flex; justify-content: space-between; font-weight: 700; font-size: var(--fs-lead); }
.cart__foot .btn { min-height: 56px; }
.cart__foot .pay { justify-content: center; }
.checkout-off { font-size: var(--fs-sm); font-weight: 700; background: #fbe9c8; color: #4a3a12; border: 2px dashed #b8922f; padding: 8px 10px; border-radius: var(--r-sm); }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; top: 18px; z-index: 80; transform: translate(-50%, -180%); transition: transform var(--dur-2) var(--ease-out); background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: var(--pill); font-weight: 700; transition: transform 0.35s var(--ease-out); max-width: calc(100% - 32px); }
.toast.is-on { transform: translate(-50%, 0); }

/* ---------- footer ---------- */
.sfoot { background: var(--bg); }
.sfoot__main { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 4fr); gap: 32px; padding-block: clamp(44px, 5vw, 64px) 32px; }
.sfoot__brand img { width: auto; height: 32px; background: none; }
.sfoot__brand p { margin-top: 14px; max-width: 36ch; font-size: var(--fs-sm); color: var(--ink-soft); }
.sfoot h3 { font-family: var(--text); font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0; margin-bottom: 8px; }
.sfoot__col a { display: block; text-decoration: none; font-weight: 400; font-size: var(--fs-sm); padding: 6px 0; }
.sfoot__col a:hover { text-decoration: underline; }
.sfoot__join h3 { font-family: var(--display); font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.01em; }
.sfoot__join > p { font-size: var(--fs-sm); color: var(--ink-soft); max-width: 44ch; }
.join { margin-top: 14px; display: flex; gap: 8px; }
.join input { flex: 1; min-width: 0; font: inherit; font-weight: 700; min-height: 50px; padding: 0 16px; border-radius: var(--btn-r); border: 1.5px solid #8f8778; background: var(--paper); color: var(--ink); }
.join input:focus { outline: 3px solid var(--accent); outline-offset: 1px; }
.join .btn { min-height: 50px; padding: 0 20px; }
.sfoot__join .form__done { margin-top: 14px; }
.sfoot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-block: 8px 28px; font-size: var(--fs-xs); color: var(--ink-soft); }
.sfoot__bottom nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.sfoot__bottom a { text-decoration: none; padding: 6px 0; }
.sfoot__bottom a:hover { text-decoration: underline; }

/* ---------- text pages, thank you, 404 ---------- */
.doc { padding-block: clamp(40px, 6vw, 72px) var(--band); }
.doc__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(24px, 5vw, 72px); }
.doc__head h1 { font-size: var(--fs-display); }
.doc__head p { margin-top: 12px; color: var(--ink-soft); font-weight: 400; font-size: var(--fs-sm); }
.doc__body { max-width: 68ch; }
.doc__body h2 { font-size: var(--fs-h3); margin-top: 36px; }
.doc__body h2:first-child { margin-top: 0; }
.doc__body p, .doc__body ul { margin-top: 12px; }
.doc__body ul { list-style: disc; padding-left: 22px; }
.doc__body li { margin-top: 6px; }
.doc__body .seal { margin-top: 20px; }
.contact-card { margin-top: 18px; background: var(--bg); border-radius: var(--r); padding: 20px; display: grid; gap: 6px; }
.thanks { padding-block: clamp(40px, 6vw, 72px) var(--band); }
.thanks__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px clamp(24px, 5vw, 72px); align-items: start; }
.thanks__main h1 { font-size: var(--fs-display); }
.thanks__main > p { margin-top: 14px; font-size: var(--fs-lead); line-height: 1.45; max-width: 40ch; }
.steps { display: flex; gap: 6px; padding: 10px 14px; background: var(--bg); font-size: var(--fs-sm); font-weight: 700; color: var(--ink-soft); flex-wrap: wrap; border-radius: var(--r-sm); margin-bottom: 22px; width: fit-content; max-width: 100%; }
.steps li { display: flex; align-items: center; gap: 6px; }
.steps li + li::before { content: ""; width: 16px; height: 2px; background: #b8b09f; margin-right: 2px; }
.steps b { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--field); color: var(--field-ink); font-size: var(--fs-xs); }
.steps li.is-on { color: var(--ink); }
.timeline { margin: 28px 0 24px; display: grid; }
.timeline li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding-bottom: 20px; }
.timeline li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--field); margin: 6px 0 0 8px; }
.timeline li b { font-weight: 700; display: block; }
.thanks__side { display: grid; gap: 14px; }
.panel { background: var(--bg); border-radius: var(--r); padding: 22px; }
.panel h2 { font-size: var(--fs-h3); }
.panel p { margin-top: 8px; color: var(--ink-soft); }
.panel .btn, .panel .code { margin-top: 14px; }
.code { display: inline-flex; align-items: center; gap: 6px; padding: 6px 6px 6px 14px; border-radius: var(--pill); background: var(--sage-light); color: var(--ink); font-weight: 700; letter-spacing: 0.04em; border: 0; cursor: pointer; font-size: var(--fs-body); font-family: var(--text); }
.code span { padding: 4px 10px; border-radius: var(--pill); background: var(--ink); color: var(--paper); font-size: var(--fs-xs); letter-spacing: 0; }
.nf { min-height: 60vh; display: grid; align-content: center; justify-items: start; padding: 64px var(--gut); max-width: var(--wrap); margin-inline: auto; }
.nf h1 { font-size: var(--fs-display); line-height: 0.95; max-width: 14ch; }
.nf p { margin-top: 16px; font-size: var(--fs-lead); max-width: 34ch; }
.nf .btn { margin-top: 26px; }

/* ---------- entrances (only with script; everything shows without it) ---------- */
/* parts that start below the screen wait as .is-pre and rise once; anything already in view is never hidden */
.js .rise { transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out); transition-delay: var(--d, 0ms); }
.js .rise.is-pre { opacity: 0; transform: translateY(16px); }
/* the first picture eases in; tabs, dialogs and the gallery fade */
.hero__pic img, .gal__slide:first-child img { animation: img-in var(--dur-3) var(--ease-out); }
.tabs__panel:not([hidden]) { animation: fade-up var(--dur-2) var(--ease-out); }
dialog[open] { animation: fade-up var(--dur-2) var(--ease-out); }
.gal--fade .gal__track { display: grid; overflow: hidden; }
.gal--fade .gal__slide { grid-area: 1 / 1; opacity: 0; transition: opacity var(--dur-3) var(--ease-out); }
.gal--fade .gal__slide.is-on { opacity: 1; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .js .rise, .js .rise.is-pre { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  .site-head__nav a { padding: 10px 10px; }
  .feat__grid, .steps3 { gap: 40px; }
  .rv__list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .pdp__grid, .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; }
  .gal { grid-template-columns: minmax(0, 1fr); }
  .gal__track { grid-column: 1; }
  .gal__thumbs { grid-column: 1; grid-row: 2; flex-direction: row; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .gal__thumbs button { flex: none; }
  .gal__thumbs button img { width: 64px; height: 64px; }
  .press { padding-left: 0; }
  .hero__claim { max-width: 70%; }
  .vs__grid, .rv__grid { grid-template-columns: minmax(0, 1fr); }
  .rv__sum { position: static; }
  .made { grid-template-columns: minmax(0, 1fr); }
  .made__card { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .made__card img { grid-row: span 2; height: 100%; aspect-ratio: auto; min-height: 180px; }
  .made__card h3 { padding: 18px 18px 0; align-self: end; }
  .made__card p { padding: 6px 18px 18px; }
  .sfoot__main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sfoot__brand, .sfoot__join { grid-column: 1 / -1; }
  .doc__grid, .thanks__grid { grid-template-columns: minmax(0, 1fr); }
  .ugc__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  :root { --head-h: 60px; }
  .pdp__grid, .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pdp__media { position: static; }
  .site-head__in { display: grid; grid-template-columns: 44px 1fr 44px; }
  .menu-btn { display: inline-flex; margin-left: -10px; }
  .site-head__logo { justify-self: center; }
  .site-head__logo img { height: 28px; }
  .site-head__nav { display: none; }
  .cart-btn { margin-right: -10px; }
  .pdp, .hero { padding-top: 0; }
  .pdp .wrap, .hero .wrap { padding-inline: 0; }
  .gal__track { border-radius: 0; }
  .gal__slide img { aspect-ratio: 1 / 1; }
  .gal__thumbs { padding-inline: var(--gut); }
  .press { padding-inline: var(--gut); }
  .buy, .hero__buy { padding-inline: var(--gut); gap: 16px; }
  .hero__pic { border-radius: 0; }
  .hero__pic img { aspect-ratio: 1 / 1; object-position: 84% 50%; }
  .hero__claim { max-width: 46%; }
  .hero__small { max-width: 15ch; }
  .set label { grid-template-columns: 20px 52px minmax(0, 1fr) auto; gap: 10px; padding: 12px; --set-pad: 12px; }
  .set__img img { width: 40px; height: 40px; }
  .set__img--2 img + img { margin-left: -24px; }
  .set__img--3 img { width: 34px; height: 34px; }
  .set__img--3 img + img { margin-left: -20px; }
  .keyspecs { grid-template-columns: minmax(0, 1fr); }
  .xsell__item { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .xsell__item img { width: 48px; height: 48px; }
  .xsell__item .btn { grid-column: 2 / -1; justify-self: start; }
  .xsell__price { grid-column: 3; grid-row: 1; }
  .claim > img { height: auto; aspect-ratio: 4 / 3; object-position: 18% 50%; }
  .claim__text { position: static; transform: none; width: auto; padding: 28px var(--gut) 40px; }
  .feat__grid, .steps3 { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .feat--flip .feat__img { order: 0; }
  .feat__img img, .steps3__img img { aspect-ratio: 4 / 3; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .made__card { grid-template-columns: minmax(0, 1fr); }
  .made__card img { grid-row: auto; aspect-ratio: 16 / 10; min-height: 0; }
  .vs__table th, .vs__table td { padding: 12px 6px; }
  .vs__table { font-size: var(--fs-sm); }
  .vs__table thead .vs__us { font-size: var(--fs-body); }
  .rv__avg b { font-size: var(--fs-display); }
  .sfoot__main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 16px; }
  .ugc-row__list { gap: 6px; }
}
@media (max-width: 380px) {
  .set__img { display: none; }
  .set label { grid-template-columns: 20px minmax(0, 1fr) auto; }
}

/* ---------- floating button (product: Add to cart; home: Shop the teapot) ---------- */
.fab { position: fixed; z-index: 40; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); right: 24px; opacity: 0; visibility: hidden; transform: translateY(16px); pointer-events: none; transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), visibility 0s linear var(--dur-2); }
.fab.is-shown { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
.has-layer .fab { opacity: 0; visibility: hidden; pointer-events: none; }
.fab { border-radius: var(--pill); box-shadow: 0 10px 28px rgba(35, 39, 31, 0.28); } /* taste-skill-ignore: it floats */
.fab__btn { border-radius: var(--pill); min-height: 54px; padding: 0 28px; }
@media (max-width: 760px) {
  .fab { right: auto; left: 50%; transform: translate(-50%, 16px); }
  .fab.is-shown { transform: translate(-50%, 0); }
  .fab__btn { white-space: nowrap; }
}

/* ---------- See it in action: phone-shaped videos ---------- */
.vids-row { display: grid; gap: 10px; }
.vids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.6vw, 20px); }
.vid { position: relative; border-radius: var(--r); overflow: hidden; background: var(--surface); }
.vid video { display: block; width: 100%; aspect-ratio: 9 / 16; height: auto; object-fit: cover; cursor: pointer; }
.vid__play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 252, 246, 0.9); color: var(--ink); cursor: pointer; transition: opacity var(--dur-1) var(--ease-out), transform var(--dur-1) var(--ease-out); }
.vid__play svg { width: 24px; height: 24px; margin-left: 3px; }
.vid__play:hover { transform: scale(1.06); }
.vid.is-playing .vid__play { opacity: 0; }
.vid.is-playing .vid__play:focus-visible { opacity: 1; }
.vids--small .vid__play { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.vids--small .vid__play svg { width: 20px; height: 20px; }
.vids-sec .vids { max-width: 1000px; }
.vids-sec__lede { color: var(--ink-soft); font-size: var(--fs-lead); max-width: 30ch; margin: calc(-1 * clamp(12px, 1.5vw, 24px)) 0 clamp(24px, 3vw, 40px); }
@media (min-width: 1024px) {
  .vids-sec .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
  .vids-sec .vids { max-width: none; }
  .vids-sec__lede { margin-bottom: 0; }
}
@media (max-width: 760px) {
  .vids { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scroll-padding-inline: var(--gut); }
  .vids::-webkit-scrollbar { display: none; }
  .vid { flex: 0 0 62%; scroll-snap-align: start; }
  .vids--small { margin-inline: calc(-1 * var(--gut)); }
  .vids--small .vid { flex-basis: 44%; }
}

/* ---------- Vitals tools: header tools, wishlist, currency, size guide, FBT, back in stock ---------- */
.site-head__tools { display: flex; align-items: center; gap: 2px; }
.saved-btn { position: relative; }
.cur select { font: inherit; font-size: var(--fs-sm); font-weight: 700; color: var(--ink); background: transparent; border: 0; border-radius: var(--btn-r); min-height: 44px; padding: 0 6px; cursor: pointer; }
.cur select:hover { background: var(--bg); }
.cur--menu { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-weight: 700; }
.cur--menu select { box-shadow: inset 0 0 0 1.5px var(--line-strong); padding: 0 10px; } /* taste-skill-ignore: field outline */
.buy { position: relative; }
.buy__acts { position: absolute; top: -10px; right: 0; display: flex; gap: 8px; }
.buy__social { padding-right: 104px; }
.wish, .share-btn { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--bg); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: transform var(--dur-1) var(--ease-out); }
.wish svg { width: 22px; height: 22px; }
.share-btn svg { width: 20px; height: 20px; }
.wish:hover, .share-btn:hover { transform: scale(1.06); }
.wish[aria-pressed="true"] { color: #b4325a; }
.wish[aria-pressed="true"] svg { fill: currentColor; animation: pick var(--dur-1) var(--ease-out); }
.approx { font-size: var(--fs-xs); font-weight: 700; color: var(--muted); margin-top: -12px; }
.cart__foot .approx { margin-top: -6px; text-align: right; }
.linkbtn { border: 0; background: none; padding: 6px 0; min-height: 44px; font: inherit; font-size: var(--fs-sm); font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sizes { position: relative; }
.sizes__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; font-weight: 700; font-size: var(--fs-sm); line-height: 1.5; }
.sizes__head b { font-weight: 700; color: var(--ink-soft); }
.sizes__guide { min-height: 44px; margin-block: -10px; }
.restock { display: grid; gap: 10px; padding: 14px 16px; border-radius: var(--r); background: var(--bg); }
.restock .join { margin-top: 0; }
.fbt { background: var(--bg); border-radius: var(--r); padding: 14px 16px; display: grid; gap: 12px; }
.fbt__items { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
.fbt__plus { align-self: center; line-height: 1; }
.fbt__item { flex: 1; display: grid; grid-template-columns: auto 52px minmax(0, 1fr); align-items: center; gap: 8px; font-size: var(--fs-xs); font-weight: 700; line-height: 1.3; cursor: pointer; }
.fbt__item input { width: 18px; height: 18px; accent-color: var(--ink); }
.fbt__item img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; }
.fbt__item b { display: block; font-size: var(--fs-sm); }
.fbt__plus { font-weight: 700; font-size: var(--fs-lead); color: var(--muted); }
.fbt__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.fbt__foot p { font-weight: 700; }
.size-table { overflow-x: auto; margin-top: 18px; }
.size-table table { width: 100%; font-size: var(--fs-sm); }
.size-table th, .size-table td { text-align: left; padding: 12px 10px; vertical-align: top; }
.size-table thead th { font-weight: 700; color: var(--ink-soft); }
.size-table tbody tr:nth-child(odd) { background: var(--bg); }
.size-table tbody th { font-weight: 700; white-space: nowrap; }
.dlg--popup { width: min(440px, calc(100% - 32px)); }
.popup__img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.dlg--popup .form { gap: 10px; }
.dlg--popup .linkbtn { justify-self: center; color: var(--ink-soft); }
.lb__cap { margin-top: 10px; color: #fff; font-weight: 700; max-width: 52ch; }
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 560px; margin-inline: auto; background: var(--paper); border-radius: var(--r); padding: 16px; display: grid; gap: 12px; box-shadow: 0 12px 36px rgba(35, 39, 31, 0.25); font-size: var(--fs-sm); } /* taste-skill-ignore: it floats */
.consent div { display: flex; gap: 8px; flex-wrap: wrap; }
.consent:not([hidden]) ~ .fab { display: none; }

/* ---------- reviews widget: summary, photos, filters, grid or list, top reviews, carousel ---------- */
.rv__main { display: grid; gap: 16px; align-content: start; min-width: 0; }
.rv__summary { font-size: var(--fs-lead); line-height: 1.45; max-width: 60ch; }
.rv__media { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.rv__media button, .rv-card__photos button { flex: none; padding: 0; border: 0; background: none; border-radius: var(--r-sm); overflow: hidden; cursor: zoom-in; }
.rv__media img { width: 88px; height: 88px; object-fit: cover; transition: transform var(--dur-1) var(--ease-out); }
.rv__media button:hover img { transform: scale(1.05); }
.rv__tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.rv__filters, .rv__layout { display: flex; flex-wrap: wrap; gap: 6px; }
.rv__filters button, .rv__layout button { min-height: 40px; padding: 0 14px; border: 0; border-radius: var(--pill); background: var(--bg); font-weight: 700; font-size: var(--fs-sm); cursor: pointer; }
.rv__filters button[aria-pressed="true"], .rv__layout button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.rv--list .rv__list { grid-template-columns: minmax(0, 1fr); }
.rv-card--top { box-shadow: inset 0 0 0 2px var(--field); } /* taste-skill-ignore: highlight edge */
.rv-card__top { justify-self: start; font-size: var(--fs-xs); font-weight: 700; padding: 3px 10px; border-radius: var(--pill); background: var(--field); color: var(--field-ink); }
.rv-card__photos { display: flex; gap: 6px; }
.rv-card__photos img { width: 72px; height: 72px; object-fit: cover; }
.rv__empty { color: var(--ink-soft); }
.rv__all { justify-self: start; }
.rv--page { padding-top: clamp(32px, 5vw, 56px); }
.rv--page .rv-card { background: var(--bg); }  /* on the white page the cards are cream fields, like every other card on the site */
.rv--page .rv-card:not(.rv-card--top) { box-shadow: none; } /* taste-skill-ignore: removes the outline */
.rv-car__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.rv-car__head .sec-h { margin-bottom: 0; }
.rv-car__score { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink-soft); }
.rv-car__score b { color: var(--ink); }
.rv-car__nav { margin-left: auto; display: flex; gap: 6px; }
.rv-car__nav .icon-btn { background: var(--bg); }
.rv-car .rv__summary { margin-top: 14px; }
.rv-car__track { display: grid; align-items: start; grid-auto-flow: column; grid-auto-columns: minmax(260px, calc((100% - 32px) / 3)); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-top: 20px; padding-bottom: 2px; }
.rv-car__track::-webkit-scrollbar { display: none; }
.rv-car__track .rv-card { scroll-snap-align: start; }
.rv-car__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; }
@media (max-width: 760px) {
  .site-head__tools [data-cur] { display: none !important; }
  .site-head__in { grid-template-columns: 1fr auto 1fr; }
  .menu-btn { justify-self: start; }
  .site-head__tools { justify-self: end; }
  .rv-car__track { grid-auto-columns: 82%; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scroll-padding-inline: var(--gut); }
  .rv-car__nav { display: none; }
  .fbt__items { flex-direction: column; align-items: stretch; }
  .fbt__plus { align-self: center; }
}

/* ---------- reviews page top: the product card with its stars ---------- */
.rvp-top { padding-block: 20px 0; }
.rvp-top__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.rvp-top__img img { width: 100%; aspect-ratio: 1 / 1; max-height: calc(100vh - 140px); object-fit: cover; border-radius: var(--r); animation: img-in var(--dur-3) var(--ease-out); }
.rvp-top__text { display: grid; gap: 16px; justify-items: start; }
.rvp-top__text h1 { font-size: var(--fs-display); }
@media (max-width: 1000px) { .site-head__nav a[href="contact.html"] { display: none; } .site-head__nav a { padding: 10px 8px; } }
@media (max-width: 900px) {
  .pdp__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .fbt__items { flex-direction: column; align-items: stretch; }
  .fbt__plus { align-self: center; }
}
@media (max-width: 760px) {
  .pdp__grid { grid-template-columns: minmax(0, 1fr); }
  .rvp-top__grid { grid-template-columns: minmax(0, 1fr); }
  .rvp-top .wrap { padding-inline: 0; }
  .rvp-top__img img { border-radius: 0; }
  .rvp-top__text { padding-inline: var(--gut); }
  .rv-car__track { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }  /* inside the page margin: text never meets the screen edge; cards snap to the margin */
}
@media (max-width: 760px) { .buy .buy__acts { right: var(--gut); } }
