@charset "utf-8";
/* ============================================================================
   ReVolution Trailer Marketplace — by ReVolution Trailer Parts (demo store)
   Navy utility surfaces · off-white content planes · one ReVolution-orange accent
   ========================================================================= */

/* ---------------------------------------------------------------- fonts -- */
@font-face {
  font-family: "Oswald";
  src: url("assets/fonts/oswald-latin-var.woff2") format("woff2");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------- tokens -- */
:root {
  /* navy — from the ReVolution logo blue (#273c73) */
  --navy-900: #101e3f;
  --navy-850: #172a55;
  --navy-800: #1e3363;
  --navy-750: #233a6d;
  --navy-700: #2b4480;
  --navy-600: #3a5594;

  /* steel */
  --steel-600: #4b5566;
  --steel-500: #5f6a7c;
  --steel-400: #7d889a;
  --steel-300: #a6b0c0;
  --steel-200: #cad2de;

  /* paper */
  --paper: #f4f2ee;
  --paper-2: #faf9f7;
  --white: #ffffff;
  --line: #ddd8d0;
  --line-strong: #c6bfb4;

  /* accents — ReVolution orange */
  --orange-700: #a65908;    /* orange text and icons on light surfaces (AA) */
  --orange-600: #db9421;    /* ReVolution orange: fills, rules, focus; navy text on top */
  --orange-500: #e8a73f;    /* hover fill */
  --orange-light: #f5b95a;  /* accent on navy only */
  --orange-pale: #f9cf8a;   /* link hover on navy */
  --error-700: #b42318;     /* validation and destructive actions stay red */
  --error-600: #d92d20;
  --error-bg: #fdecea;
  --tan: #8f6238;          /* brand echo, used-condition marker only (4.7:1 on paper) */
  --tan-light: #c09a66;    /* logo tan, decorative rules on dark only */

  /* type */
  --font-display: "Oswald", "Haettenschweiler", "Arial Narrow", sans-serif;
  --font-ui: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* geometry */
  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 8px;
  --shell: none;
  --pad: 20px;
  --sticky-gap: 16px;

  /* The three header bands stay fixed. CSS carries close defaults; script.js
     writes the measured full and condensed heights. */
  --hdr-h: 226px;
  --hdr-hc: 205px;

  /* motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 260ms;
}

@media (min-width: 720px)  { :root { --pad: 28px; --hdr-h: 218px; --hdr-hc: 197px; } }
@media (min-width: 1024px) { :root { --hdr-h: 180px; --hdr-hc: 148px; } }
@media (min-width: 1100px) { :root { --pad: 40px; } }
@media (min-width: 1600px) { :root { --pad: 48px; } }

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

html {
  -webkit-text-size-adjust: 100%;
  overflow-y: auto;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
  /* anchors land below the fixed header in its condensed state */
  scroll-padding-top: calc(var(--hdr-hc) + var(--sticky-gap));
}

body {
  margin: 0;
  padding-top: var(--hdr-h);
  background: var(--paper);
  color: var(--navy-850);
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.6;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  /* Clip horizontal overflow without creating a scrolling ancestor for sticky UI. */
  overflow-x: clip;
}

html.is-locked { overflow-y: hidden; }
body.is-locked { overflow: hidden; }

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }

/* component display rules must never beat the hidden attribute */
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin: 0;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }
a:hover { color: var(--orange-700); }

ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--orange-600);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}
.on-dark :focus-visible,
.hero-parts :focus-visible,
.boler-band :focus-visible,
.site-footer :focus-visible,
.section--cta :focus-visible { outline-color: var(--orange-light); }

::selection { background: var(--orange-600); color: var(--navy-900); }

/* --------------------------------------------------------------- layout -- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: 64px; }
@media (min-width: 720px)  { .section { padding-block: 88px; } }
@media (min-width: 1100px) { .section { padding-block: 112px; } }

.section-head {
  display: grid;
  gap: 16px 48px;
  margin-bottom: 40px;
  padding-bottom: 22px;
  border-bottom: 2px solid var(--navy-850);
}
@media (min-width: 900px) {
  .section-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
    align-items: end;
    margin-bottom: 52px;
  }
}
.section-head__note {
  color: var(--steel-600);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.section-title { font-size: 2rem; }
@media (min-width: 720px)  { .section-title { font-size: 2.5rem; } }
@media (min-width: 1100px) { .section-title { font-size: 2.875rem; } }
.section-title--light { color: var(--paper-2); }

.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-700);
  margin: 0 0 10px;
}
.eyebrow--light { color: var(--orange-light); }

/* ------------------------------------------------------------ utilities -- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 8px; left: 8px;
  z-index: 200;
  transform: translateY(-140%);
  background: var(--orange-600);
  color: var(--navy-900);
  padding: 10px 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--r-sm);
  transition: transform 160ms var(--ease);
}
.skip-link:focus { transform: translateY(0); color: #fff; }

.u-dim { color: var(--steel-400); }

@media (max-width: 719px)  { .u-hide-sm { display: none !important; } }
@media (min-width: 720px)  { .u-show-sm { display: none !important; } }
@media (max-width: 1023px) { .u-hide-md { display: none !important; } }

/* -------------------------------------------------------------- buttons -- */
.btn {
  --btn-bg: var(--navy-850);
  --btn-fg: var(--paper-2);
  --btn-bd: var(--navy-850);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 2px solid var(--btn-bd);
  border-radius: var(--r-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
}
.btn:hover { --btn-bg: var(--navy-700); --btn-bd: var(--navy-700); color: var(--btn-fg); }
.btn:active { transform: translateY(1px); }

.btn--primary { --btn-bg: var(--orange-600); --btn-bd: var(--orange-600); --btn-fg: var(--navy-900); }
.btn--primary:hover { --btn-bg: var(--orange-500); --btn-bd: var(--orange-500); }

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--navy-850);
  --btn-bd: var(--navy-850);
}
.btn--outline:hover { --btn-bg: var(--navy-850); --btn-fg: var(--paper-2); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--paper-2);
  --btn-bd: rgba(244, 242, 238, 0.55);
}
.btn--ghost:hover { --btn-bg: rgba(244, 242, 238, 0.12); --btn-bd: var(--paper-2); }

