/* 925hi v3 — wholesale store, "Precision Manufacturing" tokens (../DESIGN.md).
   Evidence for the shell: Stuller, Rio Grande, Grainger, McMaster-Carr, WebstaurantStore (see ../REDESIGN.md). */
:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-alt: #F4F5F6;
  --surface-sunk: #E8EAED;
  --tile: #F3F2EE;
  --surface-ink: #15181C;
  --surface-ink-2: #23282E;
  --nav: #1F262E;

  --border: #DCDFE3;
  --border-soft: #ECEEF0;
  --border-hover: #B4BAC1;
  --border-on-ink: rgba(255, 255, 255, .12);

  --text: #121417;
  --text-secondary: #4A5058;
  --text-tertiary: #737A83;
  --text-on-ink: #F4F5F6;
  --text-on-ink-secondary: #A3AAB3;

  --accent: #1F4FD8;
  --accent-hover: #1A43B8;
  --accent-soft: #EBF0FD;
  --accent-line: #B8C8F2;
  --accent-on-ink: #9DB6F5;

  --success: #18794E;
  --success-soft: #E5F3EB;
  --warning: #9A5B06;
  --warning-soft: #FCF0DC;
  --error: #C2341F;
  --error-soft: #FCEAE6;

  --ink-rgb: 18, 20, 23;
  --accent-rgb: 31, 79, 216;

  --plating-rhodium: #DCDFE3;
  --plating-gold: #E2C47E;
  --plating-rose: #E5B7A5;
  --plating-black: #3A3D41;

  --font-display: 'Inter Tight', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --gutter: 16px;
  --max: 1440px;
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-pop: 0 1px 2px rgba(var(--ink-rgb), .06), 0 16px 36px -14px rgba(var(--ink-rgb), .28);
  --shadow-drawer: -24px 0 60px -24px rgba(var(--ink-rgb), .35);
  --header-h: 56px;
}
@media (min-width: 900px) { :root { --gutter: 24px; --header-h: 120px; } }
@media (min-width: 1280px) { :root { --gutter: 32px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text-secondary); font: 400 15px/1.55 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: clip; font-feature-settings: "cv11"; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd, blockquote, fieldset { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
legend { padding: 0; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
svg.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 200; background: var(--surface-ink); color: var(--text-on-ink); padding: 12px 18px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }
::selection { background: rgba(var(--accent-rgb), .18); color: var(--text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.container { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--font-mono); font-size: .92em; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--text-tertiary); }
.link { color: var(--accent); text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 3px; transition: text-decoration-color .15s; }
.link:hover { text-decoration-color: currentColor; }
.lock { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
@media (max-width: 639px) { .hide-m { display: none; } }
@media (min-width: 640px) { .show-m { display: none; } }

/* ---------- Type ---------- */
.h1, .h2, .h3, .h4 { font-family: var(--font-display); color: var(--text); text-wrap: balance; }
.h1 { font-size: clamp(28px, 3vw, 40px); line-height: 1.12; font-weight: 700; letter-spacing: -.015em; }
.h2 { font-size: clamp(21px, 1.8vw, 26px); line-height: 1.22; font-weight: 700; letter-spacing: -.01em; }
.h3 { font-size: 17px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
.h4 { font-size: 15px; line-height: 1.35; font-weight: 600; letter-spacing: -.005em; }
.lead { font-size: 16px; line-height: 1.55; color: var(--text-secondary); max-width: 62ch; }
.small { font-size: 13px; line-height: 1.5; }
.prose { max-width: 72ch; }
.prose p + p { margin-top: 12px; }
.container.prose { max-width: var(--max); }
.container.prose > * { max-width: 76ch; }
.prose a { color: var(--accent); text-underline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 8px; border: 1px solid transparent; font: 600 14px/1.1 var(--font-body); letter-spacing: -.005em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s, box-shadow .15s var(--ease), transform .1s; }
.btn svg.i { width: 18px; height: 18px; flex: none; }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 15px; border-radius: 10px; }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 13px; gap: 6px; }
.btn-sm svg.i { width: 16px; height: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(var(--accent-rgb), .25), inset 0 1px 0 rgba(255, 255, 255, .14); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 4px 12px -4px rgba(var(--accent-rgb), .45), inset 0 1px 0 rgba(255, 255, 255, .14); }
.btn-ink { background: var(--surface-ink); color: var(--text-on-ink); box-shadow: 0 1px 2px rgba(var(--ink-rgb), .2); }
.btn-ink:hover { background: var(--surface-ink-2); }
.btn-outline { background: var(--surface); color: var(--text); border-color: var(--border); box-shadow: 0 1px 2px rgba(var(--ink-rgb), .05); }
.btn-outline:hover { border-color: var(--border-hover); background: var(--surface-alt); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { background: var(--surface-alt); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .3); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--surface-sunk); color: var(--text-tertiary); border-color: transparent; box-shadow: none; cursor: not-allowed; transform: none; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--text); position: relative; text-decoration: none; transition: background-color .15s; }
.icon-btn:hover { background: var(--surface-alt); }
.text-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--accent); font-weight: 600; font-size: 14px; text-decoration: none; }
.text-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.text-btn svg.i { width: 16px; height: 16px; }

