/* ============================================================
   APEX PERFORMANCE PARTS — LAYOUT WIREFRAME
   Fonts: Oswald (display) / Archivo (body)
   Palette: shared light wireframe greys, no accent colour
   ============================================================ */

:root {
  --bg: #ededed;
  --bg-2: #e2e2e2;
  --bg-3: #dcdcdc;
  --line: #c6c6c6;
  --line-2: #c6c6c6;
  --text: #333333;
  --muted: #777777;
  --red: var(--pop);
  --red-dark: var(--pop);
  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --radius: 4px;
  --header-h: 76px;
  --speed: .22s;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .section-title {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: .01em;
  margin: 0;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }

.container { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }

.text-red { color: var(--red); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--red); color: var(--pop-ink); padding: 10px 18px;
  font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

::selection { background: var(--red); color: var(--pop-ink); }

/* ============ EYEBROW / SECTION HEADS ============ */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .22em;
  color: var(--muted);
  margin: 0 0 18px;
}
.eyebrow__tick {
  width: 34px; height: 3px; background: var(--red);
  transform: skewX(-24deg); flex: none;
}

.section { position: relative; padding: 110px 0 130px; }
.section--dark { background: var(--bg-2); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head--split {
  max-width: none;
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 28px;
}
.section-title { font-size: clamp(30px, 4.4vw, 52px); }
.section-sub { color: var(--muted); margin: 18px 0 0; max-width: 56ch; }

/* ============ DIAGONAL DIVIDERS ============ */
.divider {
  position: absolute; left: 0; right: 0; height: 70px;
  pointer-events: none;
}
.divider--down {
  bottom: -1px;
  background: linear-gradient(to right bottom, transparent 49.6%, var(--bg-2) 50%);
}
.divider--down.divider--flip {
  background: linear-gradient(to left bottom, transparent 49.6%, var(--bg-2) 50%);
}
.divider--up {
  top: -1px;
  background: linear-gradient(to right top, transparent 49.6%, var(--bg) 50%);
}
.divider--up.divider--flip {
  background: linear-gradient(to left top, transparent 49.6%, var(--bg-2) 50%);
}
.hero .divider--down { background: linear-gradient(to right bottom, transparent 49.6%, var(--bg) 50%); }

/* ============ TOP BAR ============ */
.topbar {
  background: #08090b;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.topbar__inner {
  display: flex; align-items: center; gap: 28px;
  min-height: 38px; padding: 6px 0;
}
.topbar__item { display: flex; align-items: center; gap: 8px; margin: 0; }
.topbar__item svg { width: 13px; height: 13px; color: var(--red); flex: none; }
.topbar__item--accent {
  margin-left: auto;
  color: var(--text);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 11.5px;
}

/* ============ HEADER ============ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(12, 13, 15, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--speed) ease;
}
.header.is-shrunk { box-shadow: 0 8px 30px rgba(0,0,0,.45); }
.header__inner {
  display: flex; align-items: center; gap: 32px;
  height: var(--header-h);
  transition: height var(--speed) ease;
}
.header.is-shrunk .header__inner { height: 60px; }

.logo { display: flex; align-items: center; gap: 12px; flex: none; }
.logo__mark { width: 40px; height: 28px; }
.logo__text {
  font-family: var(--font-display);
  font-weight: 700; font-size: 21px; letter-spacing: .06em;
  display: flex; flex-direction: column; line-height: 1;
}
.logo__text span {
  font-size: 9.5px; font-weight: 500;
  letter-spacing: .34em; color: var(--red);
  margin-top: 4px;
}

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav__link {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted);
  padding: 10px 14px;
  position: relative;
  transition: color var(--speed) ease;
}
.nav__link::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--speed) ease;
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 14px; }

.cart-btn {
  position: relative;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  color: var(--text);
  transition: border-color var(--speed) ease, background var(--speed) ease;
}
.cart-btn:hover { border-color: var(--red); background: rgba(225,6,0,.08); }
.cart-btn svg { width: 19px; height: 19px; }
.cart-btn__count {
  position: absolute; top: -7px; right: -7px;
  min-width: 19px; height: 19px; padding: 0 4px;
  background: var(--red); color: var(--pop-ink);
  border-radius: 10px;
  font-size: 11px; font-weight: 700;
  display: grid; place-items: center;
  transition: transform var(--speed) ease;
}
.cart-btn__count.bump { transform: scale(1.35); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-2); border-radius: var(--radius);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-toggle span {
  width: 20px; height: 2px; background: var(--text);
  transition: transform var(--speed) ease, opacity var(--speed) ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; top: 0; z-index: 90;
  background: rgba(8, 9, 11, .98);
  padding: 130px 32px 40px;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__link {
  font-family: var(--font-display);
  font-size: 34px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .03em;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-menu__link::after { content: '→'; color: var(--red); font-size: 24px; }
.mobile-menu__meta { margin-top: auto; color: var(--muted); font-size: 13px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 15px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .09em;
  padding: 15px 30px;
  border-radius: var(--radius);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  transition: background var(--speed) ease, color var(--speed) ease, border-color var(--speed) ease, transform var(--speed) ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: var(--pop-ink); }
.btn--primary:hover { background: #ff1a13; }
.btn--ghost {
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--red); color: var(--red); }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn:disabled:hover { background: var(--red); transform: none; }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 90px 0 140px;
  overflow: hidden;
}
.hero__texture {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.014) 0 2px, transparent 2px 6px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.014) 0 2px, transparent 2px 6px),
    radial-gradient(900px 480px at 78% 30%, rgba(225,6,0,.09), transparent 60%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 56px;
  align-items: center;
}
.hero__title {
  font-size: clamp(44px, 6.4vw, 86px);
  font-weight: 700;
  margin: 0 0 24px;
}
.hero__lede {
  color: var(--muted);
  font-size: 17px;
  max-width: 52ch;
  margin: 0 0 34px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }

.hero__stats {
  display: flex; gap: 40px; flex-wrap: wrap;
  margin: 0; padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero__stats dt {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 700;
  color: var(--text);
}
.hero__stats dd {
  margin: 2px 0 0;
  font-size: 12px; color: var(--muted);
  text-transform: uppercase; letter-spacing: .12em;
}

.hero__art { position: relative; }
.hero__car { width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.5)); }

/* ============ BRANDS ============ */
.brands {
  background: var(--bg);
  border-block: 1px solid var(--line);
  padding: 26px 0;
}
.brands__inner {
  display: flex; align-items: center; gap: 36px; flex-wrap: wrap;
}
.brands__label {
  font-family: var(--font-display);
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--muted); margin: 0; flex: none;
}
.brands__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex: 1; flex-wrap: wrap;
  justify-content: space-between; gap: 18px 40px;
}
.brand-mark {
  font-family: var(--font-display);
  font-size: 21px; font-weight: 700;
  letter-spacing: .14em;
  color: #565b64;
  transition: color var(--speed) ease;
  cursor: default;
}
.brand-mark:hover { color: var(--text); }