.btn--lg { min-height: 52px; padding: 0 28px; font-size: 1rem; }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 0.875rem; }
.btn--block { width: 100%; }

/* plain icon-only control — no pill, chip or decorative container */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  transition: color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.icon-btn:hover { color: var(--orange-700); }

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  background: none;
  border: 0;
  color: var(--navy-850);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  cursor: pointer;
  transition: color var(--dur) var(--ease);
}
.link-btn:hover { color: var(--orange-700); }
.link-btn--inline { font-size: inherit; }

/* --------------------------------------------------------------- header -- */
/* The same three fixed bands as the main site: shipping, pickup and counter
   hours; the brand with search and cart; and the dark shopping bar carrying the
   phone number and email. On wide screens the brand band condenses once the
   page moves, so the fixed stack gives back some height. */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 61;
  background: var(--paper);
  box-shadow: 0 1px 0 var(--line), 0 10px 24px -18px rgba(16, 30, 63, 0.55);
}
.site-header.is-measuring,
.site-header.is-measuring * { transition: none !important; }

.utility-bar {
  background: var(--navy-900);
  color: var(--steel-200);
  font-size: 0.8125rem;
}
.utility-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px 24px;
  min-height: 34px;
}
/* phones: shipping on one line, pickup and counter hours on the next */
@media (max-width: 719px) {
  .utility-bar { font-size: 0.72rem; }
  .utility-bar__inner { justify-content: center; padding-block: 4px; }
  .utility-bar__msg { flex-wrap: wrap; justify-content: center; gap: 0 6px; line-height: 1.4; text-align: center; }
  .utility-bar__msg .ico, .utility-bar__sep { display: none; }
  .utility-bar__ship, .utility-bar__pickup { flex-basis: 100%; }
  .utility-bar__pickup { color: var(--steel-200); }
}
@media (max-width: 369px) { .utility-bar__counter { display: none; } }
.utility-bar__msg { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--paper-2); font-weight: 500; }
.utility-bar .ico { color: var(--orange-light); flex: none; }
.utility-bar__sep { margin-inline: 8px; color: var(--steel-400); }
.utility-bar__links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; }
.utility-bar__links li { display: inline-flex; align-items: center; gap: 7px; }
.utility-bar__links a { text-decoration: none; }
.utility-bar__links a:hover { color: var(--orange-pale); }

/* the live-inventory signal: listings update as staff change stock */
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 1px 9px 1px 8px;
  border: 1px solid rgba(244, 242, 238, 0.3);
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-2);
}
.live-pill__dot {
  position: relative;
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: #3fbf6b;
}
.live-pill__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid #3fbf6b;
  border-radius: 50%;
  opacity: 0;
  animation: live-ping 2.4s var(--ease) infinite;
}
@keyframes live-ping {
  0%        { transform: scale(0.4); opacity: 0.8; }
  80%, 100% { transform: scale(1.4); opacity: 0; }
}

.header-main__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px 16px;
  padding-block: 10px;
  transition: padding var(--dur) var(--ease);
}
@media (min-width: 1024px) {
  .header-main__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 36px;
    padding-block: 12px;
  }
}

/* The ReVolution wordmark leads, with the store's slogan beside it — or under
   it where the search needs the room. */
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  text-decoration: none;
}
.brand__logo { width: 172px; height: auto; flex: none; transition: width var(--dur) var(--ease); }
@media (min-width: 720px)  { .brand__logo { width: 228px; } }
@media (min-width: 1024px) { .brand__logo { width: clamp(240px, 19vw, 300px); } }
.brand__sub {
  display: none;
  padding: 6px 0 6px 16px;
  border-left: 2px solid var(--orange-600);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-800);
  white-space: nowrap;
}
@media (min-width: 560px)  { .brand__sub { display: block; } }
@media (min-width: 1280px) { .brand__sub { font-size: 1.25rem; } }
@media (max-width: 559px), (min-width: 1024px) and (max-width: 1279px) {
  .brand { flex-direction: column; align-items: flex-start; gap: 3px; }
  .brand__sub {
    display: block;
    padding: 0 0 0 26%;
    border: 0;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--orange-700);
  }
}

@media (min-width: 1024px) {
  .site-header.is-condensed .header-main__inner { padding-block: 7px; }
  .site-header.is-condensed .brand__logo { width: 200px; }
  .site-header.is-condensed .brand__sub { font-size: 1rem; }
}
/* phones and tablets carry a search row too, so the brand row slims down once shopping starts */
@media (max-width: 1023px) {
  .header-main__inner { padding-block: 8px; gap: 8px 16px; }
  .search__field input { min-height: 36px; }
  .site-header.is-condensed .brand__logo { width: 148px; }
  .site-header.is-condensed .brand__sub { display: none; }
}

/* search + suggestions ---------------------------------------------------- */
.search {
  position: relative;
  grid-column: 1 / -1;
  order: 3;
}
@media (min-width: 1024px) { .search { grid-column: auto; order: 0; } }

