/* ===========================================================
   Barnfind Performance — styles
   =========================================================== */
:root {
  --red: #d7262d;
  --red-dark: #8f1318;
  --yellow: #f6b917;
  --ink: #0d0b0a;
  --coal: #16120f;
  --wood: #2b1a12;
  --wood-2: #3a2317;
  --paper: #f4efe7;
  --muted: #b9ada1;
  --line: rgba(255, 255, 255, 0.1);
  --nav-h: 78px;
  --radius: 10px;
  --display: "Anton", "Impact", sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
}
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container { width: min(1240px, 100% - 32px); margin-inline: auto; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--cond);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.85rem;
  color: var(--yellow);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--red); }
.h2 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.3rem, 5.4vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  margin: 8px 0 14px;
}
.h2 em { font-style: normal; color: var(--red); }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head .eyebrow { justify-content: center; }
.section-sub { color: var(--muted); max-width: 620px; margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--cond); font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 1.05rem;
  padding: 14px 28px; border-radius: 6px;
  transition: transform .2s, background .2s, box-shadow .2s, color .2s;
}
.btn--red { background: var(--red); color: #fff; box-shadow: 0 6px 0 var(--red-dark); }
.btn--red:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--red-dark), 0 12px 30px rgba(215,38,45,.35); }
.btn--red:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--red-dark); }
.btn--ghost { border: 2px solid var(--yellow); color: var(--yellow); }
.btn--ghost:hover { background: var(--yellow); color: var(--ink); }
.btn--block { width: 100%; }

.input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  color: var(--paper);
  border-radius: 6px;
  padding: 12px 14px;
  font: inherit; font-size: 0.95rem;
}
.input:focus { outline: 2px solid var(--yellow); outline-offset: 1px; }
select.input option { background: var(--coal); }

/* ===========================================================
   NAV — logo centered
   =========================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  background: linear-gradient(180deg, rgba(13,11,10,.96), rgba(13,11,10,.88));
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--red);
  transition: background .3s;
}
.nav__inner {
  height: 100%;
  width: min(1320px, 100% - 32px); margin-inline: auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.nav__links { list-style: none; display: flex; gap: clamp(14px, 2vw, 30px); align-items: center; }
.nav__links--left { justify-content: flex-end; padding-right: clamp(24px, 4vw, 70px); }
.nav__links--right { justify-content: flex-start; padding-left: clamp(24px, 4vw, 70px); }
.nav__links a {
  font-family: var(--cond); font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.1em; font-size: 0.98rem; color: #eee4d8;
  position: relative; padding: 6px 0; white-space: nowrap;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 3px;
  background: var(--yellow); transition: right .25s;
}
.nav__links a:hover, .nav__links a.is-current { color: #fff; }
.nav__links a:hover::after, .nav__links a.is-current::after { right: 0; }

.nav__logo {
  width: 124px; height: 124px;
  align-self: start; margin-top: 4px;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.7));
  transition: transform .3s, width .3s, height .3s;
}
.nav__logo:hover { transform: scale(1.05) rotate(-1deg); }
.nav__logo img { width: 100%; height: 100%; object-fit: contain; }
.nav.is-scrolled .nav__logo { width: 104px; height: 104px; }

.cart-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--red); box-shadow: 0 3px 0 var(--red-dark);
  transition: transform .2s;
}
.cart-btn:hover { transform: translateY(-2px); }
.cart-btn svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cart-btn circle { fill: #fff; stroke: none; }
.cart-btn__count {
  position: absolute; top: -6px; right: -6px;
  min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px;
  background: var(--yellow); color: var(--ink);
  font-family: var(--cond); font-weight: 800; font-size: 0.8rem;
  display: grid; place-items: center;
}
.cart-btn.bump { animation: bump .4s; }
@keyframes bump { 40% { transform: scale(1.25); } }

.nav__burger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 6px; padding: 10px; }
.nav__burger span { height: 3px; background: #fff; border-radius: 2px; transition: .3s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.mobile-menu {
  position: fixed; z-index: 45; inset: var(--nav-h) 0 auto 0;
  background: var(--coal); border-bottom: 3px solid var(--red);
  display: flex; flex-direction: column; padding: 60px 24px 20px;
  transform: translateY(-120%); transition: transform .35s ease;
}
.mobile-menu.is-open { transform: none; }
.mobile-menu a {
  font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .1em;
  padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.15rem;
}

/* ===========================================================
   PANELS (full-page sections)
   =========================================================== */
