/* HR Trading Co. storefront
   Palette: white storefront, aerated-concrete greys, mason's chalk-line blue.
   Type: Archivo, using its width axis for headings. */

:root {
  --paper: #ffffff;
  --ink: #1d2220;
  --ink-2: #545b57;
  --ink-3: #737a75;
  --line: #e3e5e1;
  --line-2: #cfd2cc;
  --concrete: #f2f3f0;
  --concrete-2: #e8eae5;

  --face-top: #f4f5f2;
  --face-long: #dfe1db;
  --face-end: #cacdc6;
  --edge: #979d95;
  --pore: rgba(88, 94, 88, 0.26);

  --chalk: #2745c4;
  --chalk-ink: #1b3399;
  --chalk-wash: #ebeffc;

  --ok: #1d6b42;
  --ok-wash: #e7f3ec;
  --warn: #8a5300;
  --warn-wash: #fff4d6;
  --err: #b42318;
  --err-wash: #fdecea;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  font-variant-numeric: tabular-nums;
}
img, svg { max-width: 100%; }
img { height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.12; font-weight: 700; font-stretch: 112%; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); }
h2 { font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem); }
h3 { font-size: 1rem; }
p { margin: 0 0 0.75em; }
p:last-child { margin-bottom: 0; }
a { color: var(--chalk); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--chalk); outline-offset: 2px; }
::selection { background: var(--chalk-wash); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { width: 100%; max-width: 900px; margin: 0 auto; padding: 0 var(--gutter); }
.page-pad { padding-top: 28px; padding-bottom: 80px; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }
.ok { color: var(--ok); }
.mono-num { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; white-space: nowrap; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 6px; z-index: 200; }
.skip:focus { top: 12px; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }

/* ------------------------------------------------------------------ buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 6px;
  font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn-primary { background: var(--chalk); color: #fff; }
.btn-primary:hover { background: var(--chalk-ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--concrete-2); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, 0.55); background: transparent; }
.btn-outline-light:hover { border-color: #fff; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn-lg { min-height: 54px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-stack { display: grid; gap: 10px; margin-top: 22px; }
.text-link { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--chalk); }
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--ink-2); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--ink); }
.chip-btn {
  border: 1px solid var(--line-2); background: #fff; border-radius: 999px;
  padding: 5px 12px; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.chip-btn:hover { border-color: var(--ink); }
.chip-btn[aria-pressed="true"] { border-color: var(--chalk); background: var(--chalk-wash); color: var(--chalk-ink); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }
.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 42px; height: 42px; border: 0; border-radius: 6px; background: transparent; color: var(--ink); cursor: pointer;
}
.icon-btn:hover { background: var(--concrete); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------------ header */
.announce { background: var(--ink); color: #e9ebe8; font-size: 13px; text-align: center; padding: 9px var(--gutter); }
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.nav-toggle { display: none; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.logo-mark { display: inline-grid; grid-template-columns: repeat(4, 7px); grid-template-rows: 8px 8px; gap: 2px; }
.logo-mark i { background: var(--chalk); border-radius: 1px; }
.logo-mark i:nth-child(1) { grid-column: 1 / 3; }
.logo-mark i:nth-child(2) { grid-column: 3 / 5; }
.logo-mark i:nth-child(3) { grid-column: 2 / 4; grid-row: 2; }
.logo-word { font-size: 20px; font-weight: 800; font-stretch: 118%; letter-spacing: -0.01em; line-height: 1; }
.logo-word span { font-weight: 500; color: var(--ink-3); }

.site-nav { flex: 1; }
.site-nav ul { display: flex; justify-content: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: 8px 12px; border-radius: 6px;
  color: var(--ink-2); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap;
}
.site-nav a:hover { color: var(--ink); background: var(--concrete); }
.site-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--chalk); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.header-tools { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.cart-count {
  position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--chalk); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.search-bar { border-top: 1px solid var(--line); padding: 14px 0; background: #fff; }
.search-bar form { display: flex; gap: 10px; }
.search-bar input { flex: 1; min-height: 46px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 6px; font-size: 16px; }

.flash { padding: 12px 0; font-size: 15px; background: var(--ok-wash); color: var(--ok); border-bottom: 1px solid #cfe6d8; }
.flash-error { background: var(--err-wash); color: var(--err); border-bottom-color: #f6cbc6; }

/* ------------------------------------------------------------------ drawings */
.face { stroke: var(--edge); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.face-top { fill: var(--face-top); }
.face-long { fill: var(--face-long); }
.face-end { fill: var(--face-end); }
.pores { fill: url(#pores); pointer-events: none; }
.svg-defs .pore circle { fill: var(--pore); }
.arris { stroke: var(--edge); stroke-width: 1; vector-effect: non-scaling-stroke; }
.joint { fill: #8f958d; }
.dim line { stroke: var(--ink-3); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dim circle { fill: var(--ink-3); }
.dim text { font-family: var(--font); font-size: 30px; font-weight: 600; fill: var(--ink-2); text-anchor: middle; dominant-baseline: middle; font-variant-numeric: tabular-nums; }
.block-art, .bag-art, .tool-art { display: block; width: 100%; height: auto; }

.bag-art .sack { stroke: rgba(0, 0, 0, 0.14); stroke-width: 1.5; }
.bag-art .stitch { fill: none; stroke: rgba(0, 0, 0, 0.22); stroke-width: 1.5; stroke-dasharray: 5 5; }
.bag-art .shadow, .tool-art .shadow { fill: rgba(0, 0, 0, 0.07); }
.bag-art text { font-family: var(--font); text-anchor: middle; }
.bag-brand { font-weight: 800; font-stretch: 118%; fill: var(--ink); }
.bag-line { font-weight: 700; fill: #fff; }
.bag-weight { font-size: 24px; font-weight: 700; fill: var(--ink-2); }
.tool-art .steel { fill: #cbd0d4; stroke: #7e868d; stroke-width: 2; }
.tool-art .steel-edge { fill: none; stroke: #7e868d; stroke-width: 2; stroke-linejoin: round; }
.tool-art .tang { fill: none; stroke: #7e868d; stroke-width: 9; stroke-linecap: round; }
.tool-art .grip { fill: var(--ink); }
.tool-art .rubber { fill: #2f3432; }

/* ------------------------------------------------------------------ hero */
.hero { background: var(--concrete); padding: 60px 0 40px; border-bottom: 1px solid var(--line); }
.hero-text { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px 56px; align-items: end; }
.hero h1 { font-size: clamp(2.1rem, 1.1rem + 3.4vw, 4rem); font-stretch: 116%; font-weight: 750; line-height: 1.02; letter-spacing: -0.02em; max-width: 15ch; }
.hero-side p { color: var(--ink-2); font-size: 17px; max-width: 46ch; margin-bottom: 20px; }

.lineup { margin: 52px 0 0; --s: 0.5; }
.lineup-track { display: flex; align-items: flex-end; gap: 16px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: thin; }
.lineup-item {
  flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px;
  color: var(--ink); text-decoration: none; border-radius: 4px;
}
.section-art { display: block; width: calc(var(--t) * var(--s) * 1px); height: calc(400 * var(--s) * 1px); overflow: visible; }
.section-art .face { transition: fill 0.15s; }
.lineup-item:hover .face, .lineup-item:focus-visible .face { fill: #b9c4ea; }
.lineup-item:focus-visible { outline-offset: 6px; }
.lineup-mm { margin-top: 8px; font-size: 16px; font-weight: 700; line-height: 1; }
.lineup-in { font-size: 12px; color: var(--ink-3); line-height: 1; }
.lineup figcaption { margin-top: 14px; font-size: 14px; color: var(--ink-3); }

/* ------------------------------------------------------------------ brand strip */
.brand-strip { border-bottom: 1px solid var(--line); }
.brand-strip-row { display: flex; align-items: center; gap: 24px 48px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.brand-strip h2 { font-size: 14px; font-weight: 500; font-stretch: 100%; color: var(--ink-3); letter-spacing: 0; }
.brand-strip ul { display: flex; align-items: center; gap: 20px 56px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.brand-strip a { display: block; text-decoration: none; }
.brand-strip img { display: block; height: 26px; width: auto; }
.wordmark { display: inline-block; margin: 0; font-size: 24px; font-weight: 800; font-stretch: 125%; letter-spacing: 0.01em; color: #5b605c; line-height: 1; }
.wordmark-hitech { font-stretch: 100%; font-style: italic; }
.wordmark-lg { font-size: 34px; }

/* ------------------------------------------------------------------ sections */
.section { padding: 64px 0; }
.section-tint { background: var(--concrete); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }

.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cat { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.cat-media { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--concrete); border-radius: 10px; padding: 14px; overflow: hidden; }
.cat-media svg { width: 78%; max-height: 100%; }
.cat-name { margin-top: 14px; font-size: 17px; font-weight: 700; font-stretch: 108%; }
.cat:hover .cat-name { text-decoration: underline; text-underline-offset: 3px; }
.cat-blurb { color: var(--ink-2); font-size: 14px; margin-top: 2px; }
.cat-count { color: var(--ink-3); font-size: 13px; margin-top: 6px; }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 20px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card { display: flex; flex-direction: column; }
.card-media { position: relative; display: grid; place-items: center; aspect-ratio: 1; background: var(--concrete); border-radius: 8px; overflow: hidden; }
.card-media svg { width: 88%; }
.card-size { position: absolute; left: 10px; bottom: 10px; padding: 2px 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.9); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.card-body { display: flex; flex-direction: column; align-items: flex-start; padding-top: 12px; flex: 1; }
.card-brand { margin: 0; font-size: 13px; color: var(--ink-3); }
.card-title { margin: 2px 0 4px; font-size: 16px; font-weight: 600; font-stretch: 100%; line-height: 1.3; letter-spacing: 0; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.card-range { margin: 0 0 4px; font-size: 13px; color: var(--ink-2); }
.card-price { margin: 0 0 12px; font-size: 16px; font-weight: 700; }
.card-price span { font-size: 13px; font-weight: 400; color: var(--ink-3); }
.card-body form, .card-body > .btn { margin-top: auto; }

.calc-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 48px; align-items: start; }
.calc-intro h2 { margin-bottom: 14px; }
.calc-intro p { color: var(--ink-2); max-width: 44ch; }
.calc-intro .muted { color: var(--ink-3); }

.reasons h2 { margin-bottom: 28px; }
.reasons dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 0; }
.reasons dl > div { border-top: 2px solid var(--ink); padding-top: 16px; }
.reasons dt { font-size: 17px; font-weight: 700; font-stretch: 106%; line-height: 1.3; }
.reasons dd { margin: 8px 0 0; color: var(--ink-2); }

.cta-band { background: var(--ink); color: #fff; padding: 36px 0; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-row p { margin: 0; font-size: 21px; font-weight: 600; font-stretch: 108%; }

/* ------------------------------------------------------------------ forms */
.field { display: flex; flex-direction: column; min-width: 0; }
.field label, .field-label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.optional { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea, .sort select {
  width: 100%; min-height: 46px; padding: 10px 12px;
  border: 1px solid var(--line-2); border-radius: 6px; background: #fff; font-size: 16px;
}
.field textarea { min-height: 0; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .sort select:focus { outline: none; border-color: var(--chalk); box-shadow: 0 0 0 3px var(--chalk-wash); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field-error { margin: 6px 0 0; font-size: 13px; color: var(--err); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field-wide { grid-column: 1 / -1; }
.suffix { position: relative; }
.suffix input { padding-right: 40px; }
.suffix span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-size: 14px; pointer-events: none; }

.stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; background: #fff; height: 40px; }
.stepper button { width: 38px; border: 0; background: #fff; font-size: 18px; cursor: pointer; color: var(--ink-2); }
.stepper button:hover { background: var(--concrete); color: var(--ink); }
.stepper input { width: 64px; border: 0; text-align: center; font-size: 15px; font-weight: 600; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; background: var(--chalk-wash); }
.stepper-lg { height: 50px; justify-self: start; align-self: start; width: max-content; }
.stepper-lg button { width: 48px; }
.stepper-lg input { width: 90px; font-size: 17px; }

.chip-set { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 12px;
  border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 500; white-space: nowrap;
}
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--chalk); outline-offset: 2px; }
.chip-lg span { min-height: 44px; min-width: 60px; font-size: 15px; font-weight: 600; }
.chip.is-unavailable span { border-style: dashed; color: var(--ink-3); text-decoration: line-through; }
.chip.is-unavailable input:checked + span { color: #fff; text-decoration: none; }

.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 18px; font-size: 15px; }
.alert-error { background: var(--err-wash); color: var(--err); border: 1px solid #f5c6c1; }
.alert-ok { background: var(--ok-wash); color: var(--ok); border: 1px solid #cfe6d8; }

/* ------------------------------------------------------------------ calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.calc-inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-content: start; }
.calc-out { display: flex; flex-direction: column; gap: 14px; background: var(--concrete); border-radius: 10px; padding: 20px; }
.calc-out dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; }
.calc-out dt { font-size: 13px; color: var(--ink-3); }
.calc-out dd { margin: 0; font-size: 19px; font-weight: 700; }
.calc-total { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 0; padding-top: 14px; border-top: 1px solid var(--line-2); }
.calc-total span { font-size: 14px; color: var(--ink-2); }
.calc-total strong { font-size: 26px; font-stretch: 108%; }

/* ------------------------------------------------------------------ shop */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; font-size: 13px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.collection-head { margin-bottom: 32px; }
.collection-head h1 { margin-bottom: 8px; }
.collection-head p { max-width: 60ch; }
.collection { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 44px; align-items: start; }
.filters-form { display: contents; }
.facets { position: sticky; top: calc(var(--header-h) + 20px); }
.facets > summary { display: none; }
.facet { border: 0; margin: 0 0 22px; padding: 0 0 22px; border-bottom: 1px solid var(--line); min-width: 0; }
.facet legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 700; }
.radio, .check { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 15px; cursor: pointer; }
.radio input, .check input { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; }
.count { margin-left: auto; font-size: 13px; color: var(--ink-3); }
.facet-note { margin-top: 10px; }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.results-bar p { margin: 0; color: var(--ink-2); font-size: 14px; }
.sort { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.sort label { color: var(--ink-2); white-space: nowrap; }
.sort select { min-height: 40px; padding: 6px 10px; width: auto; }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--concrete); color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; }
.pill:hover { background: var(--concrete-2); }
.empty-state { text-align: center; padding: 64px 16px; }
.empty-state > p:first-child, .empty-state h1 { font-size: 20px; font-weight: 700; font-stretch: 108%; margin-bottom: 8px; }
.empty-state .btn, .empty-state .btn-row { margin-top: 18px; }
.empty-state .btn-row { justify-content: center; }

/* ------------------------------------------------------------------ product page */
.pdp { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.pdp-media { position: sticky; top: calc(var(--header-h) + 20px); }
.pdp-figure { margin: 0; background: var(--concrete); border-radius: 12px; padding: 28px 20px 18px; }
.pdp-figure figcaption { margin-top: 6px; font-size: 13px; color: var(--ink-3); text-align: center; }
.pdp-brand { margin-bottom: 6px; font-size: 14px; }
.pdp-brand a { color: var(--ink-3); text-decoration: none; }
.pdp-brand a:hover { color: var(--ink); text-decoration: underline; }
.pdp-info h1 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); margin-bottom: 12px; }
.pdp-summary { color: var(--ink-2); font-size: 17px; }
.pdp-price { margin: 20px 0 8px; }
.price { margin: 0; font-size: 30px; font-weight: 700; font-stretch: 108%; line-height: 1.1; }
.price .per { font-size: 15px; font-weight: 400; font-stretch: 100%; color: var(--ink-3); }
.opt-group { border: 0; padding: 0; margin: 22px 0 0; min-width: 0; }
.opt-group legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 700; }
.opt-current { font-weight: 400; color: var(--ink-3); margin-left: 6px; }
.stock { display: flex; align-items: center; gap: 8px; margin: 20px 0 0; font-size: 14px; font-weight: 600; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock-in { color: var(--ok); }
.stock-order { color: var(--warn); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 18px 0 0; border-top: 1px solid var(--line); }
.facts > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts > div:nth-child(odd) { padding-right: 16px; }
.facts dt { font-size: 13px; color: var(--ink-3); }
.facts dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; }
.buy { margin-top: 24px; }
.quickfill { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.qty-note { margin-top: 10px; min-height: 1.4em; }
.pdp-delivery { margin-top: 16px; color: var(--ink-2); }
.accordion { margin-top: 28px; border-bottom: 1px solid var(--line); }
.accordion details { border-top: 1px solid var(--line); }
.accordion summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-weight: 700; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 20px; font-weight: 400; color: var(--ink-3); }
.accordion details[open] summary::after { content: "−"; }
.accordion details > :not(summary) { margin-bottom: 18px; color: var(--ink-2); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { width: 42%; padding-right: 16px; font-weight: 400; color: var(--ink-3); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.steps { padding-left: 20px; margin: 0; }
.steps li { margin: 6px 0; }
.related { padding-bottom: 0; }

/* ------------------------------------------------------------------ cart */
.page-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { padding: 0 0 10px; font-size: 13px; font-weight: 500; color: var(--ink-3); text-align: left; border-bottom: 1px solid var(--line); }
.cart-table td { padding: 20px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.cart-table td + td, .cart-table th + th { padding-left: 20px; }
.num { text-align: right !important; white-space: nowrap; }
.cart-table td.num { font-weight: 700; }
.cart-prod { display: flex; gap: 16px; }
.cart-prod .line-thumb { width: 92px; }
.cart-summary { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 10px; background: var(--concrete); border-radius: 10px; padding: 24px; }
.cart-summary p { margin: 0; }
.qty-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 10px; }

.line-thumb { flex: none; display: grid; place-items: center; width: 72px; aspect-ratio: 1; background: var(--concrete); border-radius: 6px; overflow: hidden; }
.line-thumb svg { width: 92%; }
.line-name { color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; line-height: 1.3; }
.line-name:hover { text-decoration: underline; }
.line-variant, .line-unit { margin: 2px 0 0; font-size: 13px; color: var(--ink-3); }

.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 15px; }
.sum-strong { font-size: 17px; font-weight: 700; }
.sum-total { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: 20px; font-weight: 700; }
.sum-total small { display: block; font-size: 13px; font-weight: 400; color: var(--ink-3); }

/* ------------------------------------------------------------------ drawer */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer[aria-hidden="false"] { visibility: visible; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(22, 26, 24, 0.42); opacity: 0; transition: opacity 0.25s; }
.drawer[aria-hidden="false"] .drawer-scrim { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(430px, 100%);
  display: flex; flex-direction: column; background: #fff;
  transform: translateX(100%); transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.drawer[aria-hidden="false"] .drawer-panel { transform: none; }
.drawer-panel:focus { outline: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 20px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 0 24px; display: flex; flex-direction: column; }
.drawer-note { margin: 16px 0 0; padding: 10px 12px; border-radius: 6px; background: var(--concrete); font-size: 13px; }
.drawer-note-ok { background: var(--ok-wash); color: var(--ok); }
.line-list { list-style: none; margin: 0; padding: 0; flex: 1; }
.line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line-total { margin: 0; font-weight: 700; font-size: 15px; }
.drawer-foot { position: sticky; bottom: 0; display: grid; gap: 10px; padding: 16px 0 24px; background: #fff; border-top: 1px solid var(--line); }
.drawer-foot p { margin: 0; }
.drawer-empty { text-align: center; padding: 56px 0; }
.drawer-empty p:first-child { font-size: 18px; font-weight: 700; }
.drawer-empty .btn { margin-top: 16px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 150; transform: translateX(-50%);
  max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 8px;
  background: var(--ink); color: #fff; font-size: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.toast-error { background: var(--err); }

/* ------------------------------------------------------------------ checkout */
.is-checkout { background: #fff; }
.checkout-header { border-bottom: 1px solid var(--line); }
.checkout-header-row { display: flex; align-items: center; justify-content: space-between; min-height: 64px; max-width: 1180px; }
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); min-height: calc(100vh - 65px); }
.checkout-main { justify-self: end; width: min(620px, 100%); padding: 32px 48px 72px var(--gutter); }
.checkout-aside { background: var(--concrete); border-left: 1px solid var(--line); padding: 40px var(--gutter) 40px 44px; }
.checkout-aside > * { max-width: 440px; }
.steps-nav { display: flex; flex-wrap: wrap; list-style: none; margin: 0 0 24px; padding: 0; font-size: 13px; color: var(--ink-3); }
.steps-nav li + li::before { content: "›"; margin: 0 10px; }
.steps-nav a { color: var(--chalk); text-decoration: none; }
.steps-nav [aria-current] { color: var(--ink); font-weight: 700; }
.co-section { margin-top: 30px; }
.co-section:first-of-type { margin-top: 0; }
.co-section h2 { font-size: 20px; margin-bottom: 14px; }
.choice-list { border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; }
.choice { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 16px; cursor: pointer; }
.choice + .choice { border-top: 1px solid var(--line-2); }
.choice:has(input:checked) { background: var(--chalk-wash); }
.choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--chalk); }
.choice-main { font-size: 15px; font-weight: 600; }
.choice-sub { display: block; font-size: 13px; font-weight: 400; color: var(--ink-3); }
.choice-price { font-size: 15px; font-weight: 700; }
.pay-marks { display: flex; gap: 4px; }
.pay-marks i { font-style: normal; font-size: 10px; font-weight: 800; padding: 2px 5px; border: 1px solid var(--line-2); border-radius: 3px; background: #fff; color: var(--ink-2); }
.site-fields { margin-top: 18px; }
.co-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; }
.summary-lines { list-style: none; margin: 0 0 16px; padding: 0; }
.summary-lines li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 8px 0; }
.summary-thumb { position: relative; display: grid; place-items: center; width: 64px; aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.summary-thumb svg { width: 88%; }
.summary-thumb b { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--ink-2); color: #fff; font-size: 12px; line-height: 22px; text-align: center; }
.summary-name { font-size: 14px; font-weight: 600; line-height: 1.3; }
.summary-name small { display: block; font-size: 13px; font-weight: 400; color: var(--ink-3); }
.summary-price { font-size: 14px; font-weight: 700; }

/* ------------------------------------------------------------------ demo gateway */
.is-gateway { background: #eceff5; }
.gw { max-width: 900px; margin: 0 auto; padding: 32px 16px 64px; --gw: #17214d; }
.gw-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.gw-logo { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 20px; font-weight: 800; font-stretch: 112%; color: var(--gw); }
.gw-logo span { display: inline-block; width: 18px; height: 18px; border-radius: 5px; background: linear-gradient(135deg, var(--gw) 50%, #5b73e0 50%); color: transparent; overflow: hidden; }
.gw-badge { margin: 0; padding: 4px 10px; border-radius: 999px; background: var(--warn-wash); color: var(--warn); border: 1px solid #efd489; font-size: 12px; font-weight: 700; }
.gw-card { display: grid; grid-template-columns: 260px minmax(0, 1fr); background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(20, 30, 70, 0.08), 0 10px 30px rgba(20, 30, 70, 0.08); }
.gw-merchant { background: var(--gw); color: #fff; padding: 28px 26px; }
.gw-merchant p { margin: 0; }
.gw-label { font-size: 13px; opacity: 0.7; }
.gw-name { font-size: 17px; font-weight: 600; }
.gw-amount { margin: 18px 0 6px !important; font-size: 34px; font-weight: 750; font-stretch: 108%; line-height: 1; }
.gw-meta { font-size: 13px; opacity: 0.78; margin-top: 4px !important; }
.gw-cancel { display: inline-block; margin-top: 28px; color: #fff; opacity: 0.85; font-size: 14px; }
.gw-cancel:hover { opacity: 1; }
.gw-body { padding: 28px 32px; }
.gw-body form { display: grid; gap: 16px; }
.gw-h { font-size: 22px; margin-bottom: 8px; }
.gw-tabs { display: flex; gap: 4px; padding: 4px; margin-bottom: 22px; background: #f0f2f7; border-radius: 10px; }
.gw-tabs button { flex: 1; min-height: 42px; border: 0; border-radius: 8px; background: transparent; font-size: 15px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.gw-tabs button[aria-selected="true"] { background: #fff; color: var(--gw); box-shadow: 0 1px 3px rgba(20, 30, 70, 0.14); }
.cc-wrap { position: relative; }
.cc-wrap input { padding-right: 96px; letter-spacing: 0.04em; }
.cc-brand { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 12px; font-weight: 800; color: var(--gw); }
.gw-secure { margin: 20px 0 0; color: var(--ink-3); text-align: center; }
.otp-input { font-size: 26px !important; letter-spacing: 0.45em; text-align: center; font-weight: 700; }
.bank-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; border: 0; padding: 0; margin: 0; }
.bank-grid legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 700; }
.bank-opt { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line-2); border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; }
.bank-opt:has(input:checked) { border-color: var(--chalk); background: var(--chalk-wash); }
.bank-opt input { accent-color: var(--chalk); }
.bank-sim { border: 1px dashed var(--line-2); border-radius: 10px; padding: 24px; }
.bank-name { font-size: 22px; font-weight: 750; font-stretch: 108%; margin: 0; }
.bank-dl { margin: 18px 0; }
.bank-dl div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.bank-dl dt { color: var(--ink-3); }
.bank-dl dd { margin: 0; font-weight: 700; }
.gw-test { margin-top: 22px; background: #fff; border-radius: 14px; padding: 24px 28px; }
.gw-test h2 { font-size: 18px; margin-bottom: 4px; }
.test-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; }
.test-table th { text-align: left; font-size: 12px; font-weight: 600; color: var(--ink-3); padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); }
.test-table td { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--line); }
.test-table td:last-child { text-align: right; padding-right: 0; }
.test-extra p { font-size: 14px; margin: 6px 0; }
.gw-processing { position: fixed; inset: 0; z-index: 90; display: grid; place-content: center; justify-items: center; gap: 16px; background: rgba(236, 239, 245, 0.92); text-align: center; font-weight: 600; }
.spinner { width: 38px; height: 38px; border-radius: 50%; border: 3px solid #cfd6e6; border-top-color: var(--gw); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------------ order & info pages */
.order-page .confirm-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 28px; }
.confirm-head h1 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); margin: 4px 0 14px; }
.confirm-head p { margin: 0; }
.confirm-mark { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ok); }
.confirm-mark svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.order-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
.panel { border: 1px solid var(--line); border-radius: 10px; padding: 20px 24px; background: #fff; }
.panel + .panel, .order-grid + .panel { margin-top: 20px; }
.order-grid > .panel { margin-top: 0; }
.panel h2 { font-size: 17px; margin-bottom: 12px; }
.status { display: inline-block; margin: 0 0 10px; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.status-paid { background: var(--ok-wash); color: var(--ok); }
.status-cod { background: var(--chalk-wash); color: var(--chalk-ink); }
.status-pending_payment { background: var(--warn-wash); color: var(--warn); }
.status-failed { background: var(--err-wash); color: var(--err); }
.kv { margin: 0; }
.kv > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 6px 0; font-size: 14px; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.kv-lg > div { grid-template-columns: 140px minmax(0, 1fr); padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.next-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.next-steps li { counter-increment: step; position: relative; padding-left: 42px; margin: 14px 0; color: var(--ink-2); }
.next-steps li strong { color: var(--ink); }
.next-steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 13px; font-weight: 700; color: var(--ink); }
.order-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.order-table th, .order-table td { padding: 11px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.order-table th + th, .order-table td + td { padding-left: 16px; }
.order-table thead th { font-size: 13px; font-weight: 500; color: var(--ink-3); }
.order-table tfoot th { font-weight: 400; color: var(--ink-2); }
.order-table tfoot .sum-total th, .order-table tfoot .sum-total td { font-size: 16px; font-weight: 700; color: var(--ink); border-bottom: 0; }
.order-page .btn-row { margin-top: 28px; }
.orders-list { margin-top: 20px; }

.brand-list { border-bottom: 1px solid var(--line); }
.brand-row { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 48px; padding: 40px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.brand-row img { display: block; height: 36px; width: auto; margin-bottom: 16px; }
.brand-row .wordmark { margin-bottom: 16px; }
.brand-detail > p { color: var(--ink-2); max-width: 62ch; }
.brand-sizes-label { margin: 22px 0 10px !important; font-size: 14px; font-weight: 700; color: var(--ink) !important; }
.size-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.size-chips a { display: inline-block; padding: 5px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.size-chips a:hover { border-color: var(--chalk); color: var(--chalk); }
.brand-products { list-style: none; margin: 22px 0 0; padding: 0; }
.brand-products li { padding: 6px 0; font-size: 15px; }
.brand-detail .btn { margin-top: 12px; }

.guide-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: 8px; }
.guide-head h1 { margin-bottom: 14px; }
.guide-head p { max-width: 58ch; }
.face-compare { display: grid; gap: 18px; }
.face-compare figure { margin: 0; }
.face-compare svg { display: block; height: auto; }
.face-compare figcaption { margin-top: 6px; font-size: 14px; color: var(--ink-3); }
.face-compare figcaption strong { color: var(--ink); margin-right: 6px; }
.guide-table-wrap { padding: 48px 0 12px; }
.guide-table-wrap h2 { margin-bottom: 6px; }
.table-scroll { overflow-x: auto; margin-top: 18px; border: 1px solid var(--line); border-radius: 10px; }
.guide-table { width: 100%; min-width: 900px; border-collapse: collapse; font-size: 14px; }
.guide-table th, .guide-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.guide-table thead th { background: var(--concrete); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.guide-table tbody th { font-weight: 700; }
.guide-table tbody tr:last-child > * { border-bottom: 0; }
.avail { display: inline-flex; gap: 6px; margin: 2px 4px 2px 0; padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.avail span { color: var(--ink-3); font-weight: 500; }
.avail:hover { border-color: var(--chalk); color: var(--chalk); }
.calc-section { margin-top: 48px; border-radius: 16px; padding: 40px; }

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.contact-info h1 { margin-bottom: 14px; }
.contact-info > p { color: var(--ink-2); max-width: 48ch; margin-bottom: 24px; }
.contact-form { padding: 28px; }
.contact-form form { display: grid; gap: 16px; }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--concrete); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.4fr; gap: 40px; padding-top: 56px; padding-bottom: 36px; }
.footer-about p { margin-top: 16px; color: var(--ink-2); font-size: 14px; max-width: 40ch; }
.site-footer h2 { font-size: 14px; font-stretch: 100%; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; font-size: 14px; color: var(--ink-2); }
.site-footer li a { color: var(--ink-2); text-decoration: none; }
.site-footer li a:hover { color: var(--ink); text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 18px; padding-bottom: 28px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--ink-3); }
.footer-base p { margin: 0; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1160px) {
  .site-nav a { padding: 8px 9px; font-size: 14px; }
  .lineup { --s: 0.42; }
}

@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc-wrap { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-grid; margin-left: -8px; }
  .header-row { gap: 8px; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06); }
  .site-header.nav-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
  .site-nav a { padding: 12px 4px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav a[aria-current="page"] { text-underline-offset: 6px; }

  .hero { padding-top: 40px; }
  .hero-text { grid-template-columns: 1fr; }
  .lineup { --s: 0.36; margin-top: 36px; }

  .collection { grid-template-columns: 1fr; gap: 20px; }
  .facets { position: static; border: 1px solid var(--line); border-radius: 10px; padding: 0 16px; }
  .facets > summary { display: flex; justify-content: space-between; padding: 14px 0; font-weight: 700; cursor: pointer; list-style: none; }
  .facets > summary::-webkit-details-marker { display: none; }
  .facets > summary::after { content: "+"; color: var(--ink-3); }
  .facets[open] > summary::after { content: "−"; }
  .facets[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 16px; }

  .pdp { grid-template-columns: 1fr; gap: 28px; }
  .pdp-media { position: static; }
  .cart-layout { grid-template-columns: 1fr; gap: 28px; }
  .cart-summary { position: static; }

  .checkout { grid-template-columns: 1fr; }
  .checkout-main { justify-self: stretch; width: 100%; padding: 24px var(--gutter) 48px; }
  .checkout-aside { order: -1; border-left: 0; border-bottom: 1px solid var(--line); padding: 20px var(--gutter); }
  .checkout-aside > * { max-width: none; }

  .gw-card { grid-template-columns: 1fr; }
  .gw-merchant { padding: 20px 22px; }
  .gw-cancel { margin-top: 12px; }
  .gw-body { padding: 22px; }

  .order-grid, .brand-row, .guide-head, .contact { grid-template-columns: 1fr; gap: 24px; }
  .reasons dl { grid-template-columns: 1fr; gap: 24px; }
  .calc-section { padding: 24px 18px; }
}

@media (max-width: 640px) {
  .brand-strip ul { gap: 14px 26px; }
  .brand-strip img { height: 18px; }
  .brand-strip .wordmark { font-size: 18px; }
  body { font-size: 15px; }
  .announce { font-size: 12px; }
  .logo-word { font-size: 18px; }
  .logo-word span { display: none; }
  .section { padding: 48px 0; }
  .grid, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .cat-blurb { display: none; }
  .card-title { font-size: 14px; }
  .card-range { display: none; }
  .card-size { font-size: 11px; left: 6px; bottom: 6px; }
  .lineup { --s: 0.3; }
  .lineup-track { gap: 12px; }
  .field-grid, .bank-grid { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; padding: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; }
  .cart-table tr { border-bottom: 1px solid var(--line); padding: 16px 0; }
  .cart-table td { border: 0; padding: 0 !important; }
  .cart-table td.num { text-align: left !important; margin-top: 8px; }
  .results-bar { flex-wrap: wrap; }
  .co-actions { flex-direction: column-reverse; align-items: stretch; }
  .gw-test { padding: 18px; }
  .test-table th:nth-child(3), .test-table td:nth-child(3) { display: none; }
  .kv-lg > div { grid-template-columns: 110px minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .spinner { animation: none; border-top-color: var(--line-2); }
}

@media print {
  .announce, .site-header, .site-footer, .drawer, .btn-row, .skip { display: none !important; }
  .panel { break-inside: avoid; }
}