.search__field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 4px 4px 12px;
  background: var(--white);
  border: 2px solid var(--navy-850);
  border-radius: var(--r-sm);
}
.search__field:focus-within { box-shadow: 0 0 0 3px rgba(219, 148, 33, 0.22); }
.search__ico { color: var(--steel-500); flex: none; }
.search__field input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 40px;
  border: 0;
  background: none;
  outline: none;
  font-size: 0.9375rem;
}
.search__field input::-webkit-search-cancel-button { display: none; }
.search__clear { width: 32px; height: 32px; color: var(--steel-500); flex: none; }
.search__submit { min-height: 40px; flex: none; }
@media (max-width: 519px) { .search__submit { display: none; } }

.search__suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 70;
  max-height: 380px;
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  box-shadow: 0 18px 40px rgba(16, 30, 63, 0.18);
}
.search__suggestions[hidden] { display: none; }
.suggestion {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  text-align: left;
  cursor: pointer;
}
.suggestion:last-child { border-bottom: 0; }
.suggestion img { width: 44px; height: 34px; object-fit: cover; border-radius: var(--r-xs); background: #eeecea; }
.suggestion__name { font-size: 0.875rem; font-weight: 600; }
.suggestion__meta { font-size: 0.75rem; color: var(--steel-500); }
.suggestion__price { font-size: 0.8125rem; font-weight: 600; white-space: nowrap; }
.suggestion[aria-selected="true"], .suggestion:hover { background: #f1eeea; }
.suggestion--group {
  display: block;
  padding: 10px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-500);
  background: var(--paper);
  cursor: default;
}
.suggestion--action { grid-template-columns: minmax(0, 1fr) auto; font-weight: 600; }

/* header actions ---------------------------------------------------------- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-self: end;
}
@media (min-width: 1024px) { .header-actions { gap: 18px; } }

.header-actions__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 6px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.header-actions__cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  background: var(--navy-850);
  color: var(--paper-2);
  border: 2px solid var(--navy-850);
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease);
}
.header-actions__cart:hover { background: var(--navy-700); }
@media (max-width: 559px) {
  .header-main__inner { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .brand__logo { max-width: 100%; }
  .brand__sub { padding-left: 0; font-size: 0.6875rem; letter-spacing: 0.12em; }
  .header-actions__cart { gap: 5px; padding-inline: 8px; }
  .header-actions__cart svg { flex: none; }
}
.header-actions__cart-label { display: none; }
@media (min-width: 560px) { .header-actions__cart-label { display: inline; } }

.cart-count {
  min-width: 22px;
  padding: 1px 5px;
  background: var(--orange-600);
  color: var(--navy-900);
  border-radius: var(--r-xs);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.cart-count[data-empty="true"] { background: var(--steel-600); }

.nav-toggle { color: var(--navy-850); }
@media (min-width: 1024px) { .nav-toggle { display: none; } }

/* primary nav ------------------------------------------------------------- */
.primary-nav { background: var(--navy-850); color: var(--paper-2); }
.primary-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 50px;
}
.primary-nav ul { display: flex; flex-wrap: nowrap; align-items: center; gap: 2px; }
.primary-nav ul a { white-space: nowrap; }
.primary-nav ul a {
  display: block;
  padding: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.primary-nav ul li:first-child a { padding-left: 0; }
.primary-nav ul a:hover,
.primary-nav ul a[aria-current="true"] { color: #fff; border-bottom-color: var(--orange-600); }
.primary-nav ul a.primary-nav__boler { color: var(--orange-light); }
.primary-nav ul a.primary-nav__boler:hover,
.primary-nav ul a.primary-nav__boler[aria-current="true"] { color: #fff; }
.primary-nav a.primary-nav__external {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  white-space: nowrap;
}
.primary-nav__external svg { opacity: 0.7; }
.primary-nav li:last-child { margin-left: 8px; padding-left: 10px; border-left: 1px solid rgba(244, 242, 238, 0.22); }

/* phone and email live in the dark shopping bar */
.primary-nav__contact { display: flex; align-items: center; gap: 22px; margin: 0; flex: none; font-size: 0.875rem; }
.primary-nav__contact a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--paper-2);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.primary-nav__contact a:hover { color: var(--orange-pale); }
.primary-nav__contact svg { color: var(--orange-light); flex: none; }
@media (max-width: 1023px) {
  .primary-nav__inner { min-height: 48px; }
  .primary-nav ul { width: 100%; justify-content: space-between; gap: 4px; }
  .primary-nav ul a { display: flex; align-items: center; min-height: 48px; padding: 8px 0; font-size: 0.6875rem; letter-spacing: 0; }
  .primary-nav li:nth-child(n + 5), .primary-nav__contact { display: none; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .primary-nav ul a { padding-inline: 9px; font-size: 0.8125rem; }
  .primary-nav__contact { gap: 16px; font-size: 0.8125rem; }
  .primary-nav__contact a:last-child svg { display: none; }
}

/* ----------------------------------------------------------------- hero -- */
/* ReVolution Parts — concept for owner approval (17 Sep review). An original
   composition: the typographic lockup with the small trailer mark, beside
   ReVolution's own parts room, with live listings pinned over the shelving like
   the labels on the bins. No portraits and no left/right split of people. */
.hero-parts {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy-900);
  color: var(--paper-2);
}
.hero-parts::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(244, 242, 238, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 242, 238, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(100deg, #000 0%, rgba(0, 0, 0, 0.5) 50%, transparent 85%);
  mask-image: linear-gradient(100deg, #000 0%, rgba(0, 0, 0, 0.5) 50%, transparent 85%);
  pointer-events: none;
}
.hero-parts__inner {
  display: grid;
  gap: 36px;
  padding-block: 44px 52px;
}
@media (min-width: 1024px) {
  .hero-parts__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: center;
    gap: 48px;
    min-height: max(520px, min(660px, calc(100dvh - var(--hdr-h))));
    padding-block: 56px 64px;
  }
}

.hero-parts__title { margin: 0 0 22px; }
.hero-parts__lockup { display: flex; align-items: flex-end; gap: clamp(12px, 1.8vw, 22px); }
.trailer-mark { width: clamp(62px, 7.4vw, 104px); height: auto; flex: none; margin-bottom: 0.5em; overflow: visible; }
.trailer-mark__body { fill: none; stroke: var(--paper-2); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.trailer-mark__flag { fill: var(--orange-600); }
.hero-parts__name {
  display: block;
  width: 100%;
  min-width: 0;
  font-family: var(--font-ui);
  font-size: clamp(2.1rem, 10.3vw, 6.2rem);
  font-weight: 800;
  font-style: italic;
  font-synthesis: style;
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
/* two columns from 1024px: the lockup sizes to its column, never into the photo */
@media (min-width: 1024px) { .hero-parts__name { font-size: clamp(3.1rem, 5.8vw, 6.2rem); } }
.hero-parts__rev { display: block; color: var(--orange-light); }
.hero-parts__wordmark { position: relative; width: 100%; aspect-ratio: 718 / 100; overflow: hidden; margin-bottom: .09em; }
.hero-parts__wordmark img { position: absolute; width: 167.131%; max-width: none; height: auto; left: -58.496%; top: -52%; }
.hero-parts__parts { display: block; color: #fff; }
.hero-parts__sub {
  display: block;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 2px solid rgba(244, 242, 238, 0.2);
  font-family: var(--font-ui);
  font-size: clamp(0.95rem, 1.5vw, 1.2rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--steel-200);
}
@media (max-width: 419px) { .hero-parts__sub { font-size: 0.85rem; letter-spacing: 0.16em; } }
.hero-parts__copy { min-width: 0; }
.hero-parts__lede { max-width: 34rem; margin: 0 0 26px; font-size: 1.0625rem; line-height: 1.62; color: #d4dbe6; }
.hero-parts__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-parts__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(244, 242, 238, 0.16);
  font-size: 0.875rem;
  color: var(--steel-200);
}
.hero-parts__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-parts__facts svg { color: var(--orange-light); flex: none; }
.hero-parts__facts b { color: #fff; }

.hero-parts__visual { position: relative; display: grid; }
.hero-parts__room {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  border-radius: var(--r-lg);
  background: var(--navy-800);
}
.hero-parts__room img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 45%;
  filter: grayscale(1) contrast(1.08);
  opacity: 0.62;
  mix-blend-mode: luminosity;
}
.hero-parts__room::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 30, 63, 0.1) 0%, rgba(16, 30, 63, 0.72) 100%);
}
.hero-parts__room figcaption {
  position: absolute;
  top: 12px;
  left: 14px;
  z-index: 1;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-200);
}

/* live listings, pinned like bin labels */
.hero-parts__bins {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  margin-top: -64px;
  padding: 0 12px 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.hero-parts__bins::-webkit-scrollbar { display: none; }
.hero-parts__bins li { flex: 0 0 min(78%, 280px); }
@media (min-width: 1024px) {
  .hero-parts__visual { display: block; min-height: 500px; }
  .hero-parts__room { position: absolute; inset: 0 0 0 16%; aspect-ratio: auto; }
  .hero-parts__room figcaption { top: auto; left: auto; right: 14px; bottom: 12px; }
  .hero-parts__bins {
    display: grid;
    gap: 16px;
    width: min(100%, 380px);
    margin: 0;
    padding: 36px 0;
    overflow: visible;
  }
  .hero-parts__bins li:nth-child(2) { margin-left: 56px; }
  .hero-parts__bins li:nth-child(3) { margin-left: 22px; }
}
.bin-label {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  padding: 10px 14px 10px 10px;
  border: 0;
  border-left: 4px solid var(--orange-600);
  border-radius: var(--r-md);
  background: var(--paper-2);
  color: var(--navy-850);
  box-shadow: 0 18px 36px -16px rgba(6, 12, 28, 0.75);
  text-align: left;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.bin-label:hover { transform: translateX(4px); box-shadow: 0 22px 40px -16px rgba(6, 12, 28, 0.85); }
.bin-label:focus-visible { outline: 3px solid var(--orange-light); outline-offset: 3px; }
.bin-label img { width: 76px; height: 60px; object-fit: cover; border-radius: var(--r-sm); background: #eeebe5; }
.bin-label__pn { display: block; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; color: var(--steel-500); font-variant-numeric: tabular-nums; }
.bin-label__name {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.15;
  text-transform: uppercase;
}
.bin-label__meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 4px; font-size: 0.78rem; color: var(--steel-600); }
.bin-label__meta > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bin-label__price { font-weight: 700; color: var(--navy-850); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------- boler boutique -- */
.boler-band { background: var(--navy-850); color: var(--paper-2); padding-block: clamp(48px, 7vw, 88px); }
.boler-band__inner { display: grid; gap: 28px 64px; align-items: center; }
@media (min-width: 900px) { .boler-band__inner { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.boler-band__media { margin: 0; overflow: hidden; border-radius: var(--r-md); }
.boler-band__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 60%; }
@media (min-width: 900px) { .boler-band__media img { aspect-ratio: 5 / 4; } }
.boler-band .section-title { margin-bottom: 16px; }
.boler-band__copy p:not(.eyebrow) { max-width: 40rem; color: #cfd8e6; }
.boler-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 26px; }
.boler-band__count {
  margin-left: 10px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--navy-900);
  color: var(--orange-light);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}
.boler-band__count:empty { display: none; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--orange-600);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy-850);
  text-decoration: none;
}
.arrow-link:hover { color: var(--orange-700); }
.arrow-link--light { color: var(--paper-2); }
.arrow-link--light:hover { color: var(--orange-pale); }

/* ----------------------------------------------------------- categories -- */
.section--categories { background: var(--paper); }

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 640px)  { .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1024px) { .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1680px) { .category-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); } }