/* ---------- Form controls (every control is styled; no browser chrome) ---------- */
.field { display: grid; gap: 6px; align-content: start; }
.field > label, .field > .field-label { font-size: 13px; font-weight: 600; color: var(--text); }
.field .hint { font-size: 12.5px; color: var(--text-tertiary); }
.field .err { font-size: 12.5px; color: var(--error); }
.field.has-err .input, .field.has-err .textarea, .field.has-err .dd-btn { border-color: var(--error); box-shadow: 0 0 0 3px rgba(194, 52, 31, .1); }
.input, .textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text); font-size: 15px; line-height: 1.4; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
.textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.input:hover, .textarea:hover { border-color: var(--border-hover); }
.input:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .15); background: var(--surface); }
.input::placeholder, .textarea::placeholder { color: var(--text-tertiary); opacity: 1; }
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.input-affix { position: relative; display: flex; align-items: center; }
.input-affix > span { position: absolute; left: 12px; color: var(--text-tertiary); font-size: 14px; pointer-events: none; }
.input-affix .input { padding-left: 26px; }

/* Checkbox + radio */
.check { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: 14px; color: var(--text); cursor: pointer; }
.check input { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; flex: none; margin: 0; border: 1.5px solid var(--border-hover); border-radius: 5px; background: var(--surface); display: grid; place-items: center; transition: background-color .12s, border-color .12s; cursor: pointer; }
.check input::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check input[type="radio"] { border-radius: 50%; }
.check input[type="radio"]::after { width: 8px; height: 8px; border: 0; border-radius: 50%; background: #fff; transform: none; }
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::after { opacity: 1; }
.check input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.check:hover input:not(:checked) { border-color: var(--text-secondary); }
.check .count { margin-left: auto; font-size: 12px; color: var(--text-tertiary); font-variant-numeric: tabular-nums; }

/* Dropdown (replaces native <select>; listbox pattern, keyboard + type-ahead in site.js) */
.dd { position: relative; display: inline-block; min-width: 0; }
.dd-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text); font-size: 14px; font-weight: 500; text-align: left; white-space: nowrap; transition: border-color .15s, box-shadow .15s; }
.dd-btn:hover { border-color: var(--border-hover); }
.dd-btn:focus-visible, .dd.is-open .dd-btn { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .15); }
.dd-btn .dd-val { overflow: hidden; text-overflow: ellipsis; }
.dd-btn .dd-val.is-empty { color: var(--text-tertiary); font-weight: 400; }
.dd-btn svg.i { width: 16px; height: 16px; color: var(--text-tertiary); transition: transform .15s var(--ease); }
.dd.is-open .dd-btn svg.i { transform: rotate(180deg); }
.dd-list { position: absolute; z-index: 80; top: calc(100% + 4px); left: 0; min-width: 100%; max-height: 320px; overflow-y: auto; padding: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-pop); display: none; }
.dd.is-open .dd-list { display: block; animation: ddIn .12s var(--ease); }
.dd.is-up .dd-list { top: auto; bottom: calc(100% + 4px); }
.dd.is-right .dd-list { left: auto; right: 0; }
@keyframes ddIn { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
.dd-list li { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 10px 0 32px; border-radius: var(--r-sm); font-size: 14px; color: var(--text); cursor: pointer; white-space: nowrap; position: relative; }
.dd-list li small { margin-left: auto; padding-left: 16px; color: var(--text-tertiary); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.dd-list li.is-hl { background: var(--surface-alt); }
.dd-list li[aria-selected="true"] { font-weight: 600; }
.dd-list li[aria-selected="true"]::before { content: ""; position: absolute; left: 12px; top: 50%; width: 9px; height: 5px; border: 2px solid var(--accent); border-top: 0; border-right: 0; transform: translateY(-70%) rotate(-45deg); }
.dd-list .dd-group { padding: 8px 10px 4px; font-size: 12px; font-weight: 600; color: var(--text-tertiary); }
.dd-sm .dd-btn { min-height: 36px; font-size: 13px; padding: 0 10px; }
.dd-flush .dd-btn { border: 0; background: transparent; box-shadow: none; }

/* Segmented choice (radio cards) */
.seg { display: grid; grid-template-columns: 1fr; gap: 8px; }
.seg label { position: relative; display: block; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg .seg-box { display: grid; gap: 2px; min-height: 48px; padding: 10px 12px 10px 38px; border: 1px solid var(--border); border-radius: var(--r-sm); font-size: 14px; font-weight: 600; color: var(--text); position: relative; transition: border-color .12s, background-color .12s; }
.seg .seg-box small { font-weight: 400; font-size: 12.5px; color: var(--text-tertiary); }
.seg .seg-box::before { content: ""; position: absolute; left: 12px; top: 13px; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--border-hover); background: var(--surface); }
.seg label:hover .seg-box { border-color: var(--text-secondary); }
.seg input:checked + .seg-box { border-color: var(--accent); background: var(--accent-soft); }
.seg input:checked + .seg-box::before { border: 5px solid var(--accent); }
.seg input:focus-visible + .seg-box { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (min-width: 640px) { .seg-3 { grid-template-columns: repeat(3, 1fr); } .seg-2 { grid-template-columns: repeat(2, 1fr); } }

/* Stepper */
.stepper { display: inline-flex; align-items: stretch; height: 40px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface); overflow: hidden; }
.stepper button { width: 36px; border: 0; background: transparent; color: var(--text); display: grid; place-items: center; transition: background-color .12s; }
.stepper button:hover { background: var(--surface-alt); }
.stepper button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.stepper button:disabled { color: var(--border-hover); cursor: not-allowed; background: transparent; }
.stepper button svg.i { width: 14px; height: 14px; stroke-width: 2; }
.stepper input { width: 46px; border: 0; border-inline: 1px solid var(--border-soft); text-align: center; font: 600 14px/1 var(--font-body); font-variant-numeric: tabular-nums; color: var(--text); background: transparent; }
.stepper input:focus { outline: none; background: var(--accent-soft); }
.stepper.is-active { border-color: var(--accent); }

/* Chips */
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text); font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: border-color .15s, background-color .15s, color .15s; }
.chip:hover { border-color: var(--text); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--surface-ink); border-color: var(--surface-ink); color: var(--text-on-ink); }
.chip .x { width: 14px; height: 14px; }
.chip small { font-size: 12px; color: var(--text-tertiary); font-variant-numeric: tabular-nums; }
.chip.is-active small { color: var(--text-on-ink-secondary); }

