/* Oakspan Supply storefront.
   The working catalog: white paper, navy ink, one blue for every action, orange only for the rack beam under the
   header and for things that need attention (hazmat, freight, open questions). One type family, Archivo, used
   across its width axis: condensed and heavy for display, normal width for reading, a little narrow with tabular
   figures inside tables. Rules separate things; nothing casts a shadow. */
:root {
  --paper: #ffffff;
  --paper-2: #f3f4f6;
  --paper-3: #e9ebef;
  --ink: #0e1f3d;
  --ink-2: #3b4760;
  --ink-3: #65708a;
  --rule: #d4d9e1;
  --rule-2: #e5e8ed;
  --blue: #1b4fb3;
  --blue-hover: #15408f;
  --blue-tint: #e8eefb;
  --beam: #f26a1b;
  --beam-ink: #b4460b;
  --beam-bg: #fff1e8;
  --ok: #1b7a46;
  --ok-bg: #e3f3ea;
  --kraft: #c89b63;
  --on-navy: #c7d1e4;
  --on-navy-2: #8d9bb8;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --w-display: 80%;
  --w-head: 88%;
  --w-data: 92%;

  --s-12: .75rem;
  --s-13: .8125rem;
  --s-14: .875rem;
  --s-15: .9375rem;
  --s-17: 1.0625rem;
  --s-20: 1.25rem;
  --s-24: 1.5rem;
  --s-h2: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
  --s-h1: clamp(2.1rem, 1.3rem + 2.6vw, 3.4rem);
  --s-hero: clamp(2.7rem, 1.3rem + 4.4vw, 5.2rem);

  --gutter: clamp(16px, 3.5vw, 40px);
  --max: 1320px;
  --top-h: 60px;
  --section: clamp(40px, 5vw, 72px);
  --r: 4px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; font-stretch: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 2px; }
::placeholder { color: var(--ink-3); opacity: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
kbd { font-size: var(--s-12); border: 1px solid var(--rule); border-bottom-width: 2px; border-radius: 3px; padding: 0 5px; background: var(--paper); color: var(--ink-2); }
/* Part numbers: same family, a little narrow, every figure the same width so columns line up. */
.pn, .mono { font-stretch: var(--w-data); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .01em; color: var(--ink-2); white-space: nowrap; }
.opt { font-weight: 400; color: var(--ink-3); }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.per { display: block; font-size: var(--s-12); color: var(--ink-3); font-weight: 400; }

/* ---------- preview bar ---------- */
.preview-bar { margin: 0; padding: 6px var(--gutter); background: var(--paper-3); color: var(--ink-2); font-size: var(--s-12); text-align: center; }

/* ---------- header: the rack. Navy uprights, one orange beam. ---------- */
.top { position: sticky; top: 0; z-index: 40; background: var(--ink); color: var(--paper); }
.top-bar { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 22px); min-height: var(--top-h); max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.beam { height: 3px; background: var(--beam); }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; flex-shrink: 0; color: var(--paper); }
.brand-mark { width: 26px; height: 26px; }
.brand-word { font-weight: 800; font-stretch: var(--w-head); font-size: 1.2rem; letter-spacing: -.01em; white-space: nowrap; }
.brand-word span { font-weight: 500; color: var(--on-navy); }
.top-links { display: flex; align-items: center; gap: clamp(6px, 1vw, 14px); }
.top-links a, .top-links .nav-shop { color: var(--on-navy); text-decoration: none; font-size: var(--s-14); font-weight: 600; padding: 6px 6px; border: 0; background: none; border-radius: var(--r); white-space: nowrap; }
.top-links a:hover, .top-links .nav-shop:hover, .top-links .nav-shop[aria-expanded="true"] { color: var(--paper); background: rgba(255, 255, 255, .08); }
.top-links a[aria-current="page"], .nav-help[aria-current="page"] { color: var(--paper); box-shadow: inset 0 -2px 0 var(--beam); border-radius: 0; }
.nav-help { color: var(--on-navy); text-decoration: none; font-size: var(--s-14); font-weight: 600; padding: 6px 6px; white-space: nowrap; }
.nav-help:hover { color: var(--paper); }
.nav-shop { display: inline-flex; align-items: center; gap: 6px; }
.nav-shop svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 2; }
.top .focus-light:focus-visible, .top a:focus-visible, .top button:focus-visible, .top input:focus-visible { outline-color: var(--paper); }

