/* ==========================================================================
   RAYMARK CAPS — design system
   Palette: warm paper, ink, varsity red, brass. Editorial-sport, not corporate.
   ========================================================================== */

:root {
  --ink: #12181d;
  --ink-soft: #2c353c;
  --muted: #6c6c62;
  --paper: #f7f2e6;
  --cream: #fbf8f1;
  --paper-2: #efe8d7;
  --line: #ded4c0;
  --line-dark: #c9bda5;
  --red: #b4262c;
  --red-dark: #8e1c21;
  --navy: #17263f;
  --gold: #b98a2e;
  --ok: #2f6b4f;
  --warn: #a5561f;

  --ff-display: "Archivo Black", "Arial Black", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ff-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ff-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --w: 1240px;
  --pad: 24px;
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --shadow-1: 0 1px 0 rgba(18, 24, 29, .04), 0 6px 18px -12px rgba(18, 24, 29, .28);
  --shadow-2: 0 2px 0 rgba(18, 24, 29, .05), 0 22px 40px -26px rgba(18, 24, 29, .45);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
button { font: inherit; color: inherit; }
hr { border: 0; border-top: 1px dashed var(--line-dark); margin: 0; }

::selection { background: var(--red); color: #fff; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--cream); padding: 12px 18px; border-radius: 0 0 6px 0;
}
.skip:focus { left: 0; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--w); margin-inline: auto; padding-inline: var(--pad); }
.wrap--narrow { max-width: 860px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--paper2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--cream); }
.section--ink .muted { color: #b8b3a6; }

.stack { display: grid; gap: 16px; }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- type ---------- */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 900;
  line-height: .96;
  letter-spacing: -.025em;
  margin: 0;
  text-transform: uppercase;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 5.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.05; }
h4 { font-size: 1.02rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.55; color: var(--ink-soft); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: .86rem; line-height: 1.5; }
.tiny { font-size: .78rem; }
.mono {
  font-family: var(--ff-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--red); font-weight: 700;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.section--ink .eyebrow { color: var(--gold); }

.u-mark { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.hl { color: var(--red); }
.hl-outline {
  -webkit-text-stroke: 2px var(--ink);
  color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--cream); --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--bg); color: var(--fg);
  border: 1.5px solid var(--bd); border-radius: 999px;
  padding: 13px 24px; font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, color .18s;
  white-space: nowrap;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 10px 22px -14px rgba(18, 24, 29, .7); }