.panel {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--nav-h) + 70px) 0 80px;
}

/* reveal: "next page comes up" */
.reveal { opacity: 1; transform: translateY(50px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ===========================================================
   1. HERO
   =========================================================== */
.hero {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 40px) 0 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(215,38,45,.28), transparent 60%),
    repeating-linear-gradient(90deg, rgba(0,0,0,.35) 0 2px, transparent 2px 86px),
    linear-gradient(180deg, #1a100b 0%, var(--wood) 45%, #120c09 100%);
}
.hero::after { /* floor fade */
  content: ""; position: absolute; inset: auto 0 0 0; height: 40%;
  background: linear-gradient(180deg, transparent, rgba(8,6,5,.95));
  pointer-events: none;
}
.hero__glow {
  position: absolute; top: 18%; left: 50%; width: 680px; height: 680px;
  translate: -50% 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(246,185,23,.2), transparent 65%);
  animation: flicker 5s ease-in-out infinite;
}
@keyframes flicker { 0%,100% { opacity: .8; } 45% { opacity: 1; } 50% { opacity: .65; } 55% { opacity: 1; } }

.hero__smoke { position: absolute; inset: 0; pointer-events: none; }
.hero__smoke i {
  position: absolute; bottom: -20%; width: 70vw; height: 60vh; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(220,210,200,.14), transparent 65%);
  filter: blur(20px);
  animation: drift 22s linear infinite;
}
.hero__smoke i:nth-child(1) { left: -30%; animation-duration: 26s; }
.hero__smoke i:nth-child(2) { left: 10%; animation-duration: 32s; animation-delay: -10s; }
.hero__smoke i:nth-child(3) { left: 50%; animation-duration: 28s; animation-delay: -5s; }
.hero__smoke i:nth-child(4) { left: 70%; animation-duration: 36s; animation-delay: -18s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translate(-20vw, -60vh) scale(1.5); opacity: 0; }
}

.hero__content { position: relative; z-index: 2; text-align: center; padding: 0 16px; }
.hero__logo {
  width: min(540px, 82vw, 50vh); margin: 0 auto;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.75));
  animation: logoIn 1.2s cubic-bezier(.2,.8,.2,1.1) both;
}
@keyframes logoIn { from { opacity: 0; transform: translateY(40px) scale(.9); } }
.hero__tag {
  margin-top: 14px;
  font-family: var(--cond); font-weight: 800; text-transform: uppercase;
  letter-spacing: .12em; font-size: clamp(1rem, 2.2vw, 1.35rem);
}
.hero__tag span { color: var(--yellow); display: block; font-size: .8em; letter-spacing: .16em; }
.hero__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 20px 0 22px; }

.hero__down {
  position: relative; z-index: 2; width: 30px; height: 48px; margin-bottom: 18px;
  border: 2px solid rgba(255,255,255,.55); border-radius: 16px;
}
.hero__down span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 10px; margin-left: -2px;
  background: var(--yellow); border-radius: 2px; animation: wheel 1.6s infinite;
}
@keyframes wheel { to { transform: translateY(16px); opacity: 0; } }

