/* =====================================================================
   STORE.CSS: South Shore Research's layer over the shared template.

   base.css and components.css are shared by every store and untouched.
   This file is South Shore's design. Redesign, 12 Oct 2026, from the
   owner's reference (bluumpeptides.com): a quiet editorial store.

   - Near-white paper, near-black ink, one pale tide blue for the top bar,
     the soft buttons and the footer. Palette and contrast in tokens.css.
   - Very large, tight Geist headlines with one italic serif accent word,
     set in the logo's gradient (the one place the gradient is type).
   - Soft fog tiles behind every product shot, generous rounding, almost
     no lines and no decoration.
   - Where the reference has an empty hero frame, ours holds the studio
     shot and a real lot record from the data.

   No color is named here. Everything is a token from tokens.css.
   ===================================================================== */

/* ---- 0. Type and globals ---------------------------------------------- */

html { background: var(--bg); }
body { font-family: var(--font); background: var(--bg); color: var(--text-body); font-size: var(--fs-body); line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3, h4, .pcard__title, .cart-drawer__title, .faq-item summary { font-family: var(--font-display); }
h1, h2 { font-weight: var(--fw-bold); letter-spacing: -.045em; color: var(--text); text-wrap: balance; line-height: 1.02; }
h3 { text-wrap: balance; color: var(--text); font-weight: var(--fw-bold); letter-spacing: -.02em; }
h1 em, h2 em, .statement__text em {
  font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--accent); padding-right: .04em;
}
.dot { color: var(--accent); font-style: normal; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font: var(--fw-med) 12px/1.3 var(--font-mono); letter-spacing: var(--track-eyebrow);
  text-transform: uppercase; color: var(--text-dim);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); flex: none; }
a { color: var(--accent); }
::selection { background: var(--tide); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent-fill); outline-offset: 3px; }
input, select, textarea { color-scheme: light; }
[hidden] { display: none !important; }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 14px 26px; border: 0; border-radius: var(--radius-btn);
  font: var(--fw-med) 15px/1.2 var(--font); letter-spacing: 0; text-transform: none; text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
.btn svg { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--solid { background: var(--btn-bg); color: var(--btn-ink); border: 0; }
.btn--solid:hover { background: var(--btn-bg-hover); color: var(--btn-ink); }
.btn--soft { background: var(--btn-soft); color: var(--text); }
.btn--soft:hover { background: var(--btn-soft-hover); color: var(--text); }
.btn--ghost { background: transparent; color: var(--text); border: 0; box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { color: var(--text); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.btn--sm { min-height: 44px; padding: 10px 16px; font-size: 14px; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.btn__sep { opacity: .5; margin: 0 4px; }
.btn--atc { min-height: 58px; font-size: 16px; }

.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section--tight { padding-top: 48px; padding-bottom: 48px; }
.section--flush { padding-top: 0; padding-bottom: 0; }
.statement { padding-bottom: 48px; }
.section--alt { background: var(--bg-alt); border: 0; }

.sechead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 36px; }
.sechead h2 { margin: 0; font-size: var(--fs-h2); max-width: 20ch; }
.sechead .eyebrow { margin-bottom: 14px; }

/* ---- 1. Top bar and header -------------------------------------------- */

.topbar { background: var(--tide); color: var(--text); }
.topbar__in { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 10px; min-height: 40px; padding-top: 8px; padding-bottom: 8px; text-align: center; }
.topbar__ruo { margin: 0; font: var(--fw-med) 13px/1.4 var(--font); color: var(--text); }
.topbar__facts { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; font: 400 13px/1.4 var(--font); color: var(--text); }
.topbar__facts li::before { content: "\00b7"; margin-right: 10px; color: var(--text-dim); }

.site-header {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: var(--header-bg); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color var(--t-med);
}
.site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.brandmark { color: var(--text); min-height: 44px; display: inline-flex; align-items: center; justify-self: start; }
.brandmark img.brandmark__lockup { height: 30px; width: auto; display: block; }
.nav { display: flex; gap: 4px; margin: 0; }
.nav a { position: relative; padding: 10px 14px; border-radius: var(--radius-pill); font: var(--fw-med) 15px/1 var(--font); letter-spacing: 0; text-transform: none; color: var(--text); text-decoration: none; transition: background var(--t-fast); }
.nav a::after { display: none; }
.nav a:hover { background: var(--surface); color: var(--text); }
.nav a[aria-current="page"] { background: var(--surface); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 4px; }
.icon-btn { width: 44px; height: 44px; min-width: 44px; border: 0; border-radius: 50%; color: var(--text); background: transparent; }
.icon-btn:hover { background: var(--surface); color: var(--text); border: 0; }
.icon-btn svg { width: 20px; height: 20px; }
.cart-btn { position: relative; height: 44px; min-width: 44px; padding: 0 10px; gap: 6px; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--text); justify-content: center; }
.cart-btn:hover { background: var(--surface); color: var(--text); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-btn__count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--ink); color: var(--white); font: 600 10px/18px var(--font); }
.cart-btn:hover .cart-btn__count { background: var(--ink); color: var(--white); }
.cart-btn__label { display: none; }
.ordering-closed { padding: 10px 16px; text-align: center; font-size: 13.5px; line-height: 1.5; color: var(--text); background: var(--fog); border: 0; }
.drawer { background: var(--bg); }
.drawer .brandmark img.brandmark__lockup { height: 26px; }
.drawer__nav a { font: var(--fw-med) 26px/1.2 var(--font); letter-spacing: -.03em; text-transform: none; border-color: var(--line-soft); }
.drawer__nav a span { color: var(--text-dim); }
.drawer__tag { font-family: var(--font-mono); letter-spacing: .1em; }

/* ---- 2. Home hero ----------------------------------------------------- */

.lead { position: relative; padding: clamp(48px, 7vw, 96px) 0 0; background: var(--bg); overflow: visible; min-height: 0; display: block; }
.lead__in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.lead__kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 8px 16px 8px 12px; border-radius: var(--radius-pill); background: var(--surface); font: var(--fw-med) 14px/1.3 var(--font); color: var(--text); }
.vmark { position: relative; width: 18px; height: 18px; border-radius: 50%; background: var(--grad); flex: none; }
.vmark::after { content: ""; position: absolute; left: 6px; top: 3.5px; width: 5px; height: 9px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.lead h1 { font-size: var(--fs-hero); line-height: .98; letter-spacing: -.055em; margin: 0 0 26px; max-width: 13ch; }
.lead h1 em { letter-spacing: -.02em; }
.lead__lede { max-width: 60ch; margin: 0 auto 34px; font-size: 18px; line-height: 1.65; color: var(--text-body); }
.lead__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.lead__frame { position: relative; margin-top: clamp(48px, 6vw, 80px); border-radius: var(--radius-xl); overflow: hidden; background: var(--fog); aspect-ratio: 9 / 5; }
.lead__frame > img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* The readout: a real lot record from the data, floating on the frame. */
.readout {
  position: absolute; left: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); width: min(360px, calc(100% - 32px));
  padding: 20px 22px 14px; border-radius: var(--radius-lg); text-align: left;
  background: color-mix(in srgb, var(--white) 84%, transparent); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: var(--shadow-lift);
}
.readout__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; font: var(--fw-med) 12px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
.readout__ok { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--ok) 10%, var(--white)); color: var(--ok); letter-spacing: .04em; text-transform: none; font-family: var(--font); font-weight: 600; font-size: 12.5px; }
.readout__ok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.readout__rows, .readout__results { margin: 0; }
.readout__rows div, .readout__res { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid var(--line-faint); }
.readout dt { font: 400 13px/1.4 var(--font); color: var(--text-dim); }
.readout dd { margin: 0; font: 500 13px/1.4 var(--font-mono); color: var(--text); text-align: right; overflow-wrap: anywhere; }
.readout__results { margin-top: 8px; padding: 2px 12px; border-radius: var(--radius-sm); background: var(--tide-2); }
.readout__res:last-child { border-bottom: 0; }
.readout__res dd { color: var(--accent); font-weight: 600; }
.readout__go { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 2px; font: var(--fw-med) 14px/1 var(--font); color: var(--text); text-decoration: none; }
.readout__go svg { width: 15px; height: 15px; transition: transform var(--t-fast); }
.readout__go:hover svg { transform: translateX(3px); }

