body{margin:0}img{max-width:100%}
/* Layout: catalogue-style storefront. Left-aligned. Hero = headline + fitment finder on a dark band; dense product grid below; policies as long-form pages with a side index. */
:root {
  --bg: #ECEEF0;
  --surface: #FFFFFF;
  --ink: #101820;
  --muted: #54606C;
  --line: #C9CFD5;
  --accent: #F2B705;
  --on-accent: #14100A;
  --link: #1B4DB3;
  --band: #101820;
  --on-band: #EEF0F2;
  --band-muted: #A5B0BB;
  --ok: #16663A;
  --ok-bg: #DCEFE3;
  --sale: #B3261E;
  --hatch: #E3E7EA;
  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 40px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0D1319; --surface: #151E27; --ink: #E8ECEF; --muted: #9AA7B3; --line: #2B3844;
    --accent: #F2B705; --on-accent: #14100A; --link: #8DB0FF;
    --band: #070B0F; --on-band: #EEF0F2; --band-muted: #93A0AC;
    --ok: #7FD3A0; --ok-bg: #12301F; --sale: #FF8F86; --hatch: #1B2630;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0D1319; --surface: #151E27; --ink: #E8ECEF; --muted: #9AA7B3; --line: #2B3844;
  --accent: #F2B705; --on-accent: #14100A; --link: #8DB0FF;
  --band: #070B0F; --on-band: #EEF0F2; --band-muted: #93A0AC;
  --ok: #7FD3A0; --ok-bg: #12301F; --sale: #FF8F86; --hatch: #1B2630;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.55; }
a { color: var(--link); }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.band :focus-visible, .site-header :focus-visible { outline-color: var(--accent); }
h1, h2, h3 { font-family: var(--font-display); font-stretch: 112%; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-weight: 800; font-size: clamp(2rem, 6.2vw, 3.9rem); }
h2 { font-weight: 800; font-size: clamp(1.4rem, 3.4vw, 2rem); }
h3 { font-weight: 700; font-size: 1.1rem; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--font-mono); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--band); color: var(--on-band); }
.hd-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--on-band); text-decoration: none; font-family: var(--font-display); font-stretch: 118%; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; margin-right: auto; }
.brand svg { flex: none; }
.nav { display: flex; gap: 4px; order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; }
.nav a { color: var(--band-muted); text-decoration: none; padding: 8px 12px; border-radius: 6px; white-space: nowrap; font-weight: 500; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--on-band); background: rgba(255,255,255,0.09); }
.hd-btn { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 1px solid rgba(255,255,255,0.28); color: var(--on-band); border-radius: 6px; padding: 8px 12px; cursor: pointer; font-weight: 500; font-size: 0.92rem; }
.hd-btn:hover { border-color: var(--on-band); }
.hd-btn .count { background: var(--accent); color: var(--on-accent); border-radius: 999px; min-width: 22px; padding: 0 6px; text-align: center; font-weight: 600; font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.garage-label { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 860px) { .nav { order: 0; width: auto; } .brand { margin-right: 12px; } .hd-spacer { flex: 1; } }

/* Hero */
.hero { background: var(--band); color: var(--on-band); }
.hero-grid { display: grid; gap: 32px; padding-block: clamp(32px, 6vw, 72px); grid-template-columns: minmax(0, 1fr); }
.hero p.lede { color: var(--band-muted); font-size: 1.1rem; max-width: 52ch; margin-top: 16px; }
.finder { background: var(--surface); color: var(--ink); border-top: 6px solid var(--accent); border-radius: 4px; padding: 20px; display: grid; gap: 14px; margin-top: 28px; max-width: 760px; }
.finder h2 { font-size: 1.15rem; }
.finder-fields { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .finder-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
label.fld { display: grid; gap: 4px; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
select, input[type="search"], input[type="text"] { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 11px 12px; min-height: 44px; color: var(--ink); }
select:disabled { opacity: 0.55; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 6px; border: 1px solid transparent; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { filter: brightness(0.95); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.finder-foot { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.finder-msg { font-size: 0.92rem; color: var(--muted); min-width: 0; }
.finder-msg.err { color: var(--sale); }
.promise { border: 1px solid rgba(255,255,255,0.18); border-radius: 4px; padding: 20px; align-self: start; display: grid; gap: 12px; }
.promise h2 { font-size: 1.2rem; }
.promise p { color: var(--band-muted); }
.promise ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.promise li { display: flex; gap: 10px; align-items: baseline; }
.promise li b { color: var(--on-band); font-weight: 600; }
.promise a { color: var(--accent); }
.tick { flex: none; width: 8px; height: 8px; background: var(--accent); transform: translateY(-1px); }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 56px; align-items: start; } .promise { margin-top: 12px; } }

/* Categories */
.section { padding-block: clamp(32px, 5vw, 56px); }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 20px; }
.sec-head p { color: var(--muted); }
.cats { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .cats { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.cat { text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 14px; cursor: pointer; display: grid; gap: 4px; }
.cat:hover { border-color: var(--ink); }
.cat b { font-family: var(--font-display); font-stretch: 108%; font-weight: 700; }
.cat span { color: var(--muted); font-size: 0.85rem; font-variant-numeric: tabular-nums; }

[hidden] { display: none !important; }
.call-order a { color: var(--accent); font-weight: 600; }
a.hd-btn { text-decoration: none; }
.coverage { color: var(--band-muted); font-size: 0.95rem; margin-top: 10px; max-width: 56ch; }
.dir { columns: 1; column-gap: 20px; }
@media (min-width: 640px) { .dir { columns: 2; } }
@media (min-width: 960px) { .dir { columns: 3; } }
.dirc { break-inside: avoid; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 14px; margin-bottom: 16px; }
.dirc h3 { margin-bottom: 8px; }
.dirc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.dir-sys { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: var(--ink); text-align: left; border-bottom: 3px solid var(--accent); }
.dir-sys:hover { border-bottom-color: var(--ink); }
.dir-type { background: none; border: 0; padding: 5px 0; cursor: pointer; color: var(--link); text-align: left; font-size: 0.93rem; }
.dir-type:hover { text-decoration: underline; }
.chip.sub { font-size: 0.85rem; min-height: 32px; padding: 4px 12px; border-style: dashed; }
.chip.sub[aria-pressed="true"] { border-style: solid; }
.fit-badge.chk { background: var(--hatch); color: var(--ink); }
.plate .ico-wrap { position: absolute; right: 10px; bottom: 8px; width: 108px; color: var(--ink); opacity: 0.88; pointer-events: none; }
.ico { width: 100%; height: auto; display: block; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ico .a { fill: var(--accent); stroke: none; }
.dirc h3 { display: flex; align-items: center; gap: 12px; }
.dirc h3 .ico { width: 48px; flex: none; color: var(--ink); }
.hero-art { width: 150px; color: var(--on-band); opacity: 0.9; }
.makes { color: var(--muted); max-width: 95ch; line-height: 1.9; }
.faq { display: grid; gap: 10px; max-width: 800px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; }
.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.2rem; flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq .ans { padding: 0 16px 14px; max-width: 68ch; }
.faq .ans p { margin-bottom: 8px; }
.faq-group { margin: 28px 0 10px; font-size: 1.15rem; }
.rev-empty { border: 1px dashed var(--line); background: var(--surface); padding: 20px; display: grid; gap: 8px; max-width: 680px; }
.reviews { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.review { background: var(--surface); border: 1px solid var(--line); padding: 16px; display: grid; gap: 8px; align-content: start; }
.review .stars { color: var(--ink); letter-spacing: 2px; }
.review .who { color: var(--muted); font-size: 0.88rem; }
/* Catalog */
.tools { display: grid; gap: 12px; margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; cursor: pointer; font-size: 0.9rem; min-height: 36px; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tool-row { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.tool-row .search { flex: 1 1 260px; min-width: 0; }
.check { display: inline-flex; gap: 8px; align-items: center; font-size: 0.92rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.result-count { color: var(--muted); font-size: 0.9rem; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.plate { position: relative; padding: 14px; min-height: 120px; background: repeating-linear-gradient(135deg, var(--hatch) 0 8px, transparent 8px 16px); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.plate .pn { font-family: var(--font-mono); font-size: 0.95rem; font-weight: 500; background: var(--surface); align-self: flex-start; padding: 2px 8px; border: 1px solid var(--line); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 0.78rem; font-weight: 600; padding: 2px 8px; border-radius: 3px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.tag.sale { background: var(--sale); border-color: var(--sale); color: #fff; }
:root[data-theme="dark"] .tag.sale { color: #1A0504; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tag.sale { color: #1A0504; } }
.card-body { padding: 14px; display: grid; gap: 10px; align-content: start; grid-template-rows: auto auto 1fr auto; }
.card-body h3 { font-size: 1.02rem; font-stretch: 100%; font-weight: 700; }
.fits { color: var(--muted); font-size: 0.88rem; }
.fit-badge { display: inline-block; font-size: 0.82rem; font-weight: 600; padding: 3px 8px; border-radius: 3px; background: var(--ok-bg); color: var(--ok); justify-self: start; }
.fit-badge.no { background: var(--hatch); color: var(--muted); }
.buy { display: flex; align-items: end; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.price { font-family: var(--font-display); font-stretch: 105%; font-weight: 800; font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.price s { font-family: var(--font-body); font-weight: 400; font-size: 0.9rem; color: var(--muted); margin-left: 6px; }
.stock { font-size: 0.82rem; color: var(--muted); }
.empty { border: 1px dashed var(--line); padding: 28px; text-align: left; display: grid; gap: 12px; justify-items: start; }

/* How fitment works */
.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.step { border-top: 3px solid var(--ink); padding-top: 12px; display: grid; gap: 6px; }
.step p { color: var(--muted); max-width: 40ch; }

/* Policies */
.policy-wrap { display: grid; gap: 28px; padding-block: clamp(28px, 5vw, 56px); grid-template-columns: minmax(0, 1fr); }
.p-nav { display: flex; gap: 6px; flex-wrap: wrap; align-content: start; }
.p-nav a { padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; color: var(--ink); background: var(--surface); font-size: 0.92rem; }
.p-nav a[aria-current="page"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.doc { max-width: 72ch; min-width: 0; }
.doc h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin-bottom: 8px; }
.doc .meta { color: var(--muted); font-size: 0.92rem; margin-bottom: 28px; }
.doc h2 { font-size: 1.3rem; margin: 32px 0 10px; }
.doc p, .doc li { margin-bottom: 10px; }
.doc ul { padding-left: 20px; margin: 0 0 10px; }
.doc .note { border-left: 4px solid var(--accent); background: var(--surface); padding: 12px 16px; margin: 16px 0; }
.tbl { overflow-x: auto; margin: 12px 0 18px; border: 1px solid var(--line); background: var(--surface); }
.tbl table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 0.93rem; }
.tbl th, .tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-weight: 600; background: var(--hatch); }
.tbl tr:last-child td { border-bottom: 0; }
@media (min-width: 900px) { .policy-wrap { grid-template-columns: 220px minmax(0, 1fr); gap: 56px; } .p-nav { flex-direction: column; position: sticky; top: calc(130px + env(safe-area-inset-top, 0px)); } }
.contact-card { background: var(--surface); border: 1px solid var(--line); padding: 18px; display: grid; gap: 10px; margin: 16px 0; border-radius: 4px; }
.copyrow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.copyrow code { font-family: var(--font-mono); font-size: 1.05rem; user-select: all; overflow-wrap: anywhere; }

/* Footer */
footer { background: var(--band); color: var(--on-band); margin-top: 24px; }
.ft-grid { display: grid; gap: 28px; padding-block: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
footer h3 { font-size: 0.95rem; margin-bottom: 10px; }
footer a { color: var(--band-muted); text-decoration: none; display: block; padding: 4px 0; }
footer a:hover { color: var(--on-band); text-decoration: underline; }
footer p { color: var(--band-muted); font-size: 0.92rem; max-width: 36ch; }
.ft-base { border-top: 1px solid rgba(255,255,255,0.14); padding-block: 16px; color: var(--band-muted); font-size: 0.85rem; }

/* Cart drawer */
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 40; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(100%, 420px); background: var(--surface); z-index: 50; display: flex; flex-direction: column; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); border-left: 1px solid var(--line); }
.dr-head { display: flex; justify-content: space-between; align-items: center; padding: 16px; border-bottom: 1px solid var(--line); }
.dr-body { flex: 1; overflow-y: auto; padding: 16px; display: grid; gap: 14px; align-content: start; }
.dr-foot { border-top: 1px solid var(--line); padding: 16px; display: grid; gap: 10px; }
.line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.line .nm { font-weight: 600; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; }
.qty button { width: 36px; height: 36px; background: transparent; border: 0; cursor: pointer; font-size: 1.1rem; }
.qty span { min-width: 28px; text-align: center; font-variant-numeric: tabular-nums; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--link); cursor: pointer; text-decoration: underline; font-size: 0.88rem; }
.bar { height: 8px; background: var(--hatch); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); }
.total { display: flex; justify-content: space-between; font-weight: 600; font-variant-numeric: tabular-nums; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 6px; z-index: 60; font-size: 0.92rem; max-width: calc(100% - 32px); }
@media (prefers-reduced-motion: no-preference) {
  .finder-msg.flash { animation: flash 0.6s ease-out; }
  @keyframes flash { from { background: var(--accent); } to { background: transparent; } }
}
