/* ─────────────────────────────────────────────────────────
   Dyson Kicks — brand system
   The DK mark is black and white and stays that way, but the
   site around it is lit rather than flat: layered surfaces, a
   warm flame accent for money and availability, a cool signal
   for information, and glow used to say "this is live" instead
   of as decoration. Display face = Archivo Black, the closest
   web equivalent to the logo's Arial Black.
   ───────────────────────────────────────────────────────── */

:root {
  --ink:      #08080a;   /* ground, a touch cooler than the logo black */
  --paper:    #ffffff;
  --panel:    #101014;   /* alt sections */
  --panel-2:  #17171d;   /* cards */
  --panel-3:  #1e1e26;   /* raised: inputs, hovers */
  --line:     #292933;
  --line-hi:  #3a3a47;
  --soft:     #a8a8b3;
  --faint:    #6e6e7c;
  --focus:    #ffffff;

  /* Flame carries money and availability. Volt carries information and state.
     Two accents is enough to build a system; a third would just be noise. */
  --flame:     #ff5a1f;
  --flame-2:   #ff8a3d;
  --flame-dim: rgba(255,90,31,.12);
  --volt:      #22d3ee;
  --volt-dim:  rgba(34,211,238,.12);
  --go:        #4ade80;

  /* Glow is a token, not a one-off, so "lit" means the same thing everywhere. */
  --glow-flame: 0 0 0 1px rgba(255,90,31,.35), 0 8px 30px -8px rgba(255,90,31,.45);
  --glow-volt:  0 0 0 1px rgba(34,211,238,.30), 0 8px 30px -10px rgba(34,211,238,.40);
  --glow-soft:  0 18px 50px -22px rgba(0,0,0,.9);
  --lift:       0 1px 0 rgba(255,255,255,.04) inset;

  --display: "Archivo Black", "Arial Black", "Helvetica Neue", Impact, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --wrap: 1160px;
  --pad: 24px;
  --r: 4px;   /* the brand is square and hard-edged, not rounded */
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.wrap.narrow { max-width: 760px; }

.skip {
  position: absolute; left: -9999px;
  background: var(--paper); color: var(--ink);
  padding: 10px 16px; z-index: 100; font-weight: 600;
}
.skip:focus { left: 12px; top: 12px; }

:where(a, button, input, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

/* ── Brand lockup ─────────────────────────────────────── */
.brand { text-decoration: none; display: inline-block; }
.brand-mark {
  display: inline-flex; flex-direction: column; align-items: center;
  line-height: 1;
}
.brand-dk {
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: -0.02em;
}
.brand-rule {
  display: block; width: 100%; height: 2px;
  background: currentColor; margin: 3px 0 4px;
}
.brand-full {
  font-family: var(--sans);
  font-size: 8px; font-weight: 700;
  letter-spacing: 0.34em;
  text-indent: 0.34em;   /* optically re-centre the tracked caps */
}

/* ── Header ───────────────────────────────────────────── */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,10,.86);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.hdr-in {
  display: flex; align-items: center; gap: 28px;
  min-height: 72px;
}
.nav {
  display: flex; gap: 26px; margin-left: auto;
  font-size: 14px; font-weight: 500;
}
.nav a { color: var(--soft); text-decoration: none; }
.nav a:hover { color: var(--paper); }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-weight: 700; font-size: 15px;
  letter-spacing: .01em;
  padding: 14px 26px; border: 2px solid var(--paper);
  border-radius: var(--r); text-decoration: none; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.btn:hover { background: transparent; color: var(--paper); }
.btn-ghost { background: transparent; color: var(--paper); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-wide { width: 100%; padding: 16px 26px; font-size: 16px; }
.hdr .btn-sm { flex: none; }

/* ── Hero ─────────────────────────────────────────────── */
.hero { padding: 104px 0 96px; border-bottom: 1px solid var(--line); }
.eyebrow {
  margin: 0 0 26px;
  font-size: 12px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--faint);
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(40px, 7.2vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  text-wrap: balance;
}
.lede {
  max-width: 62ch; margin: 0 0 36px;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--soft);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero-direct { margin: 0; font-size: 15px; color: var(--faint); }
.hero-direct a { color: var(--paper); text-underline-offset: 3px; }

/* ── Sections ─────────────────────────────────────────── */
.sec { padding: 88px 0; border-bottom: 1px solid var(--line); }
/* The header is sticky, so anchored sections need to clear it. */
.sec, .hero, .ftr { scroll-margin-top: 92px; }
.sec-alt { background: var(--panel); }
.sec-h {
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.05; letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.sec-sub {
  max-width: 66ch; margin: 0 0 20px;
  color: var(--soft); font-size: 17px;
}
.sec-sub:last-of-type { margin-bottom: 28px; }

.split {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 56px; align-items: start;
}

/* ── Cards ────────────────────────────────────────────── */
.grid { display: grid; gap: 18px; margin-top: 34px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 24px 28px;
}
.card h3 {
  font-family: var(--display);
  font-size: 19px; letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.card p { margin: 0; color: var(--soft); font-size: 15.5px; }

/* ── Steps ────────────────────────────────────────────── */
.steps {
  list-style: none; margin: 36px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 48px;
}
.steps li { position: relative; padding-top: 4px; }
.step-n {
  display: block;
  font-family: var(--display); font-size: 13px;
  letter-spacing: .12em; color: var(--faint);
  margin-bottom: 12px;
}
.steps h3 {
  font-family: var(--display); font-size: 20px;
  letter-spacing: -0.01em; margin: 0 0 8px;
}
.steps p { margin: 0; color: var(--soft); font-size: 15.5px; }

/* ── Tick list ────────────────────────────────────────── */
.ticks {
  list-style: none; margin: 8px 0 0; padding: 0;
  border-top: 1px solid var(--line);
}
.ticks li {
  padding: 16px 0 16px 30px;
  border-bottom: 1px solid var(--line);
  color: var(--soft); font-size: 15.5px;
  position: relative;
}
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 24px;
  width: 12px; height: 2px; background: var(--paper);
}

/* ── Form ─────────────────────────────────────────────── */
.form { margin-top: 34px; }
.toggle {
  border: 0; padding: 0; margin: 0 0 26px;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.tog { position: relative; }
.tog input { position: absolute; opacity: 0; width: 0; height: 0; }
.tog span {
  display: inline-block;
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 11px 18px; font-size: 14.5px; font-weight: 500;
  color: var(--soft); cursor: pointer;
  transition: all .15s ease;
}
.tog input:checked + span {
  background: var(--paper); color: var(--ink);
  border-color: var(--paper); font-weight: 700;
}
.tog input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: block; margin-bottom: 16px; }
.fld > span {
  display: block; margin-bottom: 7px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--soft);
}
.fld input, .fld textarea {
  width: 100%;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--paper);
  font-family: var(--sans); font-size: 16px;
  padding: 13px 14px;
  resize: vertical;
}
.fld input::placeholder, .fld textarea::placeholder { color: var(--faint); }
.fld input:focus, .fld textarea:focus { border-color: var(--paper); outline: none; }
.fld.err input, .fld.err textarea { border-color: #ff5c5c; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { margin: 16px 0 0; font-size: 15px; min-height: 1.2em; }
.form-note.ok  { color: var(--paper); font-weight: 600; }
.form-note.bad { color: #ff8080; }
.form-fallback { margin: 22px 0 0; font-size: 14.5px; color: var(--faint); }
.form-fallback a { color: var(--soft); }

/* ── Footer ───────────────────────────────────────────── */
.ftr { padding: 64px 0 0; background: var(--ink); }
.ftr-in {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 48px;
}
.ftr-tag { margin: 18px 0 0; color: var(--faint); font-size: 14.5px; max-width: 32ch; }
.ftr-col h4 {
  font-family: var(--display); font-size: 13px;
  letter-spacing: .1em; text-transform: uppercase;
  margin: 0 0 12px;
}
.ftr-col p { margin: 0; color: var(--soft); font-size: 15px; line-height: 1.9; }
.ftr-col a { color: var(--soft); }
.ftr-col a:hover { color: var(--paper); }
.ftr-legal {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 22px; padding-bottom: 30px;
  color: var(--faint); font-size: 13.5px;
}
.ftr-legal p { margin: 0; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .ftr-in { grid-template-columns: 1fr 1fr; }
  .hdr-in { flex-wrap: wrap; }
  .nav {
    order: 20; flex-basis: 100%; margin-left: 0;
    gap: 20px; overflow-x: auto; scrollbar-width: none;
    padding-top: 4px; -webkit-overflow-scrolling: touch;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; padding: 4px 0; font-size: 13.5px; }
  .nav a[aria-current="page"] { color: var(--paper); box-shadow: inset 0 -2px 0 var(--flame); }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .hero { padding: 72px 0 64px; }
  .sec { padding: 64px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .row { grid-template-columns: 1fr; gap: 0; }
  .ftr-in { grid-template-columns: 1fr; gap: 32px; }
  .cta-row .btn { width: 100%; }
  /* Let the headline wrap to the viewport instead of the authored breaks. */
  .hero h1 br { display: none; }
  /* The nav no longer collapses: it wraps to its own scrollable row below.
     `.hdr-in` already sets flex-wrap at this width. */
  .hdr-in { justify-content: space-between; gap: 12px; flex-wrap: wrap; }
  .hdr .btn-sm { padding: 9px 14px; font-size: 13px; }
}

/* The site is a committed single-look dark brand (the DK mark is
   white-on-black), so it does not invert under a light OS theme. */

/* ═══════════════════════════════════════════════════════════
   Marketplace: deal board, deal page, account, admin
   ═══════════════════════════════════════════════════════════ */

.sec-top { padding-top: 56px; }
.page-h {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.02; letter-spacing: -0.025em;
  margin: 0 0 18px;
}
.muted { color: var(--faint); }
.bad-text { color: #ff8080; }
.crumb { margin: 0 0 18px; font-size: 14px; }
.crumb a { color: var(--soft); }
.mini-h {
  font-family: var(--display); font-size: 14px;
  letter-spacing: .08em; text-transform: uppercase;
  margin: 0 0 12px; color: var(--soft);
}

/* ── Banner ───────────────────────────────────────────────── */
.banner {
  display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline;
  border: 1px solid var(--line); border-left: 3px solid var(--paper);
  background: var(--panel-2);
  padding: 16px 20px; border-radius: var(--r);
  margin: 0 0 30px; font-size: 15px;
}
.banner strong { font-weight: 700; }
.banner span { color: var(--soft); }
.banner a { color: var(--paper); }
.banner-good { border-left-color: #4ade80; }

/* ── Chips / filters / tabs ───────────────────────────────── */
.filters, .tabs { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 30px; }
.chip {
  background: transparent; color: var(--soft);
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 9px 16px; font-family: var(--sans); font-size: 14px;
  cursor: pointer; transition: all .15s ease;
}
.chip:hover { color: var(--paper); border-color: var(--soft); }
.chip.is-on {
  background: var(--paper); color: var(--ink);
  border-color: var(--paper); font-weight: 700;
}

/* ── Empty state ──────────────────────────────────────────── */
.empty {
  border: 1px dashed var(--line); border-radius: var(--r);
  padding: 48px 28px; text-align: center;
}
.empty h3 { font-family: var(--display); font-size: 22px; margin: 0 0 10px; }
.empty p { color: var(--soft); margin: 0 0 22px; }

/* ── Tables ───────────────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 30px 0; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td {
  text-align: left; padding: 11px 12px 11px 0;
  border-bottom: 1px solid var(--line); vertical-align: top;
}
.tbl thead th {
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--faint); font-weight: 700;
}
.tbl td { color: var(--soft); }
.tbl a { color: var(--paper); }
.spec th { color: var(--faint); font-weight: 600; width: 42%; }
.wrap-cell { max-width: 380px; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.mini-in {
  background: var(--panel-2); border: 1px solid var(--line);
  border-radius: var(--r); color: var(--paper);
  font-family: var(--sans); font-size: 15px; padding: 8px 10px; width: 130px;
}
.pill {
  display: inline-block; font-size: 11.5px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 2px; border: 1px solid var(--line);
}
.pill-live   { background: #14351f; border-color: #2b6640; color: #6ee7a0; }
.pill-paid   { background: #14351f; border-color: #2b6640; color: #6ee7a0; }
.pill-draft  { color: var(--soft); }
.pill-sold   { background: var(--panel-2); color: var(--faint); }
.pill-pending{ color: #fbbf24; border-color: #6b4e12; }
.pill-cancelled, .pill-refunded { color: #ff8080; border-color: #6b2020; }

/* ── Auth ─────────────────────────────────────────────────── */
.auth-wrap { max-width: 480px; }
.hint { display: block; margin-top: 6px; font-size: 13px; color: var(--faint); }

/* ── Account ──────────────────────────────────────────────── */
.acct-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin: 30px 0 46px;
}
.acct-card {
  background: var(--panel-2); border: 1px solid var(--line);
  border-radius: var(--r); padding: 24px;
}
.acct-big {
  font-family: var(--display); font-size: 26px;
  letter-spacing: -0.02em; margin: 0 0 8px;
}
.acct-card .muted { font-size: 14px; margin: 0; }
.bar {
  height: 6px; background: var(--line); border-radius: 3px;
  overflow: hidden; margin: 4px 0 10px;
}
.bar span { display: block; height: 100%; background: var(--paper); }
.acct-details { max-width: 620px; }

@media (max-width: 900px) {
  .deal-page { grid-template-columns: 1fr; gap: 34px; }
  .deal-buy { position: static; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .acct-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .wrap-cell { max-width: none; }
  .tbl { font-size: 14px; }
}

/* ═══════════════════════════════════════════════════════════
   Catalog, product, cart
   ═══════════════════════════════════════════════════════════ */

/* ── Header extras ────────────────────────────────────────── */
.hdr-search { flex: 1 1 240px; max-width: 420px; margin-left: 8px; }
.hdr-search input {
  width: 100%; background: var(--panel-2);
  border: 1px solid var(--line); border-radius: var(--r);
  color: var(--paper); font-family: var(--sans); font-size: 14.5px;
  padding: 10px 14px;
}
.hdr-search input::placeholder { color: var(--faint); }
.hdr-search input:focus { border-color: var(--paper); outline: none; }
.nav-link { color: var(--soft); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-link:hover { color: var(--paper); }
.hdr-acct {
  display: flex; flex-direction: column; line-height: 1.15;
  text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap;
}
.hdr-acct small { color: var(--faint); font-size: 11px; font-weight: 500; }
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper); color: var(--ink);
  font-weight: 700; font-size: 14px;
  padding: 10px 16px; border-radius: var(--r); text-decoration: none;
  white-space: nowrap;
}
.cart-count {
  background: var(--ink); color: var(--paper);
  border-radius: 999px; min-width: 19px; height: 19px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11.5px; padding: 0 5px;
}

/* ── Catalog layout ───────────────────────────────────────── */
.cat-layout { display: grid; grid-template-columns: 210px 1fr; gap: 42px; align-items: start; }
.cat-side { position: sticky; top: 96px; }
.side-block { margin-bottom: 30px; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li { margin-bottom: 2px; }
.side-list a {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 7px 10px; border-radius: var(--r);
  color: var(--soft); text-decoration: none; font-size: 14.5px;
}
.side-list a:hover { background: var(--panel-2); color: var(--paper); }
.side-list a.on { background: var(--paper); color: var(--ink); font-weight: 700; }
.side-list small { color: var(--faint); }
.side-list a.on small { color: var(--ink); opacity: .6; }

.cat-bar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap; margin-bottom: 20px;
}
.cat-count { margin: 0; color: var(--faint); font-size: 14.5px; }
.sort { font-size: 14px; color: var(--faint); display: flex; align-items: center; gap: 8px; }
.sort select {
  background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--r);
  color: var(--paper); font-family: var(--sans); font-size: 14px; padding: 8px 10px;
}

/* ── Product cards ────────────────────────────────────────── */
.prod-card {
  display: flex; flex-direction: column;
  background: var(--panel-2); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
  transition: border-color .15s ease;
}
.prod-card:hover { border-color: var(--soft); }
.prod-top { display: block; padding: 0 0 0; text-decoration: none; }
.prod-img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  background: var(--panel); border-bottom: 1px solid var(--line);
}
.prod-img-none {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; position: relative;
  /* Diagonal hatch: reads as "nothing here yet" on purpose, where a flat grey
     box just reads as a page that failed to load. Supplier loads often have no
     photography until a buyer asks, and the card should say that rather than
     look broken. */
  background:
    repeating-linear-gradient(-45deg,
      transparent 0 9px, rgba(255,255,255,.022) 9px 18px),
    var(--panel);
}
.prod-img-none b {
  font-family: var(--display); font-size: 26px; color: #2f2f2f;
  letter-spacing: -0.02em; line-height: 1;
}
.prod-img-none span {
  font-size: 10.5px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: #4a4a4a;
}
.prod-cat {
  display: block; padding: 16px 18px 0;
  font-size: 11px; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--faint);
}
.prod-card h3 {
  font-family: var(--display); font-size: 16px; line-height: 1.22;
  letter-spacing: -0.01em; margin: 8px 0 0; padding: 0 18px;
}
.prod-price {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px;
  padding: 14px 18px 0;
}
.prod-price .unit { font-family: var(--display); font-size: 22px; letter-spacing: -0.02em; }
.prod-price .unit small { font-size: 12px; font-family: var(--sans); color: var(--faint); font-weight: 500; }
.prod-price .was { font-size: 13.5px; color: var(--faint); text-decoration: line-through; }
.prod-price .off { font-size: 12.5px; font-weight: 700; color: #4ade80; }
.prod-price.big { padding: 0; margin: 18px 0 4px; }
.prod-price.big .unit { font-size: 40px; }
.prod-price.big .unit small { font-size: 15px; }

.prod-meta {
  list-style: none; margin: 12px 0 0; padding: 0 18px;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.prod-meta li {
  font-size: 12px; color: var(--soft);
  border: 1px solid var(--line); border-radius: 2px; padding: 3px 8px;
}
.prod-buy {
  display: flex; gap: 8px; align-items: center;
  margin-top: auto; padding: 16px 18px 18px;
}
.prod-buy .btn { flex: 1; }

/* ── Quantity stepper ─────────────────────────────────────── */
.qty {
  display: inline-flex; align-items: stretch;
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
}
.qty-btn {
  background: var(--panel); color: var(--paper); border: 0;
  width: 32px; font-size: 17px; line-height: 1; cursor: pointer;
  font-family: var(--sans);
}
.qty-btn:hover { background: var(--raised, #262120); }
.qty-in {
  width: 76px; text-align: center;
  background: transparent; border: 0; color: var(--paper);
  font-family: var(--sans); font-size: 14.5px; padding: 9px 4px;
  -moz-appearance: textfield;
}
.qty-in::-webkit-outer-spin-button, .qty-in::-webkit-inner-spin-button {
  -webkit-appearance: none; margin: 0;
}
.qty-in:focus { outline: none; }
.qty-sm .qty-in { width: 64px; padding: 6px 4px; }
.qty-sm .qty-btn { width: 26px; font-size: 15px; }
.btn.added { background: #4ade80; border-color: #4ade80; color: var(--ink); }

/* ── Product page ─────────────────────────────────────────── */
.prod-page { display: grid; grid-template-columns: 1fr 1.05fr; gap: 52px; align-items: start; }
.prod-hero {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--panel-2);
}
.prod-hero.prod-img-none { font-size: 68px; }
.prod-info .prod-cat { padding: 0; }
.prod-add { display: flex; gap: 12px; align-items: center; margin: 22px 0 8px; }
.line-total { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.prod-details { margin-top: 64px; max-width: 760px; }

/* ── Cart ─────────────────────────────────────────────────── */
.cart-layout { display: grid; grid-template-columns: 1.6fr .8fr; gap: 44px; align-items: start; }
.cart-tbl td { vertical-align: middle; }
.ta-r { text-align: right; }
.link-btn {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--soft); font-family: var(--sans); font-size: 14px;
  text-decoration: underline; text-underline-offset: 3px;
}
.link-btn:hover { color: var(--paper); }
.cart-sum {
  position: sticky; top: 96px;
  background: var(--panel-2); border: 1px solid var(--line);
  border-radius: var(--r); padding: 26px 24px;
}
.sum { margin: 0 0 14px; }
.sum > div {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 0; border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.sum dt { color: var(--soft); margin: 0; }
.sum dd { margin: 0; }
.sum .good dd, .sum .good dt { color: #4ade80; font-weight: 600; }
.sum-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 0 0 18px; padding-top: 6px;
}
.sum-total span { color: var(--soft); font-size: 15px; }
.sum-total strong { font-family: var(--display); font-size: 28px; letter-spacing: -0.02em; }
.banner-warn { border-left-color: #fbbf24; }

/* ── Admin extras ─────────────────────────────────────────── */
.desk-stats { color: var(--faint); font-size: 14.5px; margin: -6px 0 26px; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0 22px; }
.cols { margin: 18px 0 26px; }
.cols summary {
  cursor: pointer; color: var(--soft); font-size: 14.5px;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.err-list { margin: 12px 0 0; padding-left: 18px; color: #ff9090; font-size: 14px; }
.err-list li { margin-bottom: 4px; }
.bulk-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--panel-2); border: 1px solid var(--line);
  border-radius: var(--r); padding: 12px 16px; margin-bottom: 16px;
}
.bulk-bar span { font-size: 14px; font-weight: 600; }
.fld input[type="file"] { padding: 10px; }

@media (max-width: 1000px) {
  .cat-layout { grid-template-columns: 1fr; gap: 26px; }
  .cat-side { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .prod-page { grid-template-columns: 1fr; gap: 30px; }
  .cart-layout { grid-template-columns: 1fr; gap: 30px; }
  .cart-sum { position: static; }
}
@media (max-width: 760px) {
  .hdr-search { order: 10; flex-basis: 100%; max-width: none; margin: 0 0 12px; }
  .hdr-in { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
  .cat-side { grid-template-columns: 1fr; }
  .cart-tbl thead { display: none; }
  .cart-tbl, .cart-tbl tbody, .cart-tbl tr, .cart-tbl td { display: block; width: 100%; }
  .cart-tbl tr { border-bottom: 1px solid var(--line); padding: 14px 0; }
  .cart-tbl td { border: 0; padding: 4px 0; }
  .cart-tbl .ta-r { text-align: left; font-weight: 700; }
}



/* ═══════════════════════════════════════════════════════════
   B2B: quotes, orders, guides, team
   ═══════════════════════════════════════════════════════════ */

.detail-row > td { background: var(--panel); padding: 20px 18px !important; }
.quote-detail .tbl { margin-bottom: 18px; }

/* ── Quote thread ─────────────────────────────────────────── */
.thread {
  display: flex; flex-direction: column; gap: 12px;
  margin: 20px 0; max-height: 380px; overflow-y: auto;
}
.msg {
  max-width: 78%; padding: 12px 15px;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--panel-2);
}
.msg-buyer { align-self: flex-end; background: var(--paper); color: var(--ink); border-color: var(--paper); }
.msg-who {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; opacity: .6;
  margin-bottom: 5px;
}
.msg p { margin: 0; font-size: 15px; white-space: pre-wrap; }
.msg-when { display: block; margin-top: 6px; font-size: 11.5px; opacity: .5; }
.msg-form { max-width: 620px; }

/* ── Order guides ─────────────────────────────────────────── */
.guide-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px; flex-wrap: wrap;
}

/* ── Terms checkbox ───────────────────────────────────────── */
.pay-terms {
  display: flex; align-items: center; gap: 9px;
  margin-top: 12px; font-size: 14.5px; color: var(--soft); cursor: pointer;
}
.pay-terms input { width: 16px; height: 16px; accent-color: #fff; }

.copy-link {
  display: block; margin-top: 6px; padding: 9px 11px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  font-size: 12.5px; word-break: break-all; color: var(--soft);
}

.pill-requested { color: #fbbf24; border-color: #6b4e12; }
.pill-priced    { background: #14351f; border-color: #2b6640; color: #6ee7a0; }
.pill-accepted  { background: #14351f; border-color: #2b6640; color: #6ee7a0; }
.pill-declined, .pill-withdrawn, .pill-expired { color: var(--faint); }
.pill-owner  { background: var(--paper); color: var(--ink); border-color: var(--paper); }



/* Quote desk: the offer has to be compared against what the buyer would pay
   anyway, or the desk can quote above its own catalog. */
.offer-box {
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--panel-2); padding: 16px 18px; margin: 18px 0;
  max-width: 520px;
}
.offer-line {
  display: flex; justify-content: space-between; gap: 16px;
  margin: 0 0 8px; font-size: 14.5px; color: var(--soft);
}
.offer-line strong { color: var(--paper); }
.offer-yours { padding-top: 10px; border-top: 1px solid var(--line); margin-bottom: 0; }
.offer-yours strong { font-family: var(--display); font-size: 20px; }
.offer-warn { margin: 12px 0 0; font-size: 13.5px; color: #ff8080; font-weight: 600; }
.offer-warn.good { color: #4ade80; }

/* ═══════════════════════════════════════════════════════════
   Freight, gallery, trust, mobile filters
   ═══════════════════════════════════════════════════════════ */

/* ── Freight ──────────────────────────────────────────────── */
.freight-box {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 16px 0; margin: 4px 0 14px;
}
.freight-box .fld > span { margin-bottom: 5px; }
.freight-box input { max-width: 150px; }
.freight-line {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 14px; margin: 14px 0 0; font-size: 15px;
}
.freight-line span { color: var(--soft); }
.freight-line small { color: var(--faint); font-size: 12.5px; }
.freight-note { margin: 10px 0 0; font-size: 12.5px; color: var(--faint); line-height: 1.55; }
.freight-inline {
  margin: 18px 0 6px; padding: 16px 0;
  border-top: 1px solid var(--line);
}
.freight-inline .fld > span { margin-bottom: 5px; }
.freight-inline input { max-width: 150px; }
.sum-total.landed { margin-top: -4px; }
.sum-total.landed strong { font-size: 22px; color: var(--soft); }

.quote-ask { margin-top: 6px; border-top: 1px solid var(--line); padding-top: 6px; }

/* ── Product gallery ──────────────────────────────────────── */
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumb {
  width: 62px; height: 62px; padding: 0; cursor: pointer;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden;
}
.thumb.on { border-color: var(--paper); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ── Trust strip ──────────────────────────────────────────── */
.trust-strip { padding: 40px 0; }
.trust {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
}
.trust li { display: flex; flex-direction: column; gap: 5px; }
.trust strong { font-size: 15px; }
.trust span { font-size: 13.5px; color: var(--faint); line-height: 1.5; }
.trust-fine { margin: 24px 0 0; font-size: 13px; color: var(--faint); }
.trust-fine a { color: var(--soft); }

/* ── Mobile filter drawer ─────────────────────────────────── */
.filter-toggle { display: none; }
.side-head { display: none; }

@media (max-width: 1000px) {
  .trust { grid-template-columns: 1fr 1fr; gap: 22px; }
}
@media (max-width: 760px) {
  .trust { grid-template-columns: 1fr; }
  .filter-toggle {
    display: block; width: 100%; margin-bottom: 18px;
  }
  /* The facet lists used to push every product below the fold on a phone. */
  .cat-side {
    display: none;
    position: fixed; inset: 0; z-index: 60;
    background: var(--ink); overflow-y: auto;
    padding: 18px 20px 40px; grid-template-columns: 1fr;
  }
  .cat-side.is-open { display: block; }
  .side-head {
    display: flex; justify-content: space-between; align-items: center;
    padding-bottom: 14px; margin-bottom: 16px;
    border-bottom: 1px solid var(--line);
    position: sticky; top: 0; background: var(--ink);
  }
  .side-list a { padding: 12px 10px; font-size: 16px; }
  body.no-scroll { overflow: hidden; }
}

.markup-bar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
  background: var(--panel-2); border: 1px solid var(--line);
  border-radius: var(--r); padding: 16px 18px; margin-bottom: 14px;
}
.markup-controls { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ok-text { color: #4ade80; }

/* ── Wholesale application + gating ───────────────────────── */
.steps-inline {
  list-style: none; display: flex; flex-wrap: wrap; gap: 22px;
  margin: 0 0 34px; padding: 0; font-size: 14px; color: var(--faint);
}
.steps-inline li { display: flex; align-items: center; gap: 9px; }
.steps-inline span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--paper);
}
.price-locked {
  display: inline-block; font-size: 14px; font-weight: 700;
  color: var(--paper); text-underline-offset: 3px;
}
.locked-box {
  border: 1px solid var(--line); background: var(--panel-2);
  border-radius: var(--r); padding: 22px 22px 24px; margin: 20px 0;
}
.doc-list { list-style: none; margin: 0; padding: 0; }
.doc-list li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.doc-list small { display: block; color: var(--faint); }
tr.unread td { background: var(--panel-2); }
.pill-pending { color: #fbbf24; border-color: #6b4e12; }
.pill-rejected { color: #ff8080; border-color: #6b2020; }
.pill-hold { color: #fbbf24; border-color: #6b4e12; }

/* Sold lots stay listed as proof of what moves, visibly spent. */
.prod-card.is-sold { opacity: .72; }
.prod-card.is-sold:hover { opacity: 1; }
.prod-card.is-sold .prod-img { filter: grayscale(1); }
.meta-sold {
  background: var(--paper); color: var(--ink);
  border-color: var(--paper) !important; font-weight: 700;
}

/* ── Signal badges ─────────────────────────────────────────────────────────
   A buyer scanning a grid decides in about a second. These carry the three
   things that decide it: is it available, is it featured, is the price open. */
.tag-row {
  position: absolute; top: 10px; left: 10px; right: 10px; z-index: 2;
  display: flex; gap: 6px; flex-wrap: wrap; pointer-events: none;
}
.tag {
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 4px 8px; border-radius: 2px;
  background: rgba(10,10,10,.82); color: var(--paper);
  border: 1px solid var(--line); backdrop-filter: blur(4px);
}
.tag-hot   { background: var(--flame); border-color: var(--flame); color: #0a0a0a; }
.tag-offer { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.tag-sold  { background: rgba(10,10,10,.86); color: var(--soft); }

.prod-shell { position: relative; }

/* Offer-priced lots: the number is the conversation, so the card asks for it
   instead of pretending to quote one. */
.prod-price .offer {
  font-family: var(--display); font-size: 18px; letter-spacing: -0.01em;
  color: var(--flame);
}
.prod-price .offer small {
  display: block; font-family: var(--sans); font-size: 11.5px; font-weight: 500;
  color: var(--faint); letter-spacing: 0; margin-top: 2px; text-transform: none;
}

.meta-stock { border-color: rgba(255,90,31,.45) !important; color: #ffb08a; }
/* ── Seller packs ──────────────────────────────────────────────────────
   A case carved out of a lot for a live seller. The badge says what it is;
   the math block says what it is worth: cost, comp, fee-stack net, margin.
   Approved buyers only (the server withholds it otherwise). */
.tag-case { background: #14351f; border-color: #2b6640; color: #6ee7a0; }
.pack-math {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px;
  margin: 0 0 10px; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: var(--r); background: var(--panel-2); font-size: 12.5px;
}
.pack-math div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.pack-math dt { color: var(--faint); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.pack-math dd { margin: 0; font-weight: 700; color: var(--paper); }
.pack-math dd small { display: block; font-weight: 500; color: var(--faint); font-size: 11px; line-height: 1.3; }
.pack-math .is-good dd { color: #6ee7a0; }
.pack-math .is-bad dd { color: #ff8080; }
.pack-math-lg { max-width: 520px; margin: 14px 0 18px; font-size: 14px; }
.pack-math-lg dt { font-size: 11.5px; }
.cat-bar .seg + .seg { margin-left: 8px; }
input.is-locked { opacity: .75; cursor: not-allowed; }
.chk-row { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 10px 0 0; }
.chk-row .chk { margin: 0; }
.pill-pp { background: var(--flame); border-color: var(--flame); color: #0a0a0a; font-weight: 700; }


/* ── Featured shelf ────────────────────────────────────────────────────────
   The homepage used to describe the business without showing a single thing
   for sale. This is the fix: real lots, above the fold of the second screen. */
.shelf-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: 22px;
}
.shelf-head .sec-sub { margin: 8px 0 0; max-width: 62ch; }
.shelf-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--flame); margin-bottom: 10px;
}
.shelf-eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--flame);
}
.shelf {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
}
@media (max-width: 720px) {
  /* On a phone a 4-up grid becomes a very long column, so the shelf swipes. */
  .shelf {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) 6px;
    scrollbar-width: none;
  }
  .shelf::-webkit-scrollbar { display: none; }
  .shelf > * { flex: 0 0 76%; scroll-snap-align: start; }
}

/* The offer box is the buy box for lots that have no posted price, so it
   carries the same weight on the page as a price would. */
.offer-ask {
  border: 1px solid var(--line); border-left: 3px solid var(--flame);
  background: var(--panel-2); border-radius: var(--r);
  padding: 22px 22px 20px; margin: 22px 0;
}
.offer-ask .mini-h { color: var(--flame); }
.offer-ask .row { display: flex; gap: 12px; flex-wrap: wrap; }
.offer-ask .row > .fld { flex: 1 1 180px; }

/* The buyer's own number, on an offer-priced lot the only price signal there is. */
.offer-theirs strong { color: var(--flame); }
.their-offer { color: var(--flame); font-size: 11.5px; }

/* ── Light ─────────────────────────────────────────────────────────────────
   Two fixed radial washes sit behind everything, so the page has a light
   source instead of being a flat black rectangle. Fixed rather than scrolled
   means no repaint cost while scrolling, and `pointer-events:none` keeps them
   out of the way of every click. */
body { position: relative; background: var(--ink); }
body::before,
body::after {
  content: ""; position: fixed; pointer-events: none; z-index: 0;
  width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
  border-radius: 50%; filter: blur(90px); opacity: .5;
}
body::before {
  top: -22vw; right: -14vw;
  background: radial-gradient(circle, rgba(255,90,31,.20), transparent 65%);
}
body::after {
  bottom: -26vw; left: -18vw;
  background: radial-gradient(circle, rgba(34,211,238,.13), transparent 65%);
}
/* Everything real sits above the wash. */
header, main, footer, .hdr { position: relative; z-index: 1; }

/* ── Surfaces ──────────────────────────────────────────────────────────────
   Cards get a hairline top highlight so they read as lit from above rather
   than as grey boxes on a black ground. */
.prod-card, .sec-alt, .locked-box, .offer-ask, .cart-sum, .tbl {
  box-shadow: var(--lift);
}
.prod-card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.prod-card:hover {
  border-color: var(--line-hi);
  transform: translateY(-2px);
  box-shadow: var(--glow-soft), var(--lift);
}
/* A featured lot is lit. Hovering it lights the flame edge. */
.prod-card:has(.tag-hot) { border-color: rgba(255,90,31,.28); }
.prod-card:has(.tag-hot):hover { box-shadow: var(--glow-flame), var(--lift); }
.prod-card:has(.tag-offer):hover { box-shadow: var(--glow-volt), var(--lift); }

/* ── Buttons ───────────────────────────────────────────────────────────────
   The primary action glows on hover; the ghost stays quiet until you reach it. */
.btn { transition: background .15s ease, color .15s ease, box-shadow .18s ease, transform .1s ease; }
.btn:hover { box-shadow: 0 8px 26px -10px rgba(255,255,255,.45); }
.btn:active { transform: translateY(1px); }
.btn-flame {
  background: linear-gradient(180deg, var(--flame-2), var(--flame));
  border-color: var(--flame); color: #140800;
}
.btn-flame:hover {
  background: linear-gradient(180deg, var(--flame-2), var(--flame));
  color: #140800; box-shadow: var(--glow-flame);
}

/* ── Tags ──────────────────────────────────────────────────────────────────*/
.tag-hot {
  background: linear-gradient(180deg, var(--flame-2), var(--flame));
  box-shadow: 0 4px 16px -6px rgba(255,90,31,.9);
}
.tag-offer { box-shadow: 0 4px 16px -6px rgba(255,255,255,.5); }
/* A manifested load lets a buyer see the whole thing before committing, which
   is worth saying on the card. */
.tag-man {
  background: var(--volt-dim); border-color: rgba(34,211,238,.45); color: #8fe9f8;
}

/* In-stock counts read as a live signal, so they carry the cool accent. */
.meta-stock {
  border-color: rgba(34,211,238,.40) !important;
  color: #8fe9f8 !important;
  background: var(--volt-dim);
}

/* ── Price ─────────────────────────────────────────────────────────────────*/
.prod-price .unit { text-shadow: 0 0 26px rgba(255,255,255,.22); }
.prod-price .offer { text-shadow: 0 0 22px rgba(255,90,31,.45); }
.prod-price .off {
  color: #86efac; background: rgba(74,222,128,.10);
  border: 1px solid rgba(74,222,128,.28); border-radius: 2px; padding: 2px 7px;
}

/* ── Inputs ────────────────────────────────────────────────────────────────*/
.fld input, .fld select, .fld textarea, .hdr-search input {
  background: var(--panel-3); border-color: var(--line);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.fld input:focus, .fld select:focus, .fld textarea:focus, .hdr-search input:focus {
  border-color: var(--volt); box-shadow: 0 0 0 3px rgba(34,211,238,.14); outline: none;
}

/* ── Live inventory strip ──────────────────────────────────────────────────
   Real counts from the catalog, so the homepage proves there is stock instead
   of asserting it. Hidden until the numbers arrive. */
.stat-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; margin-top: 34px;
}
.stat {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  padding: 18px 20px;
}
.stat b {
  display: block; font-family: var(--display); font-size: 26px; letter-spacing: -.02em;
  color: var(--paper); text-shadow: 0 0 30px rgba(255,255,255,.18);
}
.stat span {
  display: block; margin-top: 4px; font-size: 11px; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; color: var(--faint);
}
.stat.on b { color: var(--flame); text-shadow: 0 0 30px rgba(255,90,31,.55); }

/* A quiet pulse on the live dot, and nothing at all for reduced motion. */
.pulse {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--go); margin-right: 8px; vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(74,222,128,.7); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,.55); }
  70%  { box-shadow: 0 0 0 9px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }

/* ── Category tiles ───────────────────────────────────────────────────────*/
.cat-tiles {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 12px; margin-top: 26px;
}
.cat-tile {
  position: relative; overflow: hidden; display: block; text-decoration: none;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 18px 18px 16px; transition: border-color .18s ease, transform .18s ease;
}
.cat-tile::after {
  content: ""; position: absolute; inset: auto -30% -60% auto;
  width: 130px; height: 130px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,90,31,.28), transparent 70%);
  opacity: 0; transition: opacity .22s ease;
}
.cat-tile:hover { border-color: var(--line-hi); transform: translateY(-2px); }
.cat-tile:hover::after { opacity: 1; }
.cat-tile b {
  position: relative; display: block; font-family: var(--display);
  font-size: 15px; letter-spacing: -.01em; color: var(--paper);
}
.cat-tile span {
  position: relative; display: block; margin-top: 5px;
  font-size: 12px; color: var(--faint);
}

/* ── Section headings ─────────────────────────────────────────────────────*/
.sec-h { position: relative; }
.sec-alt { background: linear-gradient(180deg, var(--panel), var(--ink)); }

/* The photo pool: a contact sheet the desk works through. */
.pool { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.pool-item {
  margin: 0; background: var(--panel-2); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column;
}
.pool-item img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  background: var(--panel); border-bottom: 1px solid var(--line);
}
.pool-item figcaption {
  padding: 10px 12px; font-size: 11.5px; line-height: 1.45; color: var(--soft);
  max-height: 66px; overflow: hidden;
}
.pool-act { padding: 0 12px 12px; display: flex; flex-direction: column; gap: 6px; }
.pool-act select {
  width: 100%; background: var(--panel-3); color: var(--paper);
  border: 1px solid var(--line); border-radius: 2px; padding: 7px 8px; font-size: 12.5px;
}
.pool-item .form-note { padding: 0 12px 10px; margin: 0; }

/* Segmented control. Names both states and shows which one is active, where a
   lone "Hide sold" checkbox made the buyer work out what they were looking at. */
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.seg-b {
  appearance: none; background: transparent; border: 0; cursor: pointer;
  font-family: var(--sans); font-size: 12.5px; font-weight: 600;
  color: var(--soft); padding: 7px 14px; transition: background .12s ease, color .12s ease;
}
.seg-b + .seg-b { border-left: 1px solid var(--line); }
.seg-b:hover { color: var(--paper); }
.seg-b.on { background: var(--paper); color: var(--ink); }

/* One line of desk commentary on a featured lot: why it is on the shelf. */
.shelf-note {
  margin: 10px 0 0; padding: 0 18px;
  font-size: 12.5px; line-height: 1.5; color: var(--soft);
}

/* Regulated freight and short dating change what a buyer can do with a load,
   so they are called out rather than buried in the spec table. */
.haz-note {
  border: 1px solid #6b4e12; border-left-width: 3px;
  background: rgba(251,191,36,.07);
  border-radius: var(--r); padding: 14px 16px; margin: 18px 0;
  font-size: 14px; color: var(--soft); line-height: 1.55;
}
.haz-note strong { color: #fbbf24; display: block; margin-bottom: 4px; }
.haz-note.soft { border-color: var(--line); background: var(--panel-2); }
.haz-note.soft strong { color: var(--paper); }

/* `[hidden]` sets display:none at attribute specificity, which any class rule
   that sets `display` overrides (the empty cart badge rendered as a stray dot).
   This has to stay last in the file. */
[hidden] { display: none !important; }