/* Four computed figures under the frame. */
.figures { list-style: none; margin: 0; padding: 28px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.figures li { padding: 22px 24px; border-radius: var(--radius); background: var(--surface); }
.figures b { display: block; font: var(--fw-bold) clamp(34px, 3.6vw, 52px)/1 var(--font-display); letter-spacing: -.05em; color: var(--text); }
.figures span { display: block; margin-top: 10px; font-size: 14px; line-height: 1.4; color: var(--text-dim); }

/* ---- 3. Statement and the feature accordion --------------------------- */

.statement { text-align: center; }
.statement__text { margin: 0 auto; max-width: 30ch; font: var(--fw-med) clamp(28px, 3.6vw, 50px)/1.12 var(--font-display); letter-spacing: -.04em; color: var(--text); text-wrap: balance; }
.statement__text em { font-size: 1.06em; }
.statement .ul { text-decoration: underline; text-decoration-thickness: .06em; text-underline-offset: .14em; text-decoration-color: var(--cobalt); }

.feat__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.feat__list { display: flex; flex-direction: column; gap: 12px; }
.feat__item { border-radius: var(--radius-lg); background: var(--surface); transition: background var(--t-med); }
.feat__item[open] { background: var(--fog-2); }
.feat__item summary { display: flex; align-items: center; gap: 16px; padding: 24px 26px; min-height: 76px; cursor: pointer; list-style: none; color: var(--text-dim); }
.feat__item summary::-webkit-details-marker { display: none; }
.feat__item[open] summary { color: var(--text); padding-bottom: 10px; }
.feat__item summary:hover { color: var(--text); }
.feat__n { flex: none; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--white); font: 500 12px/1 var(--font-mono); color: var(--text-dim); }
.feat__item[open] .feat__n { background: var(--grad); color: var(--white); }
.feat__t { font: var(--fw-med) clamp(19px, 1.8vw, 23px)/1.25 var(--font-display); letter-spacing: -.025em; }
.feat__item p { margin: 0; padding: 0 26px 26px 76px; font-size: 16px; line-height: 1.7; color: var(--text-body); max-width: 56ch; }
.feat__cta { align-self: flex-start; margin-top: 8px; }
.feat__media { position: relative; border-radius: var(--radius-xl); overflow: hidden; background: var(--fog); min-height: 460px; }
.feat__media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---- 4. Products ------------------------------------------------------ */

.cpills, .toolbar__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.cpill, .chip-f {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--radius-sm);
  background: var(--white); box-shadow: inset 0 0 0 1px var(--line-soft); border: 0;
  font: var(--fw-med) 14px/1 var(--font); letter-spacing: 0; text-transform: none; color: var(--text); text-decoration: none; cursor: pointer;
  transition: box-shadow var(--t-fast), background var(--t-fast);
}
.cpill span, .chip-f span { font: 500 11px/1 var(--font-mono); color: var(--text-dim); margin: 0; }
.cpill:hover, .chip-f:hover { box-shadow: inset 0 0 0 1px var(--line); color: var(--text); }
.cpill.is-on, .chip-f.is-on { box-shadow: inset 0 0 0 1.5px var(--ink); background: var(--white); color: var(--text); }
.cpill.is-on span, .chip-f.is-on span { color: var(--text-dim); opacity: 1; }

.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 20px; list-style: none; padding: 0; margin: 0; }
.pcard { position: relative; display: flex; flex-direction: column; text-align: left; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; transform: none; }
.pcard:hover { transform: none; border: 0; }
.pcard__media { position: relative; margin: 0 0 16px; border-radius: var(--radius-lg); overflow: hidden; background: var(--media-bg); }
.pcard__img { display: block; }
.pcard__media img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 50%; margin: 0; max-width: none; transition: transform .7s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.035); }
.pcard__add {
  position: absolute; right: 14px; bottom: 14px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  background: var(--white); color: var(--text); box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--ink) 40%, transparent);
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.pcard__add svg { width: 20px; height: 20px; }
.pcard__add:hover { background: var(--ink); color: var(--white); transform: scale(1.05); }
.pcard__flag { position: absolute; left: 14px; bottom: 14px; z-index: 2; padding: 7px 12px; border-radius: var(--radius-sm); background: var(--white); font: var(--fw-med) 12.5px/1.2 var(--font); color: var(--text-dim); box-shadow: 0 6px 18px -10px color-mix(in srgb, var(--ink) 40%, transparent); }
.pcard__flag--ok { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); }
.pcard__flag--ok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.pcard__body { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pcard__title { margin: 0; min-height: 0; font: var(--fw-med) 17px/1.3 var(--font-display); letter-spacing: -.02em; text-transform: none; color: var(--text); }
.pcard__title a { color: var(--text); text-decoration: none; }
.pcard__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pcard__price { margin: 0; flex: none; font: 500 15px/1.3 var(--font); color: var(--text); }
.pcard__cat { margin: 4px 0 12px; font-size: 13.5px; color: var(--text-dim); letter-spacing: 0; text-transform: none; font-family: var(--font); }
.pcard__vars { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; min-height: 0; justify-content: flex-start; }
.badge { position: absolute; top: 14px; left: 14px; right: auto; z-index: 2; padding: 6px 11px; border-radius: var(--radius-pill); background: var(--ink); color: var(--white); font: 600 11px/1.2 var(--font); letter-spacing: .02em; text-transform: none; }

.vpill {
  position: relative; display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: var(--radius-sm);
  font: 500 12.5px/1 var(--font-mono); letter-spacing: 0; color: var(--text); background: var(--white);
  border: 0; box-shadow: inset 0 0 0 1px var(--line-soft); cursor: pointer; transition: box-shadow var(--t-fast), background var(--t-fast);
}
.vpill:hover { box-shadow: inset 0 0 0 1px var(--line); }
.vpill.is-on { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--text); background: var(--white); }
.vpill.is-static { cursor: default; background: var(--surface); box-shadow: none; }
.vpill.is-pending { opacity: 1; text-decoration: line-through; color: var(--text-dim); background: transparent; box-shadow: inset 0 0 0 1px var(--line-faint); cursor: not-allowed; }
.vpill.is-pending.is-on { box-shadow: inset 0 0 0 1.5px var(--text-dim); }
.vpill::after { content: ""; position: absolute; left: 0; right: 0; top: -5px; bottom: -5px; }

.pcard__pending, .stickybar__pending {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 14px;
  border-radius: var(--radius-sm); background: var(--surface); border: 0; opacity: 1;
  font: var(--fw-med) 13px/1.3 var(--font); letter-spacing: 0; text-transform: none; color: var(--text-dim); text-align: center;
}
.pending { border: 0; border-radius: var(--radius); background: var(--surface); padding: 18px 20px; margin: 22px 0 0; opacity: 1; color: var(--text); }
.pending__head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font: var(--fw-bold) 15px/1.3 var(--font); letter-spacing: 0; text-transform: none; color: var(--text); }
.pending__head::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--text-dim); }
.pending p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text-body); }

/* ---- 5. Set band ------------------------------------------------------ */

.setband { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(36px, 5vw, 72px); border-radius: var(--radius-xl); background: var(--tide); }
.setband h2 { font-size: var(--fs-h2); margin: 0 0 18px; max-width: 16ch; }
.setband p { max-width: 50ch; margin: 0 0 28px; color: var(--text-body); font-size: 17px; }
.setband__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.setband .btn--ghost { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 22%, transparent); }
.setband .btn--ghost:hover { background: color-mix(in srgb, var(--white) 50%, transparent); }
.byo-band__tiers { display: flex; gap: 10px; }
.byo-tier { min-width: 124px; padding: 24px 20px 20px; border-radius: var(--radius-lg); background: var(--white); border: 0; text-align: center; }
.byo-tier b { display: block; font: var(--fw-bold) 40px/1 var(--font-display); letter-spacing: -.05em; color: var(--text); }
.byo-tier span { display: block; margin-top: 10px; font-size: 13px; color: var(--text-dim); letter-spacing: 0; text-transform: none; }

/* ---- 6. Lab report cards and library ---------------------------------- */

.rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.rcard { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 0; box-shadow: none; }
.rcard__kind { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; font: var(--fw-med) 13px/1.3 var(--font); color: var(--text); }
.rcard--lot .rcard__kind { color: var(--ok); }
.rcard--lot .rcard__kind::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-right: -4px; }
.rcard__kind span { margin-left: auto; color: var(--text-dim); font-weight: 400; }
.rcard__title { font-size: 21px; margin: 0; letter-spacing: -.03em; }
.rcard__title a { text-decoration: none; color: var(--text); }
.rcard__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.rcard__meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 14px; border-radius: var(--radius-sm); background: var(--white); }
.rcard__meta dt, .rcard__res dt { font: 400 12px/1.3 var(--font); color: var(--text-dim); }
.rcard__meta dd { margin: 4px 0 0; font: 500 13px/1.35 var(--font-mono); color: var(--text); overflow-wrap: anywhere; }
.rcard__test { margin: 0; font-size: 13.5px; color: var(--text-dim); }
.rcard__results { margin: 0; }
.rcard__res { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-faint); }
.rcard__res dd { margin: 0; font: 600 14px/1.35 var(--font-mono); color: var(--accent); text-align: right; }
.rcard__note, .rcard__rel { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text-body); }
.rcard__verify { margin-top: auto; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--white); box-shadow: none; font-size: 14px; line-height: 1.6; color: var(--text); }
.rcard__verify span { display: block; font: 500 11px/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 4px; }
.rcard__verify a { color: var(--accent); }
.rcard__verify b { font-family: var(--font-mono); font-weight: 600; overflow-wrap: anywhere; }
.rcard__file { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.coa__intro { margin: -14px 0 24px; max-width: 70ch; }
.coa__head { margin-bottom: 14px; font: 500 12px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
.coa__empty { padding: 20px 22px; border: 0; border-radius: var(--radius); background: var(--surface); color: var(--text-dim); max-width: 760px; }
.rsearch { max-width: 640px; margin: 0 0 24px; }
.rsearch__label { display: block; font: var(--fw-med) 14px/1.3 var(--font); color: var(--text); margin-bottom: 8px; }
.rsearch__input { width: 100%; min-height: 54px; padding: 12px 20px; font: 16px var(--font); color: var(--text); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.rsearch__input:focus { outline: 2px solid var(--accent-fill); outline-offset: 1px; }
.rsearch__status { margin: 8px 0 0; font-size: 13px; color: var(--text-dim); }

/* ---- 7. FAQ: the heading left, the questions right -------------------- */

.faq { overflow: visible; }
.faq::before, .faq::after, .faq__in::before, .faq__in::after { content: none !important; display: none !important; }
.faq__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 88px); align-items: start; }
.faq__head { position: sticky; top: 110px; }
.faq__head h2 { margin: 0 0 18px; font-size: var(--fs-h2); }
.faq__head p { color: var(--text-dim); max-width: 36ch; margin: 0; }
.faq-item { background: transparent; border: 0; border-bottom: 1px solid var(--line-soft); border-radius: 0; margin: 0; }
.faq-item:hover { border-color: var(--line-soft); }
.faq-item[open] { border-color: var(--line-soft); }
.faq__list .faq-item:first-child { border-top: 1px solid var(--line-soft); }
.faq-item summary {
  position: relative; display: flex; align-items: center; justify-content: flex-start; gap: 16px;
  min-height: 72px; padding: 16px 0; font: var(--fw-med) clamp(17px, 1.5vw, 20px)/1.35 var(--font-display); letter-spacing: -.02em; color: var(--text); text-transform: none;
}
.faq-item summary::before { content: ""; order: -1; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--surface); }
.faq-item summary::after {
  content: "+"; position: absolute; left: 0; top: 50%; width: 30px; margin-top: -15px;
  font: 400 18px/30px var(--font); text-align: center; color: var(--text); transition: transform var(--t-med) var(--ease);
}
.faq-item[open] summary { color: var(--text); }
.faq-item[open] summary::after { content: "+"; transform: rotate(45deg); }
.faq-item__body { padding: 0 0 22px 46px; border: 0; color: var(--text-body); font-size: 16px; line-height: 1.75; }
.faq-item__body p { margin: 0 0 10px; max-width: 64ch; }
.pdp__info .faq-item summary { min-height: 60px; font-size: 16px; }
.pdp__info .faq-item:first-of-type { border-top: 1px solid var(--line-soft); }

/* ---- 8. Page head and prose ------------------------------------------- */

.phead { position: relative; background: var(--bg); border: 0; overflow: visible; padding-top: 16px; }
.phead__card { position: relative; display: flex; align-items: flex-end; min-height: clamp(300px, 30vw, 420px); border-radius: var(--radius-xl); overflow: hidden; background: var(--ink); isolation: isolate; }
.phead__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
/* Ink scrim: heaviest under the type (bottom left), so white text keeps
   at least the AA ratio wherever the photograph is light. */
.phead__card::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, color-mix(in srgb, var(--ink) 82%, transparent) 0%, color-mix(in srgb, var(--ink) 58%, transparent) 55%, color-mix(in srgb, var(--ink) 18%, transparent) 100%),
              linear-gradient(0deg, color-mix(in srgb, var(--ink) 45%, transparent) 0%, transparent 60%); }
.phead__in { position: relative; padding: clamp(28px, 4vw, 56px); max-width: 860px; }
.phead .eyebrow { color: color-mix(in srgb, var(--white) 82%, transparent); }
.phead h1 { font-size: clamp(40px, 5.6vw, 84px); line-height: .98; letter-spacing: -.055em; margin: 0; max-width: 16ch; color: var(--white); }
.phead h1 .dot { color: var(--surf); }
.phead h1 em { background: linear-gradient(110deg, var(--surf), #7FD4FF); -webkit-background-clip: text; background-clip: text; }
.phead__lede { max-width: 60ch; margin: 18px 0 0; font-size: 17px; line-height: 1.6; color: color-mix(in srgb, var(--white) 88%, transparent); }
.phead + .section, .phead + .section--tight { padding-top: 48px; }

.prose p { line-height: 1.8; margin: 0 0 14px; }
.prose__note { font-size: var(--fs-small); color: var(--text-dim); padding: 14px 16px; border-radius: var(--radius-sm); background: var(--surface); border: 0; }
.prose--page { max-width: 760px; }
.prose--page h2 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.035em; margin: 40px 0 12px; }
.prose--page ul { padding-left: 20px; display: grid; gap: 8px; margin: 0 0 16px; }
.prose--page a { color: var(--accent); }
.prose--page ul.assumptions li { color: var(--text-dim); }
.draftbanner { border: 0; border-radius: var(--radius); background: var(--tide-2); padding: 16px 18px; margin-bottom: 26px; font-size: var(--fs-small); color: var(--text); }
.notfound { display: flex; gap: 12px; flex-wrap: wrap; }
.legal-updated { font-size: 13px; color: var(--text-dim); margin: 0 0 18px; }

/* ---- 9. Catalog toolbar ----------------------------------------------- */

.toolbar { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 16px; margin-bottom: 32px; padding: 0; border: 0; }
.toolbar__chips { margin: 0; }
.toolbar__sort { display: flex; align-items: center; gap: 10px; font: var(--fw-med) 14px/1 var(--font); letter-spacing: 0; text-transform: none; color: var(--text-dim); }
.toolbar__sort select, .bitem__sel { min-height: 44px; font: 14px var(--font); color: var(--text); background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 8px 12px; }
.cat-empty { text-align: center; padding: 40px 0; color: var(--text-dim); }

/* ---- 10. Product page ------------------------------------------------- */

.pdp-sec { padding-top: 24px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--text-dim); margin-bottom: 24px; }
.crumbs a { position: relative; color: var(--text-dim); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs a::after { content: ""; position: absolute; left: -8px; right: -8px; top: -12px; bottom: -12px; }
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 72px); align-items: start; }
.pdp__gallery { position: sticky; top: 96px; }
.pdp__media { position: relative; overflow: hidden; border-radius: var(--radius-xl); background: var(--media-bg); border: 0; }
.pdp__media > img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 50%; }
.pdp__media--set { padding: 28px; }
.mchips { position: absolute; left: 16px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.mchips span { padding: 7px 12px; border-radius: var(--radius-pill); border: 0; background: color-mix(in srgb, var(--white) 86%, transparent); backdrop-filter: blur(8px); font: var(--fw-med) 12px/1 var(--font); letter-spacing: 0; text-transform: none; color: var(--text); }
.pdp__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumb { width: 84px; height: 84px; padding: 0; overflow: hidden; cursor: pointer; border: 0; border-radius: var(--radius); background: var(--media-bg); box-shadow: inset 0 0 0 1px transparent; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-on { box-shadow: 0 0 0 2px var(--ink); }

.pbadges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.pbadge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 0; border-radius: var(--radius-pill); background: var(--surface); font: var(--fw-med) 12.5px/1.2 var(--font); letter-spacing: 0; text-transform: none; color: var(--text-body); }
.pbadge--gold { background: var(--ink); color: var(--white); }
.pbadge--ok { background: color-mix(in srgb, var(--ok) 10%, var(--white)); color: var(--ok); }
.pbadge--ok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.pdp__info .eyebrow { margin-bottom: 8px; }
.pdp__title { font-size: clamp(36px, 4vw, 56px); line-height: 1; letter-spacing: -.05em; margin: 0 0 14px; }
.pdp__lede { font-size: 16px; line-height: 1.7; max-width: 54ch; margin: 0; }
.pdp__pricerow { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin: 22px 0 4px; }
.pdp__price { font: var(--fw-bold) 32px/1 var(--font-display); letter-spacing: -.03em; color: var(--text); }
.pdp__compare { font-size: 17px; color: var(--text-dim); }
.pdp__per { font-size: var(--fs-small); color: var(--text-dim); }

.opt { margin-top: 24px; }
.opt__label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; font: var(--fw-bold) 14px/1.3 var(--font); letter-spacing: 0; text-transform: none; color: var(--text); }
.opt__label span { font-weight: 400; color: var(--text-dim); }
.vpills { display: flex; flex-wrap: wrap; gap: 8px; }
.vpills .vpill { min-height: 46px; padding: 0 18px; font-size: 14px; }