.btn:active { transform: translateY(0); }
.btn--red { --bg: var(--red); --bd: var(--red); --fg: #fff; }
.btn--red:hover { --bg: var(--red-dark); --bd: var(--red-dark); }
.btn--outline { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn--outline:hover { --bg: var(--ink); --fg: var(--cream); }
.btn--light { --bg: var(--cream); --fg: var(--ink); --bd: var(--cream); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line-dark); }
.btn--ghost:hover { --bg: var(--paper-2); --fg: var(--ink); }
.btn--sm { padding: 9px 16px; font-size: .84rem; }
.btn--block { width: 100%; }
.btn__arrow { transition: transform .18s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .9rem; text-decoration: none;
  border-bottom: 2px solid var(--ink); padding-bottom: 3px;
}
.link-arrow:hover { color: var(--red); border-color: var(--red); }
.section--ink .link-arrow { border-color: var(--gold); }

/* ---------- announcement ---------- */
.announce {
  background: var(--ink); color: #e9e2d2;
  font-family: var(--ff-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  overflow: hidden; border-bottom: 1px solid #26303a;
}
.announce__track {
  display: flex; gap: 42px; width: max-content; padding: 9px 0;
  animation: slide 42s linear infinite;
}
.announce__track span { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.announce__track span::before { content: "◆"; color: var(--red); font-size: .6rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- header ---------- */
.head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247, 242, 230, .92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
.head.is-stuck { box-shadow: 0 8px 24px -18px rgba(18, 24, 29, .55); }
.head__inner {
  display: flex; align-items: center; gap: 28px;
  min-height: 72px; padding-block: 10px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 40px; height: 40px; flex: none; display: block; }
.brand__mark svg { width: 100%; height: 100%; }
.brand__word { display: grid; line-height: 1; }
.brand__name {
  font-family: var(--ff-display); font-size: 1.16rem; letter-spacing: -.02em; text-transform: uppercase;
}
.brand__sub {
  font-family: var(--ff-mono); font-size: .55rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); margin-top: 3px;
}
.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav a {
  position: relative; padding: 9px 13px; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: .93rem;
}
.nav a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--red); }
.head__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 1.5px solid var(--line-dark); border-radius: 999px;
  padding: 8px 14px 8px 12px; cursor: pointer; font-size: .86rem; font-weight: 600;
  text-decoration: none;
}
.cart-btn:hover { border-color: var(--ink); color: var(--ink); background: var(--cream); }
.cart-btn__count {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--red); color: #fff; border-radius: 999px;
  font-family: var(--ff-mono); font-size: .66rem; font-weight: 700;
}
.cart-btn__count[data-empty="true"] { background: var(--line-dark); color: var(--ink); }
.nav-toggle {
  display: none; background: none; border: 1.5px solid var(--line-dark); border-radius: 8px;
  width: 42px; height: 40px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--ink); position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 90; display: none;
}
.drawer.is-open { display: block; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(18, 24, 29, .45); }
.drawer__panel {
  position: absolute; inset: 0 0 0 auto; width: min(380px, 88vw);
  background: var(--cream); padding: 26px; display: flex; flex-direction: column; gap: 8px;
  box-shadow: -20px 0 60px -30px rgba(0, 0, 0, .6);
  animation: drawer-in .24s var(--ease);
}
@keyframes drawer-in { from { transform: translateX(20px); opacity: .4; } }
.drawer__panel a.drawer__link {
  text-decoration: none; font-family: var(--ff-display); text-transform: uppercase;
  font-size: 1.5rem; padding: 12px 0; border-bottom: 1px dashed var(--line-dark);
}
.drawer__close {
  align-self: flex-end; background: none; border: 0; font-size: 1.6rem; cursor: pointer; line-height: 1;
}
.drawer__foot { margin-top: auto; padding-top: 20px; display: grid; gap: 10px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero__grid {
  display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(24px, 4vw, 56px);
  align-items: center; padding: clamp(44px, 6vw, 84px) 0 clamp(48px, 6vw, 76px);
}
.hero h1 { margin-bottom: 22px; }
.hero h1 .line { display: block; }
.hero__sub { max-width: 46ch; font-size: 1.08rem; color: var(--ink-soft); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 34px; }
.hero__stats {
  display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line-dark); padding-top: 18px;
}
.hero__stat { padding-right: 26px; margin-right: 26px; border-right: 1px dashed var(--line-dark); }
.hero__stat:last-child { border: 0; margin: 0; padding: 0; }
.hero__stat b {
  display: block; font-family: var(--ff-display); font-size: 1.5rem; line-height: 1; letter-spacing: -.02em;
}
.hero__stat span { font-family: var(--ff-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.hero__visual { position: relative; }
.hero__stage {
  position: relative; aspect-ratio: 1 / .92; border-radius: var(--r-lg);
  background:
    radial-gradient(120% 100% at 50% 0%, #fffdf7 0%, var(--paper-2) 62%, #e6dcc6 100%);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
.hero__stage::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px; opacity: .5;
  mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 75%);
}
.hero__caps { position: absolute; inset: 0; display: grid; place-items: center; }
.hero__cap { position: absolute; width: 74%; filter: drop-shadow(0 26px 26px rgba(18, 24, 29, .16)); }
.hero__cap img, .hero__cap svg { width: 100%; height: auto; }
.hero__cap--main { width: 68%; transform: translateY(4%) rotate(-3deg); z-index: 3; }
.hero__cap--left { width: 34%; left: 1%; bottom: 5%; transform: rotate(-15deg); z-index: 2; opacity: .98; }
.hero__cap--right { width: 38%; right: -4%; bottom: 9%; transform: rotate(11deg); z-index: 1; opacity: .98; }
.hero__sticker {
  position: absolute; z-index: 4; right: 4%; top: 4%;
  background: var(--red); color: #fff; transform: rotate(7deg);
  border: 2px solid var(--ink); border-radius: 50%;
  width: 108px; height: 108px; display: grid; place-content: center; text-align: center;
  box-shadow: 4px 4px 0 var(--ink);
}
.hero__sticker b { font-family: var(--ff-display); font-size: 1.28rem; line-height: .9; letter-spacing: -.03em; }
.hero__sticker span { font-family: var(--ff-mono); font-size: .54rem; letter-spacing: .12em; text-transform: uppercase; }
.hero__note {
  position: absolute; left: 3%; bottom: 5%; z-index: 4;
  background: var(--cream); border: 1px solid var(--ink); border-radius: var(--r-sm);
  padding: 9px 13px; box-shadow: 3px 3px 0 rgba(18, 24, 29, .85);
  font-family: var(--ff-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase;
}
.hero__note b { color: var(--red); }

/* ---------- logo / proof strip ---------- */
.proof {
  border-top: 1px dashed var(--line-dark); border-bottom: 1px dashed var(--line-dark);
  background: var(--cream);
}
.proof__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 18px 34px; padding: 20px 0;
}
.proof__label { font-family: var(--ff-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.proof__items { display: flex; flex-wrap: wrap; gap: 26px; }
.proof__items span {
  font-family: var(--ff-display); font-size: .92rem; text-transform: uppercase; letter-spacing: -.01em;
  color: var(--ink-soft); opacity: .72;
}

/* ---------- section header ---------- */
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.sec-head h2 { max-width: 22ch; }
.sec-head p { margin-top: 10px; max-width: 52ch; }
.sec-head__link { flex: none; }

/* ---------- product card ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pcard {
  position: relative; display: flex; flex-direction: column;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line-dark); color: inherit; }
.pcard__media { position: relative; aspect-ratio: 4 / 3.35; background: var(--paper-2); overflow: hidden; }
.pcard__media img, .pcard__media svg { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.pcard:hover .pcard__media img, .pcard:hover .pcard__media svg { transform: scale(1.035); }
.pcard__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--ink); color: var(--cream);
  font-family: var(--ff-mono); font-size: .58rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 3px;
}
.pcard__badge--red { background: var(--red); }
.pcard__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard__cat { font-family: var(--ff-mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pcard__name { font-family: var(--ff-display); font-size: 1.06rem; line-height: 1.02; text-transform: uppercase; letter-spacing: -.01em; }
.pcard__desc { font-size: .84rem; color: var(--muted); line-height: 1.45; }
.pcard__foot {
  margin-top: auto; padding-top: 12px; display: flex; align-items: end; justify-content: space-between; gap: 10px;
  border-top: 1px dashed var(--line);
}
.pcard__price { font-family: var(--ff-display); font-size: 1.2rem; letter-spacing: -.02em; }
.pcard__price small { font-family: var(--ff-body); font-size: .66rem; font-weight: 500; letter-spacing: 0; color: var(--muted); display: block; }
.pcard__moq { font-family: var(--ff-mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- category tiles ---------- */
.tile {
  position: relative; display: grid; grid-template-columns: 1fr .95fr; overflow: hidden;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-lg);
  min-height: 300px; text-decoration: none; color: inherit;
  transition: box-shadow .25s, transform .25s;
}
.tile:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); color: inherit; }
.tile__body { padding: 34px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.tile__body h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.tile__list { margin: 4px 0 14px; padding: 0; list-style: none; display: grid; gap: 6px; font-size: .9rem; color: var(--ink-soft); }
.tile__list li::before { content: "— "; color: var(--red); }
.tile__media { position: relative; background: var(--paper-2); overflow: hidden; }
.tile__media img, .tile__media svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8% 6%; filter: drop-shadow(0 18px 18px rgba(18, 24, 29, .18)); }
.tile--ink { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.tile--ink .tile__list { color: #c9c3b4; }
.tile--ink h3 { color: #fff; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-dark); }
.step { padding: 28px 26px 30px 0; border-right: 1px dashed var(--line-dark); position: relative; }
.step:last-child { border: 0; padding-right: 0; }
.step:nth-child(n + 2) { padding-left: 26px; }
.step__n {
  font-family: var(--ff-display); font-size: 2.4rem; line-height: 1; color: transparent;
  -webkit-text-stroke: 1.5px var(--line-dark); display: block; margin-bottom: 14px;
}
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- fact rows / spec table ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.fact { background: var(--cream); padding: 20px 22px; }
.fact b { display: block; font-family: var(--ff-display); font-size: 1.45rem; line-height: 1; letter-spacing: -.02em; }
.fact span { font-family: var(--ff-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: block; margin-top: 7px; }

table.data { width: 100%; border-collapse: collapse; font-size: .93rem; }
table.data th, table.data td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { font-family: var(--ff-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--paper-2); }
table.data tbody tr:hover { background: var(--cream); }
table.data td:first-child { font-weight: 600; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--cream); }
.table-wrap table.data th:first-child, .table-wrap table.data td:first-child { padding-left: 18px; }

/* ---------- pedia ---------- */
.pcard--art .pcard__media { background: var(--navy); }
.art-card {
  display: flex; flex-direction: column; gap: 10px; padding: 26px;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-md);
  text-decoration: none; color: inherit; height: 100%;
  transition: transform .22s var(--ease), box-shadow .22s, border-color .22s;
}
.art-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line-dark); color: inherit; }
.art-card__cat { font-family: var(--ff-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.art-card h3 { font-size: 1.18rem; line-height: 1.08; }
.art-card p { font-size: .88rem; color: var(--muted); margin: 0; }
.art-card__meta { margin-top: auto; padding-top: 14px; display: flex; gap: 14px; font-family: var(--ff-mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--red); color: #fff; position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .1) 0 2px, transparent 2px 12px);
  opacity: .5; pointer-events: none;
}
.cta-band__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; padding: 58px 0; }
.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band p { color: #ffe6e4; margin: 12px 0 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* ---------- trust / list ---------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; font-size: .95rem; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: var(--cream);
  display: grid; place-items: center; font-size: .66rem; font-weight: 700;
}
.checklist--ink li::before { background: var(--gold); color: var(--ink); }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #b9b3a4; padding: 62px 0 26px; }
.foot a { color: #ded7c6; text-decoration: none; }
.foot a:hover { color: #fff; }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.foot h4 { color: #fff; font-size: .74rem; font-family: var(--ff-mono); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .9rem; }
.foot .brand__name { color: #fff; }
.foot .brand__sub { color: #8f8879; }
.foot p { font-size: .88rem; line-height: 1.6; }
.foot__contact { display: grid; gap: 8px; font-size: .9rem; margin-top: 14px; }
.foot__contact a { display: inline-flex; gap: 8px; align-items: center; }
.foot__bottom {
  margin-top: 44px; padding-top: 20px; border-top: 1px solid #2a3339;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  font-size: .76rem; color: #857f70;
}
.foot__legal { max-width: 74ch; }
.foot__bottom p { margin: 0; }

/* ---------- interior page hero ---------- */
.phero { background: var(--paper-2); border-bottom: 1px solid var(--line); padding: 46px 0 54px; }
.phero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: 16px; }
.phero p { max-width: 62ch; color: var(--ink-soft); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--ff-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.crumbs span { opacity: .5; }

/* ---------- shop toolbar ---------- */
.shop-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; justify-content: space-between;
  padding: 18px 0; border-bottom: 1px solid var(--line); position: sticky; top: 72px; z-index: 30;
  background: var(--paper);
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1.5px solid var(--line-dark); background: transparent; border-radius: 999px;
  padding: 7px 14px; font-size: .82rem; font-weight: 600; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.shop-bar__side { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.shop-count { font-family: var(--ff-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- product detail ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.gallery { display: grid; gap: 12px; position: sticky; top: 96px; }
.gallery__main { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--paper-2); }
.gallery__main img, .gallery__main svg { width: 100%; height: auto; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.thumb { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--paper-2); padding: 0; cursor: pointer; }
.thumb img, .thumb svg { width: 100%; height: auto; }
.thumb[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink) inset; }

.pdp__head h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin: 10px 0 12px; }
.pdp__price { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 4px; }
.pdp__price b { font-family: var(--ff-display); font-size: 2.1rem; letter-spacing: -.02em; }
.pdp__price span { font-size: .84rem; color: var(--muted); }
.tier-table { width: 100%; border-collapse: collapse; font-size: .86rem; margin-top: 10px; }
.tier-table th, .tier-table td { padding: 7px 0; border-bottom: 1px dashed var(--line); text-align: left; }
.tier-table th { font-family: var(--ff-mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.tier-table td:last-child, .tier-table th:last-child { text-align: right; font-weight: 700; }
.tier-table tr[data-active="true"] td { color: var(--red); }

.opt-group { margin: 22px 0; }
.opt-group > label, .opt-group > .opt-label {
  display: block; font-family: var(--ff-mono); font-size: .64rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 9px; font-weight: 600;
}
.swatches { display: flex; flex-wrap: wrap; gap: 9px; }
.swatch {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px;
  border: 1.5px solid var(--line-dark); border-radius: 999px; background: transparent;
  cursor: pointer; font-size: .82rem;
}
.swatch i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .2); }
.swatch[aria-pressed="true"] { border-color: var(--ink); background: var(--cream); box-shadow: 0 0 0 1px var(--ink) inset; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size {
  border: 1.5px solid var(--line-dark); background: transparent; border-radius: var(--r-sm);
  padding: 8px 13px; font-size: .84rem; cursor: pointer;
}
.size[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.buybox { border: 1px solid var(--line); background: var(--cream); border-radius: var(--r-md); padding: 20px; margin: 26px 0 18px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-dark); border-radius: 999px; overflow: hidden; }
.qty button { width: 38px; height: 40px; background: none; border: 0; cursor: pointer; font-size: 1.1rem; }
.qty button:hover { background: var(--paper-2); }
.qty input { width: 62px; height: 40px; border: 0; text-align: center; background: transparent; font-weight: 700; font-variant-numeric: tabular-nums; }
.buybox__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.buybox__total { margin-left: auto; text-align: right; }
.buybox__total b { font-family: var(--ff-display); font-size: 1.35rem; }
.buybox__total span { display: block; font-family: var(--ff-mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; }
.spec-list div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .88rem; }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; font-weight: 600; text-align: right; }

/* ---------- cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1.5fr .9fr; gap: 36px; align-items: start; }
.cart-list { border-top: 1px solid var(--line); }
.cart-row { display: grid; grid-template-columns: 92px 1fr auto; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-row__img img { width: 100%; height: auto; display: block; }
.cart-row__img { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.cart-row__name { font-family: var(--ff-display); text-transform: uppercase; font-size: .98rem; line-height: 1.05; }
.cart-row__meta { font-size: .78rem; color: var(--muted); }
.cart-row__right { text-align: right; display: grid; gap: 8px; justify-items: end; }
.cart-row__price { font-weight: 700; }
.cart-remove { background: none; border: 0; font-size: .74rem; color: var(--muted); cursor: pointer; text-decoration: underline; padding: 0; }
.cart-remove:hover { color: var(--red); }
.cart-empty { padding: 56px 0; text-align: center; border: 1px dashed var(--line-dark); border-radius: var(--r-md); }
.summary { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; position: sticky; top: 96px; }
.summary__row { display: flex; justify-content: space-between; padding: 9px 0; font-size: .92rem; border-bottom: 1px dashed var(--line); }
.summary__row--total { border-bottom: 0; padding-top: 16px; font-family: var(--ff-display); font-size: 1.3rem; text-transform: uppercase; }
.quote-out {
  width: 100%; min-height: 150px; resize: vertical; font-family: var(--ff-mono); font-size: .72rem; line-height: 1.6;
  border: 1px solid var(--line-dark); border-radius: var(--r-sm); padding: 12px; background: #fff; color: var(--ink);
}

/* ---------- forms ---------- */
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-family: var(--ff-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-dark); border-radius: var(--r-sm);
  background: #fff; font: inherit; font-size: .95rem; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 2px solid rgba(180, 38, 44, .25); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .78rem; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

/* ---------- article ---------- */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 56px; align-items: start; }
.prose { max-width: 70ch; font-size: 1.02rem; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin: 46px 0 14px; text-transform: none; letter-spacing: -.015em; line-height: 1.1; }
.prose h3 { font-size: 1.12rem; margin: 26px 0 8px; text-transform: none; letter-spacing: 0; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 7px; }
.prose a { color: var(--ink); text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.prose a:hover { color: var(--red); }
.prose strong { font-weight: 700; }
.tldr {
  background: var(--cream); border: 1px solid var(--line); border-left: 4px solid var(--red);
  border-radius: 0 var(--r-md) var(--r-md) 0; padding: 22px 24px; margin: 0 0 32px;
}
.tldr h2 { margin: 0 0 12px !important; font-family: var(--ff-mono) !important; font-size: .68rem !important;
  letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.tldr ul { margin: 0; padding-left: 18px; }
.tldr li { font-size: .95rem; margin-bottom: 8px; }
.callout { border-radius: var(--r-md); padding: 18px 20px; margin: 22px 0; font-size: .94rem; border: 1px solid var(--line); background: var(--cream); }
.callout__title { font-family: var(--ff-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin-bottom: 6px; display: block; }
.callout--tip { border-left: 4px solid var(--ok); }
.callout--tip .callout__title { color: var(--ok); }
.callout--note { border-left: 4px solid var(--navy); }
.callout--note .callout__title { color: var(--navy); }
.callout--warn { border-left: 4px solid var(--warn); background: #fdf4e8; }
.callout--warn .callout__title { color: var(--warn); }
.steps-list { counter-reset: s; list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 14px; }
.steps-list li { counter-increment: s; position: relative; padding-left: 44px; }
.steps-list li::before {
  content: counter(s); position: absolute; left: 0; top: -2px;
  width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--cream);
  display: grid; place-items: center; font-family: var(--ff-mono); font-size: .76rem; font-weight: 700;
}
.steps-list b { display: block; }
.aside-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; margin-bottom: 18px; }
.aside-card h3 { font-size: .95rem; margin-bottom: 10px; }
.aside-card ul { margin: 0; padding-left: 18px; font-size: .86rem; }
.aside { position: sticky; top: 96px; }
.meta-line { display: flex; flex-wrap: wrap; gap: 16px; font-family: var(--ff-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-bottom: 20px; border-bottom: 1px dashed var(--line-dark); margin-bottom: 26px; }

.faq { border-top: 1px solid var(--line); margin-top: 40px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 18px 0; font-weight: 700; font-size: 1rem; list-style: none;
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--ff-mono); color: var(--red); font-size: 1.2rem; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* ---------- misc ---------- */
.notice {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-sm);
  background: #fdf4e8; border: 1px solid #e8d3b3; font-size: .86rem; color: #6d4a1c;
}
.notice--ink { background: var(--paper-2); border-color: var(--line-dark); color: var(--ink-soft); }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line-dark); font-size: .76rem; font-weight: 600; background: var(--cream);
}
.pill--red { background: var(--red); color: #fff; border-color: var(--red); }
.pill--ink { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #3fa06a; display: inline-block; }
.divider-stitch { border: 0; border-top: 2px dashed var(--line-dark); margin: 0; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 36px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.maxw-60 { max-width: 60ch; }
.flex { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.between { justify-content: space-between; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g4, .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .article { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .aside-card { margin: 0; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .head__inner { gap: 12px; min-height: 64px; }
  .head__actions .btn { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 520px; width: 100%; }
  .hero__stage { aspect-ratio: 1.15 / 1; }
  .tile { grid-template-columns: 1fr; }
  .tile__media { min-height: 220px; order: -1; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step { border-right: 0; border-bottom: 1px dashed var(--line-dark); padding: 24px 24px 24px 0; }
  .step:nth-child(n + 2) { padding-left: 0; }
  .step:nth-child(even) { padding-left: 24px; border-left: 1px dashed var(--line-dark); }
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .cta-band__inner { grid-template-columns: 1fr; }
  .cta-band__actions { justify-content: flex-start; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .section { padding: 64px 0; }
  .shop-bar { position: static; }
}
@media (max-width: 720px) {
  :root { --pad: 18px; }
  .card-grid, .card-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
  .hero__stat { padding: 12px 16px 12px 0; margin: 0; border-right: 0; border-bottom: 1px dashed var(--line-dark); }
  .hero__stat:nth-child(even) { padding-left: 16px; border-left: 1px dashed var(--line-dark); }
  .hero__stat:nth-last-child(-n + 2) { border-bottom: 0; }
  .pcard__desc { display: none; }
  .cart-row { grid-template-columns: 64px 1fr; }
  .cart-row__right { grid-column: 1 / -1; justify-items: start; text-align: left; display: flex; gap: 16px; align-items: center; }
  .aside { grid-template-columns: 1fr; }
  .spec-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero__sticker { width: 84px; height: 84px; }
  .hero__sticker b { font-size: 1rem; }
  .prose { font-size: 1rem; }
}
@media (max-width: 460px) {
  .card-grid, .card-grid--3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step, .step:nth-child(even) { padding: 20px 0; border-left: 0; }
  .foot__grid { grid-template-columns: 1fr; }
  .brand__sub { display: none; }
}

@media print {
  .head, .announce, .foot, .cta-band, .drawer { display: none !important; }
  body { background: #fff; }
}

/* ---------- category tree (2026 restructure) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cat-card {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 12px;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--cream);
  text-decoration: none; color: inherit;
  transition: transform .18s var(--ease), box-shadow .18s, border-color .18s;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-dark); color: inherit; }
.cat-card img { width: 78px; height: 66px; object-fit: contain; padding: 3px; border-radius: 4px; background: var(--paper-2); flex: none; }
.cat-card h3 { font-size: .94rem; margin: 0 0 3px; line-height: 1.1; }
.cat-card span > span { font-size: .72rem; color: var(--muted); }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 0 16px; border-bottom: 1px solid var(--line); }
.subnav .chip { text-decoration: none; }
.narrow-copy { max-width: 840px; }
.notice--warn { background: #fdf4e8; border: 1px solid #e8d3b3; color: #6d4a1c; display: block; }
.notice--warn strong { display: block; margin-bottom: 4px; }

/* ---------- mega menu ---------- */
.nav-item { position: relative; display: flex; }
.mega {
  position: absolute; top: calc(100% + 6px); left: -70px;
  z-index: 70; display: none; grid-template-columns: repeat(4, minmax(168px, 1fr));
  gap: 18px 26px; padding: 22px; width: 860px;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-2);
}
.nav-item:hover .mega, .nav-item:focus-within .mega { display: grid; }
.mega__col { display: flex; flex-direction: column; gap: 2px; }
.mega__head {
  font-family: var(--ff-mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); font-weight: 700; padding: 0 10px 6px;
}
.mega a { padding: 6px 10px; font-size: .85rem; font-weight: 500; border-radius: 6px; text-decoration: none; }
.mega a::after { display: none; }
.mega a:hover { background: var(--paper-2); color: var(--ink); }
@media (max-width: 1100px) { .nav-item:hover .mega, .nav-item:focus-within .mega { display: none; } }.mega a.mega__head { padding: 0 10px 6px; }
.drawer__cats { display: grid; gap: 2px; padding: 14px 0 4px; border-top: 1px dashed var(--line-dark); margin-top: 8px; }
.drawer__cats a { text-decoration: none; font-size: .9rem; padding: 6px 0; }
.drawer__cats a:hover { color: var(--red); }.mega a.mega__head { padding: 0 10px 6px; }
.drawer__cats { display: grid; gap: 2px; padding: 14px 0 4px; border-top: 1px dashed var(--line-dark); margin-top: 8px; }
.drawer__cats a { text-decoration: none; font-size: .9rem; padding: 6px 0; }
.drawer__cats a:hover { color: var(--red); }
/* ---------- category tiles (3-level drill-down) ---------- */
.cat-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cat-tile {
  display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s;
}
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line-dark); color: inherit; }
.cat-tile__media { position: relative; aspect-ratio: 16 / 10; background: var(--paper-2); overflow: hidden; }
.cat-tile__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cat-tile:hover .cat-tile__media img { transform: scale(1.04); }
.cat-tile__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cat-tile__meta { font-family: var(--ff-mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); font-weight: 700; }
.cat-tile__body h3 { font-size: 1.22rem; line-height: 1.05; }
.cat-tile__body p { font-size: .84rem; color: var(--muted); margin: 0; line-height: 1.45; }
.cat-tile__go { margin-top: auto; padding-top: 12px; font-size: .8rem; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.cat-tile:hover .cat-tile__go { color: var(--red); }
@media (max-width: 900px) { .cat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 560px) { .cat-tiles { grid-template-columns: 1fr; } }
/* `hidden` must beat component display rules (cards use display:flex) */
[hidden] { display: none !important; }
/* ---------- shop category nav (hover dropdown) ---------- */
.catnav { position: sticky; top: 72px; z-index: 36; background: var(--paper); border-bottom: 1px solid var(--line); }
.catnav__inner { display: flex; gap: 2px; padding: 8px 0; }
.catnav__inner::-webkit-scrollbar { display: none; }
.catnav__item { position: relative; flex: none; }
.catnav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px;
  font-size: .88rem; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background .15s, color .15s;
}
.catnav__link::after {
  content: ""; width: 5px; height: 5px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-1px); opacity: .5;
}
.catnav__item:hover .catnav__link, .catnav__item:focus-within .catnav__link { background: var(--ink); color: var(--cream); }
.catnav__drop {
  position: absolute; top: calc(100% + 2px); left: 0; display: none;
  min-width: 250px; padding: 10px; background: var(--cream);
  border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-2); z-index: 40;
}
.catnav__item:hover .catnav__drop, .catnav__item:focus-within .catnav__drop { display: block; }
.catnav__drop a { display: block; padding: 8px 10px; border-radius: 6px; font-size: .86rem; text-decoration: none; }
.catnav__drop a:hover { background: var(--paper-2); color: var(--ink); }
.catnav__drop .catnav__all { margin-top: 6px; padding-top: 9px; border-top: 1px dashed var(--line); font-weight: 700; color: var(--red); }
.catnav__drop .catnav__all:hover { background: transparent; color: var(--red-dark); }
@media (max-width: 900px) {
  .catnav { position: static; }
  .catnav__inner { overflow-x: auto; scrollbar-width: none; }
  .catnav__inner::-webkit-scrollbar { display: none; }
  .catnav__drop { display: none !important; }
  .catnav__link::after { display: none; }
}
/* ---------- shop category bar: pill buttons (no dropdown) ---------- */
.catnav__inner { flex-wrap: wrap; gap: 8px; padding: 12px 0; overflow: visible; }
.catnav__link {
  border: 1.5px solid var(--line-dark); border-radius: 999px;
  padding: 8px 16px; font-size: .84rem; font-weight: 600;
}
.catnav__link::after { display: none; }
.catnav__link:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
@media (max-width: 900px) { .catnav__inner { overflow: visible; } }
/* ---------- category bar: back button + active pill ---------- */
.catnav__back { border-color: var(--ink); font-weight: 700; }
.catnav__back span { opacity: .7; margin-right: 2px; }
.catnav__sep { width: 1px; align-self: stretch; margin: 4px 6px; background: var(--line-dark); opacity: .7; }
.catnav__link[aria-current="page"] {
  background: var(--ink); color: var(--cream); border-color: var(--ink);
}
/* ---------- category bar: second row with sub-categories ---------- */
.catnav__inner--sub { border-top: 1px dashed var(--line); padding: 8px 0 10px; gap: 6px; }
.catnav__sublink {
  font-size: .8rem; font-weight: 600; padding: 6px 13px;
  border-color: var(--line); background: transparent; color: var(--ink-soft);
}
.catnav__sublink:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.catnav__sublink[aria-current="page"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }