/* Chase Powertrain — locked brand
   Charcoal #141518, magenta #F500C7 + sheen #FF86DB, OKLCH fade to teal #1FC3BE,
   Tomorrow type, real logo files. */

:root {
  --bg: #141518;
  --bg-2: #1b1d22;
  --bg-3: #22252c;
  --magenta: #F500C7;
  --sheen: #FF86DB;
  --teal: #1FC3BE;
  --white: #f5f6f8;
  --muted: #a8adb6;
  --ink: #f5f6f8;
  --danger: #ff5a7a;
  --ok: #1FC3BE;
  --example: #FF86DB;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --radius: 12px;
  --header-h: 64px;
  --max: 1120px;
  --font: "Tomorrow", system-ui, sans-serif;
  --glow-m: 0 0 18px rgba(245, 0, 199, 0.45);
  --glow-t: 0 0 18px rgba(31, 195, 190, 0.35);
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
}

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

a { color: var(--sheen); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -40px;
  z-index: 1000;
  background: var(--magenta);
  color: #fff;
  padding: 0.5rem 0.9rem;
  font-weight: 600;
}
.skip-link:focus { top: 0.5rem; }

/* Chrome-ish headings: readable first, metallic second */
.chrome,
.hero h1,
.page-hero h1,
.section-head h2,
.item-info h1,
.item-video h2,
.why-card h3,
.part-body h3,
.site-footer h2,
.policy h2 {
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f4f6f8;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35),
    0 0 16px rgba(31, 195, 190, 0.22);
}

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  color: var(--white);
  border-bottom: 2px solid var(--magenta);
  box-shadow: 0 1px 0 rgba(31, 195, 190, 0.35), var(--glow-m);
  min-height: var(--header-h);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.55rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.wordmark {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.wordmark:hover { color: inherit; }
.wordmark-img {
  height: 42px;
  width: auto;
  max-width: min(230px, 62vw);
  object-fit: contain;
  object-position: left center;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(245, 0, 199, 0.45);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle-bars {
  display: block;
  position: relative;
  width: 18px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
  box-shadow: none;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before,
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: rotate(-45deg); }

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--bg-2);
  border-bottom: 1px solid rgba(245, 0, 199, 0.35);
  padding: 0.5rem 0 0.75rem;
}
.site-nav.is-open { display: block; }
.site-nav ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: var(--max);
}
.site-nav a {
  display: block;
  color: var(--white);
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: #fff; }
.site-nav a[aria-current="page"] {
  box-shadow: inset 3px 0 0 var(--magenta);
}

@media (min-width: 800px) {
  :root { --header-h: 76px; }
  .nav-toggle { display: none; }
  .header-inner { padding: 0.7rem 1.5rem; }
  .wordmark-img { height: 52px; max-width: 320px; }
  .site-nav {
    display: block;
    position: static;
    background: transparent;
    border: 0;
    padding: 0;
    margin-left: auto;
  }
  .site-nav ul { display: flex; gap: 0.15rem; }
  .site-nav a {
    padding: 0.45rem 0.7rem;
    border-radius: 6px;
  }
  .site-nav a[aria-current="page"] {
    box-shadow: none;
    background: rgba(245, 0, 199, 0.12);
  }
  .site-nav a[aria-current="page"]::after {
    content: "";
    display: block;
    height: 2px;
    background: linear-gradient(90deg, var(--magenta), var(--teal));
    margin-top: 0.2rem;
  }
}

/* ----- Layout ----- */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 800px) {
  .wrap { padding: 0 1.5rem; }
}
.page-main { padding-bottom: 5rem; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1.25rem;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1.2;
}
.btn-primary {
  background: var(--magenta);
  color: #fff;
  border-color: var(--magenta);
  box-shadow: var(--glow-m);
}
.btn-primary:hover {
  background: var(--sheen);
  border-color: var(--sheen);
  color: #fff;
}
.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: var(--teal);
  box-shadow: var(--glow-t);
}
.btn-secondary:hover {
  background: var(--teal);
  color: #141518;
  border-color: var(--teal);
}
.btn-dark {
  background: var(--bg-3);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-dark:hover {
  background: #2c3038;
  color: #fff;
  border-color: var(--teal);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.hero-actions .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--bg);
  overflow: hidden;
}
.hero-overlay { display: none; }
.hero-grid,
.hero-scan {
  position: absolute;
  pointer-events: none;
}
.hero-grid {
  left: -10%;
  right: -10%;
  bottom: -8%;
  height: 52%;
  background-image:
    linear-gradient(rgba(31, 195, 190, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 0, 199, 0.22) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(420px) rotateX(62deg);
  transform-origin: center bottom;
  mask-image: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.35) 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.35) 55%, transparent 100%);
}
.hero-grid::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--magenta), var(--teal), var(--magenta), transparent);
  box-shadow: 0 0 16px var(--magenta);
}
.hero-scan {
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.035) 0 1px,
    transparent 1px 4px
  );
  opacity: 0.55;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 0 4.5rem;
}
.hero-logo {
  width: 100%;
  height: auto;
  margin: 0 0 1.15rem;
  filter:
    drop-shadow(0 0 22px rgba(245, 0, 199, 0.35))
    drop-shadow(0 0 36px rgba(31, 195, 190, 0.18));
}
.hero-copy { padding: 0 1rem; }
.hero-kicker {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
  font-style: italic;
  color: var(--teal);
  margin: 0 0 0.7rem;
}
.hero h1 {
  font-size: clamp(1.7rem, 6.4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: 0.04em;
  margin: 0 0 0.75rem;
  max-width: 16ch;
}
.hero .lede {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0;
  max-width: 36ch;
}
@media (max-width: 799px) {
  .hero-logo {
    width: calc(100% - 1.5rem);
    margin: 0 0.75rem 1.15rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn { width: 100%; }
}
@media (min-width: 800px) {
  .hero { min-height: calc(100vh - var(--header-h)); }
  .hero-content { padding: 3.5rem 1.5rem 6rem; }
  .hero-logo { width: min(100%, 900px); margin-bottom: 1.75rem; }
  .hero-copy { padding: 0; }
}

/* ----- Sections ----- */
.section { padding: 3rem 0; }
.section-head { margin-bottom: 1.6rem; }
.section-head h2 {
  font-size: clamp(1.4rem, 3.2vw, 1.95rem);
  margin: 0 0 0.4rem;
}
.section-head p { margin: 0; color: var(--muted); max-width: 52ch; }
.section-muted { background: var(--bg-2); }
.section-dark { background: var(--bg); color: var(--white); }
.section-dark .section-head p { color: var(--muted); }

/* ----- Why / cards ----- */
.why-grid,
.card-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) {
  .why-grid, .card-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .why-grid { grid-template-columns: 1fr 1fr 1fr 1fr; gap: 1.15rem; }
  .card-grid { grid-template-columns: 1fr 1fr 1fr; gap: 1.25rem; }
}

.why-card {
  background: var(--bg-3);
  border: 1px solid rgba(31, 195, 190, 0.2);
  border-top: 3px solid var(--magenta);
  border-radius: var(--radius);
  padding: 1.15rem 1.1rem 1.25rem;
}
.why-card h3 { font-size: 1rem; margin: 0 0 0.45rem; }
.why-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ----- Inventory cards ----- */
.part-card {
  background: var(--bg-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.part-card.is-sold { opacity: 0.88; }
.part-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #0e0f12;
  overflow: hidden;
}
.part-media img { width: 100%; height: 100%; object-fit: cover; }
.badges {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.5rem;
  border-radius: 4px;
  background: var(--bg);
  color: #fff;
}
.badge-example { background: var(--magenta); color: #fff; }
.badge-sold { background: #5a1a32; color: #ffd0e4; }
.badge-available { background: rgba(31, 195, 190, 0.2); color: var(--teal); }

.part-body { padding: 1rem 1rem 1.15rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.part-cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0;
}
.part-body h3 {
  font-size: 1.15rem;
  margin: 0;
  line-height: 1.15;
  text-shadow: none;
}
.part-price { font-weight: 700; font-size: 1.1rem; margin: 0.15rem 0; color: #fff; }
.part-price .example-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sheen);
  margin-bottom: 0.1rem;
}
.part-desc { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.9rem; flex: 1; }
.part-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
  text-decoration: none;
}
.part-link:hover { color: inherit; }
.part-link:hover h3 { color: var(--sheen); }
.part-fitment { margin: 0; font-size: 0.85rem; color: var(--muted); }

.video-wrap {
  margin-top: 0.75rem;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
}
.video-wrap iframe { width: 100%; height: 100%; border: 0; }
.watch-video { margin-top: 0.75rem; align-self: flex-start; }

.inventory-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.chip {
  appearance: none;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--bg-3);
  color: var(--white);
  cursor: pointer;
}
.chip[aria-pressed="true"],
.chip:hover {
  background: var(--magenta);
  color: #fff;
  border-color: var(--magenta);
  box-shadow: var(--glow-m);
}

.callout {
  background: rgba(245, 0, 199, 0.08);
  border: 1px solid rgba(245, 0, 199, 0.35);
  border-left: 4px solid var(--magenta);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  margin: 0 0 1.25rem;
  color: var(--white);
  font-size: 0.95rem;
}
.callout p { margin: 0; }
.callout code { color: var(--sheen); }

.empty-state { padding: 2rem 1rem; text-align: center; color: var(--muted); }

.page-hero {
  background: var(--bg);
  color: #fff;
  padding: 2.2rem 0 2rem;
  border-bottom: 2px solid var(--magenta);
  box-shadow: 0 1px 0 rgba(31, 195, 190, 0.35);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 70%;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(31, 195, 190, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 0, 199, 0.1) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  margin: 0 0 0.4rem;
}
.page-hero p { margin: 0; color: var(--muted); max-width: 54ch; }

/* ----- Social ----- */
.social-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  border: 1px solid rgba(31, 195, 190, 0.4);
  padding: 0.65rem 0.9rem;
  border-radius: 6px;
}
.social-link:hover {
  color: #fff;
  border-color: var(--magenta);
  box-shadow: var(--glow-m);
}