/* ============ FITMENT ============ */
.fitment { background: var(--bg); }

.fitment__panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr)) auto;
  gap: 14px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  padding: 26px;
  margin-bottom: 20px;
}
.fitment__field { display: flex; flex-direction: column; gap: 8px; }
.fitment__field label {
  font-family: var(--font-display);
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
}
.fitment__field select {
  appearance: none;
  background: var(--bg) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path d="M1 1l5 5 5-5" fill="none" stroke="%23e10600" stroke-width="2"/></svg>') no-repeat right 14px center;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  color: var(--text);
  font: inherit; font-size: 15px;
  padding: 13px 38px 13px 14px;
  transition: border-color var(--speed) ease;
}
.fitment__field select:hover:not(:disabled),
.fitment__field select:focus { border-color: var(--red); }
.fitment__field select:disabled { opacity: .45; cursor: not-allowed; }
.fitment__go { align-self: end; }

.fitment__status {
  min-height: 24px;
  font-size: 14px; color: var(--muted);
  margin-bottom: 22px;
}
.fitment__status strong { color: var(--text); }

/* ============ PRODUCT CARDS (spec-sheet) ============ */
.parts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.part-card {
  position: relative;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  transition: border-color var(--speed) ease, transform var(--speed) ease, box-shadow var(--speed) ease;
  overflow: hidden;
}
.part-card:hover {
  border-color: var(--line-2);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}
.part-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.part-card:hover::before { transform: scaleX(1); }

.part-card__top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 10px;
  padding: 18px 18px 0;
}
.part-card__pn {
  font-family: var(--font-display);
  font-size: 12px; letter-spacing: .14em;
  color: var(--muted);
}
.part-card__pn strong { color: var(--red); font-weight: 500; }

.badges { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.badge {
  font-size: 10px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 2px;
  line-height: 1;
}
.badge--stock { background: rgba(56, 176, 96, .14); color: #4ecb7a; border: 1px solid rgba(56,176,96,.35); }
.badge--low { background: rgba(224, 164, 36, .12); color: #e0a424; border: 1px solid rgba(224,164,36,.35); }
.badge--oem { background: rgba(255,255,255,.07); color: var(--text); border: 1px solid var(--line-2); }
.badge--ship { background: rgba(225,6,0,.12); color: #ff4d47; border: 1px solid rgba(225,6,0,.4); }

.part-card__icon {
  margin: 16px 18px 0;
  height: 96px;
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.02) 0 1px, transparent 1px 24px),
    var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.part-card__icon svg { width: 84px; height: 84px; }

.part-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.part-card__brand {
  font-family: var(--font-display);
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--red);
}
.part-card__name {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600;
  text-transform: uppercase;
  line-height: 1.15;
  margin: 4px 0 10px;
}
.part-card__fit {
  font-size: 12.5px; color: var(--muted);
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line-2);
}
.part-card__specs {
  margin: 0 0 14px;
  font-size: 12.5px;
  display: grid; grid-template-columns: auto 1fr; gap: 3px 14px;
}
.part-card__specs dt { color: var(--muted); }
.part-card__specs dd { margin: 0; text-align: right; font-weight: 500; }

.part-card__meta {
  display: flex; align-items: center; justify-content: space-between;
  margin: auto 0 14px;
  padding-top: 10px;
}
.stars { display: flex; gap: 3px; align-items: center; }
.stars svg { width: 14px; height: 14px; }
.stars__count { font-size: 11.5px; color: var(--muted); margin-left: 6px; }

.part-card__buy {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.price { display: flex; flex-direction: column; line-height: 1.1; }
.price__amount {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 700;
}
.price__was {
  font-size: 12px; color: var(--muted);
  text-decoration: line-through;
}
.price__tax { font-size: 10.5px; color: var(--muted); letter-spacing: .06em; }

.add-btn {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  background: transparent;
  border: 1px solid var(--red);
  color: var(--red);
  padding: 11px 18px;
  border-radius: var(--radius);
  transition: background var(--speed) ease, color var(--speed) ease;
}
.add-btn:hover { background: var(--red); color: var(--pop-ink); }
.add-btn.is-added { background: var(--red); color: var(--pop-ink); }

.empty-state {
  grid-column: 1 / -1;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  padding: 48px 24px;
  text-align: center;
  color: var(--muted);
}
.empty-state strong { color: var(--text); display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; font-size: 18px; margin-bottom: 6px; }

/* ============ TABS ============ */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--muted);
  border: 1px solid var(--line-2);
  padding: 10px 18px;
  border-radius: var(--radius);
  transition: all var(--speed) ease;
}
.tab:hover { color: var(--text); border-color: var(--red); }
.tab.is-active {
  background: var(--red); border-color: var(--red); color: var(--pop-ink);
}

