/* ==========================================================================
   Romero's Supplies — Body & Equipment
   Design system v2 · "Trade Counter"
   White ground · hairline structure · ink type · gold as a 1px accent only
   ========================================================================== */

:root {
  /* ---- ground ---- */
  --bg:        #FFFFFF;
  --bg-2:      #FAFAF8;   /* warm paper — alternating sections */
  --bg-3:      #F4F4F1;   /* product tile / inset */
  --ink:       #101114;
  --ink-2:     #1C1E24;

  /* ---- type ---- */
  --fg:        #16181D;
  --fg-2:      #5B6270;
  --fg-3:      #8E95A2;
  --fg-4:      #B4B9C2;

  /* ---- structure ---- */
  --line:      #E7E7E3;
  --line-2:    #D8D8D2;
  --line-3:    #C4C4BC;

  /* ---- accent: used sparingly, never as a gradient on text ---- */
  /* storefront teal — sampled from Romero's real shop front, used only for
     the visit/map block so "where to go" is the one coloured moment */
  --deep:        #0B5C68;
  --deep-accent: #35CBE0;

  --gold:      #A8811F;
  --gold-2:    #C9A227;
  --gold-soft: #F5EFDC;

  /* ---- signal ---- */
  --ok:        #157F4A;
  --ok-soft:   #EAF5EF;
  --warn:      #B4621A;
  --warn-soft: #FBF0E4;
  --no:        #B3352C;
  --no-soft:   #FBEDEC;

  --r:         4px;
  --r-lg:      6px;
  --pad:       clamp(1.15rem, 4vw, 3rem);
  --maxw:      1400px;
  --ease:      cubic-bezier(.22,.61,.36,1);
  --ease-out:  cubic-bezier(.16,1,.3,1);

  /* film-grain texture — used as a faint overlay-blend on dark video sections
     so they read as photographed, not a flat CSS gradient */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ========================================================================== */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--ink); color: #fff; }

*::-webkit-scrollbar { width: 9px; height: 9px; }
*::-webkit-scrollbar-track { background: var(--bg-2); }
*::-webkit-scrollbar-thumb { background: var(--line-3); border-radius: 6px; border: 2px solid var(--bg-2); }
*::-webkit-scrollbar-thumb:hover { background: var(--fg-3); }

/* ==========================================================================
   TYPE
   ========================================================================== */
h1,h2,h3,h4 {
  font-weight: 600;
  letter-spacing: -.022em;
  line-height: 1.08;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.35rem); }
h3 { font-size: 1.05rem; letter-spacing: -.012em; }

p { margin: 0; }
.lede { font-size: clamp(1rem, 1.15vw, 1.09rem); color: var(--fg-2); line-height: 1.62; max-width: 52ch; }

.mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
  font-size: .82em;
  letter-spacing: -.02em;
}
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--fg-3);
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ''; width: 18px; height: 1px; background: var(--gold); flex-shrink: 0;
}
.eyebrow.plain::before { display: none; }

/* ==========================================================================
   SHELL
   ========================================================================== */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* announce */
.announce {
  background: var(--ink);
  color: #EDEDE9;
  text-align: center;
  padding: 8px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  position: relative; z-index: 60;
}
.announce a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.4); }
.announce b { color: var(--gold-2); font-weight: 500; }

/* header */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px) saturate(1.6);
  -webkit-backdrop-filter: blur(12px) saturate(1.6);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s var(--ease);
}
.hdr.is-scrolled { box-shadow: 0 6px 18px -14px rgba(16,17,20,.28); }
.hdr-in {
  max-width: var(--maxw); margin-inline: auto;
  padding: 12px var(--pad);
  display: flex; align-items: center; gap: clamp(.75rem, 2vw, 2rem);
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }
.brand-txt { display: none; line-height: 1.12; }
@media (min-width: 1180px) { .brand-txt { display: block; } }
.brand-txt b { font-size: 15px; font-weight: 600; letter-spacing: -.018em; display: block; color: var(--ink); }
.brand-txt span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--fg-3);
}

.nav { display: none; gap: 2px; }
@media (min-width: 940px) { .nav { display: flex; } }
.nav a {
  position: relative;
  padding: 8px 12px;
  font-size: 13.5px; font-weight: 500;
  color: var(--fg-2);
  border-radius: var(--r);
  transition: color .16s;
}
.nav a::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px;
  height: 1.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .26s var(--ease-out);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }
.nav a.on { color: var(--ink); font-weight: 600; }