/* The reference's quantity cards: one column each, the radio on top. */
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tier {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px; text-align: center; cursor: pointer;
  padding: 20px 8px 16px; border-radius: var(--radius); border: 0; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-soft);
  transition: box-shadow var(--t-fast), background var(--t-fast);
}
.tier:hover { box-shadow: inset 0 0 0 1px var(--line); }
.tier.is-on { box-shadow: inset 0 0 0 1.5px var(--ink); background: var(--white); }
.tier input { accent-color: var(--ink); width: 16px; height: 16px; margin: 0 0 4px; flex: none; }
.tier__main { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; flex: none; }
.tier__q { display: block; font: var(--fw-bold) 15px/1.2 var(--font); color: var(--text); }
.tier__ea { display: block; font-size: 12px; color: var(--text-dim); margin: 0; }
.tier__right { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.tier__tag { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 4px 9px; border-radius: var(--radius-pill); background: var(--tide); color: var(--text); font: var(--fw-bold) 10.5px/1.2 var(--font); letter-spacing: 0; text-transform: none; }
.tier__save { font-size: 12px; color: var(--accent); white-space: nowrap; }
.tier__total { min-width: 0; font: var(--fw-bold) 15px/1.2 var(--font); color: var(--text); }
.btn--atc { margin-top: 22px; }
.ruo-line { margin: 12px 0 0; font-size: 12.5px; color: var(--text-dim); text-align: center; }
.coalink { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-size: var(--fs-small); color: var(--text); text-decoration: underline; text-underline-offset: 3px; border: 0; }

.shipbar { margin-top: 14px; padding: 14px 16px; border-radius: var(--radius); background: var(--surface); }
.shipbar__msg { font-size: 13.5px; color: var(--text); margin-bottom: 8px; }
.shipbar__track { height: 4px; background: var(--white); border-radius: 4px; overflow: hidden; }
.shipbar__track i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 4px; transition: width .4s var(--ease); }

/* The reference's icon row under the add button. */
.trustrow { list-style: none; padding: 0; margin: 24px 0 24px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.trustrow li { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0; border: 0; text-align: center; font-size: 12px; line-height: 1.3; color: var(--text-body); }
.trustrow__i { width: 44px; height: 44px; border-radius: 50%; background: var(--surface); display: inline-flex; align-items: center; justify-content: center; color: var(--text); }
.trustrow__i svg { width: 21px; height: 21px; }
.trustrow b { font-weight: var(--fw-med); color: var(--text); font-size: 12px; margin: 0; }
.trustrow a { color: var(--accent); }

.fbt { margin-top: 22px; padding: 18px; border: 0; border-radius: var(--radius); background: var(--tide-2); }
.fbt__title { font: var(--fw-bold) 14px/1 var(--font); letter-spacing: 0; text-transform: none; color: var(--text); margin-bottom: 10px; }
.fbt__row { display: flex; align-items: center; gap: 14px; padding: 10px 0; }
.fbt__row + .fbt__row { border-top: 1px solid var(--line-soft); }
.fbt__mid { flex: 1; min-width: 0; }
.fbt__name { font: var(--fw-bold) 14.5px var(--font); color: var(--text); text-decoration: none; }
.fbt__parts { font-size: 12.5px; color: var(--text-dim); margin: 2px 0 4px; }
.fbt__price { display: flex; align-items: baseline; gap: 8px; font-size: 13px; }
.fbt__price ins { text-decoration: none; color: var(--text); font-weight: var(--fw-bold); }
.fbt__price del { color: var(--text-dim); }
.fbt__price span { font-size: 12px; color: var(--accent); }

.specs { margin: 0; }
.spec { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line-faint); font-size: 14px; }
.spec dt { color: var(--text-dim); font: 400 13px/1.4 var(--font); padding-top: 1px; letter-spacing: 0; text-transform: none; }
.spec dd { margin: 0; color: var(--text); overflow-wrap: anywhere; font-family: var(--font-mono); font-size: 13px; }

.pdp__detail { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.pdp__detail h2 { margin: 0 0 18px; font-size: clamp(30px, 3.4vw, 46px); }
.footer-notice--card { padding: 24px; border: 0; border-radius: var(--radius-lg); background: var(--white); }
.footer-notice--card .footer-notice__label { display: block; margin-bottom: 8px; }
.footer-notice--card p { color: var(--text-body); font-size: 14px; }

.bcomps { list-style: none; padding: 0; margin: 0; border-radius: var(--radius); background: var(--surface); }
.bcomp { display: flex; align-items: center; gap: 14px; padding: 10px 14px; }
.bcomp + .bcomp { border-top: 1px solid var(--line-faint); }
.bcomp img { width: 52px; height: 52px; object-fit: cover; border-radius: var(--radius-sm); background: var(--white); }
.bcomp div { flex: 1; min-width: 0; }
.bcomp a { display: block; font: var(--fw-bold) 14.5px var(--font); color: var(--text); text-decoration: none; }
.bcomp span { font-size: 12.5px; color: var(--text-dim); }
.bcomp .bcomp__price { color: var(--text); font-size: 14px; }

.stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky); background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line-soft); transform: translateY(100%); transition: transform var(--t-med) var(--ease); }
.stickybar.is-on { transform: none; }
.stickybar__in { display: flex; align-items: center; gap: 14px; padding-top: 10px; padding-bottom: 10px; }
.stickybar img { width: 48px; height: 48px; object-fit: cover; border-radius: var(--radius-sm); background: var(--fog); }
.stickybar__mid { flex: 1; min-width: 0; }
.stickybar__name { font: var(--fw-bold) 15px var(--font); color: var(--text); }
.stickybar__sub { font-size: 12.5px; color: var(--text-dim); }
.stickybar__total { font: var(--fw-bold) 17px var(--font); color: var(--text); }

/* ---- 11. Sets and the builder ---------------------------------------- */

.bgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bcard { position: relative; display: flex; flex-direction: column; border: 0; border-radius: var(--radius-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line-faint); overflow: hidden; transition: box-shadow var(--t-med), transform var(--t-med); }
.bcard:hover { box-shadow: inset 0 0 0 1px var(--line-soft), var(--shadow); transform: translateY(-2px); }
.bcard .badge { top: 14px; left: 14px; }
.bcard__media { display: block; padding: 18px; background: var(--media-bg); border: 0; }
.bcard__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.bcard__save { font: var(--fw-med) 13px/1 var(--font); letter-spacing: 0; text-transform: none; color: var(--accent); }
.bcard__title { margin: 10px 0 8px; font-size: 22px; letter-spacing: -.03em; }
.bcard__title a { position: relative; color: var(--text); text-decoration: none; }
.bcard__blurb { font-size: var(--fs-small); line-height: 1.6; margin: 0 0 14px; }
.bcard__list { list-style: none; padding: 0; margin: 0 0 18px; border-top: 1px solid var(--line-faint); }
.bcard__list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line-faint); font-size: var(--fs-small); }
.bcard__list a { position: relative; color: var(--text); text-decoration: none; }
.bcard__list a:hover { text-decoration: underline; }
.bcard__list a::after { content: ""; position: absolute; left: -12px; right: -12px; top: -10px; bottom: -10px; }
.bcard__list span { color: var(--text-dim); font-family: var(--font-mono); font-size: 12px; }
.bcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bcard__price ins { text-decoration: none; font: var(--fw-bold) 24px/1 var(--font); letter-spacing: -.03em; color: var(--text); }
.bcard__price del { display: block; margin-top: 4px; font-size: var(--fs-small); color: var(--text-dim); }

/* Vials side by side, each a square tile, shrinking to fit the card. */
.bimgs { display: flex; justify-content: center; align-items: center; gap: 6px; width: 100%; overflow: hidden; }
.bimgs img { flex: 0 1 108px; min-width: 0; width: 108px; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-sm); background: var(--white); }
.bimgs__more { flex: none; align-self: center; margin-left: 4px; padding: 8px 10px; border: 0; border-radius: var(--radius-pill); background: var(--white); font: var(--fw-bold) 13px/1 var(--font); color: var(--text); }
.bimgs--mini { width: 96px; flex: none; gap: 2px; }
.bimgs--mini img { flex-basis: 30px; border-radius: 6px; }
.bimgs--mini .bimgs__more { display: none; }
.bimgs--big { flex-wrap: wrap; gap: 10px; }
.bimgs--big img { flex: 0 1 30%; width: 30%; }
.bimgs--big .bimgs__more { font-size: 16px; }

.byo-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.byo-steps li { font-size: 13px; color: var(--text-dim); padding: 10px 14px; border: 0; border-radius: var(--radius-pill); background: var(--white); box-shadow: inset 0 0 0 1px var(--line-soft); transition: all var(--t-fast); }
.byo-steps li b { color: var(--text); }
.byo-steps li.is-on { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--text); }
.builder { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.builder__items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bitem { display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border: 0; border-radius: var(--radius); background: var(--white); box-shadow: inset 0 0 0 1px var(--line-faint); transition: box-shadow var(--t-fast); }
.bitem.is-on { box-shadow: inset 0 0 0 1.5px var(--ink); background: var(--white); }
.bitem__img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm); background: var(--fog); flex: none; }
.bitem__mid { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.bitem__name { font: var(--fw-bold) 15px var(--font); color: var(--text); }
.bitem__str { font-size: 12.5px; color: var(--text-dim); font-family: var(--font-mono); }
.bitem__sel { min-height: 36px; padding: 4px 8px; font-size: 13px; }
.bitem__price { font-size: 14px; color: var(--text); font-weight: var(--fw-bold); }
.bitem__toggle { flex: none; min-width: 72px; min-height: 44px; padding: 0 12px; cursor: pointer; font: var(--fw-med) 14px/1 var(--font); letter-spacing: 0; text-transform: none; color: var(--text); background: var(--surface); border: 0; border-radius: var(--radius-sm); }
.bitem__toggle:hover { background: var(--surface-hover); }
.bitem.is-on .bitem__toggle { background: var(--ink); color: var(--white); }
.builder__sum { position: sticky; top: 100px; padding: 26px; border-radius: var(--radius-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line-soft); border: 0; }
.builder__title { display: flex; justify-content: space-between; font: var(--fw-bold) 20px var(--font); letter-spacing: -.02em; color: var(--text); margin-bottom: 12px; }
.builder__title span { color: var(--accent); }
.builder__list { list-style: none; padding: 0; margin: 0 0 16px; border-top: 1px solid var(--line-faint); }
.builder__list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line-faint); font-size: 13.5px; }
.builder__list b { color: var(--text); font-weight: 600; }
.builder__empty { color: var(--text-dim); justify-content: flex-start !important; }
.builder__prog { margin-bottom: 14px; }
.builder__bar { height: 5px; border-radius: 5px; background: var(--surface); overflow: hidden; }
.builder__bar i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .4s var(--ease); }
.builder__msg { font-size: 13px; margin-top: 8px; color: var(--text-dim); }
.builder__msg b { color: var(--accent); }
.builder__row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.builder__row--save { color: var(--accent); }
.builder__row--total { font: var(--fw-bold) 22px var(--font); letter-spacing: -.02em; color: var(--text); padding: 12px 0 16px; }
.builder__share { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; margin-top: 6px; padding: 10px; cursor: pointer; background: none; border: 0; color: var(--text-dim); font-size: 13px; text-decoration: underline; }
.builder__share[disabled] { opacity: .35; cursor: not-allowed; }
.builder__fine { font-size: 12px; color: var(--text-dim); margin-top: 8px; }