/* Search: a real field with a results list under it. */
.nav-search { position: relative; flex: 1 1 360px; min-width: 0; max-width: 600px; margin-left: auto; }
.nav-search-row { position: relative; display: flex; height: 40px; background: var(--paper); border-radius: var(--r); overflow: hidden; }
.nav-search-row input { flex: 1; min-width: 0; height: 100%; padding: 0 12px; border: 0; background: transparent; color: var(--ink); font-size: var(--s-15); }
.nav-search-row input:focus-visible { outline-offset: -3px; }
.nav-search-row button { display: grid; place-items: center; width: 44px; border: 0; background: var(--blue); color: var(--paper); }
.nav-search-row button:hover { background: var(--blue-hover); }
.nav-search-row button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nav-search-row input::-webkit-search-decoration, .nav-search-row input::-webkit-search-cancel-button { -webkit-appearance: none; }
.palette { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60; background: var(--paper); color: var(--ink); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; }
.palette-results { list-style: none; margin: 0; padding: 4px; max-height: min(460px, 60vh); overflow-y: auto; }
.palette-results li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 7px 8px; border-radius: 3px; cursor: pointer; }
.palette-results li[aria-selected="true"] { background: var(--blue-tint); box-shadow: inset 3px 0 0 var(--blue); }
.palette-results .thumb { width: 44px; height: 44px; }
.palette-results .p-name { margin: 0; font-weight: 600; font-size: var(--s-14); line-height: 1.3; }
.palette-results .p-meta { margin: 1px 0 0; font-size: var(--s-13); color: var(--ink-2); }
.palette-results mark { background: #ffe3cf; color: inherit; border-radius: 2px; }
.palette-results .p-price { font-weight: 700; font-size: var(--s-14); font-variant-numeric: tabular-nums; }
.palette-empty { padding: 16px; color: var(--ink-2); font-size: var(--s-14); }
.palette-empty p { margin: 0 0 10px; }
.palette-status { margin: 0; font-size: var(--s-13); font-weight: 600; color: var(--ok); }
.palette-status:not(:empty) { padding: 8px 14px; border-top: 1px solid var(--rule); }
.palette-foot { margin: 0; padding: 8px 14px; border-top: 1px solid var(--rule); font-size: var(--s-12); color: var(--ink-3); background: var(--paper-2); }
.palette-foot kbd { margin-right: 2px; }

.nav-account { color: var(--paper); font-size: var(--s-14); font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav-cart { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: var(--paper); border-radius: var(--r); font-weight: 600; font-size: var(--s-14); }
.nav-cart:hover { border-color: var(--paper); }
.nav-cart svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.cart-count { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; background: var(--beam); color: var(--ink); font-size: var(--s-12); font-weight: 800; border-radius: 11px; font-variant-numeric: tabular-nums; }
.cart-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.3); } }
.nav-menu-btn { display: none; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .35); border-radius: var(--r); background: transparent; color: var(--paper); font-weight: 600; font-size: var(--s-14); }
.nav-menu-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.mobile-menu { position: absolute; top: 100%; left: 0; right: 0; display: grid; padding: 4px var(--gutter) 12px; background: var(--paper); color: var(--ink); border-bottom: 3px solid var(--beam); }
.mobile-menu a { padding: 13px 0; border-bottom: 1px solid var(--rule-2); text-decoration: none; font-weight: 600; font-size: var(--s-17); }
.mobile-menu a.mm-call { border-bottom: 0; color: var(--blue); }
.mobile-menu small, .reach small { font-weight: 400; font-size: var(--s-13); color: var(--ink-3); }

/* Shop menu: every category, one click from anywhere. */
.shop-menu { position: absolute; left: 0; right: 0; top: 100%; z-index: 50; background: var(--paper); color: var(--ink); border-bottom: 3px solid var(--beam); }
.shop-menu-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-top: 0; max-width: var(--max); margin: 0 auto; }
.shop-menu-grid a { display: grid; gap: 2px; padding: 12px 12px 14px; background: var(--paper); text-decoration: none; }
.shop-menu-grid a:hover { background: var(--paper-2); }
.shop-menu .shot { aspect-ratio: 4 / 3; margin-bottom: 6px; }
.shop-menu .sm-name { font-weight: 700; font-size: var(--s-14); line-height: 1.25; }
.shop-menu .sm-eg { font-size: var(--s-12); color: var(--ink-3); line-height: 1.35; }
.shop-menu-foot { display: flex; justify-content: space-between; gap: 16px; max-width: var(--max); margin: 0 auto; padding: 10px var(--gutter) 14px; font-size: var(--s-14); color: var(--ink-2); }
.shop-menu-foot a { color: var(--blue); font-weight: 600; }
.shop-menu-foot a + a { margin-left: 18px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 9px 16px; border-radius: var(--r); border: 1px solid transparent;
  font-weight: 600; font-size: var(--s-15); text-decoration: none; line-height: 1.15; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary, .btn-ink { background: var(--blue); color: var(--paper); }
.btn-primary:hover, .btn-ink:hover { background: var(--blue-hover); }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--rule); }
.btn-light:hover { border-color: var(--ink); }
.btn-ghost { background: var(--paper); border-color: var(--rule); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.btn-sm { min-height: 34px; padding: 6px 12px; font-size: var(--s-13); }
.link-btn { padding: 0; border: 0; background: none; color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--blue-hover); }
.text-link { font-weight: 600; font-size: var(--s-14); color: var(--blue); text-underline-offset: 4px; white-space: nowrap; }
.text-link:hover { color: var(--blue-hover); }