.category-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  height: 100%;
  padding: 16px 16px 18px;
  background: var(--navy-850);
  color: var(--paper-2);
  border: 0;
  border-radius: var(--r-md);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.category-tile::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--orange-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--ease);
}
.category-tile:hover { background: var(--navy-700); transform: translateY(-2px); }
.category-tile:hover::after, .category-tile:focus-visible::after { transform: scaleX(1); }
.category-tile.is-active { background: var(--navy-700); }
.category-tile.is-active::after { transform: scaleX(1); }

.category-tile img {
  width: 100%;
  max-width: 190px;
  margin: 6px auto 14px;
  opacity: 0.94;
  transition: transform 420ms var(--ease);
}
.category-tile:hover img { transform: scale(1.05); }

.category-tile__name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.category-tile__meta { font-size: 0.75rem; line-height: 1.45; color: var(--steel-300); }

/* ----------------------------------------------------------------- shop -- */
.section--shop { background: var(--paper-2); border-block: 1px solid var(--line); }

.shop-layout { display: grid; gap: 24px; }
@media (min-width: 1024px) {
  .shop-layout {
    grid-template-columns: 244px minmax(0, 1fr);
    gap: 44px;
    align-items: start;
  }
}

.shop-filters__mobilebar {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}
@media (min-width: 1024px) { .shop-filters__mobilebar { display: none; } }