/* Badges & stock */
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 3px; font-size: 11.5px; font-weight: 600; background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--border); white-space: nowrap; }
.badge-new { background: var(--accent); color: #fff; box-shadow: none; }
.badge-low { background: var(--warning-soft); color: var(--warning); box-shadow: none; }
.badge-ink { background: var(--surface-ink); color: var(--text-on-ink); box-shadow: none; }
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: var(--success); font-variant-numeric: tabular-nums; }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.stock.is-low { color: var(--warning); }
.stock.is-mto { color: var(--text-tertiary); }
.stock.is-out { color: var(--error); }

/* Plating swatches */
.swatches { display: flex; gap: 4px; }
.sw { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(var(--ink-rgb), .2); flex: none; }
.sw-rh { background: linear-gradient(135deg, var(--plating-rhodium), #fff 55%, #C5CAD1); }
.sw-au { background: linear-gradient(135deg, var(--plating-gold), #FBF0D6 55%, var(--plating-gold)); }
.sw-rg { background: linear-gradient(135deg, var(--plating-rose), #FBE6DF 55%, var(--plating-rose)); }
.sw-bk { background: var(--plating-black); }
.sw-ox { background: radial-gradient(circle at 35% 35%, #8A8780, #3B3936 70%); }
.sw-tt { background: linear-gradient(90deg, var(--plating-rhodium) 50%, var(--plating-gold) 50%); }

/* Placeholder marking: business numbers wait for the factory's real figures */
.is-ph { position: relative; outline: 1.5px dashed #C99A3A; outline-offset: 6px; border-radius: 2px; }
.is-ph::before { content: attr(data-ph); position: absolute; z-index: 3; left: 10px; top: -17px; padding: 1px 8px; border-radius: 3px; background: #FCF0DC; color: #8A5A10; font: 600 11px/1.5 var(--font-body); white-space: nowrap; max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; }
.ph-tag { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 3px; background: #FCF0DC; color: #8A5A10; font: 600 10.5px/1 var(--font-body); }

/* ---------- Announcement + utility ---------- */
.announce { background: var(--surface-ink); color: var(--text-on-ink-secondary); font-size: 12.5px; line-height: 1.35; }
.announce .container { display: flex; align-items: center; justify-content: center; gap: 8px 28px; min-height: 34px; padding-block: 7px; flex-wrap: wrap; text-align: center; }
.announce strong { font-weight: 600; color: var(--text-on-ink); }
.announce .opt { display: none; }
@media (min-width: 900px) { .announce .opt { display: inline; } }

.utility { display: none; border-bottom: 1px solid var(--border-soft); font-size: 12.5px; color: var(--text-secondary); background: var(--surface-alt); }
.utility .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.utility nav { display: flex; gap: 2px; align-items: center; }
.utility a, .utility .dd-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 8px; border: 0; border-radius: 3px; background: none; color: inherit; text-decoration: none; font-size: 12.5px; font-weight: 400; box-shadow: none; }
.utility a:hover, .utility .dd-btn:hover { color: var(--text); background: var(--surface-sunk); }
.utility svg.i { width: 15px; height: 15px; }
.utility .strong { color: var(--accent); font-weight: 600; }
.spot { display: inline-flex; align-items: center; gap: 14px; font-variant-numeric: tabular-nums; }
.spot b { color: var(--text); font-weight: 600; }
.spot .up { color: var(--success); }
.spot .dn { color: var(--error); }
.spot .ph-tag { margin-left: -4px; }
@media (min-width: 900px) { .utility { display: block; } }
@media (max-width: 1240px) { .utility .opt { display: none; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--surface); border-bottom: 1px solid var(--border); }
.hdr-main .container { display: flex; align-items: center; gap: 4px; height: 56px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); margin-right: auto; padding: 6px 4px; border-radius: 3px; }
.logo .logo-mark { width: 24px; height: 24px; stroke-width: 1.5; }
.logo-word { font: 700 23px/1 var(--font-display); letter-spacing: -.045em; }
.logo-tag { display: none; font: 500 11px/1.25 var(--font-body); color: var(--text-tertiary); padding-left: 10px; margin-left: 2px; border-left: 1px solid var(--border); max-width: 100px; }
.logo.on-ink { color: var(--text-on-ink); }
.logo.on-ink .logo-tag { color: var(--text-on-ink-secondary); border-color: var(--border-on-ink); display: inline; }
.hdr-search { display: none; }
.hdr-actions { display: flex; align-items: center; gap: 2px; }
.hdr-actions .label-txt { display: none; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font: 600 11px/18px var(--font-body); text-align: center; font-variant-numeric: tabular-nums; }
.menu-btn { margin-left: -10px; }
@media (min-width: 900px) {
  .menu-btn, .search-toggle { display: none !important; }
  .hdr-main .container { height: 76px; gap: 28px; }
  .logo { margin-right: 0; }
  .logo-word { font-size: 27px; }
  .logo-tag { display: inline; }
  .hdr-search { display: block; flex: 1; max-width: 760px; position: relative; }
  .hdr-actions { margin-left: auto; gap: 4px; }
  .hdr-actions .act { display: inline-flex; align-items: center; gap: 8px; width: auto; padding: 0 10px; font-size: 13.5px; font-weight: 600; }
  .hdr-actions .label-txt { display: grid; line-height: 1.2; text-align: left; }
  .hdr-actions .label-txt small { font-size: 12px; font-weight: 400; color: var(--text-tertiary); font-variant-numeric: tabular-nums; }
  .cart-count { top: 4px; left: 20px; right: auto; }
}
@media (max-width: 1180px) and (min-width: 900px) { .hdr-actions .act-qo .label-txt { display: none; } }

/* Search: scope dropdown + field + button, one 46px control */
.search { position: relative; display: flex; align-items: stretch; height: 46px; border: 1.5px solid var(--text); border-radius: var(--r-sm); background: var(--surface); }
.search:focus-within { box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .18); border-color: var(--accent); }
.search .scope { display: none; flex: none; }
.search .scope .dd-btn { height: 100%; min-height: 0; border: 0; border-right: 1px solid var(--border); border-radius: var(--r-sm) 0 0 var(--r-sm); background: var(--surface-alt); box-shadow: none; font-size: 13.5px; font-weight: 500; padding: 0 12px 0 14px; }
.search .scope .dd-btn:hover { background: var(--surface-sunk); }
.search .scope.is-open .dd-btn, .search .scope .dd-btn:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); }
.search .scope .dd-list { top: calc(100% + 6px); left: -1.5px; min-width: 220px; }
.search .field-wrap { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; }
.search .field-wrap > svg.i { position: absolute; left: 14px; color: var(--text-tertiary); pointer-events: none; }
.search input { flex: 1; min-width: 0; height: 100%; padding: 0 36px 0 44px; border: 0; background: transparent; font-size: 15px; color: var(--text); }
.search input:focus { outline: none; }
.search input::placeholder { color: var(--text-tertiary); }
.search .clear { position: absolute; right: 6px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: var(--text-tertiary); display: grid; place-items: center; }
.search .clear:hover { background: var(--surface-alt); color: var(--text); }
.search .clear svg.i { width: 14px; height: 14px; }
.search .go { flex: none; margin: -1.5px -1.5px -1.5px 0; padding: 0 22px; border: 0; border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--accent); color: #fff; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.search .go:hover { background: var(--accent-hover); }
.search .go svg.i { width: 18px; height: 18px; }
@media (min-width: 1100px) { .search .scope { display: block; } }
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 70; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-pop); padding: 8px; display: none; }
.suggest.is-open { display: block; }
.suggest h4 { font-size: 12px; font-weight: 600; color: var(--text-tertiary); padding: 8px 10px 4px; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--r-sm); text-decoration: none; color: var(--text); font-size: 14px; }
.suggest a:hover, .suggest a.is-hl, .suggest a:focus-visible { background: var(--surface-alt); outline: none; }
.suggest a img { width: 40px; height: 40px; border-radius: 3px; background: var(--tile); }
.suggest a .mono { font-size: 12px; color: var(--text-tertiary); }
.suggest a .price { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; }
.suggest .cats { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 10px 8px; }
.suggest .cats a { padding: 0 12px; min-height: 32px; border: 1px solid var(--border); border-radius: 999px; font-size: 13px; }
.suggest mark { background: none; color: var(--accent); font-weight: 600; }
.mobile-search { display: none; padding: 0 var(--gutter) 12px; position: relative; }
.mobile-search .search { height: 44px; }
.mobile-search .suggest { left: var(--gutter); right: var(--gutter); top: calc(100% - 6px); max-height: 70vh; overflow-y: auto; }
.mobile-search.is-open { display: block; }
@media (min-width: 900px) { .mobile-search { display: none !important; } }

/* Category bar: solid graphite band (Stuller slate bar, WebstaurantStore green bar, Grainger dark bar) */
.catnav { display: none; background: var(--nav); }
.catnav > .container { display: flex; align-items: stretch; height: 46px; gap: 0; }
.catnav > .container > a, .catnav button.nav-trigger { display: inline-flex; align-items: center; gap: 8px; padding: 0 13px; border: 0; background: none; color: var(--text-on-ink); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; position: relative; transition: background-color .15s; }
.catnav > .container > a:hover, .catnav button.nav-trigger:hover, .catnav .nav-trigger[aria-expanded="true"] { background: rgba(255, 255, 255, .08); }
.catnav > .container > a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--accent-on-ink); }
.catnav .all { background: var(--accent); margin-right: 6px; padding-inline: 16px !important; }
.catnav .all:hover, .catnav .all[aria-expanded="true"] { background: var(--accent-hover) !important; }
.catnav .divider { width: 1px; margin: 12px 8px; background: var(--border-on-ink); }
.catnav > .container > .svc { color: var(--text-on-ink-secondary); font-weight: 500; }
.catnav > .container > .svc:hover { color: var(--text-on-ink); }
.catnav .push { margin-left: auto; }
@media (min-width: 900px) { .catnav { display: block; } }
@media (max-width: 1240px) {
  .catnav > .container > .opt-wide { display: none; }
  .catnav > .container > a, .catnav button.nav-trigger { padding-inline: 10px; font-size: 13.5px; }
  .catnav > .container { overflow-x: auto; scrollbar-width: none; }
  .catnav > .container::-webkit-scrollbar { display: none; }
}
@media (max-width: 1100px) { .catnav > .container > .svc-extra { display: none; } }

/* Mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: 0 24px 40px -24px rgba(var(--ink-rgb), .3); display: none; }
.mega.is-open { display: block; animation: ddIn .14s var(--ease); }
.mega .container { display: grid; grid-template-columns: 210px repeat(3, minmax(0, 1fr)) 260px; gap: 28px; padding-block: 24px; }
.mega h3 { font-size: 12.5px; font-weight: 600; color: var(--text-tertiary); margin-bottom: 6px; }
.mega ul a { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 14px; color: var(--text); text-decoration: none; }
.mega ul a:hover { color: var(--accent); }
.mega ul a small { color: var(--text-tertiary); font-variant-numeric: tabular-nums; font-size: 12.5px; }
.mega .types a { padding: 7px 12px; margin-inline: -12px; border-radius: var(--r-sm); font-weight: 600; }
.mega .types a:hover, .mega .types a.is-active { background: var(--surface-alt); color: var(--text); }
.mega .promo { background: var(--tile); border-radius: var(--r-md); padding: 14px; display: grid; gap: 8px; text-decoration: none; color: var(--text); align-content: start; }
.mega .promo img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: var(--r-sm); }
.mega .promo p { font-size: 13px; color: var(--text-secondary); }
.mega .promo:hover strong { color: var(--accent); }

/* Mobile chips row */
.chiprow { display: flex; gap: 8px; overflow-x: auto; padding: 10px var(--gutter); scrollbar-width: none; border-bottom: 1px solid var(--border-soft); }
.chiprow::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .chiprow { display: none; } }