/* ---------- headings and sections ---------- */
.section { padding: var(--section) 0; }
.section-title { text-wrap: balance; margin: 0 0 6px; max-width: 28ch; font-size: var(--s-h2); line-height: 1.05; font-weight: 750; font-stretch: var(--w-head); letter-spacing: -.015em; }
.section-lede { text-wrap: pretty; margin: 0 0 22px; max-width: 48em; font-size: var(--s-15); color: var(--ink-2); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 32px; flex-wrap: wrap; margin-bottom: 18px; }
.section-head .section-title, .section-head .section-lede { margin-bottom: 0; }
.section-head .text-link { margin-bottom: 4px; }
.band { background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

/* ---------- hero: the plain statement and the live quote ---------- */
.hero { border-bottom: 1px solid var(--rule); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(28px, 4vw, 56px); }
.hero-title { text-wrap: balance; margin: 0 0 16px; max-width: 12ch; font-size: var(--s-hero); line-height: .94; font-weight: 800; font-stretch: var(--w-display); letter-spacing: -.02em; }
.hero-lede { text-wrap: pretty; margin: 0 0 24px; max-width: 36em; font-size: var(--s-17); line-height: 1.5; color: var(--ink-2); }
.hero-ask { margin: 0 0 8px; font-weight: 700; font-size: var(--s-14); color: var(--ink-2); }
.paths { display: grid; max-width: 560px; border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; }
.path { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 16px; padding: 13px 16px; background: var(--paper); text-decoration: none; transition: background .15s; }
.path + .path { border-top: 1px solid var(--rule); }
.path:hover { background: var(--blue-tint); }
.path-title { font-weight: 700; font-size: var(--s-17); line-height: 1.25; }
.path-sub { font-size: var(--s-14); color: var(--ink-2); line-height: 1.35; }
.path::after { content: ""; grid-column: 2; grid-row: 1 / span 2; width: 9px; height: 9px; border-top: 2px solid var(--blue); border-right: 2px solid var(--blue); transform: rotate(45deg); }
.hero-facts { list-style: none; margin: 26px 0 0; padding: 0; max-width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.hero-facts li { display: grid; gap: 1px; padding-top: 10px; border-top: 1px solid var(--rule); font-size: var(--s-13); color: var(--ink-2); line-height: 1.4; }
.hero-facts strong { color: var(--ink); font-size: var(--s-14); }

/* The live quote: a document, not a chat box. */
.demo { border: 1px solid var(--rule); border-radius: var(--r); background: var(--paper); overflow: hidden; }
.demo-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 16px; border-bottom: 2px solid var(--ink); }
.demo-title { margin: 0; font-weight: 750; font-stretch: var(--w-head); font-size: var(--s-17); }
.demo-meta { margin: 0; font-size: var(--s-13); color: var(--ink-2); min-height: 1.3em; }
.demo-you { padding: 12px 16px; background: var(--paper-2); border-bottom: 1px solid var(--rule); }
.demo-you-h { margin: 0 0 6px; font-size: var(--s-12); font-weight: 600; color: var(--ink-3); }
.demo-list { list-style: none; margin: 0; padding: 0; min-height: 7.5em; font-size: var(--s-14); line-height: 1.5; color: var(--ink); }
.demo-list li { white-space: pre-wrap; }
.demo-list li.typing::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 1px; vertical-align: -2px; background: var(--ink); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.demo-lines { list-style: none; margin: 0; padding: 4px 16px 0; min-height: 392px; }
.demo-lines .sheet-line { padding: 10px 0; }
.demo-lines .sl-you { display: none; }
.demo-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px 14px; border-top: 1px solid var(--rule); background: var(--paper-2); }
.demo-foot .sheet-total { gap: 10px; }
.demo-foot .sheet-total strong { font-size: var(--s-20); }
.demo-foot .btn { margin-left: auto; }
.demo-caption { margin: 8px 0 0; font-size: var(--s-13); color: var(--ink-3); }

/* ---------- product pictures ---------- */
.shot { position: relative; display: grid; place-items: center; overflow: hidden; border-radius: var(--r); background: var(--paper-2); }
.shot img { width: 100%; height: 100%; object-fit: contain; }
.shot-drawing img { width: 60%; height: 60%; }
.thumb { flex-shrink: 0; width: 56px; height: 56px; }
.thumb:not(.shot-drawing) img { width: 130%; height: 130%; max-width: none; }

/* ---------- tables: one row shape everywhere ---------- */
.table-scroll { position: relative; overflow-x: auto; }
.sku-table { width: 100%; border-collapse: collapse; min-width: 760px; border-top: 2px solid var(--ink); }
.sku-table th { text-align: left; font-size: var(--s-12); font-weight: 600; color: var(--ink-3); padding: 9px 12px; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.sku-table td { padding: 10px 12px; border-bottom: 1px solid var(--rule-2); vertical-align: middle; font-size: var(--s-14); font-stretch: var(--w-data); }
.sku-table th:first-child, .sku-table td:first-child { padding-left: 0; }
.sku-table th:last-child, .sku-table td:last-child { padding-right: 0; }
.sku-table tbody tr:hover { background: var(--paper-2); }
.sku-table .num .price { font-size: var(--s-15); }
.item-cell { display: flex; align-items: center; gap: 12px; }
.item-name { display: block; margin: 0; padding: 0; border: 0; background: none; text-align: left; font-weight: 600; font-stretch: 100%; font-size: var(--s-14); line-height: 1.3; color: var(--ink); text-decoration: none; }
.item-name:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.item-spec { margin: 2px 0 0; font-size: var(--s-13); color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.add-cell { display: flex; gap: 6px; justify-content: flex-end; align-items: center; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; background: var(--paper); }
.qty button { width: 32px; height: 36px; border: 0; background: var(--paper-2); font-weight: 700; color: var(--ink-2); }
.qty button:hover { background: var(--blue-tint); color: var(--blue); }
.qty input { width: 44px; height: 36px; border: 0; text-align: center; font-variant-numeric: tabular-nums; -moz-appearance: textfield; background: var(--paper); font-size: var(--s-14); }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.add-btn { min-height: 36px; padding: 6px 12px; font-size: var(--s-13); white-space: nowrap; }
.add-btn.added { background: var(--ok); }

/* Shipping tags: the one place orange carries meaning besides the beam. */
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 1px 7px; border: 1px solid var(--rule); border-radius: 3px; font-size: var(--s-12); font-weight: 600; font-stretch: 100%; line-height: 1.5; color: var(--ink-2); white-space: nowrap; }
.tag-hazmat { color: var(--beam-ink); border-color: #f0c2a4; background: var(--beam-bg); }
.tag-hazmat::before { content: ""; width: 7px; height: 7px; background: var(--beam); transform: rotate(45deg); }

/* ---------- often reordered ---------- */
.popular { padding: var(--section) 0; }

/* ---------- category index: a ruled catalog grid ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.cat-card { display: grid; align-content: start; gap: 3px; padding: 12px 12px 14px; background: var(--paper); text-decoration: none; transition: background .15s; }
.cat-card:hover { background: var(--paper-2); }
.cat-shot { aspect-ratio: 1; margin-bottom: 8px; background: transparent; }
.cat-card:hover .cat-shot img { transform: scale(1.04); }
.cat-shot img { transition: transform .4s var(--ease); }
.cat-name { font-weight: 700; font-size: var(--s-15); line-height: 1.2; }
.cat-eg { font-size: var(--s-12); color: var(--ink-3); line-height: 1.35; }
.cat-count { padding-top: 4px; font-size: var(--s-12); color: var(--ink-3); }

/* ---------- brands ---------- */
.brands { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.brands-inner { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 28px; padding-top: 16px; padding-bottom: 16px; }
.brands-title { margin: 0; font-size: var(--s-13); font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.brands-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; }
.brands-list li { font-weight: 800; font-stretch: var(--w-head); font-size: var(--s-15); letter-spacing: -.01em; color: var(--ink-3); }

/* ---------- three ways ---------- */
.ways { padding: var(--section) 0; }
.ways-bays { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.way { display: flex; flex-direction: column; padding: 22px 22px 24px; background: var(--paper); }
.way-title { margin: 0 0 6px; font-size: var(--s-20); font-weight: 750; font-stretch: var(--w-head); }
.way-for { margin: 0 0 14px; color: var(--ink-2); font-size: var(--s-14); }
.way-for strong { color: var(--ink); }
.ticks { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; font-size: var(--s-14); }
.ticks li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; text-wrap: pretty; }
.ticks li::before { content: ""; width: 10px; height: 5px; margin-top: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.way .btn { margin-top: auto; align-self: flex-start; }

/* ---------- industries ---------- */
.industries { padding: var(--section) 0; }
.ind-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); border-top: 2px solid var(--ink); }
.ind-list li { display: grid; gap: 2px; padding: 14px 0 16px; border-bottom: 1px solid var(--rule); }
.ind-name { margin: 0; font-size: var(--s-17); font-weight: 700; }
.ind-buys { margin: 0; color: var(--ink-2); font-size: var(--s-14); }
.ind-cats { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 6px 0 0; font-size: var(--s-13); font-weight: 600; }
.ind-cats a { color: var(--blue); text-decoration: none; }
.ind-cats a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- account panel ---------- */
.cta-band { padding: 0 0 var(--section); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px 48px; flex-wrap: wrap; padding: clamp(22px, 3vw, 36px); border: 2px solid var(--ink); border-radius: var(--r); }
.cta-title { margin: 0 0 6px; font-size: var(--s-h2); font-weight: 780; font-stretch: var(--w-head); letter-spacing: -.015em; }
.cta-lede { margin: 0; max-width: 44em; color: var(--ink-2); font-size: var(--s-15); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--on-navy); border-top: 3px solid var(--beam); padding-top: clamp(32px, 4vw, 52px); }
.footer-top { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2.4fr); gap: 28px 48px; padding-bottom: 28px; }
.footer-word { margin: 0 0 6px; color: var(--paper); font-weight: 800; font-stretch: var(--w-head); font-size: 1.35rem; letter-spacing: -.01em; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.footer-cols > div { display: grid; gap: 7px; align-content: start; }
.footer-h { margin: 0 0 2px; color: var(--paper); font-weight: 700; font-size: var(--s-14); }
.footer a { text-decoration: none; font-size: var(--s-14); }
.footer a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
.footer-fine { margin: 2px 0 0; font-size: var(--s-13); color: var(--on-navy-2); }
.footer-base { position: relative; display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 20px; font-size: var(--s-13); color: var(--on-navy-2); }
.footer-base::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid rgba(255, 255, 255, .14); }
.footer-base p { margin: 0; max-width: 60em; }