.filters-count {
  display: inline-block;
  min-width: 20px;
  padding: 0 5px;
  background: var(--orange-600);
  color: var(--navy-900);
  border-radius: var(--r-xs);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
}

.shop-filters {
  display: grid;
  gap: 22px;
  align-content: start;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
@media (max-width: 1023px) {
  .shop-filters { display: none; }
  .shop-filters.is-open { display: grid; }
}
@media (min-width: 1024px) {
  .shop-filters {
    position: sticky;
    top: calc(var(--hdr-hc) + var(--sticky-gap));
    max-height: calc(100dvh - var(--hdr-hc) - 2 * var(--sticky-gap));
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-gutter: stable;
  }
}

.filter-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.filter-group + .filter-group { padding-top: 20px; border-top: 1px solid var(--line); }
.filter-group legend, .filter-label {
  display: block;
  float: left;              /* keeps the legend out of the fieldset border line */
  width: 100%;
  padding: 0 0 10px;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter-group > .control:first-of-type,
.filter-group > input[type="range"] { clear: both; }

.control {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  font-size: 0.9375rem;
  cursor: pointer;
}
.control input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--orange-700);
  flex: none;
}
.control:hover { color: var(--orange-700); }

input[type="range"] {
  width: 100%;
  accent-color: var(--orange-700);
}
.filter-output {
  display: block;
  margin-top: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.u-note {
  display: block;
  margin-top: 8px;
  font-size: 0.8125rem;
  color: var(--steel-500);
}

.shop-results__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.shop-results__count { margin: 0; font-size: 0.875rem; color: var(--steel-600); }
.shop-results__count strong { color: var(--navy-850); font-weight: 700; }

.sort { display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; }
.sort select, .field select, .field input {
  min-height: 40px;
  padding: 6px 10px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
}
.sort--mobile select { min-width: 150px; }

/* product grid ------------------------------------------------------------ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 232px), 1fr));
  gap: 16px;
}
@media (min-width: 720px) { .product-grid { gap: 20px; } }

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.product-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 14px 28px rgba(16, 30, 63, 0.1);
  transform: translateY(-3px);
}

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f0efec;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 460ms var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.04); }

.product-card__quickview {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 10px 12px;
  border: 0;
  border-radius: var(--r-sm);
  background: var(--navy-850);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.product-card__quickview:hover { background: var(--orange-600); color: var(--navy-900); }
.product-card__quickview svg { flex: none; }
@media (hover: hover) and (pointer: fine) {
  .product-card__quickview {
    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);
  }
  .product-card:hover .product-card__quickview,
  .product-card:focus-within .product-card__quickview {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

.product-card__flag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  background: var(--navy-850);
  color: var(--paper-2);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--r-xs);
}
.product-card__flag--low { background: var(--orange-600); color: var(--navy-900); }

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 8px;
  padding: 14px 16px 16px;
}

.product-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 0.75rem;
  color: var(--steel-500);
}

.condition {
  display: inline-flex;
  align-items: center;
  padding-left: 8px;
  border-left: 3px solid var(--navy-850);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-850);
}
.condition--used { border-left-color: var(--tan); color: var(--tan); }

/* Boler Boutique and pickup-only markers */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: var(--r-xs);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tag--boler { background: #efe4d3; color: var(--tan); }
.tag--pickup { background: #fdf2e2; color: var(--orange-700); }

.pn { font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }

.product-card__title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: 0.02em;
  margin: 0;
}
.product-card__spec { margin: 0; font-size: 0.8125rem; line-height: 1.5; color: var(--steel-600); }

.product-card__stock {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 0.75rem;
  color: var(--steel-600);
}
.product-card__stock::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #2f7a45;
  flex: none;
}
.product-card__stock[data-stock="network"]::before { background: var(--steel-400); }
.product-card__ship { margin: -2px 0 0; font-size: 0.72rem; color: var(--steel-500); }
.product-card__ship--pickup { color: var(--orange-700); font-weight: 600; }

.product-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}
.price span { font-family: var(--font-ui); font-size: 0.75rem; font-weight: 500; color: var(--steel-500); }