/* ---------- Drawers ---------- */
.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(var(--ink-rgb), .45); opacity: 0; pointer-events: none; transition: opacity .2s; }
.scrim.is-open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; bottom: 0; z-index: 100; width: min(440px, 100vw); background: var(--surface); display: flex; flex-direction: column; transition: transform .24s var(--ease); visibility: hidden; }
.drawer.is-open { visibility: visible; transform: none !important; }
.drawer-left { left: 0; transform: translateX(-100%); }
.drawer-right { right: 0; transform: translateX(100%); box-shadow: var(--shadow-drawer); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 20px; min-height: 60px; border-bottom: 1px solid var(--border); }
.drawer-head h2 { font: 600 16px/1.2 var(--font-display); color: var(--text); }
.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.drawer-foot { border-top: 1px solid var(--border); padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); background: var(--surface); }
.mnav a, .mnav summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 20px; border-bottom: 1px solid var(--border-soft); color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; cursor: pointer; list-style: none; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary::after { content: "+"; font-weight: 400; font-size: 20px; color: var(--text-tertiary); }
.mnav details[open] summary::after { content: "\2013"; }
.mnav details a { padding-left: 32px; font-weight: 400; font-size: 14.5px; min-height: 46px; }
.mnav a small { color: var(--text-tertiary); font-weight: 400; font-size: 13px; }
.mnav a:hover, .mnav summary:hover { background: var(--surface-alt); }
.mnav .grp { padding: 20px 20px 8px; font-size: 12.5px; font-weight: 600; color: var(--text-tertiary); }
.mnav-acct { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 16px 20px; }