.hdr-search { flex: 1; min-width: 0; max-width: 400px; margin-left: auto; }
.hdr-acts { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

/* field */
.field {
  display: flex; align-items: center; gap: 9px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 0 11px;
  transition: border-color .18s, background .18s;
}
.field:focus-within { border-color: var(--fg-3); background: #fff; }
.field svg { flex-shrink: 0; color: var(--fg-3); }
.field input {
  flex: 1; min-width: 0;
  background: none; border: 0; outline: 0;
  color: var(--fg); font: inherit; font-size: 13.5px;
  padding: 9px 0;
}
.field input::placeholder { color: var(--fg-3); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: #fff;
  color: var(--ink);
  font-size: 13.5px; font-weight: 500;
  letter-spacing: -.005em;
  white-space: nowrap;
  transition: border-color .18s, background .18s, color .18s, transform .16s var(--ease);
}
.btn:hover { border-color: var(--fg-3); background: var(--bg-2); }
.btn:active { transform: translateY(1px); }
.btn-ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-ink:hover { background: #24262D; border-color: #24262D; color: #fff; }
.btn-sm { padding: 8px 13px; font-size: 12.5px; }
.btn-lg { padding: 14px 24px; font-size: 14.5px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .38; pointer-events: none; }

.icon-btn {
  position: relative;
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line); border-radius: var(--r);
  background: #fff; color: var(--fg-2);
  transition: border-color .18s, color .18s, background .18s;
}
.icon-btn:hover { border-color: var(--fg-3); color: var(--ink); }
.icon-btn .count {
  position: absolute; top: -6px; right: -6px;
  min-width: 18px; height: 18px; padding: 0 5px;
  display: grid; place-items: center;
  background: var(--ink); color: #fff;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 600;
  border-radius: 9px; border: 2px solid #fff;
}
.icon-btn .count:empty, .icon-btn .count[data-n="0"] { display: none; }

/* text link with arrow */
.tlink {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 500; color: var(--ink);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 2px;
  transition: border-color .18s, gap .18s var(--ease);
}
.tlink:hover { border-color: var(--gold); gap: 11px; }
.tlink svg { color: var(--gold); }

/* ==========================================================================
   HERO — full-bleed video, cinematic scrim, copy anchored bottom-left
   ========================================================================== */
.hero {
  position: relative;
  min-height: min(86vh, 800px);
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.hero video, .hero > img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center 60%;
}
.hero::before {
  /* cinematic scrim — dark low-left for copy legibility, opens up top-right */
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(0deg, rgba(9,10,13,.92) 0%, rgba(9,10,13,.55) 32%, rgba(9,10,13,.08) 58%, rgba(9,10,13,.28) 100%),
    linear-gradient(100deg, rgba(9,10,13,.7) 0%, rgba(9,10,13,.15) 46%, rgba(9,10,13,0) 68%);
}
.hero::after { content: ''; position: absolute; inset: 0; z-index: 1; opacity: .05; mix-blend-mode: overlay; background: var(--grain); }

.hero-in {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin-inline: auto;
  min-height: min(86vh, 800px);
  display: flex; align-items: flex-end;
}
.hero-copy {
  padding: clamp(2.5rem, 6vw, 3.75rem) var(--pad) clamp(2.75rem, 6vw, 4rem);
  max-width: 640px;
}
.hero-copy .eyebrow { color: rgba(255,255,255,.68); }
.hero-copy .eyebrow::before { background: var(--gold-2); }
.hero-copy h1 { margin-top: 1.15rem; color: #fff; }
.hero-copy .lede { margin-top: 1.15rem; color: rgba(255,255,255,.82); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2.1rem; }
.hero-cta .btn-lg:not(.btn-ink) {
  background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.34); color: #fff;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero-cta .btn-lg:not(.btn-ink):hover { background: rgba(255,255,255,.16); border-color: #fff; }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: 0;
  margin-top: 2.75rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero-trust div { padding-right: clamp(1.25rem, 3vw, 2.5rem); }
.hero-trust div + div { padding-left: clamp(1.25rem, 3vw, 2.5rem); border-left: 1px solid rgba(255,255,255,.18); }
.hero-trust b { display: flex; align-items: baseline; gap: 7px; font-size: 1.45rem; font-weight: 600; letter-spacing: -.03em; color: #fff; line-height: 1; }
.hero-stars { font-size: 12px; letter-spacing: .08em; margin: 0; }
.hero-trust span {
  display: block; margin-top: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: rgba(255,255,255,.56);
}

.hero-tag {
  position: absolute; top: clamp(1rem, 2.5vw, 1.75rem); right: var(--pad); z-index: 2;
  display: flex; align-items: center; gap: 8px;
  background: rgba(10,11,14,.42); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 9px 16px 9px 13px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: rgba(255,255,255,.85);
}
.hero-tag b { color: var(--gold-2); font-weight: 500; }
@media (max-width: 700px) { .hero-tag span:not(.live-dot) { display: none; } .hero-tag b { display: inline; } }

.hero-scroll {
  position: absolute; left: var(--pad); bottom: clamp(1.5rem, 4vw, 2.5rem); z-index: 2;
  display: none; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.hero-scroll i { width: 1px; height: 26px; background: rgba(255,255,255,.4); position: relative; overflow: hidden; }
.hero-scroll i::after {
  content: ''; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: #fff;
  animation: scrollrun 1.8s ease-in-out infinite;
}
@keyframes scrollrun { 50% { top: 100%; } 100% { top: 100%; } }
@media (min-width: 700px) and (min-height: 700px) { .hero-scroll { display: flex; } }

.live-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
  background: var(--ok); box-shadow: 0 0 0 0 rgba(21,127,74,.45);
  animation: livepulse 2.2s ease-out infinite;
}
@keyframes livepulse {
  0%   { box-shadow: 0 0 0 0 rgba(21,127,74,.45); }
  70%  { box-shadow: 0 0 0 7px rgba(21,127,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(21,127,74,0); }
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.sec { padding: clamp(3rem, 6.5vw, 6rem) 0; }
.sec.tint { background: var(--bg-2); border-block: 1px solid var(--line); }
.sec-hd {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}
.sec-hd h2 { margin-top: .75rem; }
.sec-hd .lede { margin-top: .7rem; font-size: 1rem; }

/* ---- department mosaic: image-forward cards, hairline seams between ---- */
.depts {
  display: grid; gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (min-width: 620px) { .depts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .depts { grid-template-columns: repeat(3, 1fr); } }

.dept {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  display: block;
}
.dept img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.dept:hover img { transform: scale(1.06); }
.dept-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(16,17,20,.86) 0%, rgba(16,17,20,.32) 52%, rgba(16,17,20,0) 78%);
  transition: background .25s;
}
.dept:hover .dept-scrim { background: linear-gradient(0deg, rgba(16,17,20,.92) 0%, rgba(16,17,20,.42) 56%, rgba(16,17,20,0) 78%); }
.dept-txt {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: clamp(1rem, 2vw, 1.4rem);
}
.dept-txt h3 { color: #fff; font-size: 15px; font-weight: 600; }
.dept-txt .n {
  display: block; margin-top: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; color: var(--gold-2); letter-spacing: .1em; text-transform: uppercase;
}
.dept .arw {
  position: absolute; top: 14px; right: 14px; z-index: 1;
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #fff;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform .25s var(--ease), background .2s, color .2s;
}
.dept:hover .arw { transform: translate(2px,-2px); background: #fff; color: var(--ink); }

/* no-image fallback (e.g. "Not on the list?") — flat card, not a mosaic tile */
.dept.dept-flat {
  aspect-ratio: auto;
  background: var(--bg-2);
  padding: clamp(1.1rem, 2vw, 1.6rem);
  display: flex; gap: 14px; align-items: center;
}
.dept.dept-flat:hover { background: var(--bg-3); }
.dept.dept-flat h3 { color: var(--ink); font-size: 17px; font-weight: 600; }
.dept.dept-flat .n { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--gold); letter-spacing: .06em; margin-top: 4px; display: block; }
.dept.dept-flat .arw { position: static; margin-left: auto; background: none; color: var(--fg-4); backdrop-filter: none; flex-shrink: 0; }
.dept.dept-flat:hover .arw { transform: translateX(3px); background: none; color: var(--gold); }

/* ---- value props ---- */
.props { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
@media (min-width: 760px) { .props { grid-template-columns: repeat(3, 1fr); } }
.prop { background: var(--bg); padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.15rem, 2.5vw, 2rem); }
.prop .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: .16em; color: var(--gold); margin-bottom: 14px;
}
.prop h3 { font-size: 1.05rem; margin-bottom: 8px; }
.prop p { font-size: 13.5px; color: var(--fg-2); line-height: 1.6; }

/* ---- editorial media band ---- */
.band { position: relative; overflow: hidden; background: var(--ink); }
.band-media { position: relative; min-height: clamp(320px, 42vw, 540px); }
.band-media img, .band-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,11,14,.88) 0%, rgba(10,11,14,.58) 44%, rgba(10,11,14,.14) 100%);
}
.band-media::before {
  content: ''; position: absolute; inset: 0; z-index: 1; opacity: .05; mix-blend-mode: overlay; background: var(--grain);
}
/* no horizontal room on phones — darken the whole frame instead */
@media (max-width: 760px) {
  .band-media::after {
    background: linear-gradient(180deg, rgba(10,11,14,.82) 0%, rgba(10,11,14,.74) 55%, rgba(10,11,14,.6) 100%);
  }
  .band-media { min-height: 380px; }
}
.band-copy {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center;
}
.band-copy > div { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); width: 100%; }
.band-copy h2 { color: #fff; max-width: 17ch; }
.band-copy .eyebrow { color: rgba(255,255,255,.6); }
.band-copy .eyebrow::before { background: var(--gold-2); }
.band-copy p { color: rgba(255,255,255,.76); max-width: 46ch; margin-top: 1.1rem; font-size: 1rem; }
.band-copy .btn { margin-top: 1.9rem; background: #fff; border-color: #fff; }
.band-copy .btn:hover { background: rgba(255,255,255,.88); border-color: transparent; }

/* ==========================================================================
   PRODUCT CARD
   ========================================================================== */
/* individual borders, not a shared grid background — an incomplete last row
   must never leave grey ghost cells at odd viewport widths */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(152px, 1fr)); gap: 10px; }
@media (min-width: 560px) { .grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; } }