/* ----- Policies ----- */
.policy {
  background: var(--bg-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.35rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}
.policy h2 { font-size: 1.15rem; margin: 0 0 0.5rem; }
.policy p { margin: 0 0 0.7rem; color: var(--muted); }
.policy p:last-child { margin-bottom: 0; }
.policy p, .policy { color: var(--white); }
.todo {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--magenta);
  color: #fff;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  margin-right: 0.35rem;
  vertical-align: middle;
}

/* ----- Form ----- */
.form-card {
  background: var(--bg-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.1rem 1.5rem;
  max-width: 640px;
}
@media (min-width: 800px) {
  .form-card { padding: 1.75rem 1.75rem 2rem; }
}
.form-row { margin-bottom: 1rem; }
.form-row label,
.shop-search label,
.shop-row label {
  display: block;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  color: var(--muted);
}
.req { color: var(--magenta); }
input[type="text"],
input[type="email"],
input[type="number"],
input[type="search"],
select,
textarea {
  width: 100%;
  font: inherit;
  padding: 0.7rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: var(--bg);
  color: var(--white);
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 3px solid rgba(31, 195, 190, 0.35);
  border-color: var(--teal);
}
.form-help { font-size: 0.85rem; color: var(--muted); margin: 0.75rem 0 0; }
.form-note { margin: 0 0 1.1rem; color: var(--muted); }
.vehicle-grid { display: grid; gap: 0.75rem; }
@media (min-width: 640px) {
  .vehicle-grid { grid-template-columns: 1fr 1fr 1fr; }
}

/* ----- Footer ----- */
.site-footer {
  background: #101114;
  color: var(--muted);
  padding: 2.25rem 0 6rem;
  border-top: 2px solid var(--magenta);
  box-shadow: 0 -1px 0 rgba(31, 195, 190, 0.35);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 800px) {
  .footer-inner {
    padding: 0 1.5rem;
    grid-template-columns: 1.4fr 1fr 1fr 0.9fr;
    gap: 1.5rem;
  }
  .site-footer { padding-bottom: 2.5rem; }
}
.site-footer h2 {
  font-size: 0.8rem;
  margin: 0 0 0.5rem;
  text-shadow: none;
}
.site-footer p, .site-footer li { margin: 0 0 0.4rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--sheen); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.wordmark-footer .wordmark-img {
  height: 56px;
  max-width: 260px;
  margin-bottom: 0.75rem;
}
.fine-print { font-size: 0.78rem; color: #7d828c; margin-top: 0.75rem !important; }

/* ----- Floating message button ----- */
.msg-dock {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}
.msg-panel {
  display: none;
  width: min(280px, calc(100vw - 2rem));
  background: var(--bg-2);
  color: var(--white);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(245, 0, 199, 0.4);
  padding: 0.85rem 0.9rem 1rem;
}
.msg-panel.is-open { display: block; }
.msg-panel p { margin: 0 0 0.7rem; font-size: 0.9rem; color: var(--muted); }
.msg-panel a {
  display: block;
  text-decoration: none;
  font-weight: 700;
  padding: 0.55rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 0.35rem;
}
.msg-panel a.fb { background: #1877f2; color: #fff; }
.msg-panel a.fb:hover { background: #0f66d8; color: #fff; }
.msg-panel a.mail { background: var(--magenta); color: #fff; }
.msg-panel a.mail:hover { color: #fff; background: var(--sheen); }
.msg-toggle {
  border: 0;
  background: var(--magenta);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  box-shadow: var(--glow-m);
  cursor: pointer;
}
.msg-toggle:hover { background: var(--sheen); }
@media (min-width: 800px) {
  .msg-dock { right: 1.5rem; bottom: 1.5rem; }
}

/* ----- Shop filters & category tiles ----- */
.cat-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 800px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
}
.cat-tile {
  display: flex;
  align-items: center;
  min-height: 4.25rem;
  padding: 0.85rem 1rem;
  text-decoration: none;
  color: var(--white);
  background: var(--bg-3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: 3px solid var(--magenta);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: var(--shadow);
}
.cat-tile:hover {
  color: #fff;
  border-color: var(--teal);
  box-shadow: var(--glow-t);
}

.shop-filters { margin-bottom: 1.25rem; }
.shop-search { margin-bottom: 0.85rem; }
.shop-row {
  display: grid;
  gap: 0.75rem;
  margin: 0.85rem 0;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 800px) {
  .shop-row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.shop-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.shop-count { margin: 0; font-weight: 700; color: var(--muted); }

/* ----- Item detail ----- */
.item-back { margin: 0 0 1rem; }
.item-layout { display: grid; gap: 1.5rem; }
@media (min-width: 800px) {
  .item-layout { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
}
.item-photo {
  background: #0e0f12;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.item-photo img { width: 100%; height: 100%; object-fit: cover; }
.item-thumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.65rem; }
.item-thumb {
  width: 4.5rem;
  height: 3.4rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  background: #0e0f12;
  cursor: pointer;
}
.item-thumb.is-active { border-color: var(--magenta); }
.item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.item-info h1 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0.5rem 0 0.4rem;
  line-height: 1.1;
}
.badges-static { position: static; }
.item-specs { display: grid; gap: 0.65rem 1.25rem; margin: 1.1rem 0; }
.item-specs dt {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}
.item-specs dd { margin: 0.15rem 0 0; color: var(--white); }
.item-pickup { color: var(--muted); }
.item-video { margin-top: 2rem; }
.item-video h2 { font-size: 1.2rem; }
.item-info .hero-actions { margin-top: 1.25rem; }
.item-info .btn-dark { color: #fff; }

/* ----- About ----- */
.about-copy {
  max-width: 62ch;
}
.about-copy p { margin: 0 0 1rem; color: var(--muted); font-size: 1.02rem; }
.about-copy p:last-child { margin-bottom: 0; }

/* ----- Form status & honeypot ----- */
.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status { margin: 0.85rem 0 0; font-size: 0.95rem; }
.form-status.form-error { color: #ff8aa0; }
.form-thanks {
  display: none;
  background: var(--bg-2);
  border: 1px solid rgba(31, 195, 190, 0.35);
  border-top: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  max-width: 640px;
}
.form-thanks h2 {
  font-family: var(--font);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.5rem;
  color: #fff;
}
.form-thanks p { margin: 0; color: var(--muted); }
.form-card.is-sent { display: none; }
.form-thanks.is-visible { display: block; }
.field-hint { display: block; font-size: 0.8rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); margin-top: 0.25rem; }

.form-grid-2 { display: grid; gap: 0.75rem; margin-bottom: 1rem; }
@media (min-width: 640px) {
  .form-grid-2 { grid-template-columns: 1fr 1fr; }
}

/* ----- v5: hero search, vehicle tiles, sale prices, crumbs, status ----- */
@media (max-width: 799px) {
  .hero-content { padding: 0.5rem 0 2.5rem; }
  .hero-logo {
    width: calc(100% - 1.5rem);
    margin: 0 0.75rem 0.6rem;
  }
  .hero-kicker { margin: 0 0 0.4rem; }
  .hero h1 {
    margin: 0 0 0.45rem;
    font-size: clamp(1.45rem, 6vw, 2.2rem);
    max-width: 18ch;
  }
  .hero .lede { margin: 0 0 0.85rem; }
}

.hero-search {
  margin: 1.1rem 0 0;
  max-width: 42rem;
}
.hero-search label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 0.45rem;
  text-shadow: 0 0 12px rgba(245, 0, 199, 0.4);
}
.hero-search-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}
.hero-search input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 1.05rem;
  padding: 0.85rem 0.95rem;
  border: 2px solid var(--teal);
  box-shadow: var(--glow-t);
  background: #0e0f12;
}
.hero-search .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}
.hero-search + .hero-actions { margin-top: 1rem; }
@media (max-width: 420px) {
  .hero-search-row { flex-direction: column; }
  .hero-search .btn { width: 100%; }
}

.shop-search-lg input[type="search"] {
  font-size: 1.05rem;
  padding: 0.85rem 0.95rem;
  border-color: rgba(31, 195, 190, 0.45);
}

.vehicle-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 800px) {
  .vehicle-grid { grid-template-columns: repeat(4, 1fr); }
}

.subcat-heading {
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 2rem 0 0.85rem;
  color: #fff;
}

.platform-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .platform-grid.platforms-trucks { grid-template-columns: repeat(3, 1fr); }
  .platform-grid.platforms-cars { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .platform-grid.platforms-cars { grid-template-columns: repeat(3, 1fr); }
}

.vehicle-tile {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--bg-3);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: 3px solid var(--magenta);
  box-shadow: var(--shadow);
  min-width: 0;
}
.vehicle-tile:hover {
  color: inherit;
  border-color: var(--teal);
  box-shadow: var(--glow-t);
}
.vehicle-tile .tile-art {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #101114;
}
.vehicle-tile .tile-body {
  padding: 0.85rem 1rem 1rem;
}
.vehicle-tile h3 {
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.25;
  text-shadow: none;
}
.vehicle-tile:hover h3 { color: var(--sheen); }
.vehicle-tile ul {
  margin: 0.5rem 0 0;
  padding: 0 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}
.vehicle-tile li { margin: 0 0 0.25rem; }
.tile-note {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.hot-note {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 54ch;
}
.hot-cta { margin: 1.15rem 0 0; }

.badge-sale {
  background: var(--magenta);
  color: #fff;
  box-shadow: var(--glow-m);
}
.badge-coming {
  background: #5a4a16;
  color: #ffd978;
}
.price-original {
  text-decoration: line-through;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92em;
  margin-right: 0.4rem;
}
.price-sale {
  color: var(--sheen);
  font-weight: 700;
}
.part-ask {
  margin: 0.15rem 0 0;
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.item-crumbs {
  margin: 0 0 1.15rem;
}
.item-crumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.35rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.item-crumbs li { display: flex; align-items: center; gap: 0.35rem; }
.item-crumbs li + li::before {
  content: "/";
  color: #6b7078;
}
.item-crumbs a { color: var(--sheen); }
.item-crumbs [aria-current="page"] { color: var(--white); }

.shop-context-nav {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.shop-context-nav a { color: var(--sheen); }

.shop-row-main {
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .shop-row-main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.shop-actions { row-gap: 0.65rem; }
.show-sold {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  margin: 0;
}
.show-sold input {
  width: auto;
  margin: 0;
  accent-color: var(--teal);
}

.empty-state .btn { margin-top: 0.5rem; }