/* brand ticker */
.ticker {
  position: relative; z-index: 3; width: 100%;
  background: var(--red);
  border-block: 3px solid var(--ink);
  box-shadow: 0 -6px 0 var(--yellow);
  transform: rotate(-1.2deg) scale(1.03);
  overflow: hidden;
  margin-bottom: 26px;
}
.ticker__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  display: flex; align-items: center; gap: 26px; padding: 14px 26px;
  font-family: var(--display); font-size: 1.6rem; text-transform: uppercase; letter-spacing: .04em;
  color: #fff; white-space: nowrap;
}
.ticker__item::after { content: "★"; color: var(--yellow); font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===========================================================
   2. FEATURED (smoke background, product slider)
   =========================================================== */
.featured {
  --rail: 190px;
  height: 100vh; height: 100svh; min-height: 620px;
  padding: calc(var(--nav-h) + 36px) 0 0;
  overflow: hidden; display: flex;
  background:
    radial-gradient(ellipse at 12% 48%, rgba(185,176,166,.22), transparent 55%),
    linear-gradient(180deg, #151312 0%, #0c0b0a 100%);
}
/* wide smoke image, anchored right, faded into the page on the left/bottom */
.featured__bg {
  position: absolute; right: 0; top: var(--nav-h);
  height: calc(100% - var(--nav-h) - var(--rail) + 60px);
  aspect-ratio: 1983 / 793;
  background: url("../assets/hero-smoke-white.jpg") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%), linear-gradient(0deg, transparent 0, #000 16%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 14%), linear-gradient(0deg, transparent 0, #000 16%);
  mask-composite: intersect;
}
.featured__inner { position: relative; z-index: 2; width: min(1320px, 100% - 32px); margin-inline: auto; display: flex; flex-direction: column; }
.featured__head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 680px; }
.featured__head .h2 { text-shadow: 0 4px 24px rgba(0,0,0,.85); margin-bottom: 0; }
.tabs { display: inline-flex; background: rgba(0,0,0,.6); border: 1px solid var(--line); border-radius: 8px; padding: 5px; backdrop-filter: blur(6px); }
.tab {
  font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  padding: 10px 18px; border-radius: 5px; color: var(--muted); transition: .2s;
}
.tab.is-active { background: var(--yellow); color: var(--ink); }

/* product rail along the "ground" */
.slider { position: relative; margin-top: auto; height: var(--rail); display: flex; align-items: center; }
.slider::before { /* red/yellow stripe like the logo banner */
  content: ""; position: absolute; left: -50vw; right: -50vw; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--red) 0 70%, var(--yellow) 70%);
  box-shadow: 0 -1px 0 rgba(0,0,0,.6);
}
.slider__viewport { overflow: hidden; width: 100%; padding: 12px 0; cursor: grab; touch-action: pan-y;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.slider__viewport:active { cursor: grabbing; }
.slider__track { display: flex; gap: 18px; width: max-content; will-change: transform; }
.slider__arrow {
  position: absolute; top: 50%; z-index: 3; translate: 0 -50%;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(0,0,0,.8); border: 2px solid var(--yellow); color: var(--yellow);
  font-size: 1.8rem; line-height: 1; display: grid; place-items: center;
  transition: .2s;
}
.slider__arrow:hover { background: var(--yellow); color: var(--ink); }
.slider__arrow--prev { left: -8px; }
.slider__arrow--next { right: -8px; }

.slide {
  width: 330px; flex: none; display: grid; grid-template-columns: 118px 1fr;
  background: linear-gradient(180deg, rgba(30,24,20,.95), rgba(14,12,10,.97));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .3s, border-color .3s;
  user-select: none;
}
.slide:hover { transform: translateY(-6px); border-color: var(--yellow); }
.slide .pimg { aspect-ratio: auto; height: 100%; }
.slide .pimg svg { width: 66%; height: 66%; }
.slide .badge { top: 6px; left: 6px; font-size: .62rem; padding: 2px 6px; }
.slide .badge + .badge { left: 6px; right: auto; top: 28px; }
.slide .pbody { padding: 10px 12px; gap: 2px; }
.slide .pname { font-size: .88rem; min-height: 2.4em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slide .psub { display: none; }
.slide .pfoot { padding-top: 6px; }
.slide .pprice { font-size: 1.2rem; }
.slide .add { padding: 6px 10px; font-size: .8rem; }



/* ---------- spotlight product (sits in the smoke, left of the car) ---------- */
.spotlight {
  margin-top: 28px; width: min(520px, 100%);
  display: grid; grid-template-columns: 170px 1fr; gap: 20px; align-items: center;
  padding: 16px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(12,10,9,.82), rgba(12,10,9,.55));
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(6px);
  box-shadow: 0 20px 40px rgba(0,0,0,.45);
}
.spotlight__media .pimg { aspect-ratio: 1; border-radius: 8px; }
.spotlight__media .pimg svg { width: 64%; height: 64%; }
.spotlight__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.spotlight__label {
  align-self: flex-start; margin-bottom: 4px;
  font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem;
  background: var(--red); color: #fff; padding: 2px 8px; border-radius: 3px;
}
.spotlight__name { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.55rem; line-height: 1.05; letter-spacing: .01em; text-wrap: balance; }
.spotlight__foot { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.spotlight__price { font-family: var(--display); font-size: 1.9rem; color: var(--yellow); line-height: 1; }
.spotlight__dots { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.spotlight__dots button { width: 18px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.25); transition: background .2s, width .2s; }
.spotlight__dots button.is-active { background: var(--yellow); width: 30px; }
.spotlight.is-fading .spotlight__media, .spotlight.is-fading .spotlight__body > :not(.spotlight__dots) { opacity: 0; transform: translateX(-10px); }
.spotlight__media, .spotlight__body > * { transition: opacity .3s, transform .3s; }


/* floating cutout part + starburst stamp (In Stock Now / Hot Deal) */
.spotlight__media { position: relative; }
.spotlight.has-cutout { overflow: visible; }
.spotlight__cutout {
  width: 240px; max-width: none; margin: -70px -40px -50px -46px;
  filter: drop-shadow(0 28px 22px rgba(0,0,0,.75)) drop-shadow(0 0 30px rgba(246,185,23,.12));
  animation: partFloat 4.5s ease-in-out infinite;
  position: relative; z-index: 1;
}
@keyframes partFloat {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}
.stamp {
  position: absolute; z-index: 2; top: -58px; left: -58px;
  width: 92px; height: 92px; display: grid; place-items: center; text-align: center;
  padding: 16px; font-family: var(--display); text-transform: uppercase;
  font-size: .95rem; line-height: .95; letter-spacing: .02em;
  color: var(--ink); background: var(--yellow);
  clip-path: polygon(50% 0%, 61% 11%, 75% 6%, 79% 21%, 94% 25%, 89% 39%, 100% 50%, 89% 61%, 94% 75%, 79% 79%, 75% 94%, 61% 89%, 50% 100%, 39% 89%, 25% 94%, 21% 79%, 6% 75%, 11% 61%, 0% 50%, 11% 39%, 6% 25%, 21% 21%, 25% 6%, 39% 11%);
  transform: rotate(-14deg);
  animation: stampPulse 2.4s ease-in-out infinite;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.6));
}
@keyframes stampPulse { 0%, 100% { transform: rotate(-14deg) scale(1); } 50% { transform: rotate(-10deg) scale(1.08); } }
.spotlight__price s, .pprice s { font-family: var(--body); font-size: .5em; color: var(--muted); font-weight: 500; margin-left: 4px; vertical-align: middle; }
.badge--stamp { background: var(--yellow); color: var(--ink); }

