/* =====================================================================
   AE PERFORMANCE SUPPLY — Landing Page
   ===================================================================== */

/* ---- Hero slideshow --------------------------------------------------*/
.hero-slideshow {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.hero-slideshow__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(.65,0,.35,1);
}
.hero-slide {
  flex: 0 0 100%;
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
}
.hero-slide__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.55;
}
.hero-slide__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(21,25,29,0.94) 0%, rgba(21,25,29,0.55) 55%, rgba(21,25,29,0.2) 100%);
}
.hero-slide__content {
  position: relative; z-index: 2;
  max-width: var(--max-width); margin: 0 auto; width: 100%;
  padding: 60px 20px;
}
.hero-slide__eyebrow {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.12em;
  color: var(--accent); margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.hero-slide__eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); display: inline-block; }
.hero-slide__title {
  font-size: 40px; max-width: 14ch; margin-bottom: 16px;
}
@media (min-width: 640px) { .hero-slide__title { font-size: 58px; } }
.hero-slide__copy { font-size: 16px; color: #C6CCD2; max-width: 42ch; margin-bottom: 26px; }

.hero-slideshow__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); color: #fff;
  display: none; align-items: center; justify-content: center;
}
.hero-slideshow__nav:hover { background: rgba(255,255,255,0.22); }
.hero-slideshow__nav--prev { left: 20px; }
.hero-slideshow__nav--next { right: 20px; }
@media (min-width: 720px) { .hero-slideshow__nav { display: flex; } }

.hero-slideshow__ticks {
  position: absolute; bottom: 22px; left: 0; right: 0; z-index: 3;
  display: flex; justify-content: center; gap: 8px;
}
.hero-tick {
  width: 28px; height: 4px; background: rgba(255,255,255,0.3); border: none; border-radius: 2px;
  padding: 0; cursor: pointer;
}
.hero-tick.is-active { background: var(--accent); }

/* ---- Value strip ------------------------------------------------------*/
.value-strip {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--border); border-bottom: 1px solid var(--border);
}
.value-strip__item {
  background: var(--surface); padding: 18px 20px;
  display: flex; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 600;
}
.value-strip__item svg { width: 22px; height: 22px; color: var(--accent); flex: 0 0 auto; }
@media (min-width: 720px) { .value-strip { grid-template-columns: repeat(4, 1fr); } }

/* ---- Section heading pattern ------------------------------------------*/
.section-block { padding: 56px 0; }
.section-block__head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  margin-bottom: 28px; flex-wrap: wrap;
}
.section-block__eyebrow { font-family: var(--font-mono); font-size: 12px; color: var(--accent-dark); letter-spacing: 0.08em; margin-bottom: 6px; }
.section-block__head h2 { font-size: 30px; }
.section-block__link { font-weight: 700; font-size: 14px; white-space: nowrap; }

/* ---- Category grid ------------------------------------------------------*/
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 720px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
.cat-card {
  position: relative; display: block;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 22px 18px; overflow: hidden;
  transition: border-color 0.15s ease, transform 0.1s ease;
}
.cat-card:hover { border-color: var(--ink); transform: translateY(-2px); text-decoration: none; }
.cat-card__icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: var(--accent-tint); color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.cat-card__icon svg { width: 24px; height: 24px; }
.cat-card__name { font-family: var(--font-display); font-size: 18px; font-weight: 700; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
.cat-card__count { font-size: 12.5px; color: var(--ink-faint); font-family: var(--font-mono); }

/* ---- Product cards ------------------------------------------------------*/
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card {
  display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: border-color 0.15s ease, box-shadow .15s ease;
}
.product-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-card); text-decoration: none; }
.product-card__media { position: relative; aspect-ratio: 4/3; background: var(--surface-sunk); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__badge {
  position: absolute; top: 10px; left: 10px; background: var(--ink); color: #fff;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; padding: 4px 8px; border-radius: var(--radius-sm);
}
.product-card__body { padding: 14px 14px 16px; }
.product-card__cat { font-size: 11.5px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
.product-card__name { font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.3; margin-bottom: 8px; min-height: 2.6em; }
.product-card__swatches { display: flex; gap: 6px; margin-bottom: 10px; }
.product-card__swatches .dot { width: 15px; height: 15px; border-radius: 50%; box-shadow: 0 0 0 1px var(--border-strong); }
.product-card__price-row { display: flex; align-items: baseline; gap: 8px; }
.product-card__price { font-family: var(--font-mono); font-weight: 700; font-size: 16px; }
.product-card__was { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-faint); text-decoration: line-through; }

/* ---- Shop-by-vehicle band ------------------------------------------------*/
.vehicle-band { background: var(--surface-sunk); border-radius: var(--radius-lg); padding: 32px 22px; }
.vehicle-band__grid { display: grid; gap: 24px; }
@media (min-width: 880px) { .vehicle-band__grid { grid-template-columns: 1fr auto; align-items: center; } }
.vehicle-band h2 { font-size: 26px; margin-bottom: 8px; }
.vehicle-band p { color: var(--ink-muted); font-size: 14.5px; max-width: 46ch; }
.vehicle-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (min-width: 520px) { .vehicle-form { grid-template-columns: repeat(3, 140px) auto; } }
.vehicle-form select {
  font: inherit; font-size: 13.5px; padding: 11px 10px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--ink);
}

/* ---- Trust / testimonial band ------------------------------------------*/
.trust-band { background: var(--ink); color: #fff; }
.trust-band__grid { display: grid; gap: 24px; padding: 52px 0; }
@media (min-width: 880px) { .trust-band__grid { grid-template-columns: repeat(3, 1fr); } }
.trust-band__quote { font-family: var(--font-display); font-size: 21px; line-height: 1.3; margin-bottom: 14px; }
.trust-band__name { font-size: 13px; color: #9AA3AB; font-family: var(--font-mono); }
.trust-band__stars { color: var(--accent); margin-bottom: 12px; display: flex; gap: 3px; }
.trust-band__stars svg { width: 14px; height: 14px; }

/* ---- Newsletter ------------------------------------------------------*/
.newsletter { padding: 52px 0; text-align: center; }
.newsletter h2 { font-size: 26px; margin-bottom: 8px; }
.newsletter p { color: var(--ink-muted); margin-bottom: 22px; }
.newsletter-form { display: flex; gap: 10px; max-width: 420px; margin: 0 auto; }
.newsletter-form input {
  flex: 1; font: inherit; font-size: 14.5px; padding: 12px 14px;
  border-radius: var(--radius-sm); border: 1px solid var(--border-strong);
}