/* ---- 12. Footer ------------------------------------------------------- */

.site-footer { position: relative; margin-top: 0; background: var(--tide); border: 0; color: var(--text-body); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 6vw, 96px); padding: clamp(56px, 6vw, 88px) 0 48px; }
.footer-logo { display: block; width: 240px; max-width: 100%; height: auto; margin: 0 0 20px; }
.footer-brand__lede { margin: 0 0 20px; max-width: 40ch; font-size: 15px; line-height: 1.6; color: var(--text); }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-col h4 { display: block; margin: 0 0 12px; font: var(--fw-bold) 14px/1.3 var(--font); letter-spacing: 0; text-transform: none; color: var(--text); }
.footer-col h4::before { display: none; }
.footer-col a { display: flex; align-items: center; min-height: 40px; padding: 0; font: 400 15px/1.3 var(--font); letter-spacing: 0; text-transform: none; color: var(--text); text-decoration: none; transition: opacity var(--t-fast); }
.footer-col a:hover { color: var(--text); padding-left: 0; text-decoration: underline; text-underline-offset: 3px; }
.footer-col a[href^="mailto:"] { overflow-wrap: anywhere; }
.footer-social { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 18px 0; border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
.footer-social__label { font-size: 13px; font-weight: 600; color: var(--text); margin-right: 6px; }
.footer-social a { font-size: 14px; color: var(--text); text-decoration: none; }
.footer-social a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding: 20px 0; border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
.footer-bottom span { font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--text); }
.footer-notice { margin: 0 auto; padding: 18px 22px; margin-bottom: 32px; border: 0; border-radius: var(--radius); background: color-mix(in srgb, var(--white) 55%, transparent); }
.footer-notice p { margin: 0; font-size: 12.5px; line-height: 1.7; color: var(--text); }
.footer-notice__label { margin: 0; font: var(--fw-bold) 12.5px/1.7 var(--font); letter-spacing: 0; text-transform: none; color: var(--text); }

/* Newsletter, in the footer's brand column */
.news { max-width: 440px; }
.news__label { display: block; font: var(--fw-med) 13px/1.3 var(--font); letter-spacing: 0; text-transform: none; color: var(--text); margin-bottom: 8px; }
.news__row { display: flex; gap: 8px; }
.news__row input[type="email"] { flex: 1; min-width: 0; min-height: 50px; padding: 12px 16px; font: 16px/1.4 var(--font); color: var(--text); background: var(--white); border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); border-radius: var(--radius-btn); }
.news__row input::placeholder { color: var(--text-dim); }
.news__consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--text); cursor: pointer; }

/* ---- 13. Gate: one modal card over the blurred page ------------------- */

.gate { background: color-mix(in srgb, var(--ink) 28%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); align-items: center; justify-content: center; overflow-y: auto; padding: 24px 16px; color: var(--text-body); }
.gate__body {
  position: relative; flex: 0 1 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch;
  width: min(980px, 100%); margin: auto; min-height: 0; max-height: none; border-radius: var(--radius-xl); overflow: hidden;
  background: var(--paper); box-shadow: 0 40px 100px -30px color-mix(in srgb, var(--ink) 60%, transparent);
}
.gate__art { position: relative; background: var(--fog); min-height: 100%; }
.gate__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.gate__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 48px); overflow: visible; }
.gate__logo { display: block; width: 210px; max-width: 70%; height: auto; margin: 0 0 28px; }
.gate__title { margin: 0 0 10px; font: var(--fw-bold) clamp(28px, 3vw, 38px)/1.05 var(--font-display); text-transform: none; letter-spacing: -.045em; color: var(--text); }
.gate__copy { max-width: none; margin: 0 0 20px; font-size: 15px; line-height: 1.6; }
.gate__error { margin-bottom: 12px; }
.gate__checks { max-width: none; margin-bottom: 18px; }
.gate__checks label { gap: 12px; margin-bottom: 8px; padding: 14px 16px; border: 0; border-radius: var(--radius); background: var(--white); box-shadow: inset 0 0 0 1px var(--line-soft); font-size: 14px; line-height: 1.5; }
.gate__checks label:hover { box-shadow: inset 0 0 0 1px var(--line); }
.gate__checks label:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--ink); background: var(--white); }
.gate__checks input[type="checkbox"] { accent-color: var(--ink); width: 19px; height: 19px; }
.gate__actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; max-width: none; }
.gate__actions .btn { width: 100%; }
.gate__ruo { margin: 16px 0 0; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface); font-size: 12.5px; line-height: 1.5; text-align: center; color: var(--text-body); }
html.ssr-gate { overflow: hidden; }
html.ssr-gate #researcher-gate { display: flex; }

/* ---- 14. Cart drawer, search, help ------------------------------------ */

.cart-drawer, .search-overlay { background: var(--paper); }
.cart-drawer__title { font-weight: var(--fw-bold); letter-spacing: -.02em; text-transform: none; }
.search-input { color: var(--text); border-color: var(--line); font-family: var(--font-display); letter-spacing: -.03em; }
.reward__bar { background: var(--surface); border-radius: 4px; }
.reward__bar i { background: var(--grad); border-radius: 4px; }
.cart-viewall { display: flex; align-items: center; justify-content: center; min-height: 44px; margin: 6px 0 2px; font-size: 13px; color: var(--text-dim); }
.cart-ruo { font-size: 12px; color: var(--text-dim); margin: -4px 0 12px; }
.line__meta { font-size: 12px; color: var(--text-dim); margin: 2px 0 6px; line-height: 1.4; }
.line img, .rec img { object-fit: cover; border-radius: var(--radius-sm); background: var(--fog); }

/* =====================================================================
   PORTED: cart page, checkout, report history, opt-ins (previous design)
   ===================================================================== */