/* short screens / phones: no room between heading and rail */
@media (max-height: 700px), (max-width: 700px) { .spotlight { display: none; } }

/* ===========================================================
   PRODUCT CARD (shared)
   =========================================================== */
.pimg {
  position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center;
  background:
    radial-gradient(circle at 50% 55%, rgba(255,255,255,.1), transparent 60%),
    repeating-linear-gradient(90deg, rgba(0,0,0,.18) 0 2px, transparent 2px 38px),
    linear-gradient(160deg, #3b2418, #1d130e);
  overflow: hidden;
}
.pimg[data-cat="exterior"] { background: radial-gradient(circle at 50% 55%, rgba(255,255,255,.1), transparent 60%), repeating-linear-gradient(90deg, rgba(0,0,0,.18) 0 2px, transparent 2px 38px), linear-gradient(160deg, #4a1215, #1c0a0b); }
.pimg[data-cat="maintenance"] { background: radial-gradient(circle at 50% 55%, rgba(255,255,255,.1), transparent 60%), repeating-linear-gradient(90deg, rgba(0,0,0,.18) 0 2px, transparent 2px 38px), linear-gradient(160deg, #2c2c2e, #121214); }
.pimg img { width: 100%; height: 100%; object-fit: cover; }
.pimg svg {
  width: 52%; height: 52%;
  fill: none; stroke: #f1e6d6; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.6));
  transition: transform .35s;
}
.pimg svg .acc { stroke: var(--yellow); }
.pimg svg .fill-r { fill: var(--red); stroke: none; }
.card:hover .pimg svg, .slide:hover .pimg svg { transform: scale(1.08) rotate(-3deg); }
.badge {
  position: absolute; top: 10px; left: 10px;
  font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem;
  padding: 3px 9px; border-radius: 3px;
}
.badge--new { background: var(--yellow); color: var(--ink); }
.badge--hot { background: var(--red); color: #fff; }
.badge + .badge { left: auto; right: 10px; }

.pbody { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pbrand { font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--yellow); }
.pname { font-weight: 600; line-height: 1.25; font-size: .98rem; min-height: 2.5em; }
.psub { font-size: .8rem; color: var(--muted); }
.pfoot { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 10px; }
.pprice { font-family: var(--display); font-size: 1.45rem; letter-spacing: .02em; }
.add {
  font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem;
  background: var(--red); color: #fff; padding: 8px 14px; border-radius: 5px;
  box-shadow: 0 3px 0 var(--red-dark); transition: .15s;
  white-space: nowrap; flex: none;
}
.add:hover { background: #ee343b; }
.add:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--red-dark); }
.add.is-added { background: var(--yellow); color: var(--ink); box-shadow: 0 3px 0 #9a7208; }

/* ===========================================================
   3. SHOP
   =========================================================== */
.shop {
  background:
    radial-gradient(ellipse at top, rgba(215,38,45,.12), transparent 50%),
    var(--ink);
}
.cat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 40px; }
.cat-card {
  position: relative; text-align: left; overflow: hidden;
  padding: 26px 24px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--wood-2), var(--wood));
  border: 1px solid var(--line); border-left: 6px solid var(--red);
  display: flex; flex-direction: column; gap: 4px;
  transition: transform .25s, border-color .25s;
}
.cat-card:hover { transform: translateY(-4px); border-left-color: var(--yellow); }
.cat-card strong { font-family: var(--display); font-weight: 400; font-size: 2rem; text-transform: uppercase; letter-spacing: .02em; }
.cat-card small { color: var(--muted); font-size: .9rem; }
.cat-card__num { position: absolute; right: 16px; top: 4px; font-family: var(--display); font-size: 4.2rem; color: rgba(255,255,255,.06); }

.toolbar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; padding: 14px; background: var(--coal); border: 1px solid var(--line); border-radius: var(--radius); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .92rem;
  padding: 8px 16px; border-radius: 30px; border: 1px solid var(--line); color: var(--muted); transition: .2s;
}
.chip:hover { color: #fff; border-color: #fff; }
.chip.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.toolbar__right { display: flex; gap: 10px; flex: 1; justify-content: flex-end; min-width: 260px; }
.toolbar__right .input { max-width: 280px; }
.toolbar__right select.input { max-width: 200px; }
.result-count { color: var(--muted); font-size: .9rem; margin: 18px 2px 14px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.card {
  display: flex; flex-direction: column;
  background: var(--coal); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  animation: cardIn .45s both;
}
.card:hover { transform: translateY(-5px); border-color: rgba(246,185,23,.6); box-shadow: 0 16px 34px rgba(0,0,0,.5); }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px); } }
.empty { grid-column: 1 / -1; text-align: center; padding: 60px 0; color: var(--muted); }

/* ===========================================================
   4. ABOUT
   =========================================================== */
.about {
  display: flex; align-items: center;
  background:
    linear-gradient(90deg, rgba(13,11,10,.97) 35%, rgba(13,11,10,.8)),
    repeating-linear-gradient(90deg, rgba(0,0,0,.4) 0 3px, transparent 3px 90px),
    linear-gradient(180deg, #5b1a17, #2d0f0d);
  border-top: 3px solid var(--red);
}
.about__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.about__copy p { color: #d8cdc1; margin-bottom: 14px; }
.about__copy .lead { font-size: 1.25rem; color: #fff; font-weight: 600; }
.about__copy strong { color: var(--yellow); }
.about__points { list-style: none; display: grid; gap: 16px; }
.about__points li {
  display: flex; gap: 18px; padding: 20px 22px; border-radius: var(--radius);
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  color: var(--muted); font-size: .95rem;
}
.about__points li span { font-family: var(--display); font-size: 2rem; color: var(--red); line-height: 1; }
.about__points strong { display: block; color: #fff; font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 1.1rem; }

/* ===========================================================
   5. RETURNS & SUPPORT
   =========================================================== */
.support { background: linear-gradient(180deg, var(--ink), #140f0c); border-top: 3px solid var(--yellow); }
.policy { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin-bottom: 48px; }
.policy__main, .policy__why { padding: 28px; border-radius: var(--radius); background: var(--coal); border: 1px solid var(--line); }
.policy__main { border-top: 5px solid var(--red); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.policy__main p, .policy__why p { color: #d8cdc1; max-width: 65ch; }
.policy__why { background: linear-gradient(160deg, var(--wood-2), var(--wood)); display: flex; flex-direction: column; gap: 14px; }
.policy__why a, .policy__main p a, .mfg__head a { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.policy__title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.7rem; letter-spacing: .02em; line-height: 1.05; }
.policy__rule { font-size: 1.12rem; }
.policy__rule strong { color: #fff; background: var(--red); padding: 1px 8px; border-radius: 3px; }
.policy__label { font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; color: var(--yellow) !important; }
.policy__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; width: 100%; }
.policy__list li { position: relative; padding-left: 26px; color: #eee4d8; }
.policy__list li::before { content: "✕"; position: absolute; left: 0; top: 0; color: var(--red); font-weight: 700; }
.mfg__head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.mfg__head p { color: var(--muted); }
.mfg__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.mfg__card { padding: 16px 18px; border-radius: 8px; background: var(--coal); border: 1px solid var(--line); border-left: 4px solid var(--yellow); }
.mfg__card strong { font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 1.1rem; }
.mfg__card dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; margin-top: 8px; font-size: .88rem; }
.mfg__card dt { color: var(--muted); font-family: var(--cond); text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; padding-top: 2px; }
.mfg__card dd { overflow-wrap: anywhere; }
.mfg__card dd a { color: var(--yellow); }
.mfg__soon { color: var(--muted); font-style: italic; }
.mfg__soon a { color: var(--muted) !important; text-decoration: underline; }
.cart__note a { color: var(--yellow); text-decoration: underline; }
@media (max-width: 900px) { .policy { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .policy__list { grid-template-columns: 1fr; } .policy__main, .policy__why { padding: 20px; } }

/* ===========================================================
   5. CONTACT
   =========================================================== */
.contact { background: var(--ink); display: flex; flex-direction: column; padding-bottom: 0; }
.contact__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; flex: 1; align-items: start; }
.contact__info > p { color: var(--muted); }
.contact__list { list-style: none; margin-top: 28px; display: grid; gap: 14px; }
.contact__list li { display: flex; flex-direction: column; padding-left: 16px; border-left: 3px solid var(--red); }
.contact__list strong { font-family: var(--cond); text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; color: var(--yellow); }
.contact__list a:hover { color: var(--yellow); }
.contact__form {
  display: grid; gap: 16px; padding: 30px; border-radius: var(--radius);
  background: var(--coal); border: 1px solid var(--line); border-top: 5px solid var(--red);
}
.contact__form label { display: grid; gap: 6px; font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; color: var(--muted); }
.contact__form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact__form textarea { resize: vertical; }
.form-note { color: var(--yellow); font-weight: 600; min-height: 1.4em; }

.footer {
  margin-top: 70px; padding: 26px 16px; text-align: center;
  border-top: 3px solid var(--red); background: #080706;
  display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
  color: var(--muted); font-size: .9rem;
}
.footer__logo { width: 56px; }

/* ===========================================================
   CART DRAWER
   =========================================================== */
.overlay { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.6); opacity: 0; pointer-events: none; transition: opacity .3s; }
.overlay.is-open { opacity: 1; pointer-events: auto; }
.cart {
  position: fixed; z-index: 100; top: 0; right: 0; bottom: 0;
  width: min(420px, 100%);
  background: var(--coal); border-left: 4px solid var(--red);
  display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.cart.is-open { transform: none; }
.cart__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.cart__head h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.8rem; letter-spacing: .02em; }
.cart__close { font-size: 2rem; line-height: 1; color: var(--muted); }
.cart__close:hover { color: #fff; }
.cart__items { flex: 1; overflow-y: auto; padding: 10px 22px; }
.cart__empty { text-align: center; color: var(--muted); padding: 60px 0; }
.citem { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.citem .pimg { aspect-ratio: 1; border-radius: 6px; }
.citem .pimg svg { width: 70%; height: 70%; stroke-width: 2.6; }
.citem__name { font-size: .9rem; font-weight: 600; line-height: 1.25; }
.citem__brand { font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; color: var(--yellow); }
.qty { display: inline-flex; align-items: center; margin-top: 6px; border: 1px solid var(--line); border-radius: 4px; }
.qty button { width: 28px; height: 26px; color: var(--muted); }
.qty button:hover { color: #fff; background: rgba(255,255,255,.06); }
.qty span { min-width: 26px; text-align: center; font-size: .9rem; }
.citem__right { text-align: right; }
.citem__price { font-family: var(--display); font-size: 1.1rem; }
.citem__rm { font-size: .75rem; color: var(--muted); text-decoration: underline; margin-top: 6px; }
.citem__rm:hover { color: var(--red); }
.cart__foot { padding: 20px 22px; border-top: 1px solid var(--line); }
.cart__row { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--cond); text-transform: uppercase; letter-spacing: .08em; font-weight: 800; font-size: 1.1rem; }
.cart__row strong { font-family: var(--display); font-weight: 400; font-size: 1.7rem; letter-spacing: .02em; }
.cart__note { font-size: .8rem; color: var(--muted); margin: 4px 0 14px; }

.toast {
  position: fixed; z-index: 120; left: 50%; bottom: 24px;
  transform: translate(-50%, calc(100% + 40px)); visibility: hidden;
  background: var(--yellow); color: var(--ink);
  font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  padding: 12px 22px; border-radius: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.5);
  transition: transform .35s cubic-bezier(.2,.8,.2,1.2);
  max-width: calc(100% - 32px);
}
.toast.is-show { transform: translate(-50%, 0); visibility: visible; }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 1100px) {
  .nav__links a { font-size: .86rem; letter-spacing: .06em; }
  .nav__links { gap: 14px; }
  .nav__links--left { padding-right: 22px; }
  .nav__links--right { padding-left: 22px; }
}
@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .nav__inner { grid-template-columns: 44px 1fr 44px; }
  .nav__links--left { display: none; }
  .nav__links--right { grid-column: 3; padding: 0; justify-content: flex-end; }
  .nav__links--right li:not(:last-child) { display: none; }
  .nav__burger { display: flex; grid-column: 1; grid-row: 1; }
  .nav__logo { grid-column: 2; grid-row: 1; justify-self: center; width: 96px; height: 96px; }
  .nav.is-scrolled .nav__logo { width: 84px; height: 84px; }
  .cat-cards { grid-template-columns: 1fr; }
  .about__inner, .contact__inner { grid-template-columns: 1fr; gap: 36px; }
  .featured__head { max-width: none; }
  .toolbar__right { justify-content: stretch; }
  .toolbar__right .input { max-width: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .panel { padding-top: calc(var(--nav-h) + 50px); }
  .contact__form { padding: 20px; }
  .contact__form .row { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pbody { padding: 10px 12px 12px; }
  .pname { font-size: .88rem; }
  .pfoot { flex-direction: column; align-items: stretch; gap: 8px; }
  .pprice { font-size: 1.25rem; }
  .slide { width: 210px; }
  .slider__arrow { display: none; }
  .ticker__item { font-size: 1.2rem; padding: 10px 18px; }
  .toolbar__right { flex-direction: column; min-width: 0; }
  .toolbar__right select.input { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__smoke i, .hero__glow, .hero__logo, .hero__down span, .card { animation: none !important; }
  .ticker__track { animation-duration: 60s; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* featured image on phones: show the car + sign, below the heading */
@media (max-width: 700px) {
  .featured__bg { height: auto; width: 230%; right: -12%; top: calc(var(--nav-h) + 190px); }
  .slide { width: 290px; grid-template-columns: 100px 1fr; }
}
.footer__credit { font-size: .8rem; letter-spacing: .06em; opacity: .75; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.hero__ship {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 12px;
  font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .12em;
  font-size: clamp(.85rem, 1.8vw, 1rem); color: #fff;
  padding: 6px 16px; border-radius: 30px; background: rgba(215,38,45,.85); box-shadow: 0 3px 0 var(--red-dark);
}
.hero__ship svg { width: 22px; height: 22px; fill: none; stroke: var(--yellow); stroke-width: 1.8; stroke-linejoin: round; }
.pmeta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .75rem; color: var(--muted); }
.pstock { font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.pstock--in { color: #6fd08c; }
.pstock--so { color: var(--yellow); }
.poffroad { font-size: .7rem; color: #e58f8f; }
.slide .pmeta, .slide .poffroad { display: none; }

/* ===========================================================
   YOUR PARTS DEPARTMENT (how we work)
   =========================================================== */
.partsdept {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(246,185,23,.08), transparent 55%),
    repeating-linear-gradient(90deg, rgba(0,0,0,.35) 0 2px, transparent 2px 86px),
    linear-gradient(180deg, #1a100b, var(--wood) 60%, #140d0a);
  border-top: 3px solid var(--red);
}
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: none; position: relative; }
.steps::before { /* the "road" connecting the steps */
  content: ""; position: absolute; left: 6%; right: 6%; top: 34px; height: 4px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 22px, transparent 22px 38px);
  opacity: .55;
}
.step {
  position: relative; padding: 22px 18px 20px; border-radius: var(--radius);
  background: rgba(13,11,10,.82); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
}
.step__num {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-size: 1.5rem; color: #fff;
  background: var(--red); box-shadow: 0 3px 0 var(--red-dark), 0 0 0 4px rgba(13,11,10,.9);
  margin-top: -2px;
}
.step h3 { font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 1.1rem; line-height: 1.15; text-wrap: balance; }
.step p { color: #d8cdc1; font-size: .92rem; line-height: 1.5; }
.step:last-child .step__num { background: var(--yellow); color: var(--ink); box-shadow: 0 3px 0 #9a7208, 0 0 0 4px rgba(13,11,10,.9); }
.partsdept__cta {
  margin-top: 32px; padding: 22px 26px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: var(--coal); border: 1px solid var(--line); border-left: 6px solid var(--yellow);
}
.partsdept__cta p { color: #d8cdc1; max-width: 70ch; }
.partsdept__cta strong { color: #fff; }
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps::before { display: none; }
  .step:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