/* ---------- page heads and breadcrumbs ---------- */
.crumbs ol { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: nowrap; gap: 6px; font-size: var(--s-13); color: var(--ink-3); }
.crumbs li { white-space: nowrap; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--rule); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.crumbs li:last-child { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.page-head { padding: clamp(24px, 3.5vw, 44px) 0 clamp(22px, 3vw, 36px); border-bottom: 1px solid var(--rule); }
.page-title { text-wrap: balance; margin: 0 0 10px; max-width: 20ch; font-size: var(--s-h1); line-height: .98; font-weight: 800; font-stretch: var(--w-display); letter-spacing: -.02em; }
.page-lede { text-wrap: pretty; margin: 0; max-width: 46em; font-size: var(--s-17); color: var(--ink-2); }
.page-meta { margin: 12px 0 0; font-size: var(--s-14); font-weight: 600; color: var(--ink-3); }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 24px 48px; align-items: center; }
.head-shot { aspect-ratio: 4 / 3; max-width: 300px; justify-self: end; width: 100%; background: transparent; }

/* ---------- product grid (category pages, related) ---------- */
.fam-section, .related { padding: var(--section) 0; }
.fam-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.fam-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fam-card { position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 10px; padding: 12px 12px 14px; background: var(--paper); transition: background .15s; }
.fam-card:hover { background: var(--paper-2); }
.fam-link { position: absolute; inset: 0; z-index: 1; }
.fam-shot { aspect-ratio: 1; background: transparent; }
.fam-brand { margin: 0 0 2px; font-size: var(--s-12); font-weight: 600; color: var(--ink-3); }
.fam-title { margin: 0 0 4px; font-size: var(--s-15); font-weight: 700; line-height: 1.3; }
.fam-spec { margin: 0; font-size: var(--s-13); color: var(--ink-2); }
.fam-sizes { margin: 6px 0 0; font-size: var(--s-12); color: var(--ink-3); }
.fam-price { margin: 0; padding-top: 8px; border-top: 1px solid var(--rule-2); font-weight: 700; font-size: var(--s-15); font-variant-numeric: tabular-nums; }
.fam-price span { margin-left: 6px; font-weight: 400; font-size: var(--s-12); color: var(--ink-3); }
.cat-more { padding: 0 0 var(--section); }
.cat-more-text { margin: 0 0 14px; font-size: var(--s-15); color: var(--ink-2); }
.cat-more-text a { color: var(--blue); font-weight: 600; }
.cat-nav { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-nav a { padding: 6px 12px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--paper); font-size: var(--s-14); text-decoration: none; }
.cat-nav a:hover { border-color: var(--ink); }