.product-card__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin-top: 4px;
}
.product-card__actions .btn { flex: 1 1 auto; }

.shop-empty {
  padding: 40px 24px;
  text-align: center;
  color: var(--steel-600);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
}

/* --------------------------------------------------------- shared fields -- */
.field { margin-bottom: 16px; }
.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--steel-600);
}
.field select,
.field input[type="text"],
.field input[type="number"],
.field input[type="email"],
.field input[type="search"] { width: 100%; }
.field--split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ------------------------------------------------------------------ cta -- */
.section--cta { background: var(--navy-900); color: var(--paper-2); }
.cta { display: grid; gap: 32px; }
@media (min-width: 900px) { .cta { grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); gap: 64px; align-items: center; } }
.cta__copy p { color: #cfd8e6; max-width: 40rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.cta__details { display: grid; gap: 1px; background: rgba(244, 242, 238, 0.16); border: 1px solid rgba(244, 242, 238, 0.16); border-radius: var(--r-md); overflow: hidden; }
.cta__details > div { padding: 14px 18px; background: var(--navy-900); }
.cta__details dt {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-400);
  margin-bottom: 3px;
}
.cta__details dd { font-size: 0.9375rem; }

/* --------------------------------------------------------------- footer -- */
.site-footer { background: var(--navy-850); color: var(--steel-200); padding-block: 52px 32px; }
.site-footer__inner { display: grid; gap: 36px; }
@media (min-width: 900px) {
  .site-footer__inner {
    grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
    grid-template-areas: "brand nav" "social social" "legal legal";
    gap: 40px 64px;
  }
  .site-footer__brand { grid-area: brand; }
  .site-footer__nav { grid-area: nav; }
  .site-footer__social { grid-area: social; }
  .site-footer__legal { grid-area: legal; }
}
.site-footer__brand img { width: 210px; margin-bottom: 16px; }
.site-footer__brand p { font-size: 0.875rem; line-height: 1.6; color: var(--steel-300); }
.site-footer__store { margin-bottom: 10px; }
.site-footer__store b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper-2);
}
.site-footer__store span { display: block; font-size: 0.8125rem; color: var(--steel-400); }
.site-footer__partner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(244, 242, 238, 0.14);
}
.site-footer__partner span { font-size: 0.8125rem; line-height: 1.55; }
.site-footer__partner a { color: var(--paper-2); font-weight: 600; }
.site-footer__partner a:hover { color: var(--orange-pale); }

.site-footer__nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 28px; }
.site-footer__nav h2 {
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 14px;
}
.site-footer__nav li { margin-bottom: 9px; font-size: 0.875rem; line-height: 1.5; }
.site-footer__nav a { text-decoration: none; }
.site-footer__hint { color: var(--steel-500); }
.site-footer__nav a:hover { color: var(--orange-pale); }

.site-footer__social { display: flex; gap: 18px; }
.site-footer__social a {
  display: inline-flex;
  padding: 6px;
  color: var(--steel-200);
  transition: color var(--dur) var(--ease);
}
.site-footer__social a:hover { color: var(--orange-pale); }

.site-footer__legal {
  padding-top: 24px;
  border-top: 1px solid rgba(244, 242, 238, 0.14);
  font-size: 0.75rem;
  line-height: 1.65;
  color: var(--steel-400);
  max-width: 92ch;
}
.site-footer__legal strong { color: var(--steel-200); }
.site-footer__copy { margin-top: 10px; }

/* -------------------------------------------------------------- dialogs -- */
dialog {
  padding: 0;
  border: 0;
  color: inherit;
  background: var(--paper-2);
  max-width: none;
  max-height: none;
}
dialog::backdrop { background: rgba(12, 22, 48, 0.62); }
dialog:not([open]) { display: none; }

/* mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(88vw, 360px);
  height: 100dvh;
  flex-direction: column;
  background: var(--navy-850);
  color: var(--paper-2);
  margin: 0;
}
.mobile-nav[open] { display: flex; animation: slide-in-left 300ms var(--ease); }
.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(244, 242, 238, 0.16);
}
.mobile-nav__head h2 { font-size: 1.125rem; letter-spacing: 0.1em; }
.mobile-nav__owner { margin: 3px 0 0; font-size: 0.75rem; color: var(--steel-400); }
.mobile-nav > nav { flex: 1 1 auto; overflow-y: auto; }
.mobile-nav__list { padding: 8px 0; }
.mobile-nav__list a {
  display: block;
  padding: 14px 18px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 242, 238, 0.08);
}
.mobile-nav__list a:hover { color: var(--orange-pale); background: rgba(244, 242, 238, 0.05); }
.mobile-nav__list a.mobile-nav__external { display: flex; align-items: center; gap: 8px; }
.mobile-nav__external svg { opacity: 0.72; }
.mobile-nav__list li:last-child a { border-top: 1px solid rgba(244, 242, 238, 0.16); }
.mobile-nav__list a[data-nav-boler] { color: var(--orange-light); }
.mobile-nav__foot { padding: 18px; border-top: 1px solid rgba(244, 242, 238, 0.16); }
.mobile-nav__foot p { margin: 12px 0 0; font-size: 0.8125rem; line-height: 1.6; color: var(--steel-300); }
.mobile-nav__foot p a { color: var(--paper-2); }

/* quick view */
.quickview {
  position: fixed;
  inset: 0;
  width: min(92vw, 880px);
  max-height: min(92dvh, 720px);
  margin: auto;
  border-radius: var(--r-lg);
  overflow: hidden;
  overscroll-behavior: contain;
}
.quickview::backdrop {
  background: rgba(12, 22, 48, 0.58);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.quickview[open] { animation: pop-in 240ms var(--ease); }
.quickview__close { position: absolute; top: 10px; right: 10px; z-index: 2; color: var(--navy-850); }
.quickview__body { display: grid; height: 100%; }
@media (min-width: 760px) { .quickview__body { grid-template-columns: minmax(0, 46%) minmax(0, 54%); } }

.qv-media { display: flex; min-height: 0; background: #f0efec; border-bottom: 1px solid var(--line); overflow: hidden; }
@media (min-width: 760px) { .qv-media { border-bottom: 0; border-right: 1px solid var(--line); } }
.qv-media img { width: 100%; height: 100%; object-fit: cover; }

.qv-info { min-height: 0; padding: 22px 24px 26px; overflow-y: auto; overscroll-behavior: contain; }
.qv-info__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 0.75rem; color: var(--steel-500); }
.qv-info h2 { font-size: 1.625rem; margin-bottom: 10px; }
.qv-info__desc { font-size: 0.9375rem; color: var(--steel-600); }
.qv-specs { display: grid; gap: 1px; margin: 18px 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.qv-specs > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 12px; background: var(--white); font-size: 0.8125rem; }
.qv-specs dt { color: var(--steel-500); }
.qv-specs dd { font-weight: 600; text-align: right; }
.qv-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.qv-buy .price { font-size: 1.75rem; }
.qv-buy .btn { flex: 1 1 180px; }
.qv-note { margin-top: 14px; font-size: 0.75rem; line-height: 1.55; color: var(--steel-500); }

/* quantity stepper */
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.qty button {
  width: 38px;
  height: 38px;
  background: var(--white);
  border: 0;
  color: var(--navy-850);
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease);
}
.qty button:hover:not(:disabled) { background: var(--paper); color: var(--orange-700); }
.qty button:disabled { color: var(--steel-300); cursor: not-allowed; }
.qty input {
  width: 46px;
  height: 38px;
  border: 0;
  border-inline: 1px solid var(--line-strong);
  text-align: center;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  background: var(--white);
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* cart drawer */
.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(92vw, 440px);
  height: 100dvh;
  margin: 0;
  flex-direction: column;
  background: var(--paper-2);
}
.cart-drawer[open] { display: flex; animation: slide-in-right 300ms var(--ease); }
.cart-drawer__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 20px 16px;
  background: var(--navy-850);
  color: var(--paper-2);
}
.cart-drawer__head h2 { font-size: 1.375rem; }
.cart-drawer__sub { margin: 4px 0 0; font-size: 0.8125rem; color: var(--steel-300); }
.cart-drawer__body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 8px 20px; }

