/* ============================================================================
   Viking Used Auto Parts — "Forged Norse Industrial"
   Display: Oswald (condensed, signage). Body: Archivo. Warm paper, forged steel,
   forge-gold accent + ember spark. Grain texture, angled grid-breaks, staggered
   page-load reveals. Built per the frontend-design skill — intentional, not generic.
   ========================================================================== */

@font-face {
    font-family: "Archivo";
    font-style: normal;
    font-weight: 400 700;
    font-stretch: 100%;
    font-display: swap;
    src: url("../fonts/archivo-latin-normal-400-700.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
        U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
        U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Oswald";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/oswald-latin-normal-400-700.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
        U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
        U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --forge-black: #10151b;
    --steel-900: #151d25;
    --steel-800: #1b2630;   /* header / footer */
    --steel-700: #243240;
    --steel-600: #36495a;
    --ash: #6f7d8b;
    --gold: #d6a23a;
    --gold-bright: #f2c14e;
    --gold-deep: #a9761a;
    --ember: #d9602a;       /* sparing warm spark */
    --bone: #f5f2ea;        /* warm off-white, never stark */
    --paper: #f4f1e9;
    --card: #fffdf8;
    --line: #e3ddcf;
    --line-soft: #ece7da;
    --ink: #181f26;
    --body: #38444f;
    --green: #1d6f38;
    --green-bg: #e7f2ea;
    --red: #b3261e;
    --muted: #596775;
    --shadow: 0 10px 30px rgba(16,21,27,.10);
    --shadow-lg: 0 26px 60px rgba(16,21,27,.30);
    --radius: 12px;
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    overflow-x: clip; /* hard guarantee: no horizontal scroll on any viewport */
    font-family: "Archivo", system-ui, sans-serif;
    font-size: 16.5px;
    color: var(--body);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Ultra-wide side treatment (Elgin 06/11/2026: margins look empty/boring on a 43" screen).
   Subtle forged texture + faint chevron weave in the gutters beyond the 1220px content
   column. min-width gated, so phones/tablets/laptops are completely untouched —
   mobile-first stays the priority; this only dresses the dead space huge monitors have. */
@media (min-width: 1500px) {
    body {
        background:
            var(--grain),
            repeating-linear-gradient(135deg, rgba(27,38,48,.045) 0 2px, transparent 2px 26px),
            linear-gradient(90deg, #ebe7dc 0%, var(--paper) 18%, var(--paper) 82%, #ebe7dc 100%);
    }
    main { position: relative; }
    main::before, main::after {
        content: ""; position: absolute; top: 0; bottom: 0; width: 5px; pointer-events: none;
        background: linear-gradient(180deg, transparent, rgba(214,162,58,.28) 12%, rgba(214,162,58,.28) 88%, transparent);
    }
    main::before { left: max(12px, calc(50% - 660px)); }
    main::after { right: max(12px, calc(50% - 660px)); }
}

a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }

.skip-link {
    position: fixed; left: 16px; top: 10px; z-index: 500; padding: 10px 16px;
    border-radius: 8px; background: #fff; color: var(--steel-900); font-weight: 700;
    box-shadow: var(--shadow-lg); transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
main:focus { outline: none; }

h1, h2, h3, h4, .display { font-family: "Oswald", "Archivo", sans-serif; font-weight: 600; letter-spacing: .01em; }

/* Custom SVG icon set (wwwroot/img/icons.svg) — replaces emoji for consistent,
   designed rendering across platforms. Color via currentColor. */
.ic-sm { width: 15px; height: 15px; vertical-align: -2px; color: var(--gold); }
.pillar .ic svg, .promise .ic svg, .promise-banner .ic svg { width: 32px; height: 32px; color: var(--gold-deep); }
.exact-callout .ic svg { width: 24px; height: 24px; color: var(--green); }

/* Page-load staggered reveal (high-impact moment, CSS-only).
   fill-mode `both` (not `forwards`) means the `from` (hidden) state applies during the
   delay via backwards-fill, while the element's RESTING opacity stays the default 1 — so
   if animations never run, content is visible (no opacity:0 lock-out). */
@keyframes reveal-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.reveal { animation: reveal-up .62s cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--d, 0ms); }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; } }

/* Preview banner — slim, solid, quiet (the striped version read cartoony) */
.preview-banner {
    background: #241c00;
    color: var(--gold); text-align: center; font-family: "Oswald", sans-serif;
    font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; padding: 5px 12px;
}

/* ---------- Header ---------- */
.site-header { background: var(--steel-800); color: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(214,162,58,.25), 0 6px 22px rgba(0,0,0,.28); }
.header-row { display: flex; align-items: center; gap: 28px; padding: 15px 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex-shrink: 0; }
.brand-mark { display: flex; filter: drop-shadow(0 2px 4px rgba(0,0,0,.4)); }
.brand-name { font-family: "Oswald", sans-serif; font-weight: 700; font-size: 23px; letter-spacing: .08em; line-height: 1; text-transform: uppercase; }
.brand-sub { display: block; font-size: 9px; font-weight: 500; color: var(--gold); letter-spacing: .34em; margin-top: 3px; }

.header-menu { flex: 1; min-width: 0; }
.header-menu-summary { display: none; }
.header-menu-panel { display: flex; align-items: center; gap: 28px; min-width: 0; }

.search { display: flex; flex: 1; max-width: 620px; }
.search input { flex: 1; padding: 11px 16px; border: 1px solid var(--steel-600); border-right: 0; border-radius: 7px 0 0 7px; font-size: 16px; min-width: 0; font-family: "Archivo", sans-serif; background: #11171d; color: #fff; }
.search input::placeholder { color: #b7c3ce; font-size: 13.5px; }
.search input:focus { outline: none; border-color: var(--gold); }
.search button, .hero-search button {
    background: linear-gradient(180deg, var(--gold-bright), var(--gold)); color: #221a05;
    font-family: "Oswald", sans-serif; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
    border: 0; padding: 0 20px; border-radius: 0 7px 7px 0; cursor: pointer; font-size: 14px; transition: filter .15s;
}
.search button:hover, .hero-search button:hover { filter: brightness(1.08); }

.top-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; flex-shrink: 1; min-width: 0; font-family: "Oswald", sans-serif; }
.top-nav a { color: #cfd8e1; text-decoration: none; font-weight: 500; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; padding: 5px 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.top-nav a:hover { color: #fff; }
.top-nav a.active { color: var(--gold-bright); border-bottom-color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; margin-left: auto; }
.header-action {
    display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 6px 8px;
    border: 1px solid transparent; border-radius: 8px; color: #cfd8e1; text-decoration: none;
    font-family: "Oswald", sans-serif; font-size: 13.5px; font-weight: 500; letter-spacing: .05em;
    text-transform: uppercase; transition: color .15s, background .15s, border-color .15s;
}
.header-action:hover, .header-action:focus-visible { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(242,193,78,.38); }
.header-action.active { color: var(--gold-bright); }
.header-action-icon { position: relative; display: inline-flex; width: 25px; height: 25px; flex: 0 0 25px; }
.header-action-icon svg { width: 100%; height: 100%; }
.header-action-label { max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header-cart-badge {
    position: absolute; top: -7px; right: -8px; display: inline-flex; align-items: center; justify-content: center;
    min-width: 20px; height: 20px; padding: 0 4px; border: 2px solid var(--steel-800); border-radius: 999px;
    background: var(--gold-bright); color: #221a05; font-family: "Archivo", sans-serif; font-size: 12px;
    font-weight: 700; line-height: 1; letter-spacing: 0;
}

@media (min-width: 901px) {
    .header-menu-panel .search { flex-basis: 220px; min-width: 220px; }
}

@media (min-width: 901px) and (max-width: 1100px) {
    .header-action { min-width: 44px; justify-content: center; padding: 7px 8px; }
    .header-action-label { display: none; }
}

/* (Trust bar strip removed 06/11/2026 — it triple-repeated the pillar messages and
   cluttered the top of every page. The pillars + guarantee page carry the message.) */

/* ---------- Hero ---------- */
.hero {
    position: relative; isolation: isolate; color: #fff; padding: 56px 0 84px; overflow: hidden;
    background:
        radial-gradient(1200px 460px at 72% -8%, rgba(242,193,78,.22), transparent 58%),
        radial-gradient(900px 420px at 12% 110%, rgba(217,96,42,.14), transparent 55%),
        linear-gradient(158deg, var(--steel-800) 0%, var(--forge-black) 100%);
    /* angled grid-break into the next section */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 46px), 0 100%);
}
.hero-split { display: flex; align-items: center; gap: 36px; }
.hero-copy { flex: 1.25; min-width: 0; text-align: left; }
.hero-copy .hero-search, .hero-copy .hero-sub { margin-left: 0; }
.hero-copy .hero-chips { justify-content: flex-start; }
.hero-art { flex: 1; display: flex; justify-content: center; }
.hero-art img { max-width: min(380px, 100%); height: auto; filter: drop-shadow(0 18px 36px rgba(0,0,0,.35)); }
@media (max-width: 880px) {
    .hero-split { flex-direction: column-reverse; text-align: center; }
    .hero-copy { text-align: center; }
    .hero-copy .hero-chips { justify-content: center; }
    .hero-art img { max-width: 230px; }
}
.hero-grain { position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .06; pointer-events: none; }
.hero::after { /* faint geometric chevron weave */
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .05;
    background-image: repeating-linear-gradient(135deg, #fff 0 1px, transparent 1px 22px);
}
.hero-eyebrow { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .26em; font-size: 12.5px; font-weight: 500; color: var(--gold-bright); margin: 0 0 16px; }
.hero h1 { font-size: clamp(34px, 6vw, 64px); margin: 0 0 16px; line-height: .98; font-weight: 700; text-transform: uppercase; letter-spacing: .005em; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.hero .accent { color: var(--gold-bright); }
.hero-sub { font-family: "Archivo", sans-serif; color: #ccd5de; font-size: clamp(16.5px, 2vw, 19.5px); margin: 0 auto 30px; max-width: 700px; }
.hero-sub strong { color: #fff; }
.hero-search { display: flex; max-width: 660px; margin: 0 auto 20px; box-shadow: var(--shadow-lg); border-radius: 9px; }
.hero-search input { flex: 1; padding: 16px 20px; border: 0; border-radius: 9px 0 0 9px; font-size: 16px; min-width: 0; font-family: "Archivo", sans-serif; }
.hero-search input::placeholder { font-size: 14px; }
.hero-search input:focus { outline: none; box-shadow: inset 0 0 0 3px var(--gold); }
.hero-search button { border-radius: 0 9px 9px 0; padding: 0 30px; font-size: 15px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 9px 10px; justify-content: center; }
.hero-chips a { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; background: rgba(255,255,255,.07); color: #e8eef3; text-decoration: none; font-size: 13.5px; padding: 7px 15px; border-radius: 999px; border: 1px solid rgba(242,193,78,.28); transition: background .15s, border-color .15s; }
.hero-chips a:hover { background: rgba(242,193,78,.16); border-color: var(--gold); }
.hero-chips a.chip-primary { background: var(--gold); color: #221a05; border-color: var(--gold); font-weight: 600; }
.hero-chips a.chip-primary:hover { background: var(--gold-bright); }

/* ---------- Shop by Vehicle ---------- */
.vehicles-intro { max-width: 720px; margin: -6px 0 20px; }
.vin-search { display: flex; max-width: 560px; margin: 0 0 8px; }
.vin-search input { flex: 1; padding: 13px 16px; border: 1px solid var(--line); border-right: 0; border-radius: 8px 0 0 8px; font-size: 16px; min-width: 0; font-family: "Archivo", sans-serif; text-transform: uppercase; }
/* Typed VINs stay uppercase, but the PLACEHOLDER renders as written — all-caps hid the
   word VIN and long placeholders clipped (Elgin 07/06). */
.vin-search input::placeholder, .fitfinder-bar input[type="search"]::placeholder { text-transform: none; }
.vin-search input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--gold); }
.vin-search button { background: var(--steel-800); color: #fff; font-family: "Oswald", sans-serif; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; border: 0; padding: 0 20px; border-radius: 0 8px 8px 0; cursor: pointer; font-size: 13.5px; }
.vin-search button:hover { background: var(--steel-700); }
.vin-message { color: var(--gold-deep); font-size: 14px; margin: 4px 0 14px; }
.make-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 18px; }
.make-tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; text-decoration: none; display: flex; flex-direction: column; gap: 5px; transition: box-shadow .16s, transform .16s, border-color .16s; }
.make-tile:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--gold); }
/* Same per-make art My Garage uses — "people like pics" (Elgin 07/06). */
.make-tile-art { align-self: center; max-height: 120px; width: auto; margin-bottom: 8px; filter: drop-shadow(0 8px 14px rgba(16,21,27,.18)); }
.make-name { font-family: "Oswald", sans-serif; font-size: 21px; font-weight: 600; color: var(--ink); text-transform: uppercase; letter-spacing: .02em; }
.make-meta { font-size: 14px; color: var(--muted); }
.make-cta { font-family: "Oswald", sans-serif; font-size: 13px; font-weight: 500; color: var(--gold-deep); text-transform: uppercase; letter-spacing: .05em; margin-top: 6px; }
/* Shop-by-Vehicle hero band (art + intro) and the chassis accordion list.
   Replaced the flat "giant schedule" list 06/11/2026 (Elgin: organized dropdowns,
   alphanumeric, art to look at). Same DOM phone + desktop; accordions are thumb-friendly. */
.veh-hero { display: flex; align-items: center; gap: 28px; background: linear-gradient(158deg, var(--steel-800), var(--forge-black)); color: #fff; border: 1px solid rgba(214,162,58,.25); border-radius: 16px; padding: 26px 30px; margin: 0 0 24px; overflow: hidden; position: relative; }
.veh-hero::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .05; pointer-events: none; }
.veh-hero-copy { flex: 1; min-width: 0; position: relative; z-index: 1; }
.veh-hero-copy h1, .veh-hero-copy h2 { color: #fff; margin: 0 0 8px; font-size: 28px; text-transform: uppercase; letter-spacing: .015em; }
.veh-hero-copy .muted { color: #c8d2db; max-width: 640px; }
.veh-hero-copy .vin-search { margin-top: 14px; }
.veh-hero-copy .vin-message { color: var(--gold-bright); }
.veh-hero-art { width: 190px; height: auto; flex-shrink: 0; filter: drop-shadow(0 14px 28px rgba(0,0,0,.35)); position: relative; z-index: 1; }
.veh-hero.compact { padding: 18px 24px; margin-bottom: 20px; }
.veh-hero.compact .veh-hero-copy h1, .veh-hero.compact .veh-hero-copy h2 { font-size: 23px; }
.veh-hero.compact .veh-hero-art { width: 130px; }
.veh-hero.compact .drill-chips { margin-top: 10px; }
.chassis-jump { margin-top: 16px; max-width: 460px; }
.chassis-jump label { display: block; font-family: "Oswald", sans-serif; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-bright); margin-bottom: 6px; }
.chassis-jump .finder-select { width: 100%; border-radius: 8px; border-right: 1px solid var(--line); }
/* Progressive drill-down chips (model first, refinements only when they vary) */
.drill-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; align-items: center; }
.drill-chip { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .04em; font-size: 13.5px; color: #e8eef3; text-decoration: none; background: rgba(255,255,255,.07); border: 1px solid rgba(242,193,78,.3); padding: 8px 13px; border-radius: 999px; transition: background .15s, border-color .15s; }
.drill-chip span { color: var(--gold-bright); font-size: 12px; margin-left: 4px; }
.drill-chip:hover { background: rgba(242,193,78,.16); border-color: var(--gold); }
.drill-chip.active { background: var(--gold); color: #221a05; border-color: var(--gold); font-weight: 600; }
.drill-chip.active span { color: #5d4509; }
.drill-chip.sm { font-size: 12.5px; padding: 7px 12px; }
.drill-reset { display: inline-flex; align-items: center; min-height: 44px; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; font-size: 12px; color: var(--gold-bright); text-decoration: none; padding: 7px 10px; }
.drill-reset:hover { text-decoration: underline; }
/* .filter-bar shares every light-context rule — its chips/labels used to inherit the DARK
   hero styling and rendered near-white on the light page (Elgin 07/06: unreadable). */
.refine-bar, .filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 0 0 6px; color: var(--ink); }
.refine-bar .drill-chip, .filter-bar .drill-chip { color: var(--steel-600); background: #f2eee3; border-color: var(--line); }
.refine-bar .drill-chip:hover, .filter-bar .drill-chip:hover { border-color: var(--gold); background: #f8f3e4; }
.refine-bar .drill-chip.active, .filter-bar .drill-chip.active { background: var(--gold); color: #221a05; border-color: var(--gold); }
.refine-bar .drill-reset, .filter-bar .drill-reset { color: var(--gold-deep); }
/* inline-flex + line-height 1 + chip-matching vertical padding: the bare text baseline sat
   visibly high against the pill buttons (Elgin 07/06: "SIDE/POSITION/SORT are not centered
   vertically or inline with the buttons after"). */
.refine-label { display: inline-flex; align-items: center; font-family: "Oswald", sans-serif; font-size: 11.5px; line-height: 1; text-transform: uppercase; letter-spacing: .07em; color: var(--steel-600); margin-left: 6px; padding: 8px 0; align-self: center; }
.refine-bar .refine-label:first-child, .filter-bar .refine-label:first-child { margin-left: 0; }

/* Selected-state clarity + fluid open (Elgin 06/11/2026: the picked chip must be
   unmistakable, siblings stay clickable but visibly NOT selected, and the children
   slide open below it). */
.drill-chips.has-selection .drill-chip:not(.active) { opacity: .55; }
.drill-chips.has-selection .drill-chip:not(.active):hover { opacity: 1; }
.drill-sub { animation: drillIn .28s ease; border-left: 4px solid var(--gold); background: rgba(255,255,255,.05); border-radius: 0 10px 10px 0; padding: 10px 14px; margin-top: 10px; }
.drill-sub-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.drill-sub-head span { font-family: "Oswald", sans-serif; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-bright); }
.drill-sub.light { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold); }
.drill-sub.light .drill-sub-head span { color: var(--gold-deep); }
.drill-sub.light .drill-chip { color: var(--steel-600); background: #f2eee3; border-color: var(--line); }
.drill-sub.light .drill-chip:hover { border-color: var(--gold); background: #f8f3e4; }
.drill-sub.light .drill-chip.active { background: var(--gold); color: #221a05; border-color: var(--gold); }
.drill-sub.light .drill-chip.active span { color: #5d4509; }
.drill-sub.light .drill-chip span { color: var(--gold-deep); }
.drill-sub.light .drill-reset { color: var(--gold-deep); }
.drill-sub.nested { margin-top: 8px; background: #faf7ef; }
@keyframes drillIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.drill-in { animation: drillIn .28s ease; }
@media (prefers-reduced-motion: reduce) { .drill-sub, .drill-in { animation: none; } }

/* Category browser (Browse Parts) — light card under the dark hero */
.cat-browser { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 0 0 18px; }
.cat-browser .cat-row .drill-chip { color: var(--steel-600); background: #f2eee3; border-color: var(--line); }
.cat-browser .cat-row .drill-chip:hover { border-color: var(--gold); background: #f8f3e4; }
.cat-browser .cat-row .drill-chip.active { background: var(--steel-800); color: #fff; border-color: var(--steel-800); }
.cat-browser .cat-row .drill-chip.active span { color: var(--gold-bright); }
.cat-browser .drill-chip span { color: var(--gold-deep); }
.price-form { display: flex; align-items: center; gap: 7px; margin-left: auto; }
.price-form input { width: 84px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font-family: "Archivo", sans-serif; font-size: 14px; }
.price-form input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--gold); }
.chassis-acc-list { display: flex; flex-direction: column; gap: 12px; }
.chassis-acc { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.chassis-acc:hover { border-color: var(--gold); }
.chassis-acc[open] { border-color: var(--gold); box-shadow: var(--shadow); }
.chassis-acc summary { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; cursor: pointer; user-select: none; padding: 16px 18px; list-style: none; }
.chassis-acc summary::-webkit-details-marker { display: none; }
.chassis-acc .ch-name { font-family: "Oswald", sans-serif; font-size: 18px; font-weight: 600; color: var(--ink); text-transform: uppercase; letter-spacing: .02em; }
.chassis-acc .ch-meta { color: var(--muted); font-size: 14px; flex: 1; }
.chassis-acc .ch-chev { color: var(--gold-deep); font-size: 15px; transition: transform .18s ease; margin-left: auto; }
.chassis-acc[open] .ch-chev { transform: rotate(180deg); }
.chassis-acc .vehicle-list { padding: 4px 14px 14px; }
/* legacy flat-list styles (kept for any cached pages) */
.chassis-group { margin: 0 0 26px; }
.chassis-title { font-size: 17px; color: var(--ink); margin: 0 0 10px; text-transform: uppercase; letter-spacing: .02em; border-bottom: 2px solid var(--gold); display: inline-block; padding-bottom: 4px; }
.chassis-count { font-family: "Archivo", sans-serif; color: var(--muted); font-weight: 400; font-size: 13px; text-transform: none; letter-spacing: 0; margin-left: 8px; }
.vehicle-list { display: flex; flex-direction: column; gap: 8px; }
.vehicle-row { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 13px 16px; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.vehicle-row:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.vehicle-name { font-family: "Oswald", sans-serif; font-size: 17px; font-weight: 600; color: var(--ink); }
.vehicle-sub { color: var(--muted); font-size: 14px; flex: 1; min-width: 200px; }
.vehicle-parts { font-family: "Oswald", sans-serif; color: var(--gold-deep); font-size: 14.5px; font-weight: 500; letter-spacing: .03em; white-space: nowrap; margin-left: auto; }
.vehicle-header h1, .vehicle-header h2 { font-size: 28px; margin: 0 0 4px; color: var(--ink); text-transform: uppercase; }
.vehicle-header-sub { color: var(--steel-600); font-size: 15px; margin: 0 0 6px; }
.vehicle-header { margin-bottom: 20px; }
.donor-link { font-size: 14.5px; margin-top: 14px; }
.donor-link a { color: var(--gold-deep); font-weight: 600; }

/* ---------- VIN finder band (VIN-first by design: customers know their VIN better
   than their trim package — Elgin. YMM browse is the secondary path.) ---------- */
.vin-band { background: linear-gradient(180deg, #efe9da, var(--bone)); border-bottom: 1px solid var(--line); }
.finder { padding: 26px 24px 24px; max-width: 880px; }
.finder-head h2 { font-size: 23px; margin: 0 0 3px; color: var(--ink); text-transform: uppercase; letter-spacing: .02em; }
.accent-ink { color: var(--gold-deep); }
.finder-stats { margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.finder-tabs { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.finder-tab { font-family: "Oswald", sans-serif; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; background: transparent; color: var(--steel-600); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer; transition: all .15s; }
.finder-tab:hover { border-color: var(--gold); color: var(--ink); }
.finder-tab.active { background: var(--steel-800); color: var(--gold-bright); border-color: var(--steel-800); }
.finder-pane .vin-band-form { margin: 0; max-width: 620px; }
.finder-hint { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); max-width: 600px; }
.finder-select { flex: 1; padding: 13px 14px; border: 1px solid var(--line); border-right: 0; border-radius: 8px 0 0 8px; font-size: 16px; font-family: "Archivo", sans-serif; min-width: 0; background: #fff; color: var(--ink); }
.finder-select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--gold); }

/* ---------- Trust pillars ---------- */
.pillars { background: var(--bone); border-bottom: 1px solid var(--line); }
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.pillar { padding: 30px 22px; text-align: center; border-right: 1px solid var(--line-soft); position: relative; animation: reveal-up .6s cubic-bezier(.2,.7,.2,1) both; }
.pillar:nth-child(1) { animation-delay: 380ms; } .pillar:nth-child(2) { animation-delay: 460ms; }
.pillar:nth-child(3) { animation-delay: 540ms; } .pillar:nth-child(4) { animation-delay: 620ms; }
.pillar:last-child { border-right: 0; }
.pillar .ic { font-size: 30px; margin-bottom: 10px; filter: saturate(1.05); }
.pillar h3 { margin: 0 0 5px; font-size: 16.5px; color: var(--ink); text-transform: uppercase; letter-spacing: .03em; font-weight: 600; }
.pillar p { margin: 0; font-size: 14.5px; color: var(--muted); font-family: "Archivo", sans-serif; }
@media (prefers-reduced-motion: reduce) { .pillar { animation: none; } }

/* ---------- Trust stats, certifications, and promises ---------- */
.trust-stats { background: var(--steel-800); color: #fff; border-bottom: 1px solid rgba(214,162,58,.32); }
.trust-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.trust-stat { padding: 22px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,.09); }
.trust-stat:last-child { border-right: 0; }
.trust-stat strong { display: block; font-family: "Oswald", sans-serif; font-size: clamp(26px, 4vw, 38px); line-height: 1; color: var(--gold-bright); letter-spacing: .01em; }
.trust-stat span { display: block; margin-top: 7px; font-family: "Oswald", sans-serif; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: #cfd8e1; }
.cert-badges { background: #ede8dc; border-bottom: 1px solid var(--line); }
.cert-badges-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-top: 18px; padding-bottom: 18px; }
.cert-badge {
    position: relative; display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: center;
    min-height: 72px; padding: 13px 18px 13px 14px; color: #fff; text-decoration: none;
    background: linear-gradient(158deg, var(--steel-700), var(--steel-800));
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%, 8px 50%);
    box-shadow: var(--shadow); transition: filter .15s, transform .15s;
}
.cert-badge:hover { filter: brightness(1.08); transform: translateY(-2px); }
.cert-badge-mark { grid-row: 1 / span 2; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 2px solid var(--gold); border-radius: 50%; background: #fff; }
.cert-badge-mark img { width: 82%; height: 82%; object-fit: contain; } /* the real ARA emblem (07/06) */
.cert-badge-text { font-family: "Oswald", sans-serif; font-size: 15px; line-height: 1.08; text-transform: uppercase; letter-spacing: .03em; }
.cert-badge-year { font-family: "Archivo", sans-serif; font-size: 11.5px; color: var(--gold-bright); letter-spacing: .08em; text-transform: uppercase; }
.cert-badges-compact { background: transparent; border-bottom: 0; }
.cert-badges-compact .cert-badges-row { padding-top: 24px; padding-bottom: 0; }
.cert-badges-compact .cert-badge { min-height: 54px; padding: 9px 15px 9px 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(214,162,58,.28); box-shadow: none; }
.cert-badges-compact .cert-badge-mark { width: 26px; height: 26px; font-size: 13px; }
.cert-badges-compact .cert-badge-text { font-size: 12.5px; }
.cert-badges-compact .cert-badge-year { font-size: 10.5px; }
.home-promise-wrap { padding-top: 24px; padding-bottom: 24px; }
.promise-banners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.promise-banner { display: flex; gap: 12px; align-items: flex-start; min-width: 0; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 10px; padding: 16px 15px; box-shadow: var(--shadow); }
.promise-banner-lead { grid-column: 1 / -1; }
.promise-more { text-align: center; margin: 12px 0 0; font-size: 13px; }
.promise-banner .ic { flex: 0 0 auto; line-height: 1; }
.promise-banner h3 { margin: 0 0 4px; font-size: 15px; color: var(--ink); text-transform: uppercase; letter-spacing: .02em; }
.promise-banner p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.pdp-details .promise-banners { grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 14px; }
.pdp-details .promise-banner { padding: 12px 13px; box-shadow: none; border-radius: 9px; }
.pdp-details .promise-banner .ic svg { width: 24px; height: 24px; }
.pdp-details .promise-banner h3 { font-size: 13px; }
.pdp-details .promise-banner p { font-size: 12.5px; }

/* ---------- Sections ---------- */
.section { padding: 46px 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 20px; gap: 12px; }
.section-head h1, .section-head h2 { position: relative; font-size: 27px; margin: 0; color: var(--ink); text-transform: uppercase; letter-spacing: .02em; font-weight: 600; padding-left: 16px; }
.section-head h1::before, .section-head h2::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 5px; border-radius: 3px; background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep)); }
.see-all { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; color: var(--steel-600); font-weight: 500; text-decoration: none; white-space: nowrap; font-size: 14px; }
.see-all:hover { color: var(--gold-deep); }

/* ---------- Grid + cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)); gap: 22px; }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: box-shadow .18s, transform .18s, border-color .18s; }
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--ember)); transform: scaleX(0); transform-origin: left; transition: transform .22s ease; z-index: 2; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: #d6cdb8; }
.card:hover::before { transform: scaleX(1); }
.card-photo { position: relative; aspect-ratio: 4 / 3; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
/* contain, not cover: cover crop-zoomed photos and cut parts off at the card edges
   (Elgin screenshot, 06/11/2026). White bg matches the processed photos' white background. */
.card-photo img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-photo img { transform: scale(1.025); } /* subtle — 1.06 read as too much zoom (Elgin) */
.no-photo { color: var(--muted); font-size: 13px; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.exact-badge { position: absolute; left: 9px; bottom: 9px; display: inline-flex; align-items: center; gap: 5px; background: rgba(16,21,27,.72); color: #f0ede5; font-family: "Oswald", sans-serif; font-size: 10px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; backdrop-filter: blur(3px); }
.exact-badge .ic-sm { width: 12px; height: 12px; vertical-align: 0; color: var(--gold-bright); }
.card-body { padding: 14px 15px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-vehicle { font-family: "Oswald", sans-serif; font-size: 12px; font-weight: 500; color: var(--gold-deep); text-transform: uppercase; letter-spacing: .07em; }
/* No line-clamp: the full listing title must always fit on the card (Elgin 06/11/2026). */
.card-title { font-family: "Archivo", sans-serif; font-size: 15px; font-weight: 500; margin: 0; line-height: 1.4; color: var(--ink); overflow-wrap: anywhere; }
.price-row { display: flex; align-items: baseline; gap: 9px; margin-top: auto; padding-top: 6px; }
.ebay-price { color: var(--muted); text-decoration: line-through; font-size: 13.5px; }
.direct-price { font-family: "Oswald", sans-serif; color: var(--green); font-weight: 700; font-size: 22px; letter-spacing: .01em; }
.ship-badge { font-family: "Oswald", sans-serif; font-size: 11.5px; font-weight: 500; color: var(--green); letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Pager ---------- */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; margin: 8px 0 6px; }
.pager .pg { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .06em; background: var(--steel-800); color: #fff; text-decoration: none; font-weight: 500; padding: 11px 22px; border-radius: 8px; transition: background .15s; font-size: 14px; }
.pager .pg:hover { background: var(--steel-700); }
.pg-info { font-family: "Oswald", sans-serif; color: var(--muted); font-size: 14px; letter-spacing: .04em; }
.empty { color: var(--muted); padding: 52px 0; text-align: center; }

/* ---------- Guarantee CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(158deg, var(--steel-800), var(--forge-black)); color: #fff; border-radius: 16px; padding: 42px 38px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; border: 1px solid rgba(214,162,58,.22); }
.cta-band::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .05; pointer-events: none; }
.cta-band h2 { margin: 0 0 8px; font-size: 29px; text-transform: uppercase; letter-spacing: .015em; }
.cta-art { width: 150px; height: auto; flex-shrink: 0; filter: drop-shadow(0 10px 22px rgba(0,0,0,.3)); }
.login-viking { width: 130px; margin: 0 auto 12px; display: block; }
.cta-band p { margin: 0; color: #c8d2db; max-width: 660px; font-family: "Archivo", sans-serif; }
.btn { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .06em; display: inline-block; background: linear-gradient(180deg, var(--gold-bright), var(--gold)); color: #221a05; font-weight: 600; text-decoration: none; padding: 14px 26px; border-radius: 9px; font-size: 15px; transition: filter .15s, transform .15s; white-space: nowrap; }
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
/* 203AL MOB3: long labels ("Calculate total (with exact CA tax)") must wrap on 320px-class
   phones instead of pushing the button wider than the viewport. */
@media (max-width: 420px) { .btn { white-space: normal; } }
.btn-secondary { background: #fff; color: var(--steel-700); border: 1px solid var(--line); }

/* ---------- Product detail ---------- */
.pdp { display: grid; grid-template-columns: 1.12fr 1fr; column-gap: 42px; row-gap: 18px; padding: 30px 0 12px; align-items: start; }
.gallery { grid-column: 1; grid-row: 1 / span 2; }
.pdp-purchase { grid-column: 2; grid-row: 1; }
.pdp-details { grid-column: 2; grid-row: 2; min-width: 0; }
.breadcrumb { font-family: "Oswald", sans-serif; font-size: 13.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 22px 0 0; }
.breadcrumb a { color: var(--steel-600); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-deep); }
.gallery-main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 4 / 3; overflow: hidden; box-shadow: var(--shadow); }
.gallery-main-button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #fff; cursor: zoom-in; }
.gallery-main-button:focus-visible, .gallery-thumb:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 9px; margin-top: 11px; }
.gallery-thumb { aspect-ratio: 1; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; overflow: hidden; transition: border-color .15s, transform .15s, box-shadow .15s; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; border: 0; border-radius: 0; display: block; }
.gallery-thumb:hover { border-color: var(--gold); transform: translateY(-2px); }
.gallery-thumb.selected { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold); }
.gallery-caption { font-size: 14px; margin-top: 9px; }
.pdp-vehicle { font-family: "Oswald", sans-serif; font-size: 13px; font-weight: 500; color: var(--gold-deep); text-transform: uppercase; letter-spacing: .07em; }
.pdp h1 { font-size: 30px; margin: 8px 0 16px; line-height: 1.12; color: var(--ink); text-transform: uppercase; letter-spacing: .01em; }
.pdp-price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 4px; }
.pdp-price .direct { font-family: "Oswald", sans-serif; color: var(--green); font-weight: 700; font-size: 40px; }
.pdp-price .ebay { color: var(--muted); text-decoration: line-through; font-size: 17px; }
.hv-chip { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; background: #eef7f1; border: 1px solid #c6e1ce; border-left: 4px solid var(--green); border-radius: 999px; color: var(--green); padding: 7px 12px; margin: 2px 0 10px; font-family: "Oswald", sans-serif; font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; }
.hv-chip .ic svg { width: 18px; height: 18px; display: block; }
.hv-chip strong { color: var(--gold-deep); font-weight: 700; }
.pdp-ship { font-family: "Oswald", sans-serif; color: var(--green); font-weight: 500; font-size: 14px; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 20px; }
.pdp-ship-notes { margin: -10px 0 16px; }
.pdp-ship-notes .ship-notes { margin-top: 0; border-top: 0; padding-top: 0; }
.programming-note { display: flex; gap: 10px; align-items: flex-start; background: #fff7df; border: 1px solid #ecd99f; border-left: 4px solid var(--gold); border-radius: 10px; padding: 12px 14px; margin: 12px 0 16px; color: var(--body); font-size: 14px; }
.programming-note .ic svg { width: 20px; height: 20px; display: block; color: var(--gold-deep); }
.programming-note strong { display: block; margin: 0 0 2px; color: var(--ink); font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .03em; font-size: 13px; }
.programming-note p { margin: 0; line-height: 1.45; }
.programming-note-compact { display: block; background: transparent; border: 0; border-radius: 0; padding: 0; margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.programming-note-compact .ic { display: none; }
.programming-note-compact strong { display: inline; margin: 0 4px 0 0; color: var(--body); font-family: inherit; text-transform: none; letter-spacing: 0; font-size: inherit; }
.programming-note-compact p { display: inline; line-height: 1.35; }
.exact-callout { display: flex; gap: 11px; align-items: flex-start; background: var(--green-bg); border: 1px solid #c8e4d0; border-left: 4px solid var(--green); border-radius: 10px; padding: 14px 16px; margin: 18px 0; font-size: 15px; }
.exact-callout .ic { font-size: 21px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 16px 0 4px; font-size: 15px; }
.spec-table th { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .04em; text-align: left; color: var(--muted); font-weight: 500; padding: 8px 16px 8px 0; white-space: nowrap; vertical-align: top; width: 1%; font-size: 12.5px; }
.spec-table td { padding: 8px 0; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
.assurance-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.assurance-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.assurance-list .ic { color: var(--green); font-weight: 800; }

/* ---------- PDP: Item Specifics (mirrors the eBay listing's specifics) ---------- */
.specifics { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin: 18px 0 4px; }
.specifics-title { margin: 0 0 12px; font-size: 16.5px; color: var(--ink); text-transform: uppercase; letter-spacing: .02em; }
.specifics-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 12px 22px; margin: 0; }
.specifics-grid .spec { min-width: 0; }
.specifics-grid dt { font-family: "Oswald", sans-serif; font-size: 11.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 2px; }
.specifics-grid dd { margin: 0; color: var(--ink); font-size: 15px; overflow-wrap: anywhere; }
.specifics-grid .spec-mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 14px; letter-spacing: .02em; }

/* ---------- PDP: Compatible Vehicles (fitment) ----------
   Inline section, NOT a tab (Elgin 06/11/2026: same stacked layout on phone and desktop;
   no eBay-style "fitment page 1/2/3" paging — the table scrolls INSIDE a bounded box). */
.fitment { margin: 10px 0 6px; }
.fitment-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 4px; }
.fitment-sub { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.fitment-scroll { max-height: 380px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: var(--shadow); -webkit-overflow-scrolling: touch; }
.fitment-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.fitment-table th { position: sticky; top: 0; z-index: 1; background: var(--steel-800); color: #fff; font-family: "Oswald", sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; font-size: 12px; text-align: left; padding: 10px 14px; white-space: nowrap; }
.fitment-table td { padding: 9px 14px; border-bottom: 1px solid var(--line-soft); color: var(--ink); vertical-align: top; }
.fitment-table tbody tr:nth-child(even) { background: #faf8f2; }
.fitment-table .fit-notes { color: var(--muted); font-size: 13px; }

/* ---------- PDP: "Does this fit my VIN?" card + lead form ---------- */
.fit-check { position: relative; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px; padding: 16px 116px 16px 18px; margin: 18px 0; }
.fit-check .fit-art { position: absolute; right: 10px; top: 10px; width: 92px; height: auto; filter: drop-shadow(0 6px 12px rgba(16,21,27,.18)); }
@media (max-width: 600px) { .fit-check { padding-right: 18px; } .fit-check .fit-art { display: none; } } /* phones: form first, no clutter */
.fit-check h3 { margin: 0 0 4px; font-size: 16.5px; color: var(--ink); text-transform: uppercase; letter-spacing: .02em; }
.fit-check .fit-hint { font-size: 13.5px; color: var(--muted); margin: 0 0 10px; }
.fit-result { border-radius: 9px; padding: 12px 14px; margin: 12px 0 2px; font-size: 14.5px; }
.fit-result strong { display: block; margin-bottom: 2px; }
.fit-result-ok { background: var(--green-bg); border: 1px solid #c8e4d0; border-left: 4px solid var(--green); }
.fit-result-warn { background: #fdf5e0; border: 1px solid var(--gold); border-left: 4px solid var(--gold-deep); }
.fit-result-info { background: #eef3f8; border: 1px solid #c9d8e6; border-left: 4px solid var(--steel-600); }
.fit-result a:not(.btn) { color: #1a56db; text-decoration: underline; }
.fit-result a:not(.btn):hover { color: #1e40af; }
.is-hidden { display: none !important; }
.ask-details { margin: 18px 0 0; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.ask-details summary { cursor: pointer; padding: 14px 18px; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .04em; font-size: 14.5px; color: var(--steel-600); user-select: none; }
.ask-details summary:hover { color: var(--gold-deep); }
.ask-details[open] summary { border-bottom: 1px solid var(--line-soft); }
.lead-form { display: grid; gap: 10px; padding: 16px 18px; }
.lead-form label { font-family: "Oswald", sans-serif; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: -6px; }
.lead-form input, .lead-form textarea { padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px; font-family: "Archivo", sans-serif; font-size: 15px; width: 100%; box-sizing: border-box; }
.lead-form input:focus, .lead-form textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--gold); }
.lead-form textarea { min-height: 96px; resize: vertical; }
.lead-form .lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lead-field-full { display: grid; gap: 10px; }
.checkout-email-field { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 10px; padding: 12px 14px; }
.checkout-email-field span { color: var(--muted); font-size: 13.5px; margin-top: -6px; }
.checkout-sms-field { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--steel-600); border-radius: 10px; padding: 12px 14px; }
.lead-form label.checkout-checkbox { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-family: "Archivo", sans-serif; font-size: 14.5px; text-transform: none; letter-spacing: 0; color: var(--body); cursor: pointer; }
.checkout-checkbox input { width: auto; margin-top: 2px; flex: 0 0 auto; }
.checkout-sms-phone.is-hidden { display: none; }
.checkout-sms-phone span { color: var(--muted); font-size: 13.5px; margin-top: -6px; }
.checkout-confirm-note { background: #eef8f1; border: 1px solid #cfe8d4; border-left: 4px solid var(--green); border-radius: 9px; color: var(--body); font-size: 14px; line-height: 1.45; margin: 0 0 12px; padding: 11px 13px; }
.checkout-confirm-note strong { color: var(--ink); }
.lead-form button { border: 0; cursor: pointer; }
.lead-success { background: var(--green-bg); border: 1px solid #c8e4d0; border-left: 4px solid var(--green); border-radius: 10px; padding: 14px 16px; margin: 18px 0; font-size: 15px; }
.hp-field { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; } /* honeypot */
.form-error { color: var(--red); font-size: 14px; margin: 0; }

/* ---------- Vehicle-filter strip ---------- */
/* Full-width and server-rendered under the header: this is the global applied-filter state,
   not a dismissible promo banner. Active is high-contrast; paused is related but visibly off. */
.fit-band { position: relative; z-index: 45; border-bottom: 1px solid rgba(16,21,27,.16); box-shadow: 0 8px 22px rgba(16,21,27,.13); }
.fit-band.active {
    color: #fff;
    background:
        linear-gradient(90deg, rgba(214,162,58,.26) 0 5px, transparent 5px),
        repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 1px, transparent 1px 22px),
        linear-gradient(158deg, var(--steel-800), var(--forge-black));
    border-bottom-color: rgba(242,193,78,.52);
}
.fit-band.paused {
    color: var(--steel-700);
    background:
        linear-gradient(90deg, rgba(111,125,139,.35) 0 5px, transparent 5px),
        repeating-linear-gradient(135deg, rgba(27,38,48,.045) 0 1px, transparent 1px 24px),
        #e9e3d5;
}
.fit-band-inner {
    max-width: 1220px;
    margin: 0 auto;
    padding: 11px 24px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px 14px;
}
.fit-band-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex: 0 0 auto;
}
.fit-band-icon svg { width: 25px; height: 25px; }
.fit-band.active .fit-band-icon { background: linear-gradient(180deg, var(--gold-bright), var(--gold)); color: #221a05; box-shadow: 0 8px 18px rgba(0,0,0,.24); }
.fit-band.paused .fit-band-icon { background: #f5f2ea; color: var(--ash); border: 1px solid rgba(111,125,139,.32); }
.fit-copy { min-width: 0; display: grid; gap: 1px; line-height: 1.25; }
.fit-kicker {
    font-family: "Oswald", sans-serif;
    font-size: 11.5px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 700;
}
.fit-band.active .fit-kicker { color: var(--gold-bright); }
.fit-band.paused .fit-kicker { color: var(--steel-600); }
.fit-msg {
    font-family: "Oswald", sans-serif;
    font-size: 18px;
    line-height: 1.18;
    letter-spacing: .01em;
    color: inherit;
}
.fit-msg strong { color: inherit; overflow-wrap: anywhere; }
.fit-band.active .fit-msg strong { color: var(--gold-bright); }
.fit-note { font-size: 13px; color: #cbd5df; }
.fit-actions { display: inline-flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; max-width: 560px; }
.fit-action-form { margin: 0; display: inline-flex; }
.fit-link {
    appearance: none;
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
    letter-spacing: .05em;
    line-height: 1.15;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    padding: 7px 12px;
    border-radius: 999px;
    white-space: normal;
    transition: background .15s, border-color .15s, color .15s, filter .15s;
}
.fit-band.active .fit-link { color: #e8eef3; background: rgba(255,255,255,.08); border: 1px solid rgba(242,193,78,.32); }
.fit-band.active .fit-link:hover { background: rgba(242,193,78,.18); border-color: var(--gold); }
.fit-band.paused .fit-link { color: var(--steel-700); background: #fffdf8; border: 1px solid #d2cabb; }
.fit-band.paused .fit-link:hover { border-color: var(--steel-600); color: var(--ink); }
.fit-band.active .fit-link-primary, .fit-band.paused .fit-link-primary { background: linear-gradient(180deg, var(--gold-bright), var(--gold)); border-color: var(--gold); color: #221a05; }
.fit-band.active .fit-link-primary:hover, .fit-band.paused .fit-link-primary:hover { background: linear-gradient(180deg, var(--gold-bright), var(--gold)); filter: brightness(1.07); }
.fit-band .fit-link-clear { opacity: .86; }
.fit-band.active .fit-link-clear { color: #f0d9d6; border-color: rgba(255,255,255,.22); }
.fit-band.paused .fit-link-clear { color: var(--red); border-color: rgba(179,38,30,.25); }
@media (max-width: 900px) {
    .fit-band-inner { grid-template-columns: 38px minmax(0, 1fr); padding: 10px 16px; }
    .fit-band-icon { width: 38px; height: 38px; }
    .fit-band-icon svg { width: 23px; height: 23px; }
    .fit-actions { grid-column: 1 / -1; justify-content: stretch; width: 100%; max-width: none; }
    .fit-action-form, .fit-link { flex: 1 1 calc(50% - 8px); min-height: 40px; }
    .fit-action-form .fit-link { width: 100%; }
    .fit-action-primary, .fit-link-primary { flex-basis: 100%; }
}
@media (max-width: 430px) {
    .fit-msg { font-size: 16px; }
    .fit-note { display: none; }
    .fit-action-form, .fit-link { flex-basis: 100%; }
}

/* ---------- Cart + checkout ---------- */
.add-cart-form { margin: 4px 0 14px; }
.add-cart-btn { border: 0; cursor: pointer; width: 100%; text-align: center; font-size: 16px; }
.cart-list { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.cart-row { display: flex; align-items: flex-start; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.cart-thumb { width: 86px; height: 64px; flex-shrink: 0; background: #fff; border: 1px solid var(--line-soft); border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.cart-thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cart-title { font-family: "Archivo", sans-serif; font-weight: 500; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.cart-title:hover { color: var(--gold-deep); }
.cart-info .muted { font-size: 13px; }
.cart-price { font-family: "Oswald", sans-serif; font-weight: 700; font-size: 19px; color: var(--green); white-space: nowrap; display: grid; justify-items: end; }
.cart-price small { font-family: "Archivo", sans-serif; font-size: 12px; font-weight: 600; color: var(--muted); }
.cart-remove { background: none; border: 0; color: var(--muted); font-family: "Oswald", sans-serif; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; padding: 6px; min-height: 44px; }
.warranty-picker { position: relative; overflow: hidden; display: grid; gap: 9px; width: min(100%, 580px); margin-top: 10px; padding: 12px 13px 13px; background: linear-gradient(180deg, #fffdf8, #f8f4ea); border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: 10px; box-shadow: 0 6px 18px rgba(16,21,27,.05); }
.warranty-picker::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(214,162,58,.08), transparent 40%); }
.warranty-picker > * { position: relative; z-index: 1; }
.warranty-kicker { font-family: "Oswald", sans-serif; color: var(--gold-deep); font-size: 11.5px; line-height: 1; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.warranty-options { display: grid; gap: 7px; }
.warranty-option { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 9px; min-height: 48px; padding: 8px 10px; border: 1px solid #ddd4c3; border-radius: 8px; background: rgba(255,255,255,.72); cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.warranty-option:hover { border-color: var(--gold); background: #fffaf0; }
.warranty-option.is-selected { border-color: var(--gold); background: #fff6df; box-shadow: inset 4px 0 0 var(--gold), 0 5px 14px rgba(16,21,27,.06); }
.warranty-option input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.warranty-control { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border: 2px solid #b8ad97; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3px #fff; }
.warranty-option input:checked + .warranty-control { border-color: var(--gold-deep); background: var(--gold); }
.warranty-option input:checked + .warranty-control::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #221a05; }
.warranty-option input:focus-visible + .warranty-control { outline: 3px solid rgba(214,162,58,.45); outline-offset: 2px; }
.warranty-copy { min-width: 0; display: grid; gap: 1px; line-height: 1.2; }
.warranty-name { color: var(--ink); font-weight: 700; font-size: 14px; overflow-wrap: anywhere; }
.warranty-detail { color: var(--muted); font-size: 12.5px; }
.warranty-price { justify-self: end; color: var(--green); font-family: "Oswald", sans-serif; font-size: 18px; font-weight: 700; white-space: nowrap; }
.warranty-included-line { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 12px; padding: 10px 11px; border: 1px solid #d8cfbd; border-radius: 8px; background: #fffaf0; }
.warranty-included-line strong { color: var(--ink); font-family: "Oswald", sans-serif; font-size: 15px; text-transform: uppercase; letter-spacing: .02em; }
.warranty-included-line span { color: var(--muted); font-size: 13px; }
.warranty-total-line { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; border-top: 1px solid var(--line-soft); padding-top: 8px; color: var(--steel-600); font-size: 13.5px; line-height: 1.35; }
.warranty-total-line strong { color: var(--green); font-family: "Oswald", sans-serif; font-size: 18px; }
.warranty-terms-line { margin-top: -4px; color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.warranty-terms-line a { color: var(--gold-deep); font-weight: 700; text-decoration: none; }
.warranty-terms-line a:hover { text-decoration: underline; }
.warranty-update { justify-self: start; border: 0; border-radius: 8px; background: var(--steel-800); color: #fff; font-family: "Oswald", sans-serif; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; padding: 8px 12px; cursor: pointer; }
.checkout-warranty-head { margin-bottom: 12px; }
.checkout-warranty-list { display: grid; gap: 10px; margin: 0 0 22px; max-width: 600px; }
/* 203AL MOB2: small phones — cart row wraps so price + Remove never clip off the right edge. */
@media (max-width: 480px) {
    .cart-row { flex-wrap: wrap; }
    .cart-info { flex: 1 1 calc(100% - 102px); }
    .cart-price { margin-left: 102px; justify-items: start; }
}
@media (max-width: 620px) {
    .warranty-option { grid-template-columns: 20px minmax(0, 1fr); }
    .warranty-price { grid-column: 2; justify-self: start; font-size: 17px; }
}
.cart-remove:hover { color: var(--red); }
.cart-summary { max-width: 420px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin-top: 18px; }
.cs-row { display: flex; justify-content: space-between; gap: 14px; padding: 6px 0; font-size: 15px; }
.cs-row.co-item span { color: var(--muted); font-size: 13.5px; overflow-wrap: anywhere; }
.cs-row.co-warranty span { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; padding-left: 12px; }
.cs-free { color: var(--green); }
/* Shipping notes under the summary — separate spaced lines, never one run-together blob
   (Elgin 06/12/2026). Parcel/freight lines are cart-aware; see _ShipNote.cshtml. */
.ship-notes { margin-top: 12px; border-top: 1px solid var(--line-soft); padding-top: 4px; }
.ship-notes .cs-note { color: var(--muted); font-size: 13.5px; line-height: 1.5; margin: 8px 0 0; }
.ship-notes .cs-note strong { color: var(--body); }
.cs-total { border-top: 2px solid var(--gold); margin-top: 6px; padding-top: 10px; font-size: 18px; }
.cart-summary .btn { margin-top: 12px; }
.checkout-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: start; }
.checkout-aside { margin-top: 54px; position: sticky; top: 16px; }
@media (max-width: 900px) { .checkout-grid { grid-template-columns: 1fr; } .checkout-aside { margin-top: 0; position: static; } }

.payment-shell { display: grid; gap: 16px; }
.payment-shell-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: 12px; padding: 18px 20px; }
.payment-shell-head h1 { margin: 0 0 6px; font-size: 30px; text-transform: uppercase; color: var(--ink); }
.payment-shell-head p:not(.receipt-kicker) { margin: 0; color: var(--body); max-width: 720px; }
.payment-status { min-width: 180px; text-align: center; font-family: "Oswald", sans-serif; text-transform: uppercase; color: var(--green); background: #eef8f1; border: 1px solid #cfe8d4; border-radius: 9px; padding: 10px 12px; }
.payment-frame-wrap { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; min-height: 720px; box-shadow: var(--shadow); }
.payment-frame { width: 100%; min-height: 720px; border: 0; display: block; background: #fff; }
.payment-help { display: flex; gap: 14px; justify-content: space-between; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 13px 15px; }
.payment-help p { margin: 0; color: var(--muted); line-height: 1.45; }
@media (max-width: 760px) {
    .payment-shell-head, .payment-help { grid-template-columns: 1fr; display: grid; }
    .payment-status { width: 100%; }
    .payment-frame-wrap, .payment-frame { min-height: 660px; }
}

/* ---------- Checkout receipt ---------- */
.receipt-success { max-width: 760px; }
.receipt-success p { margin: 8px 0 0; }
.receipt-refund-note { margin-top: 14px; }
.receipt-hero { display: grid; grid-template-columns: minmax(0, 1fr) 220px; align-items: center; gap: 26px; position: relative; overflow: hidden; background: linear-gradient(158deg, var(--steel-800), var(--forge-black)); color: #fff; border: 1px solid rgba(214,162,58,.26); border-radius: 14px; padding: 28px 30px; margin: 4px 0 18px; box-shadow: var(--shadow); }
.receipt-hero::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .055; pointer-events: none; }
.receipt-hero-copy, .receipt-hero-art { position: relative; z-index: 1; }
.receipt-kicker { margin: 0 0 7px; font-family: "Oswald", sans-serif; color: var(--gold-bright); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; }
.receipt-hero h1 { margin: 0 0 10px; color: #fff; font-size: 34px; line-height: 1.05; text-transform: uppercase; letter-spacing: .01em; }
.receipt-hero p { margin: 8px 0 0; max-width: 700px; color: #d8e0e7; }
.receipt-hero strong { color: #fff; }
.receipt-hero-art img { width: 220px; height: auto; filter: drop-shadow(0 16px 28px rgba(0,0,0,.35)); }
.receipt-next { display: grid; gap: 12px; margin: 0 0 20px; }
.receipt-next-row { position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: 10px; padding: 15px 18px; min-width: 0; box-shadow: 0 6px 18px rgba(16,21,27,.05); }
.receipt-next-row::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(214,162,58,.08), transparent 34%); }
.receipt-next-row h2, .receipt-next-row p { position: relative; z-index: 1; }
.receipt-next-row h2 { margin: 0 0 5px; font-size: 15px; line-height: 1.15; font-family: "Oswald", sans-serif; color: var(--ink); text-transform: uppercase; letter-spacing: .05em; }
.receipt-next p { margin: 0; color: var(--body); font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.receipt-next p + p { margin-top: 6px; }
.receipt-next p strong { display: inline; margin: 0; font-family: inherit; color: var(--ink); text-transform: none; letter-spacing: 0; font-size: inherit; }
.receipt-soft-note { color: var(--muted); }
.receipt-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) 360px; gap: 24px; align-items: start; margin-top: 20px; }
.receipt-main h2 { margin: 0 0 12px; font-size: 24px; text-transform: uppercase; color: var(--ink); }
.receipt-lines { display: grid; gap: 10px; }
.receipt-line { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.receipt-line img { width: 74px; height: 56px; object-fit: contain; background: #fff; border: 1px solid var(--line-soft); border-radius: 7px; }
.receipt-thumb-empty { width: 74px; height: 56px; background: #fff; border: 1px solid var(--line-soft); border-radius: 7px; }
.receipt-line-detail { margin-top: -8px; background: #f8faf7; border-style: dashed; }
.receipt-line-detail .receipt-thumb-empty { background: transparent; border-color: transparent; }
.receipt-line strong { display: block; color: var(--ink); overflow-wrap: anywhere; }
.receipt-line span { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.receipt-line b { color: var(--green); font-family: "Oswald", sans-serif; font-size: 17px; white-space: nowrap; }
.receipt-line-cancelled strong { text-decoration: line-through; color: var(--muted); }
.receipt-line-cancelled b { color: var(--red); font-size: 14px; text-transform: uppercase; }
.receipt-summary { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.receipt-summary h3 { margin: 0 0 8px; font-size: 18px; text-transform: uppercase; color: var(--ink); }
.receipt-meta { color: var(--muted); font-size: 14px; line-height: 1.45; margin: 12px 0 0; }
.receipt-meta strong { color: var(--body); }
.receipt-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.account-checkout-offer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 380px); gap: 18px; align-items: start; margin-top: 22px; background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: 10px; padding: 20px 22px; box-shadow: 0 10px 26px rgba(16,21,27,.08); }
.account-checkout-offer h2 { margin: 0 0 6px; color: var(--ink); text-transform: uppercase; font-size: 24px; line-height: 1.08; }
.account-checkout-offer p { margin: 0; color: var(--body); }
.account-checkout-offer .receipt-kicker { color: var(--gold-deep); margin-bottom: 5px; }
.account-outcome-copy a { color: var(--gold-deep); font-weight: 700; text-decoration: none; }
.account-outcome-copy a:hover { text-decoration: underline; }
.account-locked-email { display: grid; gap: 5px; margin: 0; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.account-locked-email input { color: var(--body); background: #f8f6ef; cursor: default; }
.account-offer-actions { display: grid; gap: 9px; }
.account-offer-actions .btn { width: 100%; border: 0; cursor: pointer; text-align: center; white-space: normal; }
body.account-offer-open { overflow: hidden; }
body.account-offer-open::before { content: ""; position: fixed; inset: 0; z-index: 95; background: rgba(16,21,27,.62); backdrop-filter: blur(2px); }
.account-checkout-offer.account-offer-modal { position: fixed; z-index: 96; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(860px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; margin: 0; grid-template-columns: minmax(0, 1fr) minmax(280px, 390px); border-radius: 12px; border-left-width: 6px; background: linear-gradient(180deg, #fffdf8, #f8f4ea); box-shadow: var(--shadow-lg); }
@media (max-width: 900px) {
    .receipt-hero { grid-template-columns: 1fr; padding: 24px 22px; }
    .receipt-hero-art { order: -1; justify-self: center; }
    .receipt-hero-art img { width: 170px; }
    .receipt-grid { grid-template-columns: 1fr; }
    .account-checkout-offer, .account-checkout-offer.account-offer-modal { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .receipt-hero h1 { font-size: 28px; }
    .receipt-hero { padding: 22px 18px; }
    .receipt-line { grid-template-columns: 58px minmax(0, 1fr); }
    .receipt-line img { width: 58px; height: 46px; }
    .receipt-thumb-empty { width: 58px; height: 46px; }
    .receipt-line b { grid-column: 2; }
}

/* ---------- Browse filters ---------- */
.section.narrow { max-width: 820px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: flex-end; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 0 0 24px; }
.filter-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.filter-field label { font-family: "Oswald", sans-serif; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.filter-field select, .filter-field input { padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; font-family: "Archivo", sans-serif; font-size: 14.5px; background: #fff; color: var(--ink); }
.filter-field select:focus, .filter-field input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--gold); }
.filter-field .price-pair { display: flex; align-items: center; gap: 6px; }
.filter-field .price-pair input { width: 92px; }
.filter-apply { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; background: var(--steel-800); color: #fff; border: 0; padding: 10px 20px; border-radius: 8px; cursor: pointer; font-size: 13.5px; }
.filter-apply:hover { background: var(--steel-700); }
.filter-clear { display: inline-flex; align-items: center; min-height: 44px; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; font-size: 12.5px; color: var(--steel-600); text-decoration: none; padding: 7px 6px; }
.filter-clear:hover { color: var(--gold-deep); }
.catalog-fit-prompt, .catalog-fit-empty { text-align: left; }
.catalog-fit-prompt { margin: 18px 0 24px; }
.catalog-fit-prompt p, .catalog-fit-empty p { margin: 6px 0 0; }
.catalog-fit-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.catalog-fit-actions form { margin: 0; }
.catalog-fit-actions .btn { border: 0; cursor: pointer; padding: 11px 18px; font-size: 13px; white-space: normal; }
.catalog-fit-empty { max-width: 720px; margin: 0 auto 18px; }

/* ---------- Content (guarantee) page ---------- */
.content { padding: 10px 0 22px; max-width: 840px; }
.content h1 { font-size: 38px; color: var(--ink); margin: 26px 0 10px; text-transform: uppercase; letter-spacing: .01em; }
.content .lede { font-family: "Archivo", sans-serif; font-size: 19px; color: var(--steel-600); margin-bottom: 28px; }
.content h2 { font-size: 23px; color: var(--ink); margin: 34px 0 10px; text-transform: uppercase; letter-spacing: .01em; }
.content p { margin: 0 0 15px; }
.promise-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 24px 0; }
.promise { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); overflow: hidden; }
.promise::before { content: ""; position: absolute; top: 0; left: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--gold-bright), var(--ember)); }
.promise .ic { font-size: 28px; }
.promise h3 { margin: 10px 0 6px; font-size: 17px; color: var(--ink); text-transform: uppercase; letter-spacing: .02em; }
.promise p { margin: 0; font-size: 15px; color: var(--muted); font-family: "Archivo", sans-serif; }

/* ---------- About page ---------- */
.about-hero { display: flex; gap: 30px; align-items: center; margin-top: 10px; }
.about-art { width: 220px; height: auto; flex-shrink: 0; }
.certifications { scroll-margin-top: 100px; margin: 38px 0 34px; }
.certifications-grid { display: grid; grid-template-columns: minmax(240px, 360px) minmax(0, 1fr); gap: 26px; align-items: start; }
.certificate-frame { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; box-shadow: var(--shadow); }
.certificate-frame img { border-radius: 6px; }
.certification-copy .lede { margin: 0 0 14px; }
.certification-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.certification-list li { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 10px; padding: 12px 14px; }
.certification-list strong { color: var(--ink); }
@media (max-width: 700px) { .about-hero { flex-direction: column; text-align: center; } }

/* ---------- Part videos (engine-run = the big-ticket trust signal) ---------- */
.video-block { margin: 16px 0; }
.video-block video { width: 100%; border-radius: 10px; border: 1px solid var(--line); background: #000; }
.video-block.engine-run { background: var(--green-bg); border: 1px solid #c8e4d0; border-left: 4px solid var(--green); border-radius: 10px; padding: 14px 16px; }
.video-title { font-size: 16px; margin: 0 0 3px; color: var(--ink); text-transform: uppercase; letter-spacing: .02em; }
.video-sub { font-size: 14.5px; color: var(--muted); margin: 0 0 10px; }
.video-shell { position: relative; }
.video-shell .pdp-video { display: block; }
.video-status {
    position: absolute;
    left: 12px;
    top: 12px; /* top-left — bottom placement sat on the play button/control bar (Elgin 07/06) */
    max-width: calc(100% - 24px);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 8px;
    background: rgba(16,21,27,.84);
    color: #fff;
    font-family: "Archivo", sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.2;
    padding: 7px 10px;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(16,21,27,.28);
}
.video-retry {
    border-color: rgba(191,42,42,.35);
    background: rgba(191,42,42,.92);
    pointer-events: auto;
    cursor: pointer;
}

/* Shared pending states for slow browse/search/cart/checkout/contact flows. */
.site-pending-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    margin-left: 10px;
    color: var(--steel-600);
    font-size: 13.5px;
    font-weight: 600;
    vertical-align: middle;
}
.site-pending-global {
    position: fixed;
    left: 50%;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    z-index: 90;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    max-width: min(92vw, 520px);
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 10px;
    background: rgba(16,21,27,.92);
    color: #fff;
    box-shadow: 0 12px 34px rgba(16,21,27,.28);
    font-size: 14px;
    font-weight: 600;
}
.site-pending-global[hidden] { display: none; }
.site-pending-dot {
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 0 rgba(214,162,58,.5);
    animation: pending-pulse 1.2s ease-out infinite;
}
@keyframes pending-pulse {
    0% { box-shadow: 0 0 0 0 rgba(214,162,58,.48); }
    70% { box-shadow: 0 0 0 9px rgba(214,162,58,0); }
    100% { box-shadow: 0 0 0 0 rgba(214,162,58,0); }
}
@media (prefers-reduced-motion: reduce) {
    .site-pending-dot { animation: none; }
}
.site-pending-retry {
    min-height: 32px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--steel-700);
    cursor: pointer;
    font-family: "Oswald", sans-serif;
    font-size: 12px;
    letter-spacing: .05em;
    padding: 5px 11px;
    text-transform: uppercase;
}
.site-pending-global .site-pending-retry { border-color: rgba(255,255,255,.3); }
.site-pending-inline.is-recoverable .site-pending-text,
.site-pending-global.is-recoverable .site-pending-text { color: var(--gold-bright); }
.is-pending,
button.is-pending,
input.is-pending {
    cursor: progress;
    opacity: .72;
}
button.is-pending,
input.is-pending { filter: saturate(.75); }

/* ---------- Preview-gate login ---------- */
.login-card { max-width: 420px; margin: 70px auto; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 38px 34px; text-align: center; box-shadow: var(--shadow); }
.login-mark { margin: 0 auto 14px; display: block; }
.login-card h1 { font-size: 26px; margin: 0 0 6px; color: var(--ink); text-transform: uppercase; }
.login-card p { margin: 0 0 20px; }
.login-label { display: block; margin: 0 0 5px; color: var(--ink); font-family: "Oswald", sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-align: left; text-transform: uppercase; }
.login-input { width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 8px; font-size: 16px; font-family: "Archivo", sans-serif; margin-bottom: 12px; }
.login-input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--gold); }
.login-btn { width: 100%; border: 0; cursor: pointer; }
.login-error { color: var(--red); font-size: 14px; margin: 2px 0 12px; }
.login-notice { color: var(--green); background: var(--green-bg); border: 1px solid rgba(29,111,56,.25); border-radius: 8px; padding: 10px 12px; font-size: 14px; margin: 2px 0 12px; }
.account-auth-card .login-viking { width: 82px; height: 82px; object-fit: contain; margin: 0 auto 10px; }
.account-auth-links { display: flex; gap: 8px; justify-content: center; align-items: center; flex-wrap: wrap; font-size: 14px; margin: 14px 0 0; }
.account-auth-links a { color: var(--gold-deep); font-weight: 700; text-decoration: none; }
.account-password-form { display: grid; gap: 10px; }
.account-password-form .login-input { margin-bottom: 0; }
.account-show-password { display: flex; align-items: center; gap: 8px; justify-content: flex-start; color: var(--body); font-size: 14px; margin: 0 0 2px; }
.account-show-password input { width: auto; }

/* ---------- Customer account ---------- */
.account-page h1 { margin: 0 0 4px; color: var(--ink); text-transform: uppercase; font-size: 34px; }
.account-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; background: linear-gradient(158deg, var(--steel-800), var(--forge-black)); color: #fff; border: 1px solid rgba(214,162,58,.26); border-radius: 12px; padding: 24px 26px; margin-bottom: 22px; box-shadow: var(--shadow); }
.account-head h1 { color: #fff; }
.account-head p:not(.receipt-kicker) { margin: 0; color: #d8e0e7; overflow-wrap: anywhere; }
.account-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.account-orders { display: grid; gap: 16px; }
.account-order { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px; box-shadow: 0 8px 20px rgba(16,21,27,.06); }
.account-order-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.account-order-head h3 { margin: 0 0 2px; color: var(--ink); text-transform: uppercase; font-size: 20px; }
.account-order-head time { color: var(--muted); font-size: 13.5px; }
.account-order-head > strong { color: var(--green); font-family: "Oswald", sans-serif; font-size: 19px; white-space: nowrap; }
.account-order-actions { margin-top: 14px; }
.account-side { display: grid; gap: 16px; }
.account-side section { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }
.account-side h2 { margin: 0 0 10px; color: var(--ink); text-transform: uppercase; font-size: 18px; }
.account-side p { margin: 0 0 8px; overflow-wrap: anywhere; }
.account-vehicles { display: grid; gap: 10px; }
.account-vehicle { border-top: 1px solid var(--line-soft); padding-top: 10px; overflow-wrap: anywhere; }
.account-vehicle:first-child { border-top: 0; padding-top: 0; }
.account-vehicle strong { display: block; color: var(--ink); }
.account-vehicle span { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
@media (max-width: 900px) {
    .account-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    .account-page h1 { font-size: 28px; }
    .account-head { padding: 20px 18px; }
    .account-order-head { flex-direction: column; }
}

/* ---------- Alerts ---------- */
.alert { border-radius: 10px; padding: 16px 18px; margin: 24px 0; }
.alert h1 { font-size: 1.5em; margin: .83em 0; }
.alert-setup { background: #fdf5e0; border: 1px solid var(--gold); }
.alert-error { background: #fdecea; border: 1px solid var(--red); }
.alert pre { white-space: pre-wrap; margin: 8px 0 0; font-size: 13px; }
.alert code { background: rgba(0,0,0,.06); padding: 1px 6px; border-radius: 4px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--steel-800); color: #c1ccd6; margin-top: 56px; padding: 44px 0 28px; font-size: 15px; border-top: 3px solid var(--gold); }
.site-footer::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .04; pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 32px; }
.footer-grid h2 { font-family: "Oswald", sans-serif; color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 13px; }
.footer-grid a { display: block; color: #c1ccd6; text-decoration: none; padding: 3px 0; }
.footer-grid a:hover { color: var(--gold-bright); }
.footer-brand .brand-name { font-family: "Oswald", sans-serif; font-weight: 700; font-size: 22px; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.footer-brand .brand-sub { display: block; font-size: 9px; color: var(--gold); letter-spacing: .34em; margin-top: 3px; }
.footer-legal { position: relative; border-top: 1px solid var(--steel-700); margin-top: 28px; padding-top: 18px; font-size: 13.5px; display: flex; gap: 14px; justify-content: space-between; flex-wrap: wrap; }
.footer-legal a { color: #c1ccd6; text-decoration: none; }
.footer-legal a:hover { color: var(--gold-bright); }
.site-footer .muted { color: #c1ccd6; }

/* ---------- Numbered pager (06/12/2026 — real page counts) ---------- */
.pg-nums { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pg-num { display: inline-flex; align-items: center; justify-content: center; font-family: "Oswald", sans-serif; min-width: 44px; min-height: 44px; text-align: center; padding: 8px 8px; border-radius: 8px; text-decoration: none; color: var(--steel-600); background: var(--card); border: 1px solid var(--line); font-size: 14px; transition: border-color .15s, background .15s; }
.pg-num:hover { border-color: var(--gold); background: #f8f3e4; }
.pg-num.current { background: var(--steel-800); color: var(--gold-bright); border-color: var(--steel-800); font-weight: 600; }
.pg-ellipsis { color: var(--steel-600); padding: 0 2px; }
.pg-total { text-align: center; margin: 26px 0 0; font-size: 15px; color: var(--ink); }
.pg-label { font-family: "Oswald", sans-serif; font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--steel-600); }

/* ---------- PDP photo lightbox (click-to-enlarge) ---------- */
.gallery-main.zoomable { position: relative; }
.gallery-main.zoomable img { cursor: zoom-in; }
.zoom-hint { position: absolute; right: 10px; bottom: 10px; background: rgba(16,21,27,.72); color: #f0ede5; font-family: "Oswald", sans-serif; font-size: 11px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; pointer-events: none; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(13,17,22,.94); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(96vw, 1400px); max-height: 92vh; object-fit: contain; touch-action: pan-x pan-y pinch-zoom; border-radius: 6px; background: #fff; }
.lb-close { position: absolute; top: 14px; right: 16px; z-index: 2; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; width: 44px; height: 44px; font-size: 19px; cursor: pointer; }
.lb-close:hover { background: rgba(242,193,78,.25); border-color: var(--gold); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; width: 52px; height: 52px; font-size: 30px; line-height: 1; cursor: pointer; }
.lb-nav:hover { background: rgba(242,193,78,.25); border-color: var(--gold); }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }
.lb-count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: #d8e0e8; font-family: "Oswald", sans-serif; font-size: 14px; letter-spacing: .08em; }
@media (max-width: 600px) {
    .lb-nav { width: 44px; height: 44px; font-size: 24px; }
    .lb-prev { left: 6px; }
    .lb-next { right: 6px; }
}

/* ---------- My Garage (Elgin 06/12/2026: playful per-make garage stalls) ---------- */
.garage-pinned { background: rgba(242,193,78,.14); border: 1px solid rgba(242,193,78,.4); border-radius: 9px; padding: 9px 13px; font-size: 14.5px; color: #f0ede5; margin: 10px 0 0; }
.garage-pinned a { color: var(--gold-bright); }
.garage-pinned.paused { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #d7dee6; }
.inline-post { display: inline; margin: 0; }
.inline-link-button { appearance: none; background: none; border: 0; color: var(--gold-bright); cursor: pointer; font: inherit; padding: 0; text-decoration: underline; }
.garage-lot { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 6px; }
.garage-building { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.garage-sign { background: linear-gradient(180deg, var(--steel-700), var(--steel-800)); color: var(--gold-bright); font-family: "Oswald", sans-serif; font-weight: 700; font-size: 19px; letter-spacing: .12em; text-transform: uppercase; text-align: center; padding: 10px 12px; border-bottom: 3px solid var(--gold); }
.garage-art-slot { background: repeating-linear-gradient(180deg, #e9e4d6 0 14px, #e0dac9 14px 16px); display: flex; align-items: flex-end; justify-content: center; min-height: 130px; padding: 10px 10px 0; border-bottom: 4px solid var(--steel-700); }
.garage-art { max-height: 150px; width: auto; filter: drop-shadow(0 8px 14px rgba(16,21,27,.25)); }
.garage-door-fallback { display: none; align-items: flex-end; justify-content: center; padding-bottom: 8px; }
.garage-cars { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.garage-car { border: 1px solid var(--line-soft); border-radius: 10px; padding: 12px 14px; }
.garage-car.pinned { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(214,162,58,.25); }
.gc-name { font-family: "Oswald", sans-serif; font-size: 17px; font-weight: 600; color: var(--ink); }
.gc-vin { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 12.5px; color: var(--muted); margin-top: 2px; overflow-wrap: anywhere; }
.gc-donor { color: var(--green); font-size: 13px; margin-top: 2px; }
.gc-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.gc-actions form { margin: 0; }
.gc-shop { border: 0; cursor: pointer; font-size: 13.5px; padding: 10px 16px; }
.gc-shop.sm { padding: 9px 14px; font-size: 12.5px; }
.gc-remove { background: none; border: 0; color: var(--muted); font-family: "Oswald", sans-serif; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; padding: 8px 6px; }
.gc-remove:hover { color: var(--red); }
.gc-save { background: #f2eee3; border: 1px solid var(--line); border-radius: 999px; color: var(--steel-600); font-family: "Oswald", sans-serif; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; padding: 9px 14px; transition: border-color .15s, background .15s; }
.gc-save:hover { border-color: var(--gold); background: #f8f3e4; }
.recent-list { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.recent-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.recent-info { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.recent-row .gc-actions { margin-top: 0; }
.garage-empty { padding: 36px 0; }
.garage-add { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin-top: 34px; max-width: 860px; }
.garage-add h3 { margin: 0 0 4px; font-size: 17px; color: var(--ink); text-transform: uppercase; letter-spacing: .02em; }
.garage-add .muted { margin: 0 0 12px; font-size: 14px; }
.garage-add-form { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.garage-add-form > div { display: flex; flex-direction: column; gap: 4px; }
.garage-add-form label { font-family: "Oswald", sans-serif; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.garage-add-form input { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font-family: "Archivo", sans-serif; font-size: 15px; width: 130px; }
.garage-add-form input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--gold); }
.garage-add-form .btn { border: 0; cursor: pointer; padding: 12px 22px; }
.garage-cta { font-size: 14px; margin: 10px 0 0; color: var(--muted); }
.garage-cta a { color: var(--gold-deep); font-weight: 600; }
.part-gone { text-align: center; padding: 56px 0 40px; }
.part-gone h1 { color: var(--ink); text-transform: uppercase; font-size: 30px; margin-bottom: 8px; }
@media (max-width: 600px) {
    .garage-lot { grid-template-columns: 1fr; }
    .garage-add-form input { width: 100%; }
    .garage-add-form > div { flex: 1 1 calc(50% - 12px); }
    .garage-add-form .btn { flex: 1 1 100%; }
    .recent-row { align-items: flex-start; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .site-header { position: sticky; }
    .header-row { gap: 14px; min-height: 64px; padding: 10px 18px; }
    .header-menu { flex: 0 0 auto; margin-left: auto; }
    .header-actions { margin-left: 0; }
    .header-action { min-width: 44px; justify-content: center; padding: 7px 8px; }
    .header-action-label { display: none; }
    .header-menu-summary {
        display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 8px 12px;
        border: 1px solid rgba(255,255,255,.28); border-radius: 8px; color: #fff;
        cursor: pointer; font-family: "Oswald", sans-serif; font-size: 14px; font-weight: 600;
        letter-spacing: .07em; list-style: none; text-transform: uppercase;
    }
    .header-menu-summary::-webkit-details-marker { display: none; }
    .header-menu-icon, .header-menu-icon::before, .header-menu-icon::after {
        display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--gold-bright);
    }
    .header-menu-icon { position: relative; }
    .header-menu-icon::before, .header-menu-icon::after { content: ""; position: absolute; left: 0; }
    .header-menu-icon::before { top: -6px; }
    .header-menu-icon::after { top: 6px; }
    .header-menu[open] .header-menu-icon { background: transparent; }
    .header-menu[open] .header-menu-icon::before { top: 0; transform: rotate(45deg); }
    .header-menu[open] .header-menu-icon::after { top: 0; transform: rotate(-45deg); }
    .header-menu:not([open]) > .header-menu-panel { display: none; }
    .header-menu[open] > .header-menu-panel {
        position: absolute; top: 100%; left: 0; right: 0; display: flex; flex-direction: column;
        align-items: stretch; gap: 14px; max-height: calc(100vh - 64px); overflow-y: auto;
        padding: 16px 18px calc(18px + env(safe-area-inset-bottom, 0px));
        background: var(--steel-800); border-top: 1px solid rgba(242,193,78,.34);
        box-shadow: 0 18px 34px rgba(0,0,0,.38);
    }
    .header-menu-panel .search { flex: 0 0 auto; width: 100%; max-width: none; }
    .top-nav { flex-direction: column; flex-wrap: nowrap; gap: 0; width: 100%; }
    .top-nav a { min-height: 44px; padding: 10px 4px; border-bottom: 1px solid rgba(255,255,255,.11); }
    .top-nav a.active { border-bottom-color: var(--gold); }
    .pillars-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-stats-grid, .cert-badges-row, .promise-banners { grid-template-columns: repeat(2, 1fr); }
    .pillar:nth-child(2) { border-right: 0; }
    .pillar:nth-child(1), .pillar:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
    .pdp { grid-template-columns: 1fr; gap: 24px; }
    .pdp-purchase { grid-column: 1; grid-row: 1; }
    .gallery { grid-column: 1; grid-row: 2; }
    .pdp-details { grid-column: 1; grid-row: 3; }
    .promise-cards { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .certifications-grid { grid-template-columns: 1fr; }
    .hero { clip-path: none; padding-bottom: 64px; }
}

/* Phones: single-column pillars (2-up is too cramped to read comfortably),
   full-width chips/buttons, calmer paddings. */
@media (max-width: 600px) {
    .wrap { padding: 0 16px; }
    .header-row { padding: 12px 16px; }
    .brand-name { font-size: 20px; }
    .pillars-grid { grid-template-columns: 1fr; }
    .trust-stats-grid, .cert-badges-row, .promise-banners, .pdp-details .promise-banners { grid-template-columns: 1fr; }
    .trust-stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.09); padding: 18px 16px; }
    .trust-stat:last-child { border-bottom: 0; }
    .cert-badge { clip-path: none; border-radius: 10px; }
    .pillar { border-right: 0; border-bottom: 1px solid var(--line-soft); padding: 22px 18px; }
    .pillar:last-child { border-bottom: 0; }
    .hero { padding: 40px 0 56px; }
    .hero h1 { font-size: clamp(25px, 7.6vw, 33px); overflow-wrap: anywhere; }
    .hero-eyebrow { letter-spacing: .14em; font-size: 11.5px; }
    .hero-search input { padding: 14px 14px; }
    .section-head h1, .section-head h2 { font-size: 23px; }
    .cta-band { padding: 28px 22px; text-align: center; justify-content: center; }
    .cta-band h2 { font-size: 24px; }
    .pager .pg { padding: 12px 24px; } /* thumb-sized */
    .vehicle-row { padding: 14px 14px; }
    .vehicle-parts { margin-left: 0; flex-basis: 100%; }
    .pdp h1 { font-size: 25px; }
    .pdp-price .direct { font-size: 34px; }
    .content h1 { font-size: 30px; }
    .veh-hero { flex-direction: column-reverse; text-align: left; padding: 20px 18px; gap: 10px; }
    .veh-hero-art { width: 130px; align-self: center; }
    .chassis-acc summary { padding: 14px 14px; }
    /* Fitment + filters + lead form stay the same DOM on phones — just tighter. */
    .fitment-scroll { max-height: 320px; }
    .fitment-table th, .fitment-table td { padding: 8px 10px; }
    .filter-bar { padding: 12px 12px; gap: 10px; }
    .filter-field { flex: 1 1 calc(50% - 10px); }
    .filter-field select { width: 100%; }
    .filter-field .price-pair input { width: 100%; }
    .filter-apply { flex: 1 1 100%; padding: 12px 20px; } /* thumb-sized */
    .lead-form .lead-row { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
    .header-row { gap: 8px; padding: 10px 12px; }
    .header-row .brand-name, .header-menu-summary > span:first-child { display: none; }
    .header-menu-summary { min-width: 42px; justify-content: center; gap: 0; padding: 8px 10px; }
    .header-actions { gap: 2px; }
    .header-action { min-width: 42px; padding-left: 7px; padding-right: 7px; }
}

/* Viking Item ID (customer-facing part identifier = Tag). Prominent on the PDP so phone
   customers can read/copy it; small on cards so it's findable without shouting. Added 07/01/2026. */
.pdp-itemid {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    margin: 10px 0 4px; padding: 8px 12px;
    background: var(--paper); border: 1px solid var(--line); border-radius: 8px;
}
.pdp-itemid-label { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-deep); }
.pdp-itemid-value { font-family: "Roboto Mono", ui-monospace, monospace; font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: .02em; }
.pdp-itemid-copy { margin-left: auto; padding: 5px 12px; font-size: 13px; border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; color: var(--ink); }
.pdp-itemid-copy:hover { border-color: var(--gold); color: var(--gold-deep); }
.card-itemid { margin-top: 6px; font-size: 11px; color: var(--muted); }
.card-itemid .spec-mono { font-family: "Roboto Mono", ui-monospace, monospace; color: var(--ink); font-weight: 600; }

/* Always-findable feedback + contact pills (Elgin, 07/06): fixed on larger screens;
   returned to normal flow on small screens so they cannot cover page controls. */
.fab-stack { position: fixed; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 8px; z-index: 60; }
.fab { font-family: "Oswald", sans-serif; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; padding: 9px 14px; border-radius: 999px; box-shadow: 0 2px 10px rgba(0,0,0,.28); text-align: center; }
.fab-feedback { background: var(--gold); color: #1f2a37; }
.fab-contact { background: #1f2a37; color: #fff; border: 1px solid rgba(255,255,255,.25); }
.fab:hover { filter: brightness(1.07); }
@media (max-width: 640px) {
    .fab { font-size: 12px; padding: 9px 12px; }
    .fab-stack {
        position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
        margin: 0; padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
        background: var(--steel-800);
    }
}

/* Gentle inline notice box (used by /Feedback's customer-service redirect). */
.callout { background: rgba(197,160,89,.12); border: 1px solid var(--gold); border-radius: 10px; padding: 12px 16px; font-size: 15px; }

/* Recent-orders modal on /cancel-order (Elgin, 07/06: click your order instead of typing
   an invoice number; opens ON TOP of the page, newest first, buyer-local timestamps). */
.ro-modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; }
/* display:flex above beats the [hidden] UA style — without this, the modal shows on page
   load and X/ESC/backdrop can't close it (Elgin stuck live, 07/06 evening). */
.ro-modal[hidden] { display: none; }
.ro-backdrop { position: absolute; inset: 0; background: rgba(10, 14, 19, .62); }
.ro-panel {
    position: relative; width: min(720px, calc(100vw - 24px)); max-height: min(84vh, 900px);
    display: flex; flex-direction: column;
    background: var(--paper, #fff); border: 1px solid var(--line); border-radius: 14px;
    box-shadow: 0 18px 60px rgba(0,0,0,.45); overflow: hidden;
}
.ro-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.ro-head h3 { margin: 0; font-size: 18px; }
.ro-close { border: 1px solid var(--line); background: #fff; border-radius: 8px; font-size: 15px; line-height: 1; padding: 7px 10px; cursor: pointer; color: var(--ink); }
.ro-close:hover { border-color: var(--gold); color: var(--gold-deep); }
.ro-list { overflow-y: auto; padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 14px; }
.ro-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff; }
.ro-card-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; margin-bottom: 8px; }
.ro-when { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.ro-total { font-size: 17px; font-weight: 700; }
.ro-total .muted { font-size: 12px; font-weight: 400; }
.ro-item { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; border-top: 1px solid var(--line-soft, #eee); }
.ro-item-cancelled { opacity: .55; }
.ro-item-body { flex: 1; min-width: 0; }
.ro-item-body strong { display: block; font-size: 14.5px; line-height: 1.35; }
.ro-item-body .muted { font-size: 12.5px; }
.ro-item > b { white-space: nowrap; }
.ro-photos { display: flex; flex-wrap: wrap; gap: 4px; width: 132px; flex-shrink: 0; }
.ro-photo-main { width: 132px; height: 99px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.ro-photo-small { width: 30px; height: 30px; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); }
.ro-status { margin: 10px 0; font-size: 13.5px; color: var(--ink); background: rgba(197,160,89,.10); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.ro-empty { margin: 0; color: var(--body); line-height: 1.45; }
.contact-ro-button { margin-top: 8px; width: 100%; text-align: center; }
.ro-select-card { cursor: pointer; transition: border-color .12s, box-shadow .12s; }
.ro-select-card:hover, .ro-select-card:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 2px rgba(197,160,89,.22); }
.contact-ro-summary { display: flex; gap: 12px; align-items: flex-start; }
.contact-ro-thumb-wrap { width: 96px; flex-shrink: 0; display: grid; gap: 4px; }
.contact-ro-thumb { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); flex-shrink: 0; }
.contact-ro-thumb-empty { width: 96px; height: 72px; flex-shrink: 0; }
.contact-ro-more { display: block; font-size: 12.5px; color: var(--muted); text-align: center; }
.contact-ro-item-list { flex: 1; min-width: 0; display: grid; gap: 4px; }
.contact-ro-item-list strong { display: block; font-size: 14.5px; line-height: 1.35; }
@media (max-width: 640px) {
    .ro-panel { width: calc(100vw - 12px); max-height: 90vh; }
    .ro-photos { width: 96px; }
    .ro-photo-main { width: 96px; height: 72px; }
    .contact-ro-summary { gap: 10px; }
    .contact-ro-thumb-wrap { width: 82px; }
    .contact-ro-thumb, .contact-ro-thumb-empty { width: 82px; height: 62px; }
}

/* ---- Money-maker wave (Elgin 07/06): featured cards, run-video badge, promoted chips,
   ASE report, sort bar, in-results search, top pager ---- */
.featured-shop { padding-top: 8px; }
/* v2 (Elgin 07/06 PM): one row of four part-card-sized category tiles. */
.featured-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.featured-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.featured-card:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(16,21,27,.12); }
.featured-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #fff; }
.featured-body { padding: 12px 14px 14px; }
.featured-body h3 { margin: 0 0 4px; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; font-size: 16px; }
.featured-cta { font-family: "Oswald", sans-serif; font-size: 13px; font-weight: 500; color: var(--gold-deep); text-transform: uppercase; letter-spacing: .05em; }
.featured-browse-all { display: block; text-align: center; margin-top: 16px; font-size: 16px; padding: 16px 26px; white-space: normal; }
@media (max-width: 980px) { .featured-tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .featured-tiles { grid-template-columns: 1fr; } }

.video-badge { position: absolute; left: 9px; top: 9px; background: linear-gradient(180deg, var(--gold-bright), var(--gold)); color: #221a05; font-family: "Oswald", sans-serif; font-size: 10.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; box-shadow: 0 2px 6px rgba(16,21,27,.25); }

.drill-chip.sm.promoted { background: linear-gradient(180deg, var(--gold-bright), var(--gold)); color: #221a05; border-color: var(--gold-deep); font-weight: 600; }
.drill-chip.sm.promoted:hover { filter: brightness(1.05); }
.drill-chip.sm.promoted.active { box-shadow: inset 0 0 0 2px var(--gold-deep); }

.sort-bar { margin-top: 8px; }
/* Fit finder on /Parts (Elgin 07/06): VIN + year/make/model, pre-filled from the pin. */
.fitfinder-bar { margin: 0 0 10px; }
.fitfinder-bar .price-form { margin-left: 0; }
.fitfinder-bar select { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font-family: "Archivo", sans-serif; font-size: 14px; background: #fff; color: var(--ink); max-width: 150px; }
.fitfinder-bar input[type="search"] { width: 210px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font-family: "Archivo", sans-serif; font-size: 14px; text-transform: uppercase; }
.fitfinder-bar input[type="search"]:focus, .fitfinder-bar select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--gold); }
.fitfinder-msg { flex-basis: 100%; margin: 2px 0 0; }
@media (max-width: 700px) { .fitfinder-bar .price-form { width: 100%; flex-wrap: wrap; } .fitfinder-bar input[type="search"] { flex: 1; width: auto; } .fitfinder-bar select { flex: 1 1 40%; max-width: none; } .fitfinder-bar .price-form .btn { flex: 1 1 100%; } } /* 203AL MOB1: wrap the Y/M/M selects + button instead of squeezing off-screen */

.within-form { margin-left: auto; }
.within-form input[type="search"] { width: 230px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font-family: "Archivo", sans-serif; font-size: 14px; }
.within-form input[type="search"]:focus { outline: none; box-shadow: inset 0 0 0 2px var(--gold); }
@media (max-width: 700px) { .within-form { margin-left: 0; width: 100%; } .within-form input[type="search"] { flex: 1; width: auto; } }

/* Top pager is IDENTICAL to the bottom one — centered, same count line, same jump row
   (Elgin 07/06); only the outer spacing differs. */
.pager-top .pg-total { margin: 6px 0 0; }
.pager-top .pager { margin: 8px 0 14px; }

.engine-run-hero { margin-top: 16px; }
.engine-run-hero .video-title { margin-top: 0; }
/* Attention-grabbing engine-video headline (Elgin 07/06: "WATCH THE ENGINE TEST VIDEO!"). */
.video-title-loud { font-family: "Oswald", sans-serif; font-size: 21px; font-weight: 700; letter-spacing: .04em; color: var(--green, #1d7a3f); }

.ase-report { margin-top: 16px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 10px; padding: 16px 18px; }
.ase-report-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.ase-report-head .ic svg { width: 28px; height: 28px; color: var(--gold-deep); }
.ase-report-head h3 { margin: 0; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; font-size: 16.5px; }
.ase-report-head p { margin: 2px 0 0; color: var(--steel-600); font-size: 13px; }
.ase-summary { margin: 0 0 12px; font-size: 14.5px; line-height: 1.5; }
.ase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 0 0 8px; }
.ase-grid .spec dt { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; font-size: 11px; color: var(--steel-600); margin: 0; }
.ase-grid .spec dd { margin: 1px 0 0; font-size: 14px; }
.ase-note { margin: 6px 0 0; font-size: 13.5px; color: var(--steel-600); }
@media (max-width: 640px) { .ase-grid { grid-template-columns: 1fr; } }
.vik-order-input { display: flex; align-items: stretch; width: 100%; max-width: 360px; }
.vik-order-input span { display: inline-flex; align-items: center; padding: 0 12px; min-height: 42px; background: linear-gradient(180deg, #2c3743, #18212b); border: 1px solid #9a7540; border-right: 0; border-radius: 8px 0 0 8px; color: var(--gold-bright); font-family: "Oswald", sans-serif; font-weight: 700; letter-spacing: .04em; }
.vik-order-input input { border-radius: 0 8px 8px 0 !important; min-width: 0; font-variant-numeric: tabular-nums; }
.vik-helper { margin: 5px 0 0; color: var(--steel-600); font-size: 12.5px; }
input::placeholder, textarea::placeholder { color: #657483; opacity: 1; }

.order-rail-list { display: grid; gap: 12px; margin: 10px 0 16px; }
.order-rail { position: relative; overflow: hidden; border: 1px solid rgba(111,125,139,.28); border-left: 5px solid var(--gold); border-radius: 8px; background: linear-gradient(180deg, #fffdf8, #f7f3e8); padding: 12px 12px 14px; box-shadow: 0 6px 18px rgba(16,21,27,.05); }
.order-rail::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(214,162,58,.08), transparent 42%); }
.order-rail > * { position: relative; z-index: 1; }
.order-rail-title { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-bottom: 9px; color: var(--ink); }
.order-rail-title strong { font-size: 14px; line-height: 1.2; }
.order-rail-title span { color: var(--steel-600); font-size: 12.5px; }
.order-rail-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; }
.order-rail-step { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 7px; align-items: start; min-height: 66px; padding: 9px; border: 1px solid rgba(111,125,139,.25); border-radius: 8px; background: rgba(255,255,255,.66); }
.rail-dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #8794a1; background: #fff; margin-top: 1px; }
.rail-copy { display: grid; gap: 2px; min-width: 0; }
.rail-label { font-family: "Oswald", sans-serif; font-size: 12.5px; text-transform: uppercase; color: var(--steel-700); }
.rail-copy time, .rail-detail { color: var(--steel-600); font-size: 12px; overflow-wrap: anywhere; }
.rail-chip, .rail-badge { display: inline-flex; width: fit-content; max-width: 100%; border-radius: 999px; padding: 3px 7px; font-size: 11px; font-weight: 700; line-height: 1.15; overflow-wrap: anywhere; }
.rail-chip { background: rgba(214,162,58,.16); color: #694812; border: 1px solid rgba(154,117,64,.35); }
.rail-complete .rail-dot, .rail-current .rail-dot { border-color: var(--gold); background: linear-gradient(180deg, var(--gold-bright), var(--gold)); box-shadow: 0 0 0 3px rgba(214,162,58,.16); }
.rail-current { border-color: rgba(214,162,58,.55); box-shadow: inset 0 0 0 1px rgba(214,162,58,.18); }
.rail-future { opacity: .66; }
.rail-terminal.rail-tone-red { border-color: rgba(179,38,30,.45); background: #fff6f5; }
.rail-terminal.rail-tone-red .rail-dot { border-color: var(--red); background: var(--red); }
.rail-terminal.rail-tone-red .rail-label { color: var(--red); }
.rail-tone-return .rail-dot { border-color: #3b7659; }
.rail-badge-requested { background: #fff1cf; color: #6b4a00; border: 1px solid rgba(214,162,58,.45); }
.rail-badge-delayed { background: #fff3d8; color: #7c4d00; border: 1px solid #e0a82e; }

.cr-actions { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; margin-top: 10px; }
.cr-dialog { width: min(560px, calc(100vw - 28px)); border: 1px solid rgba(154,117,64,.48); border-left: 5px solid var(--gold); border-radius: 8px; padding: 0; background: #fffdf8; color: var(--ink); box-shadow: 0 22px 60px rgba(16,21,27,.35); }
.cr-dialog::backdrop { background: rgba(16,21,27,.58); }
.cr-dialog-inner { position: relative; display: grid; gap: 12px; padding: 18px; }
.cr-dialog h3 { margin: 0; font-family: "Oswald", sans-serif; text-transform: uppercase; font-size: 21px; color: var(--ink); }
.cr-dialog p { margin: 0; color: var(--steel-700); }
.cr-x { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(111,125,139,.28); background: #fff; color: var(--ink); cursor: pointer; font-size: 20px; line-height: 1; }
.reason-picker { display: grid; gap: 8px; margin: 0; padding: 12px; border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: 8px; background: linear-gradient(180deg, #fffdf8, #f8f4ea); }
.reason-picker legend { padding: 0 3px; font-family: "Oswald", sans-serif; text-transform: uppercase; color: var(--steel-700); font-size: 13px; }
.reason-option { display: flex; align-items: center; gap: 9px; min-height: 38px; padding: 8px 10px; border: 1px solid rgba(111,125,139,.25); border-radius: 8px; background: rgba(255,255,255,.7); cursor: pointer; }
.reason-option:has(input:checked) { border-color: var(--gold); background: rgba(214,162,58,.14); }
.reason-option input { width: 17px; height: 17px; margin: 0; accent-color: var(--gold); }
.reason-detail { display: grid; gap: 6px; padding-top: 4px; }
.reason-detail textarea { width: 100%; min-height: 78px; resize: vertical; }
.cr-dialog-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cr-noscript { margin-top: 10px; }
.cr-noscript form { display: grid; gap: 10px; margin-top: 10px; }
.cr-noscript summary { cursor: pointer; font-family: "Oswald", sans-serif; text-transform: uppercase; color: var(--ink); }

@media (max-width: 680px) {
    .order-rail-steps { grid-template-columns: 1fr; }
    .order-rail-step { min-height: 0; }
    .cr-dialog-inner { padding: 16px 14px; }
}

/* Shared page-level polish: checkout title, branded not-found page, and user preferences. */
.checkout-page-heading { margin: 28px 0 -20px; }
.not-found-page {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
    align-items: center; gap: 34px; min-height: 460px;
}
.not-found-copy { max-width: 700px; }
.not-found-code { margin: 0; color: var(--gold-deep); font-family: "Oswald", sans-serif; font-size: 18px; font-weight: 700; letter-spacing: .18em; }
.not-found-copy h1 { margin: 4px 0 12px; color: var(--ink); font-size: clamp(34px, 6vw, 56px); line-height: 1; text-transform: uppercase; }
.not-found-copy > p:not(.not-found-code) { max-width: 620px; }
.not-found-search { margin: 24px 0 18px; box-shadow: var(--shadow); }
.not-found-search input { border: 1px solid var(--line); }
.not-found-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.not-found-art { width: 100%; height: auto; filter: drop-shadow(0 18px 32px rgba(16,21,27,.24)); }

:where(a, button, input, select, textarea, summary, [tabindex]:not(main)):focus-visible {
    outline: 3px solid #fff !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 6px #164f86 !important;
}

@media (max-width: 700px) {
    .not-found-page { grid-template-columns: 1fr; min-height: 0; text-align: center; }
    .not-found-art { display: none; }
    .not-found-search { margin-left: auto; margin-right: auto; }
    .not-found-actions { justify-content: center; }
}

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