/* ---------- filters, sort and view ---------- */
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 6px 12px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--paper); font-size: var(--s-14); font-weight: 600; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filter-count { margin: 0 0 0 auto; font-size: var(--s-13); color: var(--ink-3); }
.sort { display: flex; align-items: center; gap: 8px; font-size: var(--s-13); color: var(--ink-3); }
.sort select { height: 36px; padding: 0 30px 0 10px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1.5 5 5 5-5' fill='none' stroke='%233b4760' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 10px center / 10px; -webkit-appearance: none; appearance: none; font-size: var(--s-14); font-weight: 600; color: var(--ink); cursor: pointer; }
.sort select:hover { border-color: var(--ink-3); }
.view { display: inline-flex; border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; }
.view button { height: 36px; padding: 0 12px; border: 0; background: var(--paper); font-size: var(--s-13); font-weight: 600; color: var(--ink-2); }
.view button + button { border-left: 1px solid var(--rule); }
.view button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.all-sizes { margin-top: 4px; }

/* ---------- shop index ---------- */
.index { padding: var(--section) 0; border-top: 1px solid var(--rule); }
.index-cols { columns: 3 280px; column-gap: 40px; margin-top: 16px; }
.index-group { break-inside: avoid; margin-bottom: 24px; }
.index-h { margin: 0 0 6px; font-size: var(--s-15); }
.index-h a { text-decoration: none; }
.index-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.index-group li a { font-size: var(--s-14); color: var(--ink-2); text-decoration: none; }
.index-group li a:hover { color: var(--blue); text-decoration: underline; }

/* ---------- product page ---------- */
.pdp { padding: clamp(20px, 3vw, 36px) 0 clamp(28px, 4vw, 52px); border-bottom: 1px solid var(--rule); }
.pdp-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
@media (min-width: 1001px) { .pdp-media { position: sticky; top: calc(var(--top-h) + 20px); } }
.pdp-shot { aspect-ratio: 1; }
.pdp-brand { margin: 0 0 4px; font-weight: 600; font-size: var(--s-14); color: var(--blue); }
.pdp-title { text-wrap: balance; margin: 0 0 8px; font-size: clamp(1.8rem, 1.1rem + 2.1vw, 2.9rem); line-height: 1; font-weight: 800; font-stretch: var(--w-display); letter-spacing: -.02em; }
.pdp-spec { margin: 0 0 16px; font-size: var(--s-15); color: var(--ink-2); }
.hazard { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; }
.hazard li { display: inline-flex; align-items: baseline; gap: 6px; padding: 4px 10px; border: 1px solid var(--rule); border-radius: 3px; font-size: var(--s-13); font-weight: 600; font-variant-numeric: tabular-nums; }
.hazard li span { font-weight: 400; color: var(--ink-3); }
.hazard li.hz-signal { border-color: #f0c2a4; background: var(--beam-bg); color: var(--beam-ink); }
.pdp-price { margin: 0 0 16px; font-size: 2rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.01em; line-height: 1.1; }
.pdp-price > span:last-child { display: block; font-size: var(--s-14); font-weight: 400; color: var(--ink-2); letter-spacing: 0; margin-top: 2px; }
.buy-sizes { margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.buy-sizes legend { padding: 0; margin-bottom: 8px; font-size: var(--s-14); font-weight: 700; }
.buy-chosen { margin-left: 4px; font-weight: 500; color: var(--ink-2); }
.size-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.size-opt { position: relative; }
.size-opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.size-opt span { display: grid; place-items: center; min-width: 46px; min-height: 40px; padding: 0 12px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--paper); font-weight: 600; font-size: var(--s-14); font-variant-numeric: tabular-nums; transition: border-color .15s, background .15s, color .15s; }
.size-opt:hover span { border-color: var(--ink-3); }
.size-opt input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.size-opt input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.size-opt input[data-unpriced] + span { border-style: dashed; }
.pdp-facts { list-style: none; margin: 0 0 18px; padding: 12px 0 0; border-top: 1px solid var(--rule); display: grid; gap: 6px; font-size: var(--s-14); }
.pdp-facts li > span:first-child { display: inline-block; min-width: 128px; color: var(--ink-3); }
.pdp-flag { color: var(--beam-ink); font-weight: 600; }
.buy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.buy-row .add-cell { justify-content: flex-start; }
.buy-row .qty button, .buy-row .qty input { height: 42px; }
.buy-row .add-btn { min-height: 42px; min-width: 150px; font-size: var(--s-15); padding: 9px 16px; }
.buy-notes { list-style: none; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid var(--rule-2); display: grid; gap: 5px; font-size: var(--s-13); color: var(--ink-2); }
.buy-notes li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; }
.buy-notes li::before { content: ""; width: 10px; height: 5px; margin-top: 5px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.pdp-sizes { padding: var(--section) 0 calc(var(--section) / 2); }
.size-table { min-width: 720px; }
.size-label { font-size: var(--s-15); font-stretch: 100%; }
.pdp-detail { padding: calc(var(--section) / 2) 0 var(--section); }
.pdp-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); }
.detail-h { margin: 0 0 8px; font-size: var(--s-20); font-weight: 750; font-stretch: var(--w-head); }
.detail-p { margin: 0 0 24px; color: var(--ink-2); font-size: var(--s-14); }
.detail-p a { color: var(--blue); font-weight: 600; }
.note { color: var(--ink-3); font-style: italic; }
.spec-table { width: 100%; border-collapse: collapse; font-size: var(--s-14); border-top: 2px solid var(--ink); }
.spec-table th { text-align: left; font-weight: 600; color: var(--ink-3); padding: 8px 12px 8px 0; width: 38%; border-bottom: 1px solid var(--rule-2); vertical-align: top; }
.spec-table td { padding: 8px 0; border-bottom: 1px solid var(--rule-2); }
.related { border-top: 1px solid var(--rule); }