.cart-lines { display: grid; }
.cart-line {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cart-line__media { width: 68px; height: 54px; object-fit: cover; border-radius: var(--r-xs); background: #f0efec; }
.cart-line__name { font-family: var(--font-display); font-size: 1rem; font-weight: 600; letter-spacing: 0.02em; margin: 0 0 3px; }
.cart-line__meta { margin: 0 0 10px; font-size: 0.75rem; color: var(--steel-500); }
.cart-line__price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cart-line__foot { display: flex; align-items: center; gap: 14px; }
.cart-line__top { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.cart-line .icon-btn { width: 32px; height: 32px; color: var(--steel-500); }
.cart-line.is-just-added { animation: cart-line-added 720ms var(--ease); }

.cart-empty { padding: 40px 0; color: var(--steel-600); font-size: 0.9375rem; }
.cart-empty[hidden] { display: none; }

.cart-drawer__foot { padding: 18px 20px 22px; background: var(--paper); border-top: 1px solid var(--line); }
.cart-totals { display: grid; gap: 8px; margin-bottom: 16px; }
.cart-totals > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.cart-totals dt { font-size: 0.875rem; color: var(--steel-600); }
.cart-totals dd { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.cart-totals > div:not(:first-child) dd { font-family: var(--font-ui); font-size: 0.8125rem; font-weight: 500; color: var(--steel-600); }
.cart-totals__note dt { font-size: 0.8125rem; }
.cart-drawer__legal { margin: 12px 0 0; font-size: 0.6875rem; line-height: 1.55; color: var(--steel-500); }
.cart-drawer__pickup {
  margin: 0 0 12px;
  padding: 9px 11px;
  border-left: 3px solid var(--orange-600);
  background: #fdf2e2;
  color: var(--navy-850);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* ---------------------------------------------------------------- toast -- */
.toast-region {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: grid;
  gap: 8px;
  width: min(92vw, 420px);
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--navy-850);
  color: var(--paper-2);
  border-left: 4px solid var(--orange-600);
  border-radius: var(--r-sm);
  box-shadow: 0 16px 34px rgba(16, 30, 63, 0.32);
  font-size: 0.875rem;
  pointer-events: auto;
  animation: toast-in 240ms var(--ease);
}
.toast p { margin: 0; flex: 1 1 auto; }
.toast .icon-btn { width: 30px; height: 30px; color: var(--steel-300); flex: none; }
.toast.is-leaving { animation: toast-out 200ms var(--ease) forwards; }

/* --------------------------------------------------------------- motion -- */
@keyframes slide-in-left  { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@keyframes slide-in-right { from { transform: translateX(100%); }  to { transform: translateX(0); } }
@keyframes pop-in         { from { opacity: 0; transform: translateY(12px) scale(0.99); } to { opacity: 1; transform: none; } }
@keyframes cart-line-added {
  0% { opacity: .25; transform: translateX(20px); background: rgba(219, 148, 33, .16); }
  45% { opacity: 1; transform: none; background: rgba(219, 148, 33, .09); }
  100% { background: transparent; }
}
@keyframes toast-in       { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes toast-out      { to { opacity: 0; transform: translateY(8px); } }

.js .reveal { opacity: 0; transform: translateY(20px); }
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}

.js .hero-parts [data-hero] { opacity: 0; transform: translateY(16px); }
.js .hero-parts.is-ready [data-hero] {
  opacity: 1;
  transform: none;
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.js .hero-parts.is-ready [data-hero="1"] { transition-delay: 60ms; }
.js .hero-parts.is-ready [data-hero="2"] { transition-delay: 140ms; }
.js .hero-parts.is-ready [data-hero="3"] { transition-delay: 250ms; }
.js .hero-parts.is-ready [data-hero="4"] { transition-delay: 350ms; }
.js .hero-parts.is-ready [data-hero="5"] { transition-delay: 450ms; }


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal, .js .hero-parts [data-hero] { opacity: 1; transform: none; }
  .live-pill__dot::after { display: none; }
  .category-tile:hover, .product-card:hover { transform: none; }
}

/* ------------------------------------------------------ live checkout -- */
.checkout {
  width: min(760px, calc(100vw - 28px));
  max-height: calc(100svh - 28px);
  padding: 0;
  border: 0;
  border-radius: var(--r-md);
  background: var(--paper-2);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}
.checkout::backdrop { background: rgba(12, 22, 48, 0.7); backdrop-filter: blur(3px); }
.checkout__head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 4vw, 34px);
  background: var(--navy-850);
  color: var(--paper-2);
}
.checkout__head h2 { font-size: clamp(1.7rem, 4vw, 2.45rem); }
.checkout__head .icon-btn { color: var(--paper-2); }
.checkout__form,
.checkout__success { padding: 26px clamp(20px, 4vw, 34px) 32px; }
.checkout__summary { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line-strong); }
.checkout__summary > p,
.checkout__summary li { display: flex; justify-content: space-between; gap: 24px; }
.checkout__summary > p { margin-bottom: 10px; }
.checkout__summary li { padding: 4px 0; color: var(--steel-600); font-size: 0.8125rem; }
.checkout__summary li b { color: var(--navy-850); white-space: nowrap; }
.checkout .field input,
.checkout .field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--white);
  padding: 10px 12px;
}
.checkout .field textarea { resize: vertical; }
.checkout__choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  margin: 4px 0 18px;
  padding: 16px;
  border: 1px solid var(--line);
}
.checkout__choice legend { padding: 0 6px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.checkout__choice .control:has(input:disabled) { color: var(--steel-400); cursor: not-allowed; }
.checkout__pickup-only { grid-column: 1 / -1; margin: 0; color: var(--orange-700); font-size: 0.8125rem; font-weight: 600; }
.checkout__actions { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.checkout__actions p { color: var(--steel-600); font-size: 0.75rem; line-height: 1.45; }
.checkout__success { min-height: 360px; display: grid; align-content: center; justify-items: start; }
.checkout__success h3 { font-size: clamp(2rem, 5vw, 3.2rem); }
.checkout__success p:not(.eyebrow) { max-width: 36rem; margin: 18px 0 24px; color: var(--steel-600); }
.form-error { margin-top: 16px; padding: 12px 14px; border-left: 3px solid var(--error-600); background: var(--error-bg); color: var(--error-700); font-size: 0.875rem; }
.condition--refurbished { border-left-color: #436f83; color: #315f73; }

@media (max-width: 600px) {
  .checkout__choice { grid-template-columns: 1fr; }
  .checkout__actions { align-items: stretch; flex-direction: column; }
  .checkout__actions .btn { width: 100%; }
}

/* ------------------------------------------------------------ print-ish -- */
@media (max-width: 400px) {
  .product-card__actions { flex-wrap: wrap; }
}

@media (max-width: 759px) {
  .quickview { overflow: auto; }
  .quickview__body { height: auto; }
  .qv-media img { height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
  .qv-info { overflow: visible; }
}

/* Delivery details for reviewed shipping quotes. */
.checkout__shipping { border: 0; border-top: 1px solid var(--line, #d8dee5); margin: 0; padding: 1.25rem 0 0; min-width: 0; }
.checkout__shipping legend { font-weight: 700; padding: 0 .5rem 0 0; }
.checkout__shipping > p { color: var(--muted, #536172); font-size: .85rem; margin: 0 0 1rem; }
.checkout__shipping select { width: 100%; min-height: 44px; border: 1px solid #bbc5ce; border-radius: 4px; padding: .65rem; background: #fff; font: inherit; }
.checkout__shipping[hidden] { display: none; }

.utility-bar__pickup a { color: inherit; text-decoration: none; text-underline-offset: 3px; }
.utility-bar__pickup a:hover { text-decoration: underline; }