.card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .18s, box-shadow .2s, transform .2s var(--ease);
  position: relative;
}
.card:hover {
  border-color: var(--line-3);
  box-shadow: 0 8px 22px -14px rgba(16,17,20,.22);
  transform: translateY(-2px);
}

.chip {
  position: relative;
  aspect-ratio: 1;
  background: #fff;
  display: grid; place-items: center;
  padding: clamp(12px, 2.5vw, 22px);
  overflow: hidden;
}
.chip img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s var(--ease-out); }
.card:hover .chip img { transform: scale(1.045); }

.chip-none { background: var(--bg-3); }
.chip-none .ph {
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--fg-4);
  line-height: 1.8; padding: 8px;
}
.chip-none .ph b { display: block; font-family: 'Instrument Sans', sans-serif; font-size: 14px;
  font-weight: 600; letter-spacing: -.01em; color: var(--fg-3); margin-bottom: 4px; text-transform: none; }

.stk {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
}
.stk i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; font-style: normal; }
.stk.in { color: var(--ok); }
.stk.out { color: var(--fg-4); }

.card-body { padding: 13px 14px 15px; display: flex; flex-direction: column; flex: 1; gap: 5px; }
.card-brand {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3);
}
.card h3 {
  margin: 0; flex: 1;
  font-size: 13.5px; font-weight: 500; line-height: 1.4; letter-spacing: -.008em;
  color: var(--fg);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-sku { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--fg-4); }
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: 8px; }
.price { font-size: 15.5px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); line-height: 1.15; }
.price small {
  display: block; margin-bottom: 2px;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 400;
  letter-spacing: .11em; text-transform: uppercase; color: var(--fg-4);
}
.price.quote { font-size: 12px; font-weight: 500; color: var(--fg-2); }

.add {
  display: grid; place-items: center;
  width: 30px; height: 30px; flex-shrink: 0;
  border: 1px solid var(--line-2); border-radius: var(--r);
  background: #fff; color: var(--fg-2);
  transition: all .18s;
}
.add:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.add.added { background: var(--ok); color: #fff; border-color: var(--ok); }

/* ==========================================================================
   SHOP LAYOUT
   ========================================================================== */
.shop { display: grid; gap: clamp(1.25rem, 2.5vw, 2.5rem); align-items: start; }
@media (min-width: 1000px) { .shop { grid-template-columns: 236px 1fr; } }

.side { background: #fff; }
@media (min-width: 1000px) { .side { position: sticky; top: 78px; max-height: calc(100vh - 100px); overflow-y: auto; padding-right: 4px; } }

.side-sec { padding: 0 0 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.side-sec:last-child { border-bottom: 0; margin-bottom: 0; }
.side-sec > h4 {
  margin: 0 0 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3);
}

.tree { list-style: none; margin: 0; padding: 0; }
.tree li { margin-bottom: 0; }
.tree a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 6px 0;
  font-size: 13.5px; color: var(--fg-2);
  transition: color .15s;
}
.tree a:hover { color: var(--ink); }
.tree a b { font-weight: 500; }
.tree a.on, .tree a.on b { color: var(--ink); font-weight: 600; }
.tree a i { font-style: normal; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--fg-4); }
.tree a.on i { color: var(--gold); }
.tree .sub { list-style: none; margin: 2px 0 10px; padding-left: 12px; border-left: 1px solid var(--line); }
.tree .sub a { font-size: 12.5px; padding: 4px 0; }