.cartgrid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(280px, 28vw, 360px); gap: clamp(28px, 4vw, 60px); align-items: start; }
.cartlines { min-width: 0; }
.cartline { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 18px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.cartline:first-child { padding-top: 0; }
.cartline:last-child { border-bottom: 0; }
.cartline__img { width: 84px; height: 112px; object-fit: cover; border-radius: var(--radius-sm); background: var(--surface); }
.cartline__mid { min-width: 0; }
.cartline__name { display: block; font: var(--fw-bold) 15px var(--font-display); color: var(--text); text-decoration: none; margin-bottom: 4px; }
.cartline__name:hover { color: var(--accent); }
.cartline__each, .cartline__tier, .cartline__next { font-size: 11px; font-family: var(--font-mono); letter-spacing: .04em; }
.cartline__each { color: var(--text-dim); margin-bottom: 2px; }
.cartline__tier { color: var(--accent); }
.cartline__next { color: var(--text-faint); }
.cartline .qty { margin-top: 12px; }
.cartline__right { text-align: right; white-space: nowrap; }
.cartline__price { font-weight: var(--fw-bold); color: var(--text); }
.cartline__price del { display: block; font-weight: 400; color: var(--text-faint); font-size: var(--fs-small); }
.cartline__remove { margin-top: 8px; background: none; border: 0; padding: 6px 0; font-size: 10px; font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); cursor: pointer; }
.cartline__remove:hover { color: var(--text-error); }
.cartsum { position: sticky; top: 104px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px 24px; }
.cartsum__row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; font-size: var(--fs-small); color: var(--text-body); border-bottom: 1px solid var(--line-soft); }
.cartsum .eyebrow + .cartsum__row { border-top: 1px solid var(--line-soft); margin-top: 14px; }
.cartsum__row--off { color: var(--accent); }
.cartsum__row--total { border-bottom: 0; font-size: 19px; font-weight: var(--fw-bold); color: var(--text); }
.cartsum__note, .cartsum__fine { font-size: 11px; color: var(--text-faint); margin: 8px 0 14px; }
.cartsum .btn--block { margin-top: 6px; }
.cartsum__back { display: block; text-align: center; margin-top: 14px; font-size: var(--fs-small); color: var(--text-dim); }
.cartempty { text-align: center; padding: clamp(30px, 6vw, 70px) 0; }
.cartempty h2 { margin-bottom: 10px; }
.cartempty p { color: var(--text-dim); max-width: 44ch; margin: 0 auto 26px; }
.coform { min-width: 0; }
.coform__h { font-size: 21px; margin: 34px 0 14px; padding-top: 26px; border-top: 1px solid var(--line-soft); }
.coform > .coform__h:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.coform__note { font-size: var(--fs-small); color: var(--text-dim); margin: -6px 0 16px; }
.cfields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.cfield--wide { grid-column: 1 / -1; }
.cfield__label { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 6px; }
.cfield__input { width: 100%; padding: 12px 13px; font: inherit; font-size: 16px; color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.cfield__input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.cfield__err { min-height: 15px; margin-top: 4px; font-size: 11px; color: var(--text-error); }
.cfield.is-bad .cfield__input { border-color: var(--text-error); }
.copay { margin-bottom: 8px; }
.paymock { border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 18px; background: var(--surface); }
.paymock__head { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.paymock__note { font-size: var(--fs-small); color: var(--text-dim); margin-bottom: 14px; }
.paymock__choices { display: grid; gap: 8px; }
.paymock__choice { display: flex; align-items: center; gap: 10px; font-size: var(--fs-small); color: var(--text); cursor: pointer; min-height: 44px; }
.coform__error { margin: 16px 0 10px; font-size: var(--fs-small); color: var(--text-error); }
.coform__error:empty { margin: 0; }
.coform__fine { margin-top: 14px; font-size: 11px; color: var(--text-faint); }
.cosum__line { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 7px 0; font-size: var(--fs-small); color: var(--text-body); }
.cosum__qty { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); }
.cosum__name { min-width: 0; }
.cosum__val { white-space: nowrap; }
.testflag { border: 1px solid var(--accent-line); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); background: var(--accent-soft); padding: 14px 16px; margin-bottom: 26px; font-size: var(--fs-small); color: var(--text); }
.ordercard { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px 24px; max-width: 520px; margin-bottom: 26px; }
.ordercard__ref { font-family: var(--font-mono); font-size: 24px; letter-spacing: .04em; color: var(--text); margin: 6px 0 12px; }
.ordercard__meta { font-size: var(--fs-small); color: var(--text-dim); margin-bottom: 14px; }
.ordercard__lines { border-top: 1px solid var(--line-soft); padding-top: 10px; }

/* ---- 11b. COA history, opt-ins --------------------------------------- */

.coa__intro { max-width: 64ch; margin: -18px 0 22px; }
.coa__head { font: var(--fw-bold) 12px/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.coa__wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--radius); }
.coa__table { width: 100%; border-collapse: collapse; font-size: 13px; }
.coa__table th { text-align: left; font: var(--fw-bold) 10px/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--text-dim); padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.coa__table td { padding: 12px 14px; border-bottom: 1px solid var(--line-faint); color: var(--text-body); white-space: nowrap; }
.coa__table tr:last-child td { border-bottom: 0; }
.coa__table a { color: var(--text); text-decoration: none; }
.coa__batch { font-family: var(--font-mono); color: var(--text); }
.coa__str { color: var(--text-dim); font-size: 12px; margin-left: 4px; }
.coa__pdf { color: var(--accent) !important; border-bottom: 1px solid var(--accent-line); }
.coa__na { color: var(--text-faint); }
.coa__empty { padding: 20px 22px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--text-dim); max-width: 760px; }

.cfield--check { margin-top: -4px; }
.cfield__check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: var(--fs-small); color: var(--text); }
.cfield__check input { accent-color: var(--accent-fill); width: 18px; height: 18px; margin-top: 1px; flex: none; }
.cfield__fine { font-size: 11px; line-height: 1.5; color: var(--text-faint); margin: 6px 0 0 28px; max-width: 70ch; }

/* Ported from Retabionix, 8 Oct 2026 (forms, help center, wholesale, accounts, admin). */
/* =====================================================================
   FORMS, NEWSLETTER, HELP WIDGET, WHOLESALE, ADMIN
   ===================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.fform { margin: 18px 0 8px; }
.fform--card { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.ffield { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ffield--wide { grid-column: 1 / -1; }
.ffield label { font: 500 11px/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); }
.ffield__opt { text-transform: none; letter-spacing: 0; font-family: var(--font); }
.ffield input, .ffield select, .ffield textarea, .news input[type="email"], .help__search {
  width: 100%; min-height: 48px; padding: 12px 14px; font: 16px/1.4 var(--font); color: var(--text);
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.ffield textarea { resize: vertical; min-height: 96px; }
.ffield input:focus, .ffield select:focus, .ffield textarea:focus, .news input:focus, .help__search:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.ffield.is-bad input, .ffield.is-bad select, .ffield.is-bad textarea { border-color: var(--text-error); }
.ffield__err { font-size: 12px; color: var(--text-error); }
.ffield__hint { margin: 0; font-size: 12px; color: var(--text-dim); }
.fattest { border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 14px 16px; margin: 18px 0 14px; }
.fattest legend { padding: 0 6px; font: 500 11px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.fcheck { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; font-size: 14px; color: var(--text); cursor: pointer; }
.fcheck input, .news__consent input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--accent); }
.fnote { font-size: 13px; color: var(--text-dim); margin: 14px 0; }
.fstatus { margin: 10px 0 0; font-size: 14px; }
.fstatus.is-bad { color: var(--text-error); }
.fdone { margin: 18px 0; padding: 18px 20px; border-radius: var(--radius-sm); border-left: 3px solid var(--accent); background: var(--surface-hover); color: var(--text); font-size: 15px; line-height: 1.6; }

/* Newsletter, at the top of the footer */
.footer-news { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; padding: 56px 0 44px; border-bottom: 1px solid var(--line-soft); }
.footer-news h2 { font-size: clamp(26px, 3vw, 36px); margin: 6px 0 10px; }
.footer-news p { margin: 0; color: var(--text-body); }
.news__label { display: block; font: 500 11px/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 8px; }
.news__row { display: flex; gap: 10px; }
.news__row input { flex: 1; min-width: 0; border-radius: var(--radius-pill); padding-left: 18px; }
.news__consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--text-body); cursor: pointer; }

/* Help widget: bottom right */
.help { position: fixed; right: 16px; bottom: 16px; z-index: calc(var(--z-sticky) + 5); }
.help__toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px 0 14px; cursor: pointer;
  border: 0; border-radius: var(--radius-pill); background: var(--accent); color: var(--btn-ink);
  font: var(--fw-med) 15px/1 var(--font-display); box-shadow: 0 10px 28px -10px rgba(0, 0, 0, .45);
}
.help__toggle svg { width: 22px; height: 22px; }
.help.is-open .help__toggle { display: none; }
.help__panel {
  position: absolute; right: 0; bottom: 0; width: min(400px, calc(100vw - 32px)); max-height: min(640px, calc(100vh - 120px));
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .55);
}
.help__panel[hidden] { display: none; }
.help__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 18px 18px 12px; border-bottom: 1px solid var(--line-soft); }
.help__title { font: var(--fw-bold) 19px/1.2 var(--font-display); color: var(--text); }
.help__sub { font-size: 12px; color: var(--text-dim); margin-top: 3px; }
.help__view { display: flex; flex-direction: column; gap: 12px; padding: 14px 18px 18px; overflow-y: auto; }
.help__view[hidden] { display: none; }
.help__search { background: var(--surface); border-color: var(--line); color: var(--text); }
.help__list { display: flex; flex-direction: column; gap: 6px; }
.help__item { border: 1px solid var(--line-soft); border-radius: var(--radius-sm); background: var(--surface); }
.help__item summary { cursor: pointer; padding: 12px 14px; min-height: 44px; font-size: 14px; color: var(--text); list-style: none; }
.help__item summary::-webkit-details-marker { display: none; }
.help__item[open] summary { color: var(--accent); }
.help__ans { padding: 0 14px 12px; font-size: 13px; line-height: 1.6; color: var(--text-body); }
.help__ans p { margin: 0 0 8px; }
.help__ans a { color: var(--accent); }
.help__none { font-size: 13px; color: var(--text-dim); }
.help__back { align-self: flex-start; background: none; border: 0; color: var(--text-dim); cursor: pointer; min-height: 44px; padding: 0; font-size: 13px; }
.help .fform { margin: 0; }
.help .fgrid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.help .ffield input, .help .ffield select, .help .ffield textarea { background: var(--surface); color: var(--text); border-color: var(--line); }
.help .ffield select option { color: var(--btn-ink); }
.help .fnote { font-size: 12px; margin: 10px 0; }
.help .btn { width: 100%; }