/* ---------- quote page ---------- */
.quote { padding: var(--section) 0; }
.quote-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.field-label { display: block; font-weight: 700; font-size: var(--s-14); margin-bottom: 6px; }
.list-input { width: 100%; resize: vertical; min-height: 240px; padding: 12px 14px; font-size: var(--s-15); line-height: 1.7; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r); }
.list-input:focus { outline: 3px solid var(--blue); outline-offset: 0; }
.quote-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.file-btn { position: relative; cursor: pointer; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file-btn:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; }
.list-hint { margin: 10px 0 0; font-size: var(--s-13); color: var(--ink-2); max-width: 44em; }
.list-attach { margin: 8px 0 0; font-size: var(--s-13); font-weight: 600; color: var(--ok); }
.quote-sheet { position: sticky; top: calc(var(--top-h) + 20px); border: 1px solid var(--rule); border-radius: var(--r); background: var(--paper); }
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 12px 16px; border-bottom: 2px solid var(--ink); }
.sheet-title { margin: 0; font-weight: 750; font-stretch: var(--w-head); font-size: var(--s-17); }
.sheet-meta { margin: 2px 0 0; font-size: var(--s-13); color: var(--ink-2); }
.sheet-lines { list-style: none; margin: 0; padding: 0 16px; counter-reset: line; }
.sheet-empty { padding: 20px 0 8px; color: var(--ink-2); font-size: var(--s-14); }
.sheet-line { counter-increment: line; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 3px 12px; padding: 11px 0; border-bottom: 1px solid var(--rule-2); animation: line-in .3s var(--ease) both; }
.sheet-line::before { content: counter(line); font-size: var(--s-12); color: var(--ink-3); padding-top: 3px; font-variant-numeric: tabular-nums; }
.sheet-line > div { grid-column: 2; }
@keyframes line-in { from { opacity: 0; transform: translateY(4px); } }
.sl-you { margin: 0; font-size: var(--s-13); color: var(--ink-3); grid-column: 2 / -1; grid-row: 1; }
.sl-name { margin: 0; font-weight: 600; font-size: var(--s-14); line-height: 1.3; }
.sl-detail { margin: 2px 0 0; font-size: var(--s-13); color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
.sl-detail .pn { font-size: var(--s-12); }
.sl-amt { grid-column: 3; text-align: right; font-weight: 700; font-size: var(--s-14); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sl-amt small { display: block; font-weight: 400; font-size: var(--s-12); color: var(--ink-3); }
.sheet-line.question .sl-name::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 6px 1px 0; background: var(--beam); transform: rotate(45deg); }
.sl-q { margin: 6px 0 0; padding: 8px 10px; border-left: 3px solid var(--beam); background: var(--beam-bg); font-size: var(--s-13); grid-column: 2 / -1; border-radius: 0 3px 3px 0; }
.sl-q strong { color: var(--beam-ink); }
.sl-q p { margin: 0; }
.sl-q-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.sl-ok { margin: 4px 0 0; grid-column: 2 / -1; font-size: var(--s-13); color: var(--ok); font-weight: 600; }
.sheet-foot { padding: 14px 16px 16px; border-top: 1px solid var(--rule); background: var(--paper-2); }
.sheet-total { display: flex; justify-content: space-between; align-items: baseline; font-size: var(--s-15); }
.sheet-total strong { font-size: var(--s-24); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.sheet-note { margin: 4px 0 12px; font-size: var(--s-13); color: var(--ink-2); }
.quote-request { display: grid; gap: 12px; margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--rule); }
.qr-title { margin: 0; font-weight: 700; }
.qr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qr-wide { grid-column: 1 / -1; }
.quote-request .btn { justify-self: start; }
.steps-band { padding: var(--section) 0; background: var(--paper-2); border-top: 1px solid var(--rule); }
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.steps-grid > div { padding: 20px 22px 22px; background: var(--paper); }
.step-n { margin: 0 0 10px; display: grid; place-items: center; width: 34px; height: 34px; border: 2px solid var(--ink); border-radius: 50%; font-weight: 800; font-variant-numeric: tabular-nums; }
.step-h { margin: 0 0 6px; font-size: var(--s-20); font-weight: 750; font-stretch: var(--w-head); }
.step-p { margin: 0; color: var(--ink-2); font-size: var(--s-14); }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: var(--s-14); }
.field input, .field textarea { width: 100%; padding: 10px 12px; border: 1px solid #aeb6c4; border-radius: var(--r); background: var(--paper); }
.field input[type="file"] { padding: 8px 10px; }
.field input[type="file"]::file-selector-button { margin-right: 12px; padding: 6px 12px; border: 1px solid var(--rule); border-radius: 3px; background: var(--paper-2); color: var(--ink); font: inherit; font-weight: 600; font-size: var(--s-13); cursor: pointer; }
.field input[type="file"]::file-selector-button:hover { border-color: var(--ink); }
.field input:focus, .field textarea:focus { outline: 3px solid var(--blue); outline-offset: 0; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--beam-ink); }
.field-err { margin: 0; color: var(--beam-ink); font-size: var(--s-13); font-weight: 600; }
.form-error { margin: 0; color: var(--beam-ink); font-size: var(--s-14); font-weight: 600; }
.form-done { margin: 0; padding: 12px 14px; border-left: 4px solid var(--ok); background: var(--ok-bg); border-radius: 0 3px 3px 0; font-size: var(--s-14); }
.form-done:focus { outline: 3px solid var(--blue); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--s-14); }
.check input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }
.contact-form { display: grid; gap: 14px; padding: clamp(18px, 3vw, 28px); background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r); }
.contact-form .btn { justify-self: start; }