.chk { display: flex; align-items: center; gap: 9px; padding: 5px 0; cursor: pointer; font-size: 13px; color: var(--fg-2); }
.chk input { accent-color: var(--ink); width: 14px; height: 14px; cursor: pointer; }
.chk:hover { color: var(--ink); }

.toolbar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding-bottom: 14px; margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.toolbar .res { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--fg-3); letter-spacing: .03em; }
.toolbar .res b { color: var(--ink); font-weight: 500; }
.toolbar select {
  background: #fff; color: var(--fg);
  border: 1px solid var(--line-2); border-radius: var(--r);
  padding: 8px 11px; font: inherit; font-size: 13px; cursor: pointer; outline: 0;
}
.toolbar select:focus { border-color: var(--fg-3); }
.spacer { flex: 1; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 8px 4px 10px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 20px; font-size: 11.5px; color: var(--fg-2);
}
.tag button { background: none; border: 0; padding: 0; line-height: 1; font-size: 14px; color: var(--fg-3); }
.tag button:hover { color: var(--no); }

.empty { text-align: center; padding: clamp(3rem,8vw,5.5rem) 1rem; color: var(--fg-3); background: #fff; }
.empty b { display: block; font-size: 1.2rem; font-weight: 600; color: var(--ink); margin-bottom: .6rem; letter-spacing: -.02em; }
.empty p { font-size: 13.5px; }

/* mobile filter drawer */
.filt-btn { display: none; }
@media (max-width: 999px) {
  .filt-btn { display: inline-flex; }
  .side {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 100;
    width: min(320px, 88vw);
    padding: 0 18px 24px; overflow-y: auto;
    border-right: 1px solid var(--line-2);
    transform: translateX(-101%);
    transition: transform .34s var(--ease-out);
    box-shadow: 24px 0 60px -30px rgba(0,0,0,.28);
  }
  .side.open { transform: none; }
  .side-close {
    position: sticky; top: 0; z-index: 2;
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 0 13px; margin: 0 0 16px;
    background: #fff; border-bottom: 1px solid var(--line);
  }
}
@media (min-width: 1000px) { .side-close { display: none; } }

/* ==========================================================================
   PRODUCT DETAIL
   ========================================================================== */
.pdp { display: grid; gap: clamp(1.75rem, 4vw, 4rem); align-items: start; padding: clamp(1.5rem,3vw,2.5rem) 0 clamp(2rem,4vw,3rem); }
@media (min-width: 900px) { .pdp { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } }
.pdp-chip {
  aspect-ratio: 1;
  /* pure white — product shots are cut out on white, an off-white tile
     makes the photo's own background read as a visible rectangle */
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: grid; place-items: center; padding: clamp(1.5rem,4vw,3.5rem);
  overflow: hidden;
}
.pdp-chip img { width: 100%; height: 100%; object-fit: contain; }
.pdp h1 { font-size: clamp(1.45rem, 3vw, 2.15rem); margin-top: .7rem; }

.spec { width: 100%; border-collapse: collapse; margin-top: 1.75rem; font-size: 13.5px; }
.spec th, .spec td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th {
  width: 33%; color: var(--fg-3); font-weight: 400;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
}
.spec td { color: var(--fg); }
.spec a { color: var(--ink); border-bottom: 1px solid var(--line-2); }
.spec a:hover { border-color: var(--gold); }

.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; background: #fff; }
.qty button { width: 36px; background: #fff; border: 0; color: var(--fg-2); font-size: 16px; transition: background .16s, color .16s; }
.qty button:hover { background: var(--bg-2); color: var(--ink); }
.qty input {
  width: 52px; text-align: center; background: #fff; border: 0; outline: 0;
  color: var(--ink); font-family: 'JetBrains Mono', monospace; font-size: 13px;
  border-inline: 1px solid var(--line);
}

/* ==========================================================================
   CART DRAWER
   ========================================================================== */
.scrim {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(16,17,20,.34);
  opacity: 0; pointer-events: none; transition: opacity .26s;
}
.scrim.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  width: min(420px, 100vw);
  background: #fff;
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  transform: translateX(101%);
  transition: transform .36s var(--ease-out);
  box-shadow: -30px 0 70px -34px rgba(0,0,0,.35);
}
.drawer.open { transform: none; }
.drawer-hd { display: flex; align-items: center; justify-content: space-between; padding: 17px 20px; border-bottom: 1px solid var(--line); }
.drawer-hd h3 { font-size: 1rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 6px 20px; }
.drawer-foot { padding: 17px 20px; border-top: 1px solid var(--line); background: var(--bg-2); }

.line { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line-chip { width: 54px; height: 54px; border-radius: var(--r); background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; padding: 4px; overflow: hidden; }
.line-chip img { width: 100%; height: 100%; object-fit: contain; }
.line h4 { margin: 0 0 3px; font-size: 12.5px; font-weight: 500; line-height: 1.35; letter-spacing: -.006em; }
.line .m { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--fg-4); }
.line .rm { background: none; border: 0; color: var(--fg-4); font-size: 15px; padding: 4px; }
.line .rm:hover { color: var(--no); }

.tot { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 13px; }
.tot span { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--fg-3); }
.tot b { font-size: 1.5rem; font-weight: 600; letter-spacing: -.03em; color: var(--ink); }

/* ==========================================================================
   REVIEWS
   ========================================================================== */
.stars { color: var(--gold); font-size: 15px; letter-spacing: .14em; margin: 10px 0 8px; }