/* Mini cart: a preview of the last lines; the full list lives on cart.html */
.mc-sum { padding: 14px 20px; background: var(--surface-alt); border-bottom: 1px solid var(--border); display: grid; gap: 8px; }
.mc-sum p { font-size: 13.5px; color: var(--text); }
.mc-sum p b { font-variant-numeric: tabular-nums; }
.meter { height: 6px; border-radius: 3px; background: var(--surface-sunk); overflow: hidden; }
.meter > span { display: block; height: 100%; border-radius: 3px; background: var(--accent); transition: width .3s var(--ease); }
.mc-lines { padding: 0 20px; }
.mc-line { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border-soft); align-items: start; }
.mc-line img { width: 56px; height: 56px; border-radius: var(--r-sm); background: var(--tile); object-fit: cover; }
.mc-line .sku { font: 500 11.5px/1.3 var(--font-mono); color: var(--text-tertiary); }
.mc-line h3 { font-size: 13.5px; font-weight: 500; color: var(--text); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mc-line .var { font-size: 12.5px; color: var(--text-secondary); margin-top: 2px; font-variant-numeric: tabular-nums; }
.mc-line .amt { text-align: right; font-weight: 600; color: var(--text); font-size: 14px; font-variant-numeric: tabular-nums; }
.mc-more { padding: 14px 0; font-size: 13.5px; color: var(--text-secondary); }
.mc-foot-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--text); margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.mc-foot-row b { font-size: 18px; }
.mc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mc-note { font-size: 12px; color: var(--text-tertiary); margin-top: 10px; text-align: center; }
.cart-empty { padding: 48px 20px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.cart-empty p { max-width: 34ch; }

/* Toast */
.toast { position: fixed; z-index: 120; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--surface-ink); color: var(--text-on-ink); padding: 12px 16px; border-radius: var(--r-md); font-size: 14px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow-pop); transition: opacity .2s, transform .2s var(--ease); max-width: calc(100vw - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a, .toast button { border: 0; background: none; color: var(--accent-on-ink); font-weight: 600; min-height: 36px; padding: 0 4px; display: inline-flex; align-items: center; text-decoration: none; white-space: nowrap; }
.toast a:hover, .toast button:hover { text-decoration: underline; }

/* Analytics consent bar (layout.templ ConsentBanner, site.js). Bottom bar above the page and
   below drawers (z 90+); while it shows, the fixed bottom bars (.sticky-buy on the product
   page, .m-checkout on the cart, .co-bar on checkout) and the toast sit on top of it. */
.consent { position: fixed; z-index: 80; left: 0; right: 0; bottom: 0; background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -8px 24px -16px rgba(var(--ink-rgb), .3); padding: 14px 0 calc(14px + env(safe-area-inset-bottom)); }
.consent-in { display: grid; gap: 12px; }
.consent-h { font: 600 14px/1.3 var(--font-body); color: var(--text); margin-bottom: 2px; }
.consent-txt p:not(.consent-h) { font-size: 13px; line-height: 1.5; color: var(--text-secondary); max-width: 92ch; }
.consent-txt .link { color: var(--text); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.consent-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent-acts .btn { min-height: 44px; }
@media (min-width: 900px) {
  .consent { padding-block: 16px calc(16px + env(safe-area-inset-bottom)); }
  .consent-in { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; }
  .consent-acts { grid-template-columns: repeat(2, minmax(120px, auto)); }
}
/* --consent-h: the bar's height, measured by site.js; the defaults cover first paint */
:root { --consent-h: 150px; }
@media (min-width: 900px) { :root { --consent-h: 84px; } }
:root:has(.consent:not([hidden])) body { padding-bottom: var(--consent-h); }
:root:has(.consent:not([hidden])) .sticky-buy { bottom: var(--consent-h); padding-bottom: 0; }
:root:has(.consent:not([hidden])) .m-checkout, :root:has(.consent:not([hidden])) .co-bar:not([hidden]) { bottom: var(--consent-h); padding-bottom: 10px; }
:root:has(.consent:not([hidden])) .toast { bottom: calc(var(--consent-h) + 20px); }

/* ---------- Sections ---------- */
.section { padding-block: 40px; }
.section + .section { padding-top: 8px; }
.section.band { background: var(--surface-alt); padding-block: 48px; }
.section.band + .section { padding-top: 48px; }
@media (min-width: 900px) { .section { padding-block: 56px; } .section + .section { padding-top: 16px; } .section.band { padding-block: 64px; } .section.band + .section { padding-top: 64px; } }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 20px; flex-wrap: wrap; }
.sec-head p { font-size: 14px; color: var(--text-secondary); margin-top: 4px; }
.sec-head .text-btn { min-height: 32px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 13px; color: var(--text-tertiary); padding-block: 14px; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs a { color: var(--text-secondary); text-decoration: none; padding: 2px 0; }
.crumbs a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.crumbs li + li::before { content: "/"; margin-right: 4px; color: var(--border-hover); }
@media (max-width: 899px) { .crumbs { padding-block: 4px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; white-space: nowrap; } .crumbs li, .crumbs a { min-height: 40px; } }

/* ---------- Product card: browse only (image, item no., title, one price, suggested retail). Ordering happens on the product page. ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 640px) { .rail { grid-auto-columns: 31%; gap: 16px; } }
@media (min-width: 1100px) { .rail { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; } }

.card { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-md); transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: var(--border-hover); box-shadow: 0 6px 18px -12px rgba(var(--ink-rgb), .35); }
.card-media { position: relative; aspect-ratio: 1; border-radius: var(--r-md) var(--r-md) 0 0; background: var(--tile); overflow: hidden; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .25s var(--ease); }
.card-media img.alt { opacity: 0; }
@media (hover: hover) { .card:hover .card-media img.alt { opacity: 1; } .card:hover .card-media img.has-alt { opacity: 0; } }
.card-badges { position: absolute; left: 8px; top: 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; pointer-events: none; }
.card-body { display: flex; flex-direction: column; gap: 5px; padding: 10px 12px 12px; flex: 1; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 18px; }
.card .sku { font: 500 11.5px/1.3 var(--font-mono); color: var(--text-tertiary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card h3 { font-size: 13.5px; font-weight: 500; line-height: 1.38; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(13.5px * 1.38 * 2); }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card h3 a:focus-visible { outline: none; }
.card:has(h3 a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.card .price { display: flex; align-items: baseline; gap: 4px; margin-top: 2px; font-variant-numeric: tabular-nums; }
.card .price b { font-size: 17px; font-weight: 700; color: var(--text); letter-spacing: -.01em; }
.card .price small { font-size: 12px; color: var(--text-tertiary); }
.card .retail { margin-top: -2px; font-size: 11.5px; line-height: 1.35; color: var(--text-tertiary); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .retail b { font-weight: 600; color: var(--text-secondary); }
.card .retail .ladder b { color: var(--text); }
.card .meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 4px; font-size: 12px; color: var(--text-tertiary); font-variant-numeric: tabular-nums; }
@media (max-width: 639px) { .card h3 { font-size: 13px; min-height: calc(13px * 1.38 * 2); } .card .retail { font-size: 11px; } .card-body { padding: 8px 10px 10px; } }


/* Variant matrix */
.matrix { width: 100%; font-size: 14px; }
.matrix th { text-align: left; font-size: 12px; font-weight: 600; color: var(--text-tertiary); padding: 0 8px 8px; border-bottom: 1px solid var(--border); }
.matrix td { padding: 7px 8px; border-bottom: 1px solid var(--border-soft); vertical-align: middle; font-variant-numeric: tabular-nums; }
.matrix th:first-child, .matrix td:first-child { padding-left: 10px; }
.matrix th:last-child, .matrix td:last-child { padding-right: 10px; text-align: right; }
.matrix .size { font-weight: 600; color: var(--text); }
.matrix .sku { display: block; font: 500 11px/1.3 var(--font-mono); color: var(--text-tertiary); }
.matrix tr.has-qty td { background: var(--accent-soft); }
.matrix tr.has-qty td:first-child, .matrix tr.is-sel td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.matrix .line { font-weight: 600; color: var(--text); }
.matrix .zero { color: var(--text-tertiary); font-weight: 400; }
.matrix .notify { font-size: 13px; font-weight: 600; color: var(--accent); background: none; border: 0; padding: 0; min-height: 40px; }
.matrix .notify:hover { text-decoration: underline; text-underline-offset: 3px; }
.matrix .stepper { height: 38px; }
.matrix-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 10px 0; font-size: 14px; font-variant-numeric: tabular-nums; }
.matrix-total b { font-size: 18px; color: var(--text); }
@media (max-width: 520px) {
  .matrix thead { display: none; }
  .matrix tr { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "size step" "stock line"; gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid var(--border-soft); }
  .matrix td { border: 0; padding: 0 !important; }
  .matrix td:nth-child(1) { grid-area: size; }
  .matrix td:nth-child(2) { grid-area: stock; font-size: 12.5px; }
  .matrix td:nth-child(3) { display: none; }
  .matrix td:nth-child(4) { grid-area: step; }
  .matrix td:nth-child(5) { grid-area: line; text-align: right; }
  .matrix tr.has-qty { background: var(--accent-soft); box-shadow: -16px 0 0 var(--accent-soft), 16px 0 0 var(--accent-soft); }
  .matrix tr.has-qty td { background: none; box-shadow: none !important; }
  .matrix .stepper { height: 44px; }
  .matrix .stepper button { width: 44px; }
}

/* ---------- Accordion / FAQ ---------- */
.acc { border-top: 1px solid var(--border); }
.acc details { border-bottom: 1px solid var(--border); }
.acc summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 54px; padding: 12px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 15px; color: var(--text); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; width: 9px; height: 9px; flex: none; border-right: 1.6px solid var(--text-secondary); border-bottom: 1.6px solid var(--text-secondary); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s var(--ease); }
.acc details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.acc summary:hover { color: var(--accent); }
.acc .a { padding: 0 0 18px; font-size: 14.5px; line-height: 1.65; max-width: 76ch; }
.acc .a p + p, .acc .a ul { margin-top: 10px; }
.acc .a ul { list-style: disc; padding-left: 20px; }
.acc .a li + li { margin-top: 6px; }
.acc .a a { color: var(--accent); text-underline-offset: 3px; }