/* ============ WORKSHOP ============ */
.workshop { background: var(--bg); overflow: hidden; }
.workshop__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: 64px;
  align-items: center;
}
.checklist { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 22px; }
.checklist li { display: flex; gap: 16px; align-items: flex-start; }
.checklist svg { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.checklist strong { color: var(--text); }
.checklist div { color: var(--muted); font-size: 15px; }

.dyno-sheet {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-display);
  overflow: hidden;
  transform: rotate(1.2deg);
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
}
.dyno-sheet__head {
  display: flex; justify-content: space-between;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 12px 18px;
  font-size: 12px; letter-spacing: .18em;
  color: var(--muted);
}
.dyno-sheet__row {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 11px 18px;
  font-size: 14px; letter-spacing: .04em;
  border-bottom: 1px dashed var(--line);
  color: var(--muted);
}
.dyno-sheet__row span:last-child { color: var(--text); font-weight: 500; text-align: right; }
.dyno-sheet__row--hl { background: rgba(225,6,0,.07); }
.dyno-sheet__row--hl span:last-child { color: var(--red); font-weight: 700; }
.dyno-sheet__chart { padding: 16px 18px 10px; }
.dyno-sheet__legend { display: flex; gap: 22px; margin: 10px 0 4px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.key { display: flex; align-items: center; gap: 7px; }
.key::before { content: ''; width: 18px; height: 2px; }
.key--stock::before { background: #3f434c; }
.key--tuned::before { background: var(--red); }
.dyno-sheet__foot {
  padding: 10px 18px 14px;
  font-size: 11px; letter-spacing: .1em;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* ============ REVIEWS ============ */
.slider { max-width: 780px; overflow: hidden; }
.slider__track {
  display: flex;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
}
.review {
  flex: 0 0 100%;
  margin: 0;
  padding: 34px 38px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
}
.review p { font-size: 17.5px; line-height: 1.65; margin: 16px 0 22px; }
.review footer strong { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; font-size: 15px; }
.review footer span { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }

.slider__controls { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.slider__btn {
  width: 42px; height: 42px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  display: grid; place-items: center;
  color: var(--text);
  transition: border-color var(--speed) ease, color var(--speed) ease;
}
.slider__btn:hover { border-color: var(--red); color: var(--red); }
.slider__btn svg { width: 16px; height: 16px; }
.slider__dots { display: flex; gap: 8px; }
.slider__dot {
  width: 26px; height: 3px;
  background: var(--line-2);
  border-radius: 2px;
  transition: background var(--speed) ease;
}
.slider__dot.is-active { background: var(--red); }

/* ============ FAQ ============ */
.faq { background: var(--bg); }
.faq__inner {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}
.faq__intro { position: sticky; top: 110px; }

.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; background: var(--bg-3); overflow: hidden; }
.faq-item__q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 17px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .04em;
  transition: color var(--speed) ease;
}
.faq-item__q:hover { color: var(--red); }
.faq-item__q svg { width: 15px; height: 15px; flex: none; color: var(--red); transition: transform var(--speed) ease; }
.faq-item.is-open .faq-item__q svg { transform: rotate(45deg); }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-item__a p {
  margin: 0 22px 22px;
  padding: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  border-top: 1px dashed var(--line);
}

/* ============ FOOTER ============ */
.footer { background: #08090b; border-top: 1px solid var(--line); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr .8fr;
  gap: 48px;
  padding: 70px 0 54px;
}
.footer__col h3 {
  font-size: 14px; letter-spacing: .2em;
  margin-bottom: 18px;
  color: var(--text);
}
.footer__col p, .footer__col address {
  font-style: normal;
  color: var(--muted); font-size: 14.5px;
  margin: 0;
}
.footer__col address a, .footer__links a { transition: color var(--speed) ease; }
.footer__col address a:hover, .footer__links a:hover { color: var(--red); }
.footer__col--brand p { margin-top: 18px; }
.footer__abn { font-size: 12px !important; opacity: .7; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; color: var(--muted); }

.hours { border-collapse: collapse; font-size: 14.5px; color: var(--muted); width: 100%; }
.hours td { padding: 5px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; color: var(--text); }

.footer__bar { border-top: 1px solid var(--line); padding: 18px 0; }
.footer__bar-inner {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 12.5px; color: var(--muted);
}
.footer__bar p { margin: 0; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__art { max-width: 640px; }
  .workshop__inner, .faq__inner { grid-template-columns: 1fr; gap: 44px; }
  .faq__intro { position: static; }
  .fitment__panel { grid-template-columns: 1fr 1fr; }
  .fitment__go { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 820px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .header__actions { margin-left: auto; }
  .section { padding: 80px 0 100px; }
  .topbar__item:first-child { display: none; }
  .topbar__item--accent { margin-left: auto; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .fitment__panel { grid-template-columns: 1fr; padding: 20px; }
  .hero { padding: 56px 0 110px; }
  .hero__stats { gap: 24px; }
  .section-head--split { flex-direction: column; align-items: flex-start; }
  .parts-grid { grid-template-columns: 1fr; }
  .review { padding: 26px 22px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; padding: 54px 0 40px; }
  .brands__list { justify-content: flex-start; }
  .dyno-sheet { transform: none; }
}


/* ============================================================
   LAYOUT WIREFRAME OVERRIDES
   Neutralises hard-coded colours, shadows, glows and decorative
   gradients that the root custom properties don't cover, and
   styles the placeholder boxes that stand in for imagery.
   ============================================================ */

/* Hard-coded dark backgrounds -> wireframe surfaces */
.topbar { background: var(--bg-2); }
.header { background: rgba(237, 237, 237, .94); }
.mobile-menu { background: rgba(237, 237, 237, .98); }
.footer { background: var(--bg-2); }

/* No shadows, glows or decorative gradients */
.header.is-shrunk { box-shadow: none; }
.part-card:hover { box-shadow: none; }
.dyno-sheet { box-shadow: none; }
.hero__texture { display: none; }
.hero__car { filter: none; }

/* Brand-coloured states -> neutral greys */
.cart-btn:hover { background: transparent; }
.btn--primary:hover { background: var(--pop); background: color-mix(in srgb, var(--pop) 86%, #000000); }
.brand-mark { color: #777777; }

/* Stock / status badges: accent surface — follows the colour option */
.badge--stock, .badge--low, .badge--oem, .badge--ship {
  background: var(--pop);
  color: var(--pop-ink);
  border-color: var(--pop);
}

/* Dyno-sheet highlight + legend keys: red -> grey */
.dyno-sheet__row--hl { background: #e2e2e2; }
.key--stock::before { background: #9a9a9a; }
.key--tuned::before { background: #555555; }

/* Select dropdown arrow (data-URI icon): red stroke -> grey */
.fitment__field select {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path d="M1 1l5 5 5-5" fill="none" stroke="%23777" stroke-width="2"/></svg>');
}

/* Image placeholder boxes — stand in for all imagery */
.img-ph {
  display: grid;
  place-items: center;
  background: #dcdcdc;
  border: 1px dashed #a8a8a8;
  color: #777777;
  font: 500 11px/1.5 ui-monospace, monospace;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-align: center;
}
.img-ph--hero {
  aspect-ratio: 720 / 320; /* matches original hero SVG viewBox */
  border-radius: var(--radius);
}

/* Logo placeholder: small bordered box labelled LOGO */
.logo-ph {
  display: grid;
  place-items: center;
  background: #dcdcdc;
  border: 1px dashed #a8a8a8;
  color: #777777;
  font: 500 7px/1 ui-monospace, monospace;
  letter-spacing: .1em;
}


/* ============================================================
   COLOUR OPTION
   One optional brand colour ("pop") for the accent surfaces
   only — primary CTAs, active tabs, badges, stars, focus
   rings and key highlights. Default stays the neutral
   wireframe grey (#9a9a9a). The fixed colour widget
   (bottom-right) sets --pop / --pop-ink on <html>; everything
   structural (surfaces, borders, placeholder boxes, chart
   data lines) stays wireframe grey.
   ============================================================ */
:root {
  --pop: #9a9a9a;
  --pop-ink: #ffffff;
}

/* Checklist ticks: route the inline SVG accent stroke through --pop
   (presentation attributes can't reference CSS vars, CSS can) */
.checklist svg path { stroke: var(--pop); }

/* Filled rating stars (JS-rendered): route accent fill through --pop */
.stars .star-on { fill: var(--pop); }