/* Wholesale */
.rhero--wholesale { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.wstats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wstats li { padding: 18px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line-soft); }
.wstats b { display: block; font: var(--fw-med) 40px/1 var(--font-display); color: var(--accent); letter-spacing: -.03em; }
.wstats span { display: block; margin-top: 6px; font-size: 13px; color: var(--text-body); }
.wbens { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.wben { padding: 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line-soft); }
.wben b { display: block; font: var(--fw-bold) 18px/1.25 var(--font-display); color: var(--text); margin-bottom: 8px; }
.wben span { font-size: 14px; color: var(--text-body); }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wfit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.wfit__col { padding: 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line-soft); }
.wlist { list-style: none; margin: 8px 0 0; padding: 0; }
.wlist li { position: relative; padding: 9px 0 9px 28px; border-bottom: 1px solid var(--line-faint); font-size: 15px; color: var(--text); }
.wlist li::before { position: absolute; left: 0; top: 9px; font-weight: 700; }
.wlist--yes li::before { content: "\2713"; color: var(--ok); }
.wlist--no li::before { content: "\2715"; color: var(--text-error); }
.wfit__note { margin: 14px 0 0; font-size: 13px; color: var(--text-dim); }
.wapply { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.wapply__copy { position: sticky; top: 130px; }
.wapply__small { font-size: 13px; color: var(--text-dim); }
.wapply__small a { color: var(--accent); }

/* Admin inbox */
.admin-body { background: var(--bg); }
.admin { padding-top: 28px; padding-bottom: 60px; }
.admin__top { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; font: 500 12px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
.admin__top .logo { height: 28px; width: auto; }
.admin__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.admin__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 13px; color: var(--text-dim); }
.admin__wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); background: var(--panel); }
.admin__table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin__table th { text-align: left; padding: 10px 12px; font: 500 10px/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin__table td { padding: 10px 12px; border-bottom: 1px solid var(--line-faint); vertical-align: top; color: var(--text); }
.admin__long { min-width: 280px; white-space: pre-wrap; }
.admin__muted { color: var(--text-dim); }

@media (max-width: 1024px) {
  .wbens { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rhero--wholesale, .wapply, .footer-news { grid-template-columns: minmax(0, 1fr); }
  .wapply__copy { position: static; }
}
@media (max-width: 640px) {
  .fgrid, .wfit, .wbens, .steps--4 { grid-template-columns: minmax(0, 1fr); }
  .news__row { flex-direction: column; }
  .news__row .btn { width: 100%; }
  .help__toggle span { display: none; }
  .help__toggle { padding: 0; width: 52px; height: 52px; justify-content: center; }
}
/* Product pages: lift the help button above the sticky add-to-cart bar when it shows. */
body:has(.stickybar.is-on) .help { bottom: 84px; }

/* Account (/account/): optional accounts, points, wholesale status */
.acct { display: flex; flex-direction: column; gap: 18px; }
.acct--narrow { max-width: 520px; }
.acct__intro p { margin: 0 0 6px; color: var(--text-body); max-width: 68ch; }
.acct__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.acct__card { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.acct__card .fform { margin: 8px 0 0; }
.acct__card .btn--block { margin-top: 16px; }
.acct__h { font-size: clamp(22px, 2.4vw, 28px); margin: 0 0 6px; }
.acct__lede { margin: 0; color: var(--text-dim); }
.acct__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.acct__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.acct__stat { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 22px; }
.acct__stat p { margin: 8px 0 0; color: var(--text-body); }
.acct__stat .btn { margin-top: 12px; }
.acct__big { font: 600 clamp(34px, 4vw, 48px)/1.1 var(--font); color: var(--text); margin-top: 8px; }
.acct__big--word { font-size: clamp(24px, 3vw, 32px); }
.acct__orders { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.acct__order { border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 14px 16px; background: var(--panel); }
.acct__orderhead { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; justify-content: space-between; }
.acct__status { font: 500 11px/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); }
.acct__ordermeta { margin: 6px 0 0; font-size: 14px; color: var(--text-body); overflow-wrap: anywhere; }
.acct__ledger summary { cursor: pointer; font-weight: 600; color: var(--text); }
.acct__ledger ul { margin: 10px 0 0; padding-left: 18px; color: var(--text-body); font-size: 14px; }
.linkbtn { background: none; border: 0; padding: 0; margin-top: 14px; color: var(--accent); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.fstatus.is-ok { color: var(--text); }
@media (max-width: 760px) {
  .acct__grid, .acct__stats { grid-template-columns: minmax(0, 1fr); }
  .acct__card .fgrid { grid-template-columns: minmax(0, 1fr); }
}

/* Checkout: reward points in the summary */
.corewards { margin: 12px 0 0; font-size: 14px; color: var(--text-body); }
.corewards p { margin: 0 0 8px; }
.corewards__use { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.corewards__use select { min-height: 40px; padding: 6px 10px; font: 15px var(--font); color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); }

/* Checkout: the account step (accounts required, 8 Oct 2026). */
.coacct { margin-bottom: 8px; }
.coacct .cfield__fine { margin-left: 0; }
.coacct__in { font-size: 14px; color: var(--text-body); margin: 0 0 16px; }
.coacct__in .linkbtn { margin-top: 0; margin-left: 4px; }
.coacct__links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0 0 8px; }
.coacct__links .linkbtn { margin-top: 4px; }

/* Footer: social profiles (brand.social), set in type like the rest. */
.footer-social { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.footer-social__label { font-size: var(--fs-micro); letter-spacing: .3em; text-transform: uppercase; color: var(--accent); margin-right: 6px; }
.footer-social a { font-size: var(--fs-micro); letter-spacing: .22em; text-transform: uppercase; color: var(--text-dim); text-decoration: none; transition: color .2s; }
.footer-social a:hover, .footer-social a:focus-visible { color: var(--accent); }

/* Checkout while ordering is closed to the public (8 Oct 2026). */
.coclosed { max-width: 640px; margin: 0 auto; text-align: center; }
.coclosed__eyebrow { font-size: var(--fs-micro); letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
.coclosed .btn { margin: 8px 6px 0; }
.cotester { margin: 0 0 24px; padding: 12px 16px; border: 1px solid var(--accent-line); background: var(--accent-soft); border-radius: var(--radius); font-size: 13px; color: var(--text-body); }
.cotester a { color: var(--accent); }

/* Site-wide notice while ordering is closed (ordering.closedNote). */
.ordering-closed { padding: 10px 16px; text-align: center; font-size: 13px; line-height: 1.5; color: var(--text); background: var(--accent-soft); border-bottom: 1px solid var(--accent-line); }

/* /test-drive/: the tester walkthrough (8 Oct 2026). */
.td-mode { margin: 0 0 8px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; }
.td-mode.is-on { border-color: var(--accent-line); background: var(--accent-soft); }
.td-mode a { color: var(--accent); }
.td-statuslist, .td-steps { list-style: none; margin: 0; padding: 0; }
.td-status { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.td-status strong { color: var(--text); }
.td-pill { flex: none; min-width: 52px; text-align: center; padding: 3px 8px; border-radius: var(--radius-pill); font-size: var(--fs-micro); letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--line); color: var(--text-dim); }
.td-status--live .td-pill { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 45%, transparent); }
.td-status--soon .td-pill { color: var(--accent); border-color: var(--accent-line); }
.td-step { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.td-num { flex: none; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--accent-line); border-radius: 50%; color: var(--accent); font-weight: 700; }
.td-step h3 { margin: 4px 0 8px; }
.td-note { font-size: 13px; color: var(--text-dim); }
.td-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }


/* =====================================================================
   SOUTH SHORE OVER THE PORTED RULES
   The functional blocks above (cart page, checkout, forms, help,
   wholesale, admin, account) came across from the previous design; these
   bring them into this one.
   ===================================================================== */
.help__toggle { background: var(--ink); color: var(--white); border-radius: var(--radius-pill); box-shadow: var(--shadow-lift); font: var(--fw-med) 15px/1 var(--font); }
.help__panel { background: var(--paper); border: 0; border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px var(--line-soft), var(--shadow-lift); }
.help__title { font-family: var(--font); letter-spacing: -.02em; }
.ffield label, .cfield__label { font: var(--fw-med) 13px/1.3 var(--font); letter-spacing: 0; text-transform: none; color: var(--text); }
.ffield input, .ffield select, .ffield textarea, .cfield__input, .help__search { background: var(--white); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.fform--card, .acct__card, .acct__stat, .wfit__col, .wben, .ordercard, .cartsum { border: 0; border-radius: var(--radius-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line-soft); }
.cartsum { position: sticky; }
.wstats li { border: 0; border-radius: var(--radius); background: var(--surface); }
.wstats b { color: var(--text); font-weight: var(--fw-bold); letter-spacing: -.05em; }
.fdone { border: 0; border-radius: var(--radius); background: var(--tide-2); }
.testflag, .cotester, .td-mode.is-on { border: 0; border-radius: var(--radius); background: var(--tide-2); }
.paymock { border-radius: var(--radius); }
.paymock__head, .acct__status, .admin__top { font-family: var(--font-mono); }
.coa__wrap { border-radius: var(--radius); }
.cartline__img { border-radius: var(--radius-sm); background: var(--fog); width: 84px; height: 84px; }
.cartline__name { font-family: var(--font); }

/* ---- Tap targets: 44px minimum (DESIGN.md) ---------------------------- */
.pcard__title a, .rcard__title a, .bcard__title a { position: relative; }
.pcard__title a::after, .rcard__title a::after, .bcard__title a::after { content: ""; position: absolute; left: -8px; right: -8px; top: -12px; bottom: -12px; }
.linkbtn { display: flex; align-items: center; justify-content: center; min-height: 44px; }

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 1180px) {
  .nav a { padding: 10px 10px; font-size: 14.5px; }
}
@media (max-width: 1024px) {
  .site-header__inner { display: flex; }
  .header-actions { margin-left: auto; }
  .cart-btn { width: 44px; padding: 0; border: 0; background: transparent; }
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feat__in, .setband, .faq__in, .pdp, .pdp__detail, .cartgrid, .builder, .footer-top { grid-template-columns: minmax(0, 1fr); }
  .feat__media { min-height: 0; aspect-ratio: 4 / 3; }
  .feat__media img { object-position: 50% 60%; }
  .faq__head, .pdp__gallery, .cartsum, .builder__sum { position: static; }
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gate__body { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); }
}
@media (max-width: 768px) {
  :root { --section-y: 56px; }
  .topbar__facts { display: none; }
  .topbar__ruo { font-size: 12px; }
  .brandmark img.brandmark__lockup { height: 24px; }
  .site-header__inner { gap: 8px; padding-top: 12px; padding-bottom: 12px; }
  .header-actions { gap: 0; }
  .lead h1 { font-size: clamp(42px, 12vw, 64px); }
  .lead__lede { font-size: 16px; }
  .lead__ctas { width: 100%; flex-direction: column; }
  .lead__ctas .btn { width: 100%; }
  .lead__frame { aspect-ratio: auto; border-radius: var(--radius-lg); overflow: visible; background: transparent; }
  .lead__frame > img { aspect-ratio: 16 / 10; height: auto; border-radius: var(--radius-lg); background: var(--fog); }
  .readout { position: relative; left: auto; bottom: auto; width: 100%; margin-top: 12px; backdrop-filter: none; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-soft); }
  .figures { padding-top: 12px; gap: 8px; }
  .figures li { padding: 18px; }
  .figures span { font-size: 13px; }
  .statement__text br { display: none; }
  .feat__item summary { padding: 20px; gap: 12px; }
  .feat__item p { padding: 0 20px 22px 20px; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .pcard__media { border-radius: var(--radius); margin-bottom: 12px; }
  .pcard__body { flex-direction: column; gap: 2px; }
  .pcard__title { font-size: 15px; }
  .pcard__price { font-size: 14px; }
  .pcard__cat { font-size: 12.5px; margin-bottom: 10px; }
  .pcard__add { width: 40px; height: 40px; right: 8px; bottom: 8px; }
  .pcard__flag { left: 8px; bottom: 8px; padding: 5px 8px; font-size: 11px; }
  .pcard__add ~ .pcard__flag, .pcard__flag--ok { display: none; }
  .vpill { min-height: 32px; padding: 0 9px; font-size: 11.5px; }
  .badge { top: 8px; left: 8px; font-size: 10px; padding: 4px 8px; }
  .bgrid, .builder__items { grid-template-columns: minmax(0, 1fr); }
  .byo-band__tiers { flex-wrap: wrap; }
  .byo-tier { flex: 1 1 90px; min-width: 0; padding: 18px 12px 16px; }
  .byo-tier b { font-size: 32px; }
  .setband { padding: 28px 22px; border-radius: var(--radius-lg); }
  .sechead { flex-direction: column; align-items: flex-start; margin-bottom: 24px; }
  .cpills { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 2px var(--gutter); scrollbar-width: none; }
  .cpills::-webkit-scrollbar { display: none; }
  .cpill { flex: none; }
  .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
  .trustrow { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .trustrow li { font-size: 11px; }
  .trustrow b { font-size: 11px; }
  .trustrow__i { width: 40px; height: 40px; }
  .spec { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .rcard__meta { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { flex-direction: column; }
  .news__row { flex-direction: column; }
  .news__row .btn { width: 100%; }
  .gate { padding: 12px; align-items: flex-start; }
  .gate__body { grid-template-columns: minmax(0, 1fr); border-radius: var(--radius-lg); }
  .gate__art { display: none; }
  .gate__content { padding: 26px 20px 22px; }
  .gate__logo { width: 180px; margin-bottom: 20px; }
  .stickybar img { display: none; }
  .cartline { grid-template-columns: 64px minmax(0, 1fr); }
  .cartline__img { width: 64px; height: 64px; }
  .cartline__right { grid-column: 2; text-align: left; }
  .cfields { grid-template-columns: minmax(0, 1fr); }
  .toolbar { flex-direction: column; }
  .toolbar__chips { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + var(--gutter) * 2); margin-left: calc(var(--gutter) * -1); padding: 2px var(--gutter); scrollbar-width: none; }
  .toolbar__chips::-webkit-scrollbar { display: none; }
  .chip-f { flex: none; }
}
@media (max-width: 420px) {
  .brandmark img.brandmark__lockup { height: 21px; }
  .figures b { font-size: 30px; }
  .footer-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .pcard__media img, .faq-item summary::after, .btn svg { transition: none; }
}
/* Product pages: lift the help button above the sticky add-to-cart bar when it shows. */
body:has(.stickybar.is-on) .help { bottom: 84px; }
.news__row input[type="email"] { min-height: 50px; border-radius: var(--radius-btn); border-color: color-mix(in srgb, var(--ink) 14%, transparent); }
.news__label { font: var(--fw-med) 13px/1.3 var(--font); letter-spacing: 0; text-transform: none; color: var(--text); }
.footer-col a[href^="mailto:"] { word-break: break-all; font-size: 14px; }
.section--alt .prose__note { background: var(--white); }

/* Tap targets after the 375px audit (12 Oct 2026). */
.pcard__title a::after, .rcard__title a::after, .bcard__title a::after { top: -14px; bottom: -14px; }
.vpill::after { top: -6px; bottom: -6px; }
.bcard__list a::after { top: -12px; bottom: -12px; }
.footer-col a { min-height: 44px; }
.rcard__verify a, .fcheck a, .fnote a, .ffield__hint a, .news__consent a { display: inline-block; padding-block: 13px; margin-block: -13px; }
@media (max-width: 768px) {
  .pcard__add { width: 44px; height: 44px; }
  .vpill::after { top: -7px; bottom: -7px; }
}
.bitem__sel { min-height: 44px; }
.wapply__small a, .prose--page p a:not(.btn) { display: inline-block; padding-block: 12px; margin-block: -12px; }
.prose--page a.btn--solid { color: var(--btn-ink); text-decoration: none; }
@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
}
@media (max-width: 768px) {
  .phead { padding-top: 12px; }
  .phead__card { min-height: 260px; border-radius: var(--radius-lg); }
  .phead__card::after { background: linear-gradient(0deg, color-mix(in srgb, var(--ink) 84%, transparent) 0%, color-mix(in srgb, var(--ink) 55%, transparent) 70%, color-mix(in srgb, var(--ink) 35%, transparent) 100%); }
  .phead__in { padding: 24px 20px; }
  .phead h1 { font-size: clamp(36px, 10.5vw, 52px); }
  .phead__lede { font-size: 15.5px; }
  .phead + .section, .phead + .section--tight { padding-top: 32px; }
}
.pcard__title a { display: inline-block; min-width: 44px; }
/* Footer end (12 Oct 2026): the notice's bottom margin collapsed out of the
   footer, leaving the box flush on the edge and a strip of paper below.
   Padding inside the footer instead, so the tide blue runs to the end. */
.footer-notice { margin: 0; }
.site-footer > .wrap { padding-bottom: clamp(28px, 3vw, 40px); }
.footer-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr); }
.footer-col a[href^="mailto:"] { word-break: normal; overflow-wrap: anywhere; }
.footer-brand__lede { margin-bottom: 24px; }
/* Room under the notice for the fixed Help button, so it never covers text. */
.site-footer > .wrap { padding-bottom: 88px; }
@media (max-width: 768px) {
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-cols .footer-col:last-child { grid-column: 1 / -1; }
}
@media (max-width: 420px) { .footer-cols { grid-template-columns: minmax(0, 1fr); } }
.footer-brand .footer-brand__lede { margin: 0 0 24px; }
/* Policy pages: numbered sections and a contents list (the policies
   cross-reference their sections). */
.legal-toc { max-width: 760px; margin: 0 0 32px; padding: 20px 24px; border-radius: var(--radius-lg); background: var(--surface); }
.legal-toc__title { margin-bottom: 10px; font: var(--fw-bold) 14px/1.3 var(--font); color: var(--text); }
.legal-toc ol { list-style: none; margin: 0; padding: 0; columns: 2 280px; column-gap: 32px; }
.legal-toc li { break-inside: avoid; }
.legal-toc a { display: flex; align-items: center; min-height: 36px; font-size: 14px; color: var(--text-body); text-decoration: none; }
.legal-toc a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.prose--page h2 span[id] { scroll-margin-top: 96px; }
@media (max-width: 768px) { .legal-toc a { min-height: 44px; } }
.prose--page li a:not(.btn) { display: inline-block; padding: 12px 2px; margin: -12px -2px; }