/* Summary bar — rating, star row and review count on one line, so the
   cards below start immediately instead of sitting beside a tall panel. */
.rev-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px;
  padding: 16px 20px; margin-bottom: 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
}
.rev-bar-score { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rev-bar .g { display: grid; place-items: center; }
.rev-bar b { font-size: 1.5rem; font-weight: 600; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.rev-bar .stars { margin: 0; font-size: 16px; }
.rev-bar .n {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--fg-3); padding-left: 14px; border-left: 1px solid var(--line);
}
.rev-bar .n b { font-size: 11px; font-weight: 500; color: var(--fg-2); }
.rev-bar .btn { margin-left: auto; }

.rev-grid { display: grid; gap: 14px; }
@media (min-width: 640px)  { .rev-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1000px) { .rev-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }

/* first written review reads as a pull-quote — breaks the uniform-card rhythm */
@media (min-width: 640px) {
  .rev-grid > .rev:first-of-type {
    grid-column: span 2;
    padding: clamp(1.5rem, 3vw, 2.25rem);
  }
  .rev-grid > .rev:first-of-type q { font-size: clamp(16px, 1.7vw, 19px); line-height: 1.6; }
  .rev-grid > .rev:first-of-type .rev-top .av,
  .rev-grid > .rev:first-of-type .rev-top .av-txt { width: 52px; height: 52px; font-size: 16px; }
}

.rev {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px; display: flex; flex-direction: column; gap: 13px;
}
.rev-top { display: flex; align-items: center; gap: 11px; }
.av {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%;
  object-fit: cover; background: var(--bg-3);
}
.av-txt {
  display: grid; place-items: center;
  background: var(--ink); color: #fff;
  font-size: 15px; font-weight: 600;
}
.rev-who { min-width: 0; flex: 1; }
.rev-who b { display: block; font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.rev-who span {
  display: block; font-size: 11.5px; color: var(--fg-3); margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gmark { width: 17px; height: 17px; flex-shrink: 0; align-self: flex-start; }
.rev-stars { color: #E8A200; font-size: 15px; letter-spacing: .1em; line-height: 1; }
.rev q { quotes: none; font-size: 15px; color: var(--fg); line-height: 1.66; }
.rev .meta {
  font-size: 11.5px; color: var(--fg-4); letter-spacing: .01em;
  margin-top: auto; padding-top: 4px;
}
/* the star-only ratings, grouped into one card instead of four empty ones */
.rev-rated { background: var(--bg-3); border-color: var(--line-2); }
.rev-rated-h { font-size: 14.5px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.rev-faces { display: flex; padding-left: 10px; }
.rev-faces .face { display: block; margin-left: -10px; }
.rev-faces .av { width: 36px; height: 36px; border: 2px solid var(--bg-3); font-size: 13px; }
.rev-rated-n { font-size: 12px; color: var(--fg-3); line-height: 1.6; margin-top: auto; }

/* ==========================================================================
   DASHBOARD
   ========================================================================== */
.dash { display: grid; gap: clamp(1.25rem,2.5vw,2rem); align-items: start; }
@media (min-width: 1040px) { .dash { grid-template-columns: 300px 1fr; } }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.panel-hd {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--bg-2);
}
.panel-hd h3 {
  margin: 0; font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: var(--fg-2);
}
.panel-bd { padding: 18px; }

.drop {
  border: 1.5px dashed var(--line-2);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem,5vw,2.75rem) 1.25rem;
  text-align: center; background: var(--bg-2);
  transition: border-color .2s, background .2s; cursor: pointer;
}
.drop:hover, .drop.over { border-color: var(--gold); background: var(--gold-soft); }
.drop svg { margin: 0 auto 12px; color: var(--fg-3); }
.drop b { display: block; font-size: 14px; font-weight: 600; margin-bottom: 5px; letter-spacing: -.01em; }
.drop span { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px,1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 18px; }
.stats > div { background: #fff; padding: 15px 16px; }
.stats b { display: block; font-size: 1.55rem; font-weight: 600; letter-spacing: -.035em; line-height: 1; color: var(--ink); }
.stats b.w { color: var(--warn); }
.stats span { display: block; margin-top: 6px; font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--fg-3); }

.tbl-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 720px; }
table.tbl th {
  position: sticky; top: 0; z-index: 2; background: var(--bg-2);
  text-align: left; padding: 11px 14px;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 500;
  letter-spacing: .13em; text-transform: uppercase; color: var(--fg-3);
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
table.tbl td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.tbl tr:hover td { background: var(--bg-2); }
table.tbl td.num { font-family: 'JetBrains Mono', monospace; font-size: 12px; text-align: right; }
table.tbl td.sku { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--fg-2); }
table.tbl input, table.tbl select {
  width: 100%; background: #fff; color: var(--fg);
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 6px 8px; font: inherit; font-size: 12.5px; outline: 0;
}
table.tbl input:focus { border-color: var(--fg-3); }

.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 20px;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.low { background: var(--warn-soft); color: var(--warn); }
.badge.no { background: var(--no-soft); color: var(--no); }

.map-row { display: grid; grid-template-columns: 1fr 20px 1fr; gap: 9px; align-items: center; margin-bottom: 8px; }
.map-row .from { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--fg-2);
  padding: 8px 10px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.map-row .arw { text-align: center; color: var(--fg-4); }
.map-row select { width: 100%; background: #fff; color: var(--fg); border: 1px solid var(--line-2);
  border-radius: var(--r); padding: 8px 10px; font: inherit; font-size: 12.5px; outline: 0; }

.note { padding: 12px 14px; border-radius: var(--r); border-left: 2px solid var(--gold);
  background: var(--gold-soft); font-size: 13px; color: var(--fg); line-height: 1.55; }
.note.warn { border-left-color: var(--no); background: var(--no-soft); }
.note.good { border-left-color: var(--ok); background: var(--ok-soft); }
.note code, .note .mono { background: rgba(0,0,0,.05); padding: 1px 5px; border-radius: 3px; }

.gate { max-width: 380px; margin: clamp(2.5rem,7vw,5rem) auto; }
.inp { width: 100%; background: #fff; color: var(--fg); border: 1px solid var(--line-2);
  border-radius: var(--r); padding: 11px 13px; font: inherit; font-size: 14px; outline: 0; margin-bottom: 12px; }
.inp:focus { border-color: var(--fg-3); }
label.lbl { display: block; font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 6px; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 200;
  transform: translate(-50%, 130%);
  background: var(--ink); color: #fff;
  border-radius: var(--r); padding: 12px 18px;
  font-size: 13.5px; font-weight: 500;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.45);
  transition: transform .34s var(--ease-out);
  max-width: min(92vw, 460px);
}
.toast.show { transform: translate(-50%, 0); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.ftr { border-top: 1px solid var(--line); background: var(--bg-2); margin-top: clamp(3rem,6vw,5rem); }
.ftr-in { display: grid; gap: clamp(1.75rem,4vw,3rem); padding: clamp(2.5rem,5vw,4rem) var(--pad); max-width: var(--maxw); margin-inline: auto; }
@media (min-width: 780px) { .ftr-in { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.ftr img.mark { width: 150px; margin-bottom: 16px; }
.ftr h5 { margin: 0 0 13px; font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr a, .ftr p, .ftr li { font-size: 13.5px; color: var(--fg-2); }
.ftr a:hover { color: var(--ink); }
.ftr p { margin: 0 0 9px; line-height: 1.6; max-width: 34ch; }
.ftr-btm { border-top: 1px solid var(--line); padding: 16px var(--pad); }
.ftr-btm div { max-width: var(--maxw); margin-inline: auto; display: flex; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  letter-spacing: .09em; text-transform: uppercase; color: var(--fg-4); }

/* ==========================================================================
   REVEAL
   ========================================================================== */
.rv { opacity: 0; transform: translateY(12px); transition: opacity .55s var(--ease-out), transform .55s var(--ease-out); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
}

.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ==========================================================================
   MOBILE NAV DRAWER  (built by js/app.js from the desktop <nav>)
   ========================================================================== */
.nav-btn { display: grid; }
@media (min-width: 940px) { .nav-btn { display: none; } }

.nav-drawer {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 100;
  width: min(330px, 86vw);
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
  transform: translateX(-101%);
  transition: transform .34s var(--ease-out);
  box-shadow: 26px 0 64px -32px rgba(16,17,20,.32);
}
.nav-drawer.open { transform: none; }
.nav-drawer-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 18px; border-bottom: 1px solid var(--line);
}
.nav-drawer-list { flex: 1; overflow-y: auto; padding: 8px 0; }
.nav-drawer-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 18px;
  font-size: 15.5px; font-weight: 500; letter-spacing: -.012em;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.nav-drawer-list a svg { color: var(--fg-4); }
.nav-drawer-list a:active { background: var(--bg-2); }
.nav-drawer-foot { padding: 18px; border-top: 1px solid var(--line); background: var(--bg-2); }

/* ==========================================================================
   LEGIBILITY FLOOR
   Nothing below 10px anywhere, 10.5px on phones. Small mono labels read as
   texture at 8–9px and are the first thing to fail on a shop-floor phone.
   ========================================================================== */
.card-brand,
.stk,
.rev-top span,
.rev .meta,
.stats span,
.badge,
.side-sec > h4,
.ftr-btm div,
table.tbl th          { font-size: 10.5px; }

.card-sku,
.price small,
.tree a i,
.brand-txt span,
.line .m,
.drop span,
.panel-hd h3,
.toolbar .res,
.map-row .from,
.hero-trust span,
.dept .n,
.prop .num,
.rev-score p,
.tot span,
.spec th              { font-size: 10.5px; }

.eyebrow              { font-size: 11px; }
.mono                 { font-size: .84em; }

@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .card-brand, .stk, .rev-top span, .rev .meta, .stats span, .badge,
  .side-sec > h4, .ftr-btm div, table.tbl th { font-size: 10.5px; }
  .card-sku, .price small, .tree a i, .line .m, .drop span,
  .panel-hd h3, .toolbar .res, .hero-trust span, .dept .n,
  .prop .num, .rev-score p, .tot span, .spec th { font-size: 11px; }
  .eyebrow { font-size: 11px; letter-spacing: .14em; }
  .card h3 { font-size: 14px; }
  .price { font-size: 16.5px; }
  .announce { font-size: 11px; letter-spacing: .06em; line-height: 1.5; }
  .ftr a, .ftr p, .ftr li { font-size: 14.5px; }
  .nav-drawer-list a { padding: 16px 18px; }
}

/* Phones: the header call button stays — calling is the primary action on
   this site. It collapses to the icon so it does not squeeze the search field. */
@media (max-width: 620px) {
  .hdr-in { gap: .6rem; }
  .brand img { height: 38px; }
  .hdr-acts { gap: 5px; }
}

/* ==========================================================================
   MEGA MENU  (built by js/app.js from data/categories.json)
   Full-width panel under the sticky header. Same v2 language: white ground,
   hairline structure, ink type, gold only as a 1px accent.
   ========================================================================== */
.nav-trig {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  background: none; border: 0;
  font: inherit; font-size: 13.5px; font-weight: 500;
  color: var(--fg-2); cursor: pointer;
  border-radius: var(--r);
  transition: color .16s;
}
.nav-trig svg { transition: transform .24s var(--ease); color: var(--fg-4); }
.nav-trig::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px;
  height: 1.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .26s var(--ease-out);
}
.nav-trig:hover { color: var(--ink); }
.nav-trig[aria-expanded="true"] { color: var(--ink); }
.nav-trig[aria-expanded="true"]::after { transform: scaleX(1); }
.nav-trig[aria-expanded="true"] svg { transform: rotate(180deg); color: var(--gold); }

.mega {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 45;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 28px 50px -34px rgba(16,17,20,.28);
  opacity: 0; visibility: hidden;
  transform: translateY(-7px);
  transition: opacity .2s var(--ease), transform .24s var(--ease-out), visibility .2s;
}
.mega.open { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 939px) { .mega { display: none; } }

.mega-in {
  max-width: var(--maxw); margin-inline: auto;
  padding: clamp(1.5rem, 2.5vw, 2.25rem) var(--pad);
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  background: var(--line);
  border-block: 1px solid var(--line);
}
.mega-col {
  background: #fff; padding: 10px clamp(1rem, 1.6vw, 1.5rem) 4px;
  transition: background .16s var(--ease);
}
.mega-in > .mega-col:first-child { padding-left: 0; }
.mega-col:hover { background: var(--bg-2); }

.mega-col > a.hd {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 11px; margin-bottom: 8px;
  border-bottom: 1px solid var(--gold);
}
.mega-col > a.hd .dept-ic { flex-shrink: 0; color: var(--fg-3); transition: color .16s var(--ease); }
.mega-col > a.hd .hd-thumb {
  flex-shrink: 0; width: 34px; height: 34px; object-fit: cover;
  border-radius: var(--r); border: 1px solid var(--line);
}
.mega-col > a.hd b { font-size: 13.5px; font-weight: 600; letter-spacing: -.012em; color: var(--ink); }
.mega-col > a.hd i {
  font-style: normal; margin-left: auto;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--gold);
}
.mega-col > a.hd:hover b { color: var(--gold); }
.mega-col > a.hd:hover .dept-ic { color: var(--gold); }
.mega-col > a.hd:hover .hd-thumb { border-color: var(--gold); }

.mega-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.mega-col ul a {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 6px 0 6px 10px;
  font-size: 13px; color: var(--fg-2);
  transition: color .14s;
}
.mega-col ul a::before {
  content: ''; position: absolute; left: 0; top: 50%; bottom: 50%;
  width: 2px; background: var(--gold); border-radius: 2px;
  transition: top .16s var(--ease), bottom .16s var(--ease);
}
.mega-col ul a:hover { color: var(--ink); }
.mega-col ul a:hover::before { top: 15%; bottom: 15%; }
.mega-col ul a i {
  font-style: normal; flex-shrink: 0;
  min-width: 22px; text-align: center;
  padding: 2px 6px; border-radius: 999px;
  background: var(--bg-3);
  font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--fg-3);
  transition: background .14s, color .14s;
}
.mega-col ul a:hover i { background: var(--gold-soft); color: var(--gold); }
.mega-col ul li a.all { color: var(--gold); font-weight: 500; }
.mega-col ul li a.all i { display: none; }