/* ---------- replenishment ---------- */
.replenish { padding: var(--section) 0; }
.replenish-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 16px; }
.steps li { counter-increment: step; position: relative; padding-left: 46px; font-size: var(--s-14); color: var(--ink-2); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 32px; height: 32px; border: 2px solid var(--ink); color: var(--ink); font-weight: 800; border-radius: 50%; font-size: var(--s-14); }
.steps strong { display: block; color: var(--ink); font-size: var(--s-17); }
.console { position: sticky; top: calc(var(--top-h) + 20px); background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; }
.console-top { padding: 14px 18px 0; background: var(--ink); color: var(--paper); }
.console-title { margin: 0 0 10px; font-weight: 750; font-stretch: var(--w-head); font-size: var(--s-17); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.console-title span { font-weight: 500; font-size: var(--s-13); color: var(--on-navy-2); font-stretch: 100%; }
.console-tabs { display: flex; gap: 2px; overflow-x: auto; }
.console-tabs button { border: 0; background: transparent; color: var(--on-navy); padding: 9px 14px; font-size: var(--s-14); font-weight: 600; white-space: nowrap; border-radius: var(--r) var(--r) 0 0; }
.console-tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); }
.console-tabs button .dot { display: inline-block; width: 7px; height: 7px; background: var(--beam); margin-left: 8px; vertical-align: 1px; transform: rotate(45deg); }
.par-table { width: 100%; border-collapse: collapse; }
.par-table th { text-align: left; font-size: var(--s-12); font-weight: 600; color: var(--ink-3); padding: 10px 18px 6px; }
.par-table td { padding: 10px 18px; border-top: 1px solid var(--rule-2); font-size: var(--s-14); vertical-align: middle; }
.par-item { font-weight: 600; line-height: 1.25; }
.par-item small { display: block; font-weight: 500; font-size: var(--s-12); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.par-meter { display: grid; gap: 6px; min-width: 120px; }
.par-meter span { font-size: var(--s-13); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.meter { position: relative; height: 8px; background: var(--rule-2); border-radius: 2px; }
.meter i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: var(--blue); transition: width .6s var(--ease), background .3s; }
.meter b { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--ink); }
.meter.low i { background: var(--beam); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 3px; font-size: var(--s-13); font-weight: 600; white-space: nowrap; }
.pill-ok { background: var(--blue-tint); color: var(--blue); }
.pill-low { background: var(--beam-bg); color: var(--beam-ink); }
.pill-approved { background: var(--ok-bg); color: var(--ok); }
.console-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; border-top: 1px solid var(--rule); background: var(--paper-2); flex-wrap: wrap; }
.console-foot p { margin: 0; font-size: var(--s-14); color: var(--ink-2); }
.console-foot .btn[disabled] { background: var(--rule); color: var(--ink-3); cursor: default; }
.ship { padding: clamp(24px, 3vw, 40px) 0; background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ship-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px 48px; align-items: center; }
.ship-title { margin: 0; font-size: var(--s-20); font-weight: 750; font-stretch: var(--w-head); line-height: 1.2; }
.ship-facts { display: grid; gap: 12px; margin: 0; }
.ship-facts dt { font-weight: 700; font-size: var(--s-14); }
.ship-facts dd { margin: 0; color: var(--ink-2); font-size: var(--s-14); }

/* ---------- accounts, contact, FAQ, industries page ---------- */
.account, .people, .faq { padding: var(--section) 0; }
.account-grid, .people-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.ticks-ink { color: var(--ink-2); gap: 14px; font-size: var(--s-15); }
.ticks-ink strong { color: var(--ink); }
.account-signin { margin: 0; font-size: var(--s-14); color: var(--ink-2); }
#account-form { background: var(--paper-2); }
.people { border-top: 1px solid var(--rule); }
.reach { display: grid; gap: 14px; margin: 0; }
.reach dt { font-weight: 600; font-size: var(--s-14); color: var(--ink-3); }
.reach dd { margin: 2px 0 0; font-size: var(--s-20); font-weight: 700; }
.reach a { text-decoration-color: var(--rule); text-underline-offset: 4px; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 64px); }
.faq-list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; font-weight: 600; font-size: var(--s-15); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 12px; height: 12px; background: linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat; transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 16px; max-width: 44em; color: var(--ink-2); font-size: var(--s-14); }
.ind-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.ind-card { padding: 22px; background: var(--paper); }
.ind-cards li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.ind-card .ind-name { font-size: var(--s-20); font-weight: 750; font-stretch: var(--w-head); margin: 0 0 6px; }
.ind-links { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; }
.ind-links a { padding: 5px 10px; border: 1px solid var(--rule); border-radius: 3px; font-size: var(--s-13); font-weight: 600; text-decoration: none; background: var(--paper); }
.ind-links a:hover { border-color: var(--ink); }
.ind-products a { font-weight: 600; }

