/* ============================================================
   FITMENT INDUSTRIES — Redesign Mockup Stylesheet
   Source of truth: FI Brand Playbook v2 (Visual Identity)
   Palette: blue-led (Deep Ocean / Star Command / Velocity)
            + Electric Lime + Signal Orange accents
   Type:    Barlow Extra Bold (headlines) · DM Sans (body)
            · DM Mono (technical / spec labels — extension)
   Authored mobile-first. Shared across homepage, category,
   and product pages (only CSS + content changes per page).
   ============================================================ */

/* ----- Fonts: load via <link> in each page -----
   Barlow:wght@400;500;600;700;800;900
   DM+Sans:wght@300;400;500;700
   DM+Mono:wght@400;500
------------------------------------------------- */

:root{
  /* === BRAND — PLAYBOOK PRIMARIES (blue-led) === */
  --ocean:#003B5E;          /* Deep Ocean — primary dark surface */
  --ocean-deep:#002A43;     /* deeper navy */
  --ocean-900:#001B2B;      /* near-black navy (max dark) */
  --command:#006EA6;        /* Star Command Blue — primary brand / interactive (darkened for AA contrast on light/bone) */
  --command-hi:#0091D6;     /* command hover */
  --velocity:#1B74AE;       /* Velocity Blue — darkened again for AA on white (5.05:1) */
  --velocity-hi:#49AEE6;

  /* === ACCENTS === */
  --lime:#CCFF00;           /* Electric Lime — energy / primary CTA pop */
  --lime-deep:#B2E000;      /* lime hover */
  --orange:#E35316;         /* Signal Orange — urgency / sale / hot */
  --orange-deep:#B93F0B;  /* AA: 4.9:1 on bone (was 4.49 — hairline fail) */

  /* === NEUTRALS === */
  --carbon:#646B73;         /* Carbon Blue — muted text / icon */
  --steel:#8C97A4;          /* muted text on dark */
  --ink:#0B1620;            /* primary text on light (navy-black) */
  --white:#FFFFFF;
  --black:#000000;

  /* === SURFACES === */
  --paper:#FFFFFF;
  --bone:#EEF2F6;           /* cool off-white section */
  --bone-2:#E2E9F0;
  --line:#D4DDE6;           /* borders on light */
  --line-2:#E4EAF0;
  --line-input:#808F9E;     /* input/control borders — meets 3:1 non-text contrast */
  --line-dark:rgba(255,255,255,.12);
  --on-lime:var(--ocean-900);  /* text on lime */
  --star:#C77700;           /* review stars on light surfaces — meets 3:1 as graphic */

  /* === TYPE === */
  --f-head:'Barlow', system-ui, -apple-system, sans-serif;
  --f-body:'DM Sans', system-ui, -apple-system, sans-serif;
  --f-mono:'DM Mono', ui-monospace, 'SF Mono', monospace;

  /* === RADIUS / SHADOW === */
  --r-0:0px;
  --r-sm:3px;
  --r:5px;
  --r-lg:10px;
  --pill:999px;
  --sh-sm:0 1px 2px rgba(11,22,32,.06);
  --sh:0 6px 18px -8px rgba(11,22,32,.18);
  --sh-lg:0 24px 48px -22px rgba(11,22,32,.32);

  /* === LAYOUT === */
  --max:1320px;
  --gutter:20px;

  /* === MOTION === */
  --t:.16s cubic-bezier(.4,0,.2,1);
}

/* skip-to-content — visually hidden until keyboard focus (WCAG 2.4.1) */
.skip{ position:absolute; left:-9999px; top:0; z-index:500; background:var(--ocean-900); color:var(--lime);
  font-family:var(--f-mono); font-size:12px; letter-spacing:.06em; text-transform:uppercase;
  padding:12px 18px; border-radius:0 0 var(--r-sm) 0; }
.skip:focus{ left:0; }

/* ===================== RESET ===================== */
*,*::before,*::after{ margin:0; padding:0; box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
  font-family:var(--f-body); color:var(--ink); background:var(--paper);
  line-height:1.55; font-size:16px; -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; color:inherit; }
input,select{ font-family:inherit; font-size:inherit; }
ul{ list-style:none; }

/* ===================== TYPE HELPERS ===================== */
.h-xl,.h-lg,.h-md,.h-sm{ font-family:var(--f-head); font-weight:800; text-transform:uppercase; line-height:.92; letter-spacing:.005em; }
.h-xl{ font-size:clamp(2.6rem,9vw,6.5rem); }
.h-lg{ font-size:clamp(2rem,5.5vw,3.6rem); }
.h-md{ font-size:clamp(1.6rem,3.6vw,2.6rem); }
.h-sm{ font-size:clamp(1.25rem,2.4vw,1.7rem); }
.eyebrow{
  font-family:var(--f-mono); font-size:11px; font-weight:500; letter-spacing:.18em;
  text-transform:uppercase; color:var(--command); display:inline-flex; align-items:center; gap:10px;
}
.eyebrow::before{ content:""; width:24px; height:2px; background:var(--lime); display:inline-block; }
.eyebrow--lime{ color:var(--lime); }
.eyebrow--plain::before{ display:none; }
.lead{ font-size:clamp(1rem,1.5vw,1.15rem); color:var(--carbon); line-height:1.6; }
.mono{ font-family:var(--f-mono); }
em.hl{ font-style:normal; color:var(--command); }
.on-dark em.hl{ color:var(--lime); }

/* ===================== LAYOUT ===================== */
.wrap{ width:100%; max-width:var(--max); margin-inline:auto; padding-inline:var(--gutter); }
/* GUTTER INVARIANT — content inside .wrap must never touch the viewport edge.
   Page-local `padding: X 0 Y` shorthands on wrap-carrying elements silently
   zero the side gutters (found on 15 pages in the mobile audit). This guard
   makes the gutter unoverridable; use padding-BLOCK in page CSS for vertical
   spacing. Sole exception: the mobile nav rail bleeds full-width by design. */