.mega-foot {
  max-width: var(--maxw); margin-inline: auto;
  padding: 13px var(--pad);
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--bg-2); border-top: 1px solid var(--line);
}
.mega-foot .m {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); font-weight: 500;
}
.mega-foot .sp { flex: 1; }

/* ==========================================================================
   MOBILE NAV — department accordion
   ========================================================================== */
.nav-acc > button {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 15px 18px;
  background: none; border: 0; border-bottom: 1px solid var(--line);
  font: inherit; font-size: 15.5px; font-weight: 500; letter-spacing: -.012em;
  color: var(--ink); text-align: left; cursor: pointer;
}
.nav-acc > button svg { color: var(--fg-4); transition: transform .24s var(--ease); flex-shrink: 0; }
.nav-acc.open > button svg { transform: rotate(180deg); color: var(--gold); }
.nav-acc-body { display: none; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.nav-acc.open .nav-acc-body { display: block; }
.nav-acc-body a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 18px 12px 30px;
  font-size: 14px; font-weight: 400; color: var(--fg-2);
  border-bottom: 1px solid var(--line);
}
.nav-acc-body a:last-child { border-bottom: 0; }
.nav-acc-body a b { font-weight: 500; color: var(--ink); }
.nav-acc-body a i {
  font-style: normal;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--fg-4);
}