/* ---------- Spec table ---------- */
.spec { display: grid; grid-template-columns: minmax(120px, 36%) 1fr; border-top: 1px solid var(--border); font-size: 14px; }
.spec dt, .spec dd { padding: 10px 0; border-bottom: 1px solid var(--border-soft); }
.spec dt { color: var(--text-tertiary); padding-right: 16px; }
.spec dd { color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface-ink); color: var(--text-on-ink-secondary); font-size: 14px; }
.ft-terms { border-bottom: 1px solid var(--border-on-ink); }
.ft-terms .container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 24px; padding-block: 28px; }
.ft-terms div { display: grid; gap: 2px; }
.ft-terms b { font: 700 20px/1.2 var(--font-display); color: var(--text-on-ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ft-terms span { font-size: 13px; }
@media (min-width: 900px) { .ft-terms .container { grid-template-columns: repeat(5, 1fr); } }
.ft-main .container { display: grid; gap: 32px; padding-block: 40px; grid-template-columns: repeat(2, 1fr); }
.ft-main .brand { grid-column: 1 / -1; display: grid; gap: 14px; align-content: start; max-width: 360px; }
.ft-main .brand .logo { padding: 0; margin: 0; }
.ft-main h2 { font-size: 13px; font-weight: 600; color: var(--text-on-ink); margin-bottom: 10px; }
.ft-main ul a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: none; color: var(--text-on-ink-secondary); }
.ft-main ul a:hover { color: var(--text-on-ink); text-decoration: underline; text-underline-offset: 3px; }
.ft-contact a { color: var(--text-on-ink); }
@media (min-width: 900px) { .ft-main .container { grid-template-columns: 1.6fr repeat(4, 1fr); padding-block: 56px; } .ft-main .brand { grid-column: auto; } }
.ft-base { border-top: 1px solid var(--border-on-ink); font-size: 12.5px; }
.ft-base .container { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; padding-block: 20px; }
.ft-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.ft-pills span { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border: 1px solid var(--border-on-ink); border-radius: 3px; font-size: 12px; color: var(--text-on-ink); }
.ft-base nav { display: flex; gap: 16px; flex-wrap: wrap; }
.ft-base a { color: var(--text-on-ink-secondary); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.ft-base a:hover { color: var(--text-on-ink); }
.lang-switch { gap: 4px 14px; }
.lang-switch span[aria-current] { color: var(--text-on-ink); font-weight: 600; }
.ft-newsletter { display: flex; gap: 8px; max-width: 360px; }
.ft-newsletter .input { background: transparent; border-color: var(--border-on-ink); color: var(--text-on-ink); }
.ft-newsletter .input::placeholder { color: var(--text-on-ink-secondary); }
.ft-newsletter .input:focus { border-color: var(--accent-on-ink); box-shadow: none; }
.ft-newsletter .btn-outline { background: transparent; color: var(--text-on-ink); border-color: var(--border-on-ink); }
.ft-newsletter .btn-outline:hover { border-color: var(--text-on-ink); }
.site-footer :focus-visible { outline-color: var(--accent-on-ink); }
.ft-col summary { list-style: none; cursor: default; }
.ft-col summary::-webkit-details-marker { display: none; }
@media (max-width: 899px) {
  .ft-main .container { grid-template-columns: 1fr; gap: 0; padding-block: 28px; }
  .ft-main .brand { margin-bottom: 20px; }
  .ft-col { border-top: 1px solid var(--border-on-ink); }
  .ft-col summary { display: flex; justify-content: space-between; align-items: center; min-height: 52px; cursor: pointer; }
  .ft-col summary h2 { margin: 0; font-size: 14px; }
  .ft-col summary::after { content: "+"; font-size: 20px; color: var(--text-on-ink-secondary); }
  .ft-col[open] summary::after { content: "\2013"; }
  .ft-col ul { padding-bottom: 12px; }
  .ft-contact { border-top: 1px solid var(--border-on-ink); padding-top: 16px; }
  .check { min-height: 44px; }
}

/* ---------- Touch targets + legibility on phones (audit: .shots/audit.mjs, 390 / 360 px) ---------- */
@media (max-width: 899px) {
  .chip, .btn-sm, .dd-sm .dd-btn { min-height: 40px; }
  .text-btn { min-height: 44px; }
  .logo { min-height: 44px; }
  .ft-main ul a, .ft-base a { min-height: 40px; }
  .ft-main .brand .logo { min-height: 44px; }
  .card .sku, .matrix .sku, .mc-line .sku, .badge, .cart-count { font-size: 12px; }
  .stepper { height: 44px; }
  .stepper button { width: 40px; }
}

/* Footer action strip (replaces the terms band: no figures we cannot stand behind) */
.ft-act { border-bottom: 1px solid var(--border-on-ink); }
.ft-act .container { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; }
.ft-act a { display: flex; align-items: center; gap: 12px; padding: 20px 4px; color: var(--text-on-ink-secondary); text-decoration: none; font-size: 13px; line-height: 1.4; }
.ft-act a svg.i { width: 22px; height: 22px; color: var(--accent-on-ink); flex: none; }
.ft-act a span { display: grid; }
.ft-act b { font: 600 15px/1.3 var(--font-body); color: var(--text-on-ink); }
.ft-act a:hover b { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) { .ft-act .container { grid-template-columns: repeat(4, 1fr); } .ft-act a { padding: 26px 8px; } }

/* ===== Copy review 2026-10-18: site chrome ===== */
/* logo tagline "925 silver jewelry manufacturer": room for two even lines */
.logo-tag { max-width: 118px; }