.wrap:not(.header__navinner){ padding-inline:var(--gutter) !important; }
.section{ padding-block:48px; }
.section--dark{ background:var(--ocean); color:#fff; }
.section--navy{ background:var(--ocean-900); color:#fff; }
.section--bone{ background:var(--bone); }
.section--tight{ padding-block:32px; }
.on-dark{ color:#fff; }
.sec-head{ display:flex; flex-direction:column; gap:12px; margin-bottom:26px; }
.sec-head__top{ display:flex; align-items:flex-end; justify-content:space-between; gap:18px; flex-wrap:wrap; }
.sec-head h2{ font-family:var(--f-head); font-weight:800; text-transform:uppercase; line-height:.9;
  font-size:clamp(1.7rem,4.4vw,3rem); }
.sec-head__link{ font-family:var(--f-body); font-weight:700; font-size:12px; letter-spacing:.06em;
  text-transform:uppercase; display:inline-flex; align-items:center; gap:8px; padding-bottom:3px;
  border-bottom:2px solid var(--lime); white-space:nowrap; transition:var(--t); }
.sec-head__link:hover{ color:var(--command); gap:12px; }
.section--dark .sec-head__link:hover,.section--navy .sec-head__link:hover{ color:var(--lime); }

/* ===================== BUTTONS ===================== */
.btn{ font-family:var(--f-body); font-weight:700; font-size:13px; letter-spacing:.06em;
  text-transform:uppercase; padding:14px 24px; display:inline-flex; align-items:center; justify-content:center;
  gap:10px; border:2px solid transparent; border-radius:var(--r-sm); transition:var(--t);
  white-space:nowrap; }
.btn .ar{ font-size:1.1em; line-height:1; transition:var(--t); }
.btn:hover .ar{ transform:translateX(3px); }
.btn--lime{ background:var(--lime); color:var(--on-lime); border-color:var(--lime); }
.btn--lime:hover{ background:var(--lime-deep); border-color:var(--lime-deep); }
.btn--blue{ background:var(--command); color:#fff; border-color:var(--command); }
.btn--blue:hover{ background:var(--command-hi); border-color:var(--command-hi); }
.btn--ink{ background:var(--ocean-900); color:#fff; border-color:var(--ocean-900); }
.btn--ink:hover{ background:var(--lime); color:var(--on-lime); border-color:var(--lime); }
.btn--ghost{ border-color:var(--ink); color:var(--ink); }
.btn--ghost:hover{ background:var(--ink); color:#fff; }
.btn--ghost-light{ border-color:rgba(255,255,255,.55); color:#fff; }
.btn--ghost-light:hover{ background:#fff; color:var(--ocean-900); border-color:#fff; }
.btn--orange{ background:var(--orange-deep); color:#fff; border-color:var(--orange-deep); }
.btn--orange:hover{ background:#A83608; border-color:#A83608; }
.btn--sm{ padding:10px 16px; font-size:12px; }
.btn--block{ width:100%; }

/* badges / flags */
.flag{ font-family:var(--f-mono); font-size:10px; font-weight:500; letter-spacing:.06em;
  text-transform:uppercase; padding:4px 8px; border-radius:var(--r-sm); display:inline-block; }
.flag--lime{ background:var(--lime); color:var(--on-lime); }
.flag--ink{ background:var(--ocean-900); color:#fff; }
.flag--hot{ background:var(--orange-deep); color:#fff; }
.flag--blue{ background:var(--command); color:#fff; }

/* verified-fit chip (brand moat) */
.vfit{ display:inline-flex; align-items:center; gap:7px; font-family:var(--f-mono); font-size:11px;
  font-weight:500; letter-spacing:.04em; text-transform:uppercase; color:var(--command); }
.vfit svg{ width:15px; height:15px; }
.on-dark .vfit,.vfit--light{ color:var(--lime); }

/* ===================== SUPERHEADER — PLATFORM SELECTOR =====================
   Vivid-style family switcher (Gap-style sub-brand tabs): dark bar, mono
   uppercase tabs with status dot, lime underline + tint on active. */
.superbar{ background:var(--ocean-900); color:#fff; border-bottom:1px solid rgba(255,255,255,.06);
  font-family:var(--f-mono); position:relative; z-index:201; }
.superbar__inner{ display:flex; align-items:stretch; justify-content:flex-start; gap:0; min-height:40px; }
.pnav{ display:flex; align-items:stretch; gap:0; overflow-x:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
.pnav::-webkit-scrollbar{ display:none; }
.pnav__tab{ position:relative; display:inline-flex; align-items:center; gap:8px; padding:12px 18px;
  font-family:var(--f-mono); font-size:10.5px; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  color:rgba(255,255,255,.66); border-bottom:2px solid transparent; white-space:nowrap; line-height:1;
  transition:color .15s, border-color .15s, background .15s; }
.pnav__dot{ width:6px; height:6px; border-radius:50%; background:currentColor; opacity:.55; flex-shrink:0; }
.pnav__tab:hover{ color:rgba(255,255,255,.9); background:rgba(255,255,255,.03); }
.pnav__tab.is-active{ color:#fff; border-bottom-color:var(--lime); background:rgba(204,255,0,.07); }
.pnav__tab.is-active:hover{ background:rgba(204,255,0,.1); }
.pnav__tab.is-active .pnav__dot{ background:var(--lime); opacity:1; }
.superbar__util{ margin-left:auto; display:none; align-items:center; gap:16px; padding-inline:18px 14px;
  background:rgba(255,255,255,.07); border-left:1px solid rgba(255,255,255,.14); align-self:stretch; font-family:var(--f-mono);
  font-size:10px; font-weight:500; letter-spacing:.12em; text-transform:uppercase;
  color:rgba(255,255,255,.68); white-space:nowrap; }
.superbar__util a{ display:inline-flex; align-items:center; gap:6px; transition:var(--t); }
.superbar__util a:hover{ color:#fff; }
.superbar__util b{ color:#fff; }
.superbar__util .u-chat{ color:var(--lime); }
.superbar__util .u-chat:hover{ color:#fff; }
.superbar__util .u-chat svg{ width:13px; height:13px; }
/* Enthusiast Exchange — marketplace entry point (Sweetwater "Used Gear Exchange" pattern) */
.superbar__util .u-exch{ color:#fff; }
.superbar__util .u-exch:hover{ color:var(--lime); }
.superbar__util .u-exch svg{ width:13px; height:13px; }
.u-exch__new{ background:var(--lime); color:var(--on-lime); font-size:8px; letter-spacing:.08em;
  padding:2px 5px; border-radius:var(--r-sm); font-weight:500; line-height:1; }
@media (min-width:860px){ .superbar__util{ display:flex; } }
@media (max-width:700px){
  .pnav__tab{ padding:10px 12px; font-size:10px; letter-spacing:.1em; }
}

/* ===================== TRUST BAR (CO promo content, Vivid-style strip) ===================== */
.trustbar{ background:var(--ocean); color:var(--paper); padding:9px 20px;
  font-family:var(--f-mono); font-size:11px; font-weight:500; letter-spacing:.06em; text-transform:uppercase;
  display:flex; justify-content:center; align-items:center; gap:24px; border-top:1px solid rgba(255,255,255,.05); }
.trustbar__item{ display:flex; align-items:center; gap:6px; }
.trustbar__item a{ color:inherit; text-decoration:underline; text-underline-offset:2px; transition:var(--t); }
.trustbar__item a:hover{ color:var(--lime); }
.trustbar__item strong{ color:var(--lime); font-weight:700; }
.trustbar__sep{ width:3px; height:3px; border-radius:50%; background:rgba(255,255,255,.35); flex-shrink:0; }
@media (max-width:700px){
  /* single-line swipeable strip — saves ~2 lines of sticky-adjacent height */
  .trustbar{ font-size:10px; gap:14px; padding:8px 14px; justify-content:flex-start;
    flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
  .trustbar::-webkit-scrollbar{ display:none; }
  .trustbar__item{ white-space:nowrap; flex-shrink:0; }
}

/* ===================== HEADER ===================== */
.header{ position:sticky; top:0; z-index:200; background:var(--paper); color:var(--ink);
  border-bottom:1px solid var(--line); }
.header__bar{ display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:14px; height:64px; }
.brand{ display:flex; align-items:center; gap:10px; justify-self:start; }
.brand__logo{ height:28px; width:auto; }
.brand__star{ width:26px; height:26px; color:var(--command); }
.search{ display:none; width:min(480px,40vw); justify-self:center; }
.header__actions{ justify-self:end; }
/* CO-style phone block in header */
.header__phone{ display:none; align-items:center; gap:9px; margin-right:6px; white-space:nowrap; }
.header__phone .ico{ width:34px; height:34px; border-radius:var(--r-sm); background:var(--bone); display:grid; place-items:center; }
.header__phone .ico svg{ width:18px; height:18px; color:var(--command); }
.header__phone .info{ display:flex; flex-direction:column; line-height:1.05; }
.header__phone .lbl{ font-family:var(--f-mono); font-size:9px; letter-spacing:.06em; text-transform:uppercase; color:var(--carbon); }
.header__phone .num{ font-family:var(--f-head); font-weight:700; font-size:15px; color:var(--ink); letter-spacing:.01em; }
@media (min-width:960px){ .header__phone{ display:inline-flex; } }
.search input{ width:100%; background:var(--bone); border:1px solid var(--line-input);
  color:var(--ink); padding:11px 14px 11px 40px; border-radius:var(--r-sm); font-size:16px; } /* ≥16px: no iOS auto-zoom */
.search input::placeholder{ color:var(--carbon); }
.search input:focus{ outline:none; border-color:var(--command); background:var(--paper); }
.search__ico{ position:absolute; left:13px; top:50%; transform:translateY(-50%); width:17px; height:17px; color:var(--carbon); }
.search__wrap{ position:relative; }
.header__actions{ display:flex; align-items:center; gap:4px; }
.iconbtn{ width:44px; height:44px; display:grid; place-items:center; color:var(--ink); position:relative; border-radius:var(--r-sm); transition:var(--t); }
.iconbtn:hover{ background:var(--bone); color:var(--command); }
.iconbtn svg{ width:21px; height:21px; }
.iconbtn__badge{ position:absolute; top:5px; right:5px; min-width:16px; height:16px; padding:0 4px;
  background:var(--command); color:#fff; border-radius:var(--pill); font-family:var(--f-mono);
  font-size:9px; font-weight:500; display:grid; place-items:center; }
.iconbtn__label{ display:none; }

/* primary nav row (CO-style — nav on its own row) */
.header__navrow{ display:none; border-top:1px solid var(--line); background:var(--paper); }
.header__navinner{ display:flex; align-items:center; justify-content:space-between; gap:16px; }
.nav{ display:flex; align-items:center; gap:2px; flex-wrap:wrap; }
.nav__link{ font-family:var(--f-head); font-weight:700; text-transform:uppercase; font-size:15px;
  letter-spacing:.02em; padding:13px 14px; display:inline-flex; align-items:center; gap:7px;
  border-bottom:3px solid transparent; transition:var(--t); color:var(--ink); }
.nav__link:hover,.nav__link.is-active{ color:var(--command); border-bottom-color:var(--lime); }
.nav__link .chev{ width:12px; height:12px; transition:var(--t); }
.header.mega-open .nav__link--shop{ color:var(--command); border-bottom-color:var(--lime); }
.header.mega-open .nav__link--shop .chev{ transform:rotate(180deg); }
.nav__link--sale{ color:var(--orange-deep); }
.nav__link--sale:hover{ color:#A83608; border-bottom-color:var(--orange); }

/* burger */
.burger{ width:44px; height:44px; display:grid; place-items:center; color:var(--ink); }
.burger svg{ width:24px; height:24px; }

/* ===================== GARAGE CHIP (shared component, fi-garage.js) ===================== */
.fgar{ position:relative; margin-right:4px; }
.fgar__chip{ display:inline-flex; align-items:center; gap:7px; height:38px; padding:0 10px;
  border:1.5px solid var(--line-input); border-radius:var(--pill); background:var(--paper);
  font-family:var(--f-head); font-weight:700; font-size:13px; color:var(--ink);
  max-width:170px; cursor:pointer; transition:var(--t); }
.fgar__chip:hover{ border-color:var(--command); }
.fgar__car{ width:30px; height:13px; flex-shrink:0; color:var(--command); }
.fgar__lbl{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.fgar__yr{ display:none; font-weight:500; color:var(--carbon); }
.fgar__fit{ width:14px; height:14px; border-radius:50%; background:#1D9E4B; color:#fff; display:grid; place-items:center; flex-shrink:0; }
.fgar__fit svg{ width:8px; height:8px; }
.fgar__caret{ width:13px; height:13px; color:var(--carbon); flex-shrink:0; transition:var(--t); }
.fgar__chip[aria-expanded="true"] .fgar__caret{ transform:rotate(180deg); }
@media (min-width:640px){ .fgar__yr{ display:inline; } .fgar__chip{ max-width:250px; } }
@media (max-width:419px){ .fgar__lbl{ display:none; } .fgar__chip{ padding:0 8px; } }
.fgar__panel{ position:absolute; right:0; top:calc(100% + 8px); z-index:320; width:min(330px, calc(100vw - 24px));
  background:var(--paper); border:1px solid var(--line); border-radius:var(--r-lg); box-shadow:var(--sh-lg); padding:16px; }
.fgar__head{ display:flex; align-items:center; gap:10px; padding-bottom:12px; margin-bottom:12px; border-bottom:1px solid var(--line-2); }
.fgar__head > svg{ width:44px; height:19px; color:var(--command); flex-shrink:0; }
.fgar__head--empty{ display:block; font-size:13px; line-height:1.55; color:var(--carbon); }
.fgar__listlbl{ font-family:var(--f-mono); font-size:9.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--carbon); margin-bottom:8px; }
.fgar__list{ display:flex; flex-direction:column; gap:6px; margin-bottom:10px; }
.fgar__veh{ display:flex; align-items:stretch; gap:4px; }
.fgar__pick{ flex:1; min-width:0; display:flex; align-items:center; gap:10px; text-align:left;
  padding:9px 10px; border:1px solid var(--line); border-radius:var(--r-sm); background:var(--paper);
  cursor:pointer; transition:var(--t); }
.fgar__pick:hover{ border-color:var(--command); }
.fgar__veh.is-active .fgar__pick{ border-color:var(--command); background:var(--bone); box-shadow:inset 3px 0 0 var(--lime); }
.fgar__pick > svg{ width:38px; height:16px; color:var(--command); flex-shrink:0; }
.fgar__pick-txt{ min-width:0; }
.fgar__pick-name{ display:block; font-family:var(--f-head); font-weight:800; text-transform:uppercase; font-size:13px;
  color:var(--ink); line-height:1.15; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.fgar__pick-seg{ display:block; font-family:var(--f-mono); font-size:9.5px; color:var(--carbon); margin-top:2px; }
.fgar__veh.is-active .fgar__pick-seg{ color:#15803d; }
.fgar__x{ flex:0 0 34px; border:1px solid var(--line); border-radius:var(--r-sm); background:var(--paper);
  color:var(--carbon); font-size:17px; line-height:1; cursor:pointer; transition:var(--t); }
.fgar__x:hover{ color:#fff; background:var(--orange-deep); border-color:var(--orange-deep); }
.fgar__add{ width:100%; min-height:40px; border:1.5px dashed var(--line-input); border-radius:var(--r-sm);
  background:none; font-family:var(--f-mono); font-size:10.5px; letter-spacing:.06em; text-transform:uppercase;
  color:var(--command); cursor:pointer; transition:var(--t); margin-bottom:10px; }
.fgar__add:hover{ border-color:var(--command); background:var(--bone); }
.fgar__vname{ font-family:var(--f-head); font-weight:800; text-transform:uppercase; font-size:14.5px; color:var(--ink); line-height:1.1; }
.fgar__vseg{ font-family:var(--f-mono); font-size:10px; color:#15803d; margin-top:3px; }
.fgar__rm{ margin-left:auto; font-family:var(--f-mono); font-size:10px; letter-spacing:.04em; text-transform:uppercase;
  color:var(--carbon); border:0; background:none; cursor:pointer; padding:6px; }
.fgar__rm:hover{ color:var(--orange-deep); }
.fgar__tabs{ display:flex; gap:4px; margin-bottom:10px; }
.fgar__tab{ flex:1; font-family:var(--f-mono); font-size:10.5px; letter-spacing:.06em; text-transform:uppercase;
  padding:9px 4px; border:1px solid var(--line-input); border-radius:var(--r-sm); background:var(--paper);
  color:var(--carbon); cursor:pointer; transition:var(--t); }
.fgar__tab.is-on{ background:var(--ocean-900); border-color:var(--ocean-900); color:var(--lime); }
.fgar__grid{ display:grid; grid-template-columns:1fr 1fr; gap:7px; margin-bottom:9px; }
.fgar__panel select,.fgar__panel input{ font-size:16px; min-height:44px; padding:8px 10px; width:100%;
  border:1px solid var(--line-input); border-radius:var(--r-sm); background:var(--paper); color:var(--ink); }
.fgar__panel input{ font-family:var(--f-mono); text-transform:uppercase; }
.fgar__panel input::placeholder{ text-transform:none; color:var(--carbon); }
.fgar__row{ display:flex; gap:7px; margin-bottom:9px; }
.fgar__row select{ flex:0 0 84px; }
.fgar__row input{ flex:1; min-width:0; }
.fgar__row .fgar__go--sq{ flex:0 0 46px; }
.fgar__go{ width:100%; min-height:44px; border:0; border-radius:var(--r-sm); background:var(--lime); color:var(--on-lime);
  font-family:var(--f-head); font-weight:800; text-transform:uppercase; font-size:13px; cursor:pointer; transition:var(--t); }
.fgar__go:hover{ background:var(--lime-deep); }
.fgar__go:disabled{ opacity:.45; cursor:default; }
.fgar__go--sq{ width:46px; flex:0 0 46px; padding:0; display:grid; place-items:center; }
.fgar__go--sq svg{ width:18px; height:18px; }
.fgar__hint{ font-size:12px; line-height:1.5; color:var(--carbon); margin-bottom:8px; }
.fgar__msg{ font-family:var(--f-mono); font-size:10px; line-height:1.5; color:var(--carbon); min-height:14px; margin-top:2px; }
.fgar__note{ font-family:var(--f-mono); font-size:9px; letter-spacing:.05em; text-transform:uppercase;
  color:var(--carbon); opacity:.7; margin-top:10px; padding-top:9px; border-top:1px solid var(--line-2); }

/* ===================== MEGA MENU (platform-aware, JS-populated) ===================== */
.mega{ position:absolute; left:0; right:0; top:100%; background:var(--paper); color:var(--ink);
  border-top:3px solid var(--lime); border-bottom:4px solid var(--lime); /* crisp end — dark panel was blending into dark page content below */
  box-shadow:var(--sh-lg); z-index:190; display:none; }
.header.mega-open .mega{ display:block; }
.mega__inner{ display:grid; grid-template-columns:1.5fr 1fr 1fr 1.1fr; }
.mega__col{ padding:24px 26px 28px; border-right:1px solid var(--line); }
.mega__col:last-child{ border-right:none; padding:0; }
.mega__title--sub{ margin-top:20px; }
.mega__title a{ color:inherit; transition:var(--t); }
.mega__title a:hover{ color:var(--command); text-decoration:underline; text-underline-offset:3px; }
.mega__title{ font-family:var(--f-mono); font-size:11px; letter-spacing:.12em; text-transform:uppercase;
  color:var(--carbon); margin-bottom:14px; padding-bottom:10px; border-bottom:1px solid var(--line); }
.mega__veh{ display:flex; flex-direction:column; gap:2px; }
.mega__veh a{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 12px;
  font-family:var(--f-head); font-weight:700; text-transform:uppercase; font-size:18px; letter-spacing:.01em;
  border:1px solid transparent; border-radius:var(--r-sm); transition:var(--t); }
.mega__veh a .sub{ display:block; font-family:var(--f-body); font-size:11px; font-weight:400;
  text-transform:none; letter-spacing:0; color:var(--carbon); margin-top:2px; }
.mega__veh a .num{ font-family:var(--f-mono); font-size:11px; color:var(--carbon); }
.mega__veh a:hover{ background:var(--ocean-900); color:#fff; }
.mega__veh a:hover .sub,.mega__veh a:hover .num{ color:var(--lime); }
.mega__veh a.is-active{ background:var(--ocean-900); color:#fff; }
.mega__veh a.is-active .sub,.mega__veh a.is-active .num{ color:var(--lime); }
.mega__list a{ display:flex; align-items:center; gap:10px; padding:6px 0; font-size:14px; color:var(--carbon); transition:var(--t); }
/* menu icons — real product shots (verified) or line glyphs make columns scannable */
.mega__list .mi{ width:28px; height:28px; flex-shrink:0; display:grid; place-items:center;
  background:#fff; border:1px solid var(--line-2); border-radius:5px; overflow:hidden; transition:var(--t); }
.mega__list .mi img{ width:100%; height:100%; object-fit:contain; padding:2px; mix-blend-mode:multiply; }
.mega__list .mi svg{ width:15px; height:15px; color:var(--carbon); }
.mega__list a:hover .mi{ border-color:var(--command); }
/* platform column — example car per segment */
.mega__veh .car{ width:60px; height:42px; border-radius:4px; overflow:hidden; flex-shrink:0;
  background:linear-gradient(150deg,#0c3147,#001521); display:grid; place-items:center; }
.mega__veh .car img{ width:100%; height:100%; object-fit:cover; }
.mega__veh .car svg{ width:36px; height:20px; color:rgba(255,255,255,.55); }
.mega__veh .vlab{ flex:1; min-width:0; padding-inline:12px 8px; }
.mega__veh a:hover .car svg,.mega__veh a.is-active .car svg{ color:var(--lime); }
/* YMM lock strip at the foot of the platform column */
.mega__ymm{ margin-top:14px; padding-top:14px; border-top:1px solid var(--line);
  display:grid; grid-template-columns:0.9fr 1.3fr 1.3fr; gap:7px; }
.mega__ymm-lbl{ grid-column:1/-1; font-family:var(--f-mono); font-size:9.5px; letter-spacing:.12em;
  text-transform:uppercase; color:var(--carbon); }
.mega__ymm select{ font-size:16px; padding:8px; min-height:44px; border:1px solid var(--line-input);
  border-radius:var(--r-sm); background:var(--paper); color:var(--ink); width:100%; }
.mega__ymm select:disabled{ opacity:.45; }
.mega__match{ grid-column:1/-1; font-family:var(--f-mono); font-size:10.5px; color:#15803d; padding-top:2px; }
/* icon-tile fallback when a product shot fails to load */
.mi--err::before{ content:''; width:11px; height:11px; border:2px solid var(--line-input); border-radius:50%; }
/* vehicle-entry zone in the mega promo panel (right column) */
.mega__promo--veh{ justify-content:flex-start; gap:0; }
.mega__promo--veh h4{ font-size:22px; }
.mega__ymm--dark{ margin-top:12px; padding-top:0; border-top:0; grid-template-columns:0.8fr 1.2fr; }
.mega__ymm--dark select{ border-color:rgba(255,255,255,.35); background:rgba(255,255,255,.06); color:#fff; }
.mega__ymm--dark select:disabled{ opacity:.4; }
.mega__ymm--dark select option{ color:var(--ink); background:#fff; }
.mega__vin-lbl{ font-family:var(--f-mono); font-size:9.5px; letter-spacing:.08em; text-transform:uppercase;
  color:rgba(255,255,255,.65); margin-top:12px; padding-top:10px; border-top:1px solid rgba(255,255,255,.14); }
.mega__vin{ display:flex; gap:6px; margin-top:7px; }
.mega__vin input{ flex:1; min-width:0; font-family:var(--f-mono); font-size:16px; text-transform:uppercase;
  padding:9px 10px; min-height:44px; border:1px solid rgba(255,255,255,.35); border-radius:var(--r-sm);
  background:rgba(255,255,255,.06); color:#fff; }
.mega__vin input::placeholder{ color:rgba(255,255,255,.45); text-transform:none; }
.mega__vin--plate{ margin-top:6px; }
.mega__vin--plate select{ width:86px; flex:0 0 auto; min-height:44px; font-size:16px; padding:0 8px;
  border:1px solid rgba(255,255,255,.35); border-radius:var(--r-sm); background:rgba(255,255,255,.06); color:#fff; }
.mega__vin--plate select option{ color:var(--ink); background:#fff; }
.mega__vin button.go{ flex:0 0 46px; min-height:44px; display:grid; place-items:center;
  border-radius:var(--r-sm); background:rgba(255,255,255,.12); color:#fff;
  border:1px solid rgba(255,255,255,.3); cursor:pointer; transition:var(--t); }
.mega__vin button.go svg{ width:18px; height:18px; }
.mega__vin button:hover{ background:var(--lime); color:var(--on-lime); border-color:var(--lime); }
.mega__vinmsg{ font-family:var(--f-mono); font-size:10px; color:rgba(255,255,255,.75); min-height:14px; margin:6px 0 8px; }
.mega__vehline{ color:var(--lime) !important; font-family:var(--f-mono); font-size:11px !important; }
.mega__promo--veh .btn{ margin-top:auto; }
.mega__alt{ display:block; text-align:center; margin-top:10px; font-family:var(--f-mono); font-size:10.5px;
  letter-spacing:.04em; color:rgba(255,255,255,.65); padding:6px; }
.mega__alt:hover{ color:var(--lime); }
.mega__list a:hover{ color:var(--command); padding-left:4px; }
.mega__list a.is-strong{ font-weight:700; color:var(--ink); }
.mega__promo{ background:var(--ocean-900); color:#fff; padding:24px; display:flex; flex-direction:column;
  justify-content:flex-end; min-height:100%; position:relative; overflow:hidden; }
.mega__promo .eyebrow{ margin-bottom:8px; }
.mega__promo h4{ font-family:var(--f-head); font-weight:800; text-transform:uppercase; font-size:26px;
  line-height:.95; margin-bottom:8px; }
.mega__promo p{ font-size:12px; color:rgba(255,255,255,.7); margin-bottom:14px; }

/* mega triggers are a desktop pattern — the mobile rail links direct, drawer + bottom nav cover the rest */
@media (max-width:959px){ .nav__link--shop, .nav__link--res{ display:none; } }
/* segment exit link at the foot of the platform column */
.mega__veh .mega__exit{ font-family:var(--f-mono); font-size:10.5px; letter-spacing:.06em; text-transform:uppercase;
  color:var(--carbon); padding:12px; display:block; }
.mega__veh .mega__exit:hover{ color:var(--orange-deep); background:transparent; }

/* ===================== MOBILE DRAWER ===================== */
.drawer{ position:fixed; inset:0 0 0 auto; width:min(86vw,360px); background:var(--ocean); color:#fff;
  z-index:400; transform:translateX(100%); visibility:hidden;
  transition:transform .26s cubic-bezier(.4,0,.2,1), visibility .26s;
  display:flex; flex-direction:column; box-shadow:var(--sh-lg); }
body.drawer-open .drawer{ transform:none; visibility:visible; }
.drawer__scrim{ position:fixed; inset:0; background:rgba(0,12,20,.6); z-index:390; opacity:0;
  pointer-events:none; transition:var(--t); }
body.drawer-open .drawer__scrim{ opacity:1; pointer-events:auto; }
.drawer__head{ display:flex; align-items:center; justify-content:space-between; padding:16px 18px;
  border-bottom:1px solid var(--line-dark); }
.drawer__body{ overflow-y:auto; padding:8px 0 30px; }
.drawer__sectitle{ font-family:var(--f-mono); font-size:10px; letter-spacing:.12em; text-transform:uppercase;
  color:var(--steel); padding:18px 20px 8px; }
.drawer a.drawer__veh{ display:flex; align-items:center; justify-content:space-between; padding:13px 20px;
  font-family:var(--f-head); font-weight:700; text-transform:uppercase; font-size:17px; border-bottom:1px solid var(--line-dark); }
.drawer a.drawer__veh .vk{ font-family:var(--f-mono); font-size:10px; color:var(--lime); }
.drawer a.drawer__veh:active{ background:rgba(255,255,255,.05); }
.drawer a.drawer__veh.is-active{ color:var(--lime); }
.drawer a.drawer__veh.is-active .vk{ color:var(--lime); }
.drawer a.drawer__link{ display:block; padding:11px 20px; font-size:14px; color:rgba(255,255,255,.85); }

/* ===================== YMM (verified fitment) ===================== */
.ymm{ background:var(--lime); color:var(--on-lime); }
.ymm__inner{ display:grid; grid-template-columns:1fr; gap:14px; padding-block:18px; }
.ymm__label{ display:flex; align-items:center; gap:12px; }
.ymm__label .ico{ width:40px; height:40px; background:var(--ocean-900); border-radius:var(--r-sm);
  display:grid; place-items:center; flex-shrink:0; }
.ymm__label .ico svg{ width:20px; height:20px; color:var(--lime); }
.ymm__label h3{ font-family:var(--f-head); font-weight:800; text-transform:uppercase; font-size:19px; line-height:.95; }
.ymm__label p{ font-family:var(--f-mono); font-size:10px; letter-spacing:.06em; text-transform:uppercase; opacity:.7; margin-top:2px; }
.ymm__selects{ display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.ymm__selects select{ appearance:none; -webkit-appearance:none; background:var(--paper); border:2px solid var(--ocean-900);
  border-radius:var(--r-sm); padding:12px 34px 12px 13px; font-family:var(--f-body); font-weight:700; font-size:13px;
  text-transform:uppercase; letter-spacing:.02em; color:var(--ink); cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230B1620' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 12px center; }
.ymm__go{ white-space:nowrap; }
.ymm__selects--4{ grid-template-columns:1fr 1fr; }

/* ===================== VEHICLE ENVIRONMENT CARDS ===================== */
/* mobile-first: swipeable rail (one band, no orphan card) */
.veh-grid{ display:flex; gap:12px; overflow-x:auto; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; scrollbar-width:none; padding-bottom:6px; }
.veh-grid::-webkit-scrollbar{ display:none; }
.veh-card{ position:relative; flex:0 0 64%; scroll-snap-align:start; aspect-ratio:3/4; overflow:hidden; display:flex; flex-direction:column;
  justify-content:flex-end; color:#fff; background:linear-gradient(160deg,#0c3147,#001521); border:1px solid var(--line-dark); border-radius:var(--r); transition:var(--t); }
.veh-card__img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; filter:saturate(1.05) contrast(1.02); transform:scale(1.02); transition:transform .55s cubic-bezier(.2,.7,.2,1); z-index:1; }
.veh-card:hover .veh-card__img{ transform:scale(1.09); }
.veh-card.is-active{ outline:3px solid var(--lime); outline-offset:-3px; }

/* ===== PLATFORM ZONE — Vivid-style chassis selector on specialized homepages ===== */
/* display:grid on these containers beats the UA [hidden] rule — force it */
.veh-grid[hidden], .pzone[hidden], #vehSub[hidden]{ display:none !important; }
.pzone{ display:grid; gap:22px; }
@media (min-width:960px){ .pzone{ grid-template-columns:1.05fr 1fr; align-items:stretch; } }
.pzone__models-title{ font-family:var(--f-mono); font-size:10px; font-weight:500; letter-spacing:.12em;
  text-transform:uppercase; color:var(--carbon); margin-bottom:8px; }
.pzg{ padding:13px 0; border-top:1px solid var(--line); display:flex; flex-wrap:wrap;
  align-items:center; justify-content:space-between; gap:8px 14px; }
.pzone__models .pzg:last-child{ border-bottom:1px solid var(--line); }
.pzg__name{ font-family:var(--f-head); font-weight:800; text-transform:uppercase; font-size:15px;
  letter-spacing:.01em; color:var(--ink); }
.pzg__chips{ display:flex; flex-wrap:wrap; gap:6px; }
.pz-chip{ font-family:var(--f-mono); font-size:10.5px; letter-spacing:.04em; line-height:1;
  padding:7px 11px; border:1px solid var(--line-input); border-radius:999px; color:var(--ink); transition:var(--t); }
.pz-chip:hover{ border-color:var(--command); color:var(--command); background:var(--bone); }
.pzone__media{ position:relative; border-radius:var(--r); overflow:hidden; min-height:300px; border:1px solid var(--line); }
.pzone__media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.pzone__media-tag{ position:absolute; left:12px; bottom:12px; font-family:var(--f-mono); font-size:10px;
  letter-spacing:.06em; text-transform:uppercase; background:rgba(0,12,20,.78); color:#fff;
  padding:5px 9px; border-radius:var(--r-sm); }
.veh-card.is-active::after{ content:"Selected"; position:absolute; top:10px; right:10px; z-index:3;
  font-family:var(--f-mono); font-size:9px; font-weight:500; letter-spacing:.08em; text-transform:uppercase;
  background:var(--lime); color:var(--on-lime); padding:4px 8px; border-radius:var(--r-sm); }
.veh-card__ph{ position:absolute; inset:0; background:linear-gradient(160deg,#0c3147,#001521); background-size:cover; background-position:center; background-repeat:no-repeat; z-index:1; }
.veh-card__ph .tag{ position:absolute; inset:0; display:grid; place-items:center; font-family:var(--f-mono);
  font-size:9px; letter-spacing:.08em; color:rgba(255,255,255,.35); text-align:center; padding:0 16px; }
.veh-card__num{ position:absolute; top:11px; left:12px; font-family:var(--f-mono); font-size:11px; color:var(--lime); z-index:3; }
.veh-card__shade{ position:absolute; inset:0; background:linear-gradient(to top,rgba(0,12,20,.94) 6%,rgba(0,12,20,.2) 52%,transparent 78%); z-index:2; }
.veh-card__body{ position:relative; z-index:3; padding:16px 14px 16px; }
.veh-card__body h3{ font-family:var(--f-head); font-weight:800; text-transform:uppercase; font-size:20px; line-height:.92; }
.veh-card__body p{ font-family:var(--f-mono); font-size:11px; letter-spacing:.05em; text-transform:uppercase; color:rgba(255,255,255,.72); margin-top:7px; }
.veh-card__enter{ margin-top:12px; display:inline-flex; align-items:center; gap:6px; font-family:var(--f-body);
  font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--lime); }
.veh-card:hover{ border-color:var(--lime); transform:translateY(-3px); }

/* ===================== PRODUCT CARDS ===================== */
.prod-grid{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.prod{ background:var(--paper); border:1px solid var(--line); border-radius:var(--r); display:flex;
  flex-direction:column; overflow:hidden; transition:var(--t); }
.prod:hover{ border-color:var(--command); box-shadow:var(--sh); transform:translateY(-2px); }
.prod__media{ position:relative; aspect-ratio:1/1; background:#fff; border-bottom:1px solid var(--line-2); overflow:hidden; }
.prod__media .ph{ position:absolute; inset:0; background:radial-gradient(circle at 50% 42%,#f3f6f9,#e6edf3);
  display:grid; place-items:center; }
.prod__media .ph svg{ width:54%; height:54%; opacity:.5; color:var(--carbon); }
.prod__media img{ width:100%; height:100%; object-fit:contain; padding:14px; transition:var(--t); }
.prod:hover .prod__media img{ transform:scale(1.05); }
.prod__flags{ position:absolute; top:9px; left:9px; display:flex; flex-direction:column; gap:5px; z-index:2; }
.prod__fav{ position:absolute; top:9px; right:9px; width:34px; height:34px; background:rgba(255,255,255,.92);
  border-radius:var(--r-sm); display:grid; place-items:center; z-index:2; transition:var(--t); }
.prod__fav:hover{ background:var(--lime); }
.prod__fav svg{ width:16px; height:16px; }
.prod__body{ padding:13px 13px 15px; display:flex; flex-direction:column; flex:1; }
.prod__brand{ font-family:var(--f-mono); font-size:10px; font-weight:500; letter-spacing:.06em;
  text-transform:uppercase; color:var(--command); margin-bottom:5px; }
.prod__name{ font-family:var(--f-head); font-weight:700; text-transform:uppercase; font-size:16px;
  line-height:1; margin-bottom:6px; }
.prod__spec{ font-family:var(--f-mono); font-size:11px; color:var(--carbon); margin-bottom:11px; }
.prod__foot{ margin-top:auto; padding-top:11px; border-top:1px solid var(--line-2); display:flex;
  align-items:flex-end; justify-content:space-between; gap:8px; }
.prod__price .now{ font-family:var(--f-head); font-weight:800; font-size:22px; line-height:1; }
.prod__price .was{ font-family:var(--f-mono); font-size:11px; color:var(--carbon); text-decoration:line-through; }
.prod__price .fin{ font-family:var(--f-mono); font-size:10px; color:var(--carbon); margin-top:4px; }
.prod__price .fin b{ color:var(--ink); }
.prod__stock{ font-family:var(--f-mono); font-size:10px; font-weight:500; letter-spacing:.04em;
  text-transform:uppercase; color:#15803d; display:inline-flex; align-items:center; gap:5px; white-space:nowrap; }
.prod__stock::before{ content:""; width:7px; height:7px; background:#22a651; border-radius:50%; }

/* ===================== COMMUNITY / YOUTUBE ===================== */
.ep{ background:var(--ocean-deep); border:1px solid var(--line-dark); border-radius:var(--r); overflow:hidden; transition:var(--t); }
.ep:hover{ border-color:var(--lime); transform:translateY(-3px); }
.ep__media{ position:relative; aspect-ratio:16/9; background:linear-gradient(150deg,#0c3147,#001521); display:grid; place-items:center; }
.ep__media .ph{ font-family:var(--f-mono); font-size:9px; letter-spacing:.08em; color:rgba(255,255,255,.3); }
.ep__thumb{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.ep__play{ position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:52px; height:52px;
  background:var(--lime); border-radius:50%; display:grid; place-items:center; transition:var(--t); }
.ep:hover .ep__play{ transform:translate(-50%,-50%) scale(1.08); }
.ep__play svg{ width:20px; height:20px; color:var(--on-lime); margin-left:3px; }
.ep__tag{ position:absolute; top:10px; left:10px; font-family:var(--f-mono); font-size:9px; font-weight:500;
  letter-spacing:.06em; text-transform:uppercase; background:var(--ocean-900); color:var(--lime); padding:4px 8px; border-radius:var(--r-sm); }
.ep__dur{ position:absolute; bottom:10px; right:10px; font-family:var(--f-mono); font-size:10px;
  background:rgba(0,12,20,.78); color:#fff; padding:3px 7px; border-radius:var(--r-sm); }
.ep__body{ padding:14px 15px 16px; }
.ep__series{ font-family:var(--f-mono); font-size:10px; letter-spacing:.06em; text-transform:uppercase; color:var(--lime); margin-bottom:7px; }
.ep__body h3{ font-family:var(--f-head); font-weight:700; text-transform:uppercase; font-size:17px; line-height:1; color:#fff; }

/* ===================== GALLERY ===================== */
.gal-grid{ display:grid; grid-template-columns:1fr 1fr; grid-auto-rows:150px; gap:10px; }
.gal{ position:relative; overflow:hidden; border:1px solid var(--line-dark); border-radius:var(--r); }
.gal--tall{ grid-row:span 2; }
.gal--wide{ grid-column:span 2; }
.gal__ph{ position:absolute; inset:0; background:linear-gradient(150deg,#0c3147,#001521); background-size:cover; background-position:center; background-repeat:no-repeat; display:grid; place-items:center; }
.gal__ph span{ font-family:var(--f-mono); font-size:9px; letter-spacing:.08em; color:rgba(255,255,255,.32); }
.gal__meta{ position:absolute; left:0; right:0; bottom:0; padding:12px; background:linear-gradient(to top,rgba(0,12,20,.85),transparent);
  z-index:2; display:flex; align-items:flex-end; justify-content:space-between; }
.gal__handle{ font-family:var(--f-body); font-weight:700; font-size:13px; color:#fff; }
.gal__tag{ font-family:var(--f-mono); font-size:9px; letter-spacing:.05em; text-transform:uppercase; color:var(--lime); }

/* ===================== BRAND STRIP ===================== */
.brandstrip{ background:var(--paper); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.brandstrip__row{ display:flex; align-items:center; gap:34px; flex-wrap:wrap; justify-content:center; padding:6px 0; }
.brand-chip{ font-family:var(--f-head); font-weight:800; text-transform:uppercase; font-size:21px;
  letter-spacing:.03em; color:var(--bone-2); transition:var(--t); }
.brand-chip:hover{ color:var(--carbon); }

/* ===================== EMAIL CAPTURE ===================== */
.email{ background:var(--ocean-900); color:#fff; position:relative; overflow:hidden; }
.email__inner{ display:grid; grid-template-columns:1fr; gap:22px; padding-block:44px; position:relative; z-index:2; }
.email__inner h2{ font-family:var(--f-head); font-weight:800; text-transform:uppercase; font-size:clamp(1.8rem,4.5vw,3rem); line-height:.9; }
.email__inner p{ color:rgba(255,255,255,.66); margin-top:10px; max-width:46ch; }
.email__form{ display:flex; border:2px solid #fff; border-radius:var(--r-sm); overflow:hidden; max-width:440px; }
.email__form input{ flex:1; background:transparent; border:none; outline:none; color:#fff; padding:14px 15px; font-size:16px; min-width:0; }
.email__form input::placeholder{ color:rgba(255,255,255,.5); }

/* ===================== FOOTER (CO universal footer — FI-branded) ===================== */
.footer{ background:var(--ocean-900); color:rgba(255,255,255,.6); }
.footer__main{ display:grid; grid-template-columns:1fr; column-gap:24px; row-gap:26px;
  padding:32px var(--gutter) 22px; max-width:var(--max); margin:0 auto; align-items:start; }
.footer__links-grid{ display:grid; grid-template-columns:1fr 1fr; gap:24px 18px; }
.footer__brand-box{ padding-bottom:22px; border-bottom:1px solid var(--line-dark); }
.footer__logo img{ height:30px; width:auto; margin-bottom:12px; }
.footer__tagline{ font-size:12.5px; line-height:1.5; margin-bottom:14px; color:rgba(255,255,255,.55); max-width:42ch; }
.footer__pay{ display:flex; align-items:center; gap:7px; flex-wrap:wrap; margin-bottom:16px; }
.footer__pay .lbl{ font-family:var(--f-mono); font-size:9px; letter-spacing:.1em; text-transform:uppercase; color:rgba(255,255,255,.6); width:100%; margin-bottom:3px; }
.footer__pay img{ height:24px; width:auto; background:#fff; border-radius:4px; padding:3px 6px; object-fit:contain; }
.footer__service{ display:flex; gap:22px; margin-bottom:14px; padding-bottom:14px; border-bottom:1px solid var(--line-dark); }
.footer__service-col{ flex:1; }
.footer__service-label{ font-family:var(--f-mono); font-size:10px; font-weight:500; text-transform:uppercase; letter-spacing:.1em; color:rgba(255,255,255,.6); margin-bottom:5px; }
.footer__phone{ font-family:var(--f-head); font-weight:700; font-size:16px; color:#fff; display:block; margin-bottom:2px; letter-spacing:.01em; }
.footer__phone:hover{ color:var(--lime); }
.footer__hours,.footer__address{ font-size:12px; color:rgba(255,255,255,.6); line-height:1.5; }
.footer__address{ margin-top:6px; margin-bottom:12px; }
.footer__subscribe{ margin-bottom:14px; }
.footer__subscribe-label{ font-family:var(--f-mono); font-size:10px; font-weight:500; text-transform:uppercase; letter-spacing:.1em; color:rgba(255,255,255,.6); margin-bottom:7px; }
.footer__subscribe-form{ display:flex; max-width:340px; }
.footer__subscribe-form input{ flex:1; min-width:0; padding:9px 12px; border:1px solid rgba(255,255,255,.38); border-right:none; background:rgba(255,255,255,.05); color:#fff; font-family:var(--f-body); font-size:16px; border-radius:var(--r-sm) 0 0 var(--r-sm); }
.footer__subscribe-form input::placeholder{ color:rgba(255,255,255,.3); }
.footer__subscribe-form input:focus{ outline:none; border-color:var(--lime); }
.footer__subscribe-btn{ padding:9px 16px; background:var(--lime); color:var(--on-lime); border:1px solid var(--lime); font-family:var(--f-body); font-weight:700; font-size:12px; text-transform:uppercase; letter-spacing:.08em; cursor:pointer; border-radius:0 var(--r-sm) var(--r-sm) 0; transition:var(--t); }
.footer__subscribe-btn:hover{ background:var(--lime-deep); border-color:var(--lime-deep); }
.footer__social{ display:flex; gap:8px; }
.footer__social a{ width:40px; height:40px; border:1px solid var(--line-dark); border-radius:var(--r-sm); display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,.7); transition:var(--t); }
.footer__social a svg{ width:15px; height:15px; }
.footer__social a:hover{ border-color:var(--lime); color:var(--on-lime); background:var(--lime); }
.footer__heading{ font-family:var(--f-head); font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:#fff; margin-bottom:10px; padding-bottom:5px; border-bottom:2px solid var(--lime); display:inline-block; }
.footer__links{ display:flex; flex-direction:column; gap:4px; }
.footer__links a{ font-size:13px; color:rgba(255,255,255,.5); transition:var(--t); padding:1px 0; }
.footer__links a:hover{ color:#fff; padding-left:3px; }
.footer__brands-inline{ padding:16px 0 0; border-top:1px solid var(--line-dark); }
.footer__brands-label{ display:block; font-family:var(--f-mono); font-size:10px; font-weight:500; text-transform:uppercase; letter-spacing:.12em; color:rgba(255,255,255,.55); margin-bottom:11px; }
.footer__brands-logos{ display:flex; align-items:center; gap:24px; flex-wrap:wrap; }
.footer__brand-logo{ display:inline-flex; align-items:center; opacity:.4; transition:opacity .2s; flex-shrink:0; }
.footer__brand-logo:hover{ opacity:.8; }
.footer__brand-logo--active{ opacity:.95; }
.footer__brand-logo img{ height:20px; width:auto; display:block; filter:brightness(0) invert(1); object-fit:contain; }
.footer__bottom{ border-top:1px solid var(--line-dark); padding:13px var(--gutter); text-align:center; font-size:11px; color:rgba(255,255,255,.6); font-family:var(--f-mono); letter-spacing:.03em; max-width:var(--max); margin:0 auto; }
.footer__bottom a{ color:rgba(255,255,255,.6); }
.footer__bottom a:hover{ color:var(--lime); }
@media (min-width:680px){ .footer__links-grid{ grid-template-columns:repeat(3,1fr); } }
@media (min-width:1000px){
  .footer__main{ grid-template-columns:repeat(8,1fr); }
  .footer__links-grid{ display:contents; }
  .footer__brand-box{ grid-column:span 2; grid-row:span 2; padding:0 16px 0 0; border-right:1px solid var(--line-dark); border-bottom:none; }
  .footer__brands-inline{ grid-column:3 / -1; margin-top:4px; }
}

/* ===================== ACTIVE-PLATFORM CHIP (next to logo) ===================== */
.pchip{ display:none; align-items:center; gap:7px; padding:5px 11px; border:1px solid var(--line);
  border-radius:var(--pill); font-family:var(--f-mono); font-size:10px; letter-spacing:.06em; text-transform:uppercase;
  color:var(--command); white-space:nowrap; background:var(--bone); }
.pchip .dot{ width:6px; height:6px; border-radius:50%; background:var(--lime); }
@media (min-width:960px){ .pchip{ display:inline-flex; } }

/* container whose image failed — quiet branded backdrop instead of a hole */
.img-lost{ background:linear-gradient(150deg,#Eef2f6,#e2e9f0); }
.mega__veh .car.img-lost,.ep__media.img-lost,.gal.img-lost{ background:linear-gradient(150deg,#0c3147,#001521); }

/* ===================== UTILITIES ===================== */
.hide{ display:none !important; }
/* visually-hidden label — available to screen readers only */
.sr-only{ position:absolute !important; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* visible keyboard focus indicator (brand ring); mouse clicks stay clean via :focus-visible */
:focus-visible{ outline:3px solid var(--command); outline-offset:2px; border-radius:2px; }
/* on dark surfaces, switch the ring to lime for contrast */
.superbar :focus-visible,.hero :focus-visible,.footer :focus-visible,.foottop :focus-visible,
.drawer :focus-visible,.mega__promo :focus-visible,.finder :focus-visible,.veh-card:focus-visible,
.ep:focus-visible,.review-score :focus-visible,.section--navy :focus-visible{ outline-color:var(--lime); }
/* selects/search null the default outline — restore a visible ring on keyboard focus */
.search input:focus-visible,.finder select:focus-visible,.footer__subscribe-form input:focus-visible{ outline:3px solid var(--command); outline-offset:2px; }
.finder select:focus-visible{ outline-color:var(--lime); }

/* respect reduced-motion: stop the hero brand marquee and other transitions */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important;
    transition-duration:.001ms !important; scroll-behavior:auto !important; }
}
.stack-gap{ display:flex; flex-direction:column; gap:14px; }
.cta-row{ display:flex; gap:12px; flex-wrap:wrap; }
.slash{ height:8px; background:repeating-linear-gradient(135deg,var(--lime) 0 14px,var(--ocean-900) 14px 28px); }
.topline{ height:4px; background:var(--lime); position:relative; z-index:202; }
.divider{ height:1px; background:var(--line); border:0; }

/* ============================================================
   RESPONSIVE — mobile-first; scale up at breakpoints
   ============================================================ */
@media (min-width:560px){
  .veh-grid{ display:grid; grid-template-columns:1fr 1fr 1fr; overflow:visible; padding-bottom:0; }
  .veh-card{ flex:0 1 auto; }
  .ymm__selects{ grid-template-columns:1fr 1fr 1fr 1fr; }
  .gal-grid{ grid-template-columns:repeat(3,1fr); }
}
@media (min-width:640px){
  .prod-grid{ grid-template-columns:1fr 1fr 1fr; } /* 3-up only once cards get ~190px+ */
}
@media (min-width:720px){
  .search{ display:block; }
}
@media (min-width:768px){
  :root{ --gutter:32px; }
  .section{ padding-block:64px; }
  .email__inner{ grid-template-columns:1fr auto; align-items:center; gap:40px; }
  .ymm__inner{ grid-template-columns:auto 1fr auto; align-items:center; gap:22px; }
}
@media (min-width:960px){
  .header__navrow{ display:block; }
  .burger{ display:none; }
  .header__bar{ height:72px; gap:24px; }
  .brand__logo{ height:32px; }
  .iconbtn__label{ display:inline; font-family:var(--f-mono); font-size:9px; letter-spacing:.05em;
    text-transform:uppercase; color:var(--carbon); margin-left:2px; }
  .veh-grid{ grid-template-columns:repeat(7,1fr); }
  .veh-card{ aspect-ratio:3/4.3; }
  .prod-grid{ grid-template-columns:repeat(4,1fr); }
  .gal-grid{ grid-template-columns:repeat(4,1fr); grid-auto-rows:190px; }
}
@media (min-width:1100px){
  :root{ --gutter:48px; }
}

/* ============================================================
   MOBILE CONVERSION LAYER — added in the mobile/tablet pass.
   Rationale (research-backed, see /deals mobile audit):
   · 80% of sessions START on mobile; search + nav must never
     disappear (Baymard: search users convert ~2x browsers).
   · Sticky chrome ≤64px effective height: header hides on
     scroll-down, reveals on scroll-up (fi-mobile.js).
   · Touch targets ≥44px (Apple HIG / Material 48dp).
   · Bottom sticky bars respect iPhone home-indicator safe area.
   ============================================================ */

/* --- 1 · Persistent search on phones (second header row) --- */
@media (max-width:767px){
  .header__bar{ grid-template-columns:auto 1fr; grid-template-rows:auto auto;
    height:auto; padding-block:9px 10px; row-gap:9px; } /* padding-BLOCK only — .wrap keeps side gutters */
  .brand{ grid-row:1; grid-column:1; }
  .header__actions{ grid-row:1; grid-column:2; }
  .search{ display:block; grid-row:2; grid-column:1 / -1; width:100%; justify-self:stretch; }
  .search input{ padding-top:12px; padding-bottom:12px; } /* ≥44px tap height */
}

/* --- 2 · Primary nav never disappears: scrollable rail <960px ---
   Subpages have no burger/drawer; hiding the nav row stranded
   mobile users. The rail keeps Wheels/Tires/Brands/Deals one
   thumb-swipe away on every page. */
@media (max-width:959px){
  .header__navrow{ display:block; }
  .header__navinner{ padding-inline:0; }
  .nav{ flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch;
    padding-inline:var(--gutter); width:100%; }
  .nav::-webkit-scrollbar{ display:none; }
  .nav__link{ padding:12px 12px; font-size:14px; flex-shrink:0; }
  /* fade hint that the rail continues */
  .header__navrow{ position:relative; }
  .header__navrow::after{ content:''; position:absolute; right:0; top:0; bottom:0; width:28px;
    background:linear-gradient(to left, var(--paper), transparent); pointer-events:none; }
}

/* --- 3 · Hide-on-scroll header (fi-mobile.js sets body.hdr-hide) --- */
@media (max-width:959px){
  .header{ transition:transform .22s cubic-bezier(.4,0,.2,1); will-change:transform; }
  body.hdr-hide .header{ transform:translateY(-100%); }
}
@media (prefers-reduced-motion:reduce){ .header{ transition:none; } }

/* --- 4 · Touch-target floor on coarse pointers --- */
@media (pointer:coarse){
  .pz-chip{ padding:11px 15px; font-size:11px; }
  .flag{ font-size:10px; }
  .footer__links a{ padding:6px 0; }
  .mega__list a{ padding:10px 0; }
  .drawer a.drawer__link{ padding:13px 20px; }
}

/* --- 5 · Footer accordions on phones (fi-mobile.js toggles .open) --- */
@media (max-width:679px){
  .footer__links-grid{ grid-template-columns:1fr; gap:0; }
  .footer__links-grid > div{ border-bottom:1px solid var(--line-dark); }
  .footer__heading{ display:flex; width:100%; justify-content:space-between; align-items:center;
    padding:13px 0; margin-bottom:0; border-bottom:none; cursor:pointer; }
  .footer__heading::after{ content:'+'; font-family:var(--f-mono); font-size:15px; color:var(--lime); transition:var(--t); }
  .footer__links-grid > div.open .footer__heading::after{ content:'−'; }
  .footer__links{ display:none; padding-bottom:12px; }
  .footer__links-grid > div.open .footer__links{ display:flex; }
}

/* --- 6 · Shared mobile sticky bottom bar (PDP add-to-cart, PLP filter bar) --- */
.mstick{ position:fixed; left:0; right:0; bottom:0; z-index:300; background:var(--paper);
  border-top:1px solid var(--line); box-shadow:0 -8px 24px rgba(11,22,32,.12);
  padding:10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  display:none; align-items:center; gap:12px;
  transform:translateY(110%); transition:transform .22s cubic-bezier(.4,0,.2,1); }
.mstick.is-on{ transform:none; }
@media (max-width:959px){ .mstick{ display:flex; } }
@media (prefers-reduced-motion:reduce){ .mstick{ transition:none; } }

/* --- 7 · Bottom-sheet scaffold (mobile filter drawer etc.) --- */
.sheet-scrim{ position:fixed; inset:0; background:rgba(0,12,20,.55); z-index:395; opacity:0;
  pointer-events:none; transition:opacity .2s; }
body.sheet-open .sheet-scrim{ opacity:1; pointer-events:auto; }
@media (min-width:960px){ .sheet-scrim{ display:none; } }

/* --- 8 · Image CLS guards: media boxes already use aspect-ratio;
       reserve hero space on tiny screens via min-height only --- */
@media (max-width:480px){
  .section{ padding-block:38px; }
  .prod__body{ padding:11px 11px 13px; }
  .prod__name{ font-size:15px; }
  .prod__price .now{ font-size:19px; }
}

/* --- 9 · Thumb-zone bottom navigation (<768px; injected by fi-mobile.js on
       pages without their own bottom bar). Persistent access to the four
       highest-intent destinations + cart, per 2026 m-commerce guidance. --- */
.bnav{ position:fixed; left:0; right:0; bottom:0; z-index:290; display:none;
  background:var(--paper); border-top:1px solid var(--line);
  box-shadow:0 -6px 20px rgba(11,22,32,.08);
  padding:5px 4px calc(5px + env(safe-area-inset-bottom));
  grid-template-columns:repeat(5,1fr); }
.bnav a{ display:flex; flex-direction:column; align-items:center; gap:3px; padding:6px 0 4px;
  font-family:var(--f-mono); font-size:9px; letter-spacing:.05em; text-transform:uppercase;
  color:var(--carbon); border-radius:var(--r-sm); min-height:44px; justify-content:center; }
.bnav a svg{ width:21px; height:21px; }
.bnav a.is-active{ color:var(--command); }
.bnav a.is-active::after{ content:''; width:16px; height:2px; background:var(--lime); border-radius:2px; }
@media (max-width:767px){
  .bnav{ display:grid; }
  body.has-bnav{ padding-bottom:calc(60px + env(safe-area-inset-bottom)); }
}

/* ============================================================
   STANDARDIZED PRODUCT CARD v2 — financing-first merchandising.
   One anatomy for every product type (mirrors live card + PDP):
   rating → price → Affirm+Katapult block (contractually paired,
   rendered as ONE component) → cross-sell save → value props →
   dated delivery promise. Shared here so no page can drift.
   ============================================================ */
.prod__rate{ display:flex; align-items:center; gap:5px; margin-top:5px;
  font-family:var(--f-mono); font-size:10.5px; color:var(--carbon); }
.prod__rate .stars{ font-size:11.5px; letter-spacing:1.5px; line-height:1;
  background:linear-gradient(90deg,#B8860B var(--f,100%),#C9D4DB var(--f,100%));
  -webkit-background-clip:text; background-clip:text; color:transparent; }
.prod__rate b{ color:var(--ink); font-weight:500; }
.prod__fin{ display:flex; flex-direction:column; gap:5px; margin-top:9px;
  padding:8px 10px; background:var(--paper); border:1px solid var(--line); border-radius:var(--r-sm); }
.prod__fin img{ height:12px; width:auto; flex-shrink:0; }
.prod__mo{ display:flex; align-items:baseline; gap:6px; font-family:var(--f-mono); font-size:10.5px; color:var(--carbon); }
.prod__mo img{ align-self:center; }
.prod__mo b{ font-family:var(--f-head); font-weight:800; font-size:16.5px; color:var(--command); line-height:1; }
.prod__mo i{ font-style:normal; font-size:10.5px; }
.prod__ktp{ display:flex; align-items:center; gap:6px; font-family:var(--f-mono); font-size:10px; color:var(--carbon); }
.prod__ktp b{ color:var(--ink); font-weight:500; }
.prod__save{ margin-top:7px; font-family:var(--f-mono); font-size:10.5px; font-weight:500; color:#166B37; }

/* ---- card v2 dial-in: readability, edge padding, touch, a11y ---- */
.prod__body{ min-width:0; }
.prod__name, .prod__spec{ overflow-wrap:break-word; }
.prod .prod__vals span{ white-space:normal; }          /* long delivery lines wrap instead of hitting the edge */
.prod__vals{ line-height:1.5; }
.prod__rate{ font-size:11px; }
.prod__rate .stars{ background:linear-gradient(90deg,#B8860B var(--f,100%),#AEB9C0 var(--f,100%));
  -webkit-background-clip:text; background-clip:text; }
.prod__fin{ padding:9px 11px; line-height:1.45; }
.prod__mo{ font-size:11px; }
.prod__ktp{ font-size:11px; }
.prod__save{ font-size:11px; line-height:1.45; }
.prod__fav svg{ width:20px; height:15px; color:#0B1620; }
.prod__fav:hover svg, .prod__fav.is-liked svg{ color:var(--ocean-900); }
@media (pointer:coarse){ .prod__fav{ width:42px; height:42px; } }

/* ---- card v2: darker micro-copy (readability request) ---- */
.prod .prod__spec, .prod .prod__price .fin, .prod .prod__rate,
.prod .prod__mo, .prod .prod__ktp, .prod .prod__vals{ color:#49535D; }  /* 7.2:1 on white */
.prod .prod__rate b, .prod .prod__mo i, .prod .prod__ktp b{ color:var(--ink); }

/* ---- card v2: brand logo opposite the brand word (trust cue) ---- */
.prod .prod__brand{ display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:16px; }
.prod__blogo{ height:14px; max-width:68px; object-fit:contain; flex-shrink:0; }

/* brand monogram — fallback mark when no verified logo exists (production: full CDN logo library) */
.prod__bmk{ width:22px; height:22px; flex-shrink:0; display:inline-flex; align-items:center; justify-content:center;
  background:var(--ocean-900); color:#fff; border-radius:6px;
  font-family:var(--f-head); font-weight:800; font-size:10px; letter-spacing:.02em; line-height:1; }

/* fitment X in the header icon row — wide glyph, sized to match siblings */
.iconbtn .fx{ width:25px; height:18px; }

/* ===================== ENTHUSIAST EXCHANGE — SITE CHROME =====================
   The Exchange is a separate connected site (Sweetwater ⇄ Gear Exchange
   pattern): own logo, own nav, no platform selector. Dark chrome to read
   as a sibling brand; back-link to FitmentIndustries.com in the topbar. */
/* topbar */
.xtb{ background:var(--ocean-deep); color:rgba(255,255,255,.62); }
.xtb__inner{ display:flex; align-items:center; justify-content:space-between; gap:14px;
  padding-block:7px; font-family:var(--f-mono); font-size:10px; font-weight:500;
  letter-spacing:.1em; text-transform:uppercase; white-space:nowrap; overflow-x:auto; }
.xtb a{ display:inline-flex; align-items:center; gap:6px; transition:var(--t); }
.xtb a:hover{ color:var(--lime); }
.xtb__back{ color:#fff; }
.xtb__back svg{ width:12px; height:12px; }
.xtb__right{ display:flex; align-items:center; gap:18px; }
.xtb__fam{ color:rgba(255,255,255,.4); display:none; }
@media (min-width:860px){ .xtb__fam{ display:inline; } }
/* header */
.xhd{ background:var(--ocean-900); position:sticky; top:0; z-index:90; border-bottom:1px solid var(--line-dark); }
.xhd__bar{ display:flex; align-items:center; gap:14px; padding-block:14px; }
.xlogo{ display:flex; align-items:center; gap:10px; flex:none; }
.xlogo__ico{ width:42px; height:42px; display:block; }
.xlogo__ico svg{ width:100%; height:100%; }
.xlogo__word{ display:flex; flex-direction:column; line-height:1; }
.xlogo__top{ font-family:var(--f-mono); font-size:9px; font-weight:500; letter-spacing:.32em;
  text-transform:uppercase; color:rgba(255,255,255,.75); }
.xlogo__bot{ font-family:var(--f-head); font-weight:900; font-style:italic; text-transform:uppercase;
  font-size:21px; color:var(--lime); letter-spacing:.01em; margin-top:2px; }
.xsearch{ position:relative; flex:1; max-width:520px; display:none; }
@media (min-width:700px){ .xsearch{ display:block; } }
.xsearch svg{ position:absolute; left:13px; top:50%; transform:translateY(-50%); width:16px; height:16px; color:rgba(255,255,255,.5); }
.xsearch input{ width:100%; padding:11px 14px 11px 38px; background:rgba(255,255,255,.07);
  border:1px solid var(--line-dark); border-radius:var(--r-sm); color:#fff; font-size:14px; }
.xsearch input::placeholder{ color:rgba(255,255,255,.45); }
.xsearch input:focus{ outline:2px solid var(--lime); outline-offset:1px; }
.xhd__actions{ margin-left:auto; display:flex; align-items:center; gap:8px; }
.xhd__sell{ display:none; }
@media (min-width:560px){ .xhd__sell{ display:inline-flex; } }
.xhd__ic{ position:relative; width:44px; height:44px; display:grid; place-items:center;
  color:#fff; border:1px solid var(--line-dark); border-radius:var(--r-sm); transition:var(--t); }
.xhd__ic:hover{ border-color:var(--lime); color:var(--lime); }
.xhd__ic svg{ width:20px; height:20px; }
.xhd__badge{ position:absolute; top:-6px; right:-6px; min-width:17px; height:17px; padding:0 4px;
  background:var(--lime); color:var(--on-lime); border-radius:var(--pill); font-family:var(--f-mono);
  font-size:9.5px; font-weight:500; display:grid; place-items:center; }
/* exchange nav */
.xnav{ background:var(--ocean-deep); border-top:1px solid var(--line-dark); }
.xnav__inner{ display:flex; gap:2px; overflow-x:auto; }
.xnav__link{ font-family:var(--f-mono); font-size:11px; font-weight:500; letter-spacing:.08em;
  text-transform:uppercase; color:rgba(255,255,255,.68); padding:12px 14px; white-space:nowrap;
  border-bottom:3px solid transparent; transition:var(--t); }
.xnav__link:hover{ color:#fff; }
.xnav__link.is-active{ color:var(--lime); border-bottom-color:var(--lime); }
.xnav__link--sell{ color:var(--lime); margin-left:auto; }

/* Exchange footer — marketplace flavor of the shared footer */
.footer--x .xlogo{ margin-bottom:12px; }
.footer--x .footer__tagline{ max-width:46ch; }
.footer--x .fnote{ display:flex; gap:8px; align-items:flex-start; font-size:12px; line-height:1.55;
  color:rgba(255,255,255,.55); margin-bottom:14px; }
.footer--x .fnote svg{ width:15px; height:15px; color:var(--lime); flex:none; margin-top:1px; }
.footer--x .fnote b{ color:#fff; }