/* ==========================================================================
   HOME — CATEGORY QUICK RAIL  (horizontal, above the fold on phones)
   ========================================================================== */
.rail { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 4px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail a {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px;
  border: 1px solid var(--line-2); border-radius: 22px;
  font-size: 13px; font-weight: 500; color: var(--fg);
  background: #fff;
  transition: border-color .18s, background .18s, color .18s;
}
.rail a:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.rail a i {
  font-style: normal;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--fg-4);
}
.rail a:hover i { color: rgba(255,255,255,.7); }

/* ==========================================================================
   HOME — VALUE STRIP  (replaces the three paragraph cards)
   ========================================================================== */
.strip { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
@media (min-width: 700px) { .strip { grid-template-columns: repeat(3, 1fr); } }
.strip > div {
  background: var(--bg);
  padding: clamp(1.1rem, 2.2vw, 1.6rem) clamp(1.15rem, 2.5vw, 2rem);
  display: flex; align-items: center; gap: 13px;
  transition: background .18s;
}
.strip > div:hover { background: var(--bg-2); }
.strip .n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: .14em; color: var(--gold); flex-shrink: 0;
}
.strip .ic {
  display: grid; place-items: center; flex-shrink: 0;
  width: 34px; height: 34px; border-radius: var(--r);
  background: var(--bg-3); color: var(--fg-3);
  transition: background .18s, color .18s;
}
.strip > div:hover .ic { background: var(--ink); color: #fff; }
.strip b { font-size: 14.5px; font-weight: 500; letter-spacing: -.014em; color: var(--ink); }

/* ==========================================================================
   LANGUAGE SWITCH — an EN | ES segmented control that lives in the header.
   It replaced a floating corner button nobody found. Keep it in the header.
   ========================================================================== */
.lang-sw {
  position: relative; display: inline-flex; flex-shrink: 0;
  padding: 3px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--bg-2);
  isolation: isolate;
}
/* the pill that slides between the two halves — injected by js/i18n.js */
.lang-sw .lang-thumb {
  position: absolute; z-index: 0;
  top: 3px; bottom: 3px; left: 3px;
  width: calc(50% - 3px);
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 3px 10px -4px rgba(16,17,20,.7);
  transition: transform .34s cubic-bezier(.68,-.25,.27,1.25), background .3s;
}
.lang-sw[data-lang="es"] .lang-thumb { transform: translateX(100%); }
.lang-sw.is-switching .lang-thumb { background: var(--gold); }

.lang-sw button {
  position: relative; z-index: 1;
  appearance: none; background: none; border: 0; cursor: pointer;
  min-width: 38px; padding: 6px 9px; line-height: 1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 500; letter-spacing: .1em;
  color: var(--fg-3);
  transition: color .26s var(--ease), transform .26s var(--ease-out);
}
.lang-sw button:hover { color: var(--ink); }
.lang-sw button.on { color: #fff; }
.lang-sw button.on:hover { color: #fff; }
.lang-sw button:active { transform: scale(.9); }
.lang-sw:hover .lang-thumb { box-shadow: 0 5px 14px -4px rgba(16,17,20,.8); }

@media (prefers-reduced-motion: reduce) {
  .lang-sw .lang-thumb { transition: transform .01ms; }
}

/* on the teal visit block and the dark drawer the pill inverts */
.visit-sec .lang-sw { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); }
.visit-sec .lang-sw .lang-thumb { background: var(--deep-accent); }
.visit-sec .lang-sw button { color: rgba(255,255,255,.7); }
.visit-sec .lang-sw button.on { color: #06323A; }

/* ==========================================================================
   CALL BUTTON — the phone number is the primary action on this site.
   Solid ink so it reads first; the number is always spelled out.
   ========================================================================== */
.call-btn {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  padding: 9px 14px;
  background: var(--ink); color: #fff;
  border: 1px solid var(--ink); border-radius: var(--r);
  font-size: 13.5px; font-weight: 600; letter-spacing: -.01em;
  white-space: nowrap;
  transition: background .16s, transform .12s, box-shadow .2s;
}
.call-btn:hover { background: #24262D; color: #fff; box-shadow: 0 8px 20px -12px rgba(16,17,20,.7); }
.call-btn:active { transform: translateY(1px); }
.call-btn svg { color: var(--gold-2); flex-shrink: 0; }
.call-btn-lg { padding: 14px 22px; font-size: 16px; }
.call-btn-block { display: flex; width: 100%; justify-content: center; }

.hdr-login { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 1080px) { .hdr-login { display: none; } }
/* the header call button collapses to the icon on narrow screens — the
   full-width ones in the drawer and on the visit block always keep the number */
@media (max-width: 860px) {
  .hdr-acts .call-btn span { display: none; }
  .hdr-acts .call-btn { padding: 9px 11px; }
}
@media (max-width: 620px)  { .lang-sw { display: none; } }

.nav-drawer-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.nav-drawer-row .btn { flex: 1; }
.nav-drawer-row .lang-sw { display: inline-flex; }

/* ==========================================================================
   VISIT / MAP — the one deliberately coloured block on the site.
   Deep teal is taken from Romero's real storefront (cyan front, yellow sign),
   not invented. It marks "this is where you physically go".
   ========================================================================== */
.visit-sec { background: var(--deep); color: #fff; border-block: 1px solid var(--deep); }
.visit-sec h2 { color: #fff; }
.visit-sec .eyebrow { color: rgba(255,255,255,.62); }
.visit-sec .eyebrow::before { background: var(--deep-accent); }
.visit-sec .tlink { color: #fff; border-color: rgba(255,255,255,.28); }
.visit-sec .tlink:hover { border-color: var(--deep-accent); color: var(--deep-accent); }
.visit-sec .spec th,
.visit-sec .spec td { border-bottom-color: rgba(255,255,255,.16); }
.visit-sec .spec th { color: rgba(255,255,255,.55); }
.visit-sec .spec td { color: #fff; }
.visit-sec .spec a { color: #fff; border-bottom-color: rgba(255,255,255,.4); }
.visit-sec .spec a:hover { border-color: var(--deep-accent); }
.visit-sec .call-btn {
  background: var(--deep-accent); border-color: var(--deep-accent); color: #06323A;
}
.visit-sec .call-btn:hover { background: #fff; border-color: #fff; color: #06323A; }
.visit-sec .call-btn svg { color: #06323A; }

.map-frame {
  border: 1px solid rgba(255,255,255,.22); border-radius: var(--r-lg);
  overflow: hidden; min-height: 340px; background: #06323A;
  box-shadow: 0 26px 50px -28px rgba(0,0,0,.6);
}
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }

/* ==========================================================================
   SHOP — category dropdown in the results toolbar
   ========================================================================== */
.cat-sel {
  max-width: min(260px, 46vw);
  font-family: inherit; font-size: 12.5px; color: var(--ink);
  padding: 8px 26px 8px 11px;
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r);
  cursor: pointer;
}
.cat-sel:focus { border-color: var(--fg-3); outline: none; }

/* ==========================================================================
   TOUCH TARGETS — anything tappable clears ~44px on a phone. Audited at
   320 / 390 / 430. Keep new controls above this floor.
   ========================================================================== */
@media (pointer: coarse) {
  .add { width: 40px; height: 40px; }
  .tlink { padding-block: 10px; }
  .lang-sw button { min-height: 38px; min-width: 46px; }
  .nav-drawer-row .btn { min-height: 44px; }
  nav[aria-label="Breadcrumb"] a { display: inline-block; padding: 6px 2px; }
  .rail a { padding-block: 11px; }
}

/* the review summary bar stacks on phones instead of pushing the button
   to a lonely second line */
@media (max-width: 620px) {
  .rev-bar { flex-direction: column; align-items: stretch; gap: 14px; }
  .rev-bar .btn { margin-left: 0; width: 100%; }
  .rev-bar .n { padding-left: 0; border-left: 0; width: 100%; }
}