/* ---------- cart drawer ---------- */
.scrim { position: fixed; inset: 0; z-index: 50; background: rgba(14, 31, 61, .45); opacity: 0; transition: opacity .25s; }
.scrim.on { opacity: 1; }
.cart { visibility: hidden; position: fixed; top: 0; right: 0; bottom: 0; z-index: 60; width: min(440px, 100vw); display: flex; flex-direction: column; background: var(--paper); transform: translateX(100%); transition: transform .3s var(--ease); border-left: 1px solid var(--rule); }
.cart.open { transform: none; visibility: visible; }
.cart:not(.open) { transition: transform .3s var(--ease), visibility 0s .3s; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: var(--ink); color: var(--paper); border-bottom: 3px solid var(--beam); }
.cart-title { margin: 0; font-weight: 750; font-stretch: var(--w-head); font-size: var(--s-20); }
.cart-close { border: 0; background: transparent; color: var(--paper); width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r); }
.cart-close:hover { background: rgba(255, 255, 255, .1); }
.cart-close svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.cart-lines { list-style: none; margin: 0; padding: 6px 18px; flex: 1; overflow-y: auto; }
.cart-lines li { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule-2); align-items: center; }
.cart-lines .c-name { margin: 0; font-weight: 600; font-size: var(--s-14); line-height: 1.25; }
.cart-lines .c-meta { margin: 2px 0 6px; font-size: var(--s-13); color: var(--ink-2); }
.cart-lines .c-amt { font-weight: 700; font-variant-numeric: tabular-nums; align-self: start; }
.cart-lines .c-remove { border: 0; background: none; padding: 0; margin-left: 10px; font-size: var(--s-13); color: var(--ink-3); text-decoration: underline; }
.cart-undo { display: flex !important; justify-content: space-between; align-items: center; gap: 12px; font-size: var(--s-14); color: var(--ink-2); }
.cart-empty { padding: 36px 0; text-align: left; color: var(--ink-2); display: block !important; }
.cart-empty .btn { margin-top: 14px; }
.cart-foot { padding: 16px 18px 20px; border-top: 1px solid var(--rule); display: grid; gap: 8px; background: var(--paper-2); }
.cart-foot .sheet-note { margin-bottom: 8px; }
.cart-foot .field input { padding: 9px 12px; }
.cart-foot .field label { font-size: var(--s-13); }
.pay { display: flex; gap: 18px; flex-wrap: wrap; margin: 4px 0; padding: 0; border: 0; font-size: var(--s-14); }
.pay legend { width: 100%; padding: 0; margin-bottom: 6px; font-size: var(--s-13); font-weight: 700; }
.pay label { display: flex; align-items: center; gap: 8px; min-height: 30px; }
.pay input { width: 18px; height: 18px; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; max-width: min(540px, calc(100vw - 32px)); padding: 11px 16px; border-radius: var(--r); background: var(--ink); color: var(--paper); font-size: var(--s-14); opacity: 0; transform: translate(-50%, 12px); pointer-events: none; transition: opacity .25s, transform .3s var(--ease); border-bottom: 3px solid var(--beam); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast.has-act { pointer-events: auto; display: flex; align-items: center; gap: 16px; }
.toast-act { flex-shrink: 0; padding: 5px 12px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 3px; background: transparent; color: var(--paper); font-weight: 600; font-size: var(--s-14); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .shop-menu-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .fam-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .top-links, .shop-menu { display: none; }
  .nav-menu-btn { display: inline-flex; }
  .top-bar { flex-wrap: wrap; padding-bottom: 10px; row-gap: 0; }
  .nav-search { order: 10; flex-basis: 100%; max-width: none; margin-left: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .demo-lines { min-height: 0; }
  .quote-grid, .replenish-grid, .people-grid, .account-grid, .faq-grid, .ship-inner, .pdp-grid, .pdp-detail-grid, .page-head-grid, .footer-top { grid-template-columns: 1fr; }
  .quote-sheet, .console { position: static; }
  .pdp-shot { max-width: 480px; }
  .head-shot { justify-self: start; max-width: 240px; }
  .steps-grid, .ways-bays { grid-template-columns: 1fr; }
  .ind-list, .ind-cards { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .fam-grid, .fam-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-shot { aspect-ratio: 4 / 3; }
  .brands-list { gap: 4px 18px; }
}
@media (max-width: 640px) {
  .top-bar { gap: 8px; }
  .nav-menu-btn span, .nav-cart span:not(.cart-count) { display: none; }
  .nav-menu-btn, .nav-cart { padding: 0 10px; }
  .nav-account, .nav-help { display: none; }
  .brand-word span { display: none; }
  .hero-grid { padding-top: 22px; }
  .hero-title { max-width: none; }
  .hero-facts { grid-template-columns: 1fr; gap: 8px; }
  .path { padding: 11px 14px; }
  .qr-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .sheet-line .sl-amt { grid-column: 2 / -1; text-align: left; }
  .par-table th, .par-table td { padding-left: 12px; padding-right: 8px; }
  .par-meter { min-width: 84px; }
  .pill { white-space: normal; line-height: 1.25; }
  .console-tabs button { padding: 9px; }
  .size-table { min-width: 0; }
  .pdp-price { font-size: 1.7rem; }
  .buy-row > [data-buy-add], .buy-row .add-btn { flex: 1; }
  .buy-row .btn-ghost { width: 100%; }
  .cat-card, .fam-card { padding: 8px 8px 12px; }
  .cat-eg { display: none; }
  .filter-count { flex-basis: 100%; margin-left: 0; order: 10; }
  /* Tables: each row becomes a block so price and Add stay on screen. */
  .table-scroll { overflow: visible; }
  .sku-table { min-width: 0; border-top: 2px solid var(--ink); }
  .sku-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .sku-table tbody, .sku-table td, .sku-table tr { display: block; }
  .sku-table tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .sku-table tbody tr:hover { background: transparent; }
  .sku-table td { padding: 0; border: 0; }
  .sku-table td:first-child, .sku-table td:last-child { grid-column: 1 / -1; }
  .sku-table td[data-label]::before { content: attr(data-label) ": "; color: var(--ink-3); font-size: var(--s-13); }
  .sku-table td.num { grid-column: 2; grid-row: 2 / span 2; align-self: center; text-align: right; }
  .sku-table td.num .price { font-size: var(--s-20); }
  .sku-table .add-cell { justify-content: stretch; margin-top: 6px; }
  .sku-table .add-btn { flex: 1; min-height: 42px; }
  .sku-table .qty button, .sku-table .qty input { height: 42px; }
  .sku-table .qty button { width: 40px; }
  .size-table td:first-child { grid-column: 1; }
  .size-table td[data-label="Size"] { display: flex; gap: 6px; align-items: baseline; }
}

/* Touch screens: inline links and small buttons get a full-size target. */
@media (pointer: coarse) {
  .detail-p a, .link-btn { display: inline-flex; align-items: center; min-height: 44px; }
  .pay label { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .preview-bar, .top, .footer, .cart, .scrim, .toast, .quote-actions, .list-hint, .steps-band, .cta-band { display: none !important; }
  .quote-sheet, .console { position: static; border: 0; }
  body { font-size: 11pt; }
}
