/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0d0d0d;
  --bg-card: #161616;
  --bg-card-hover: #1c1c1c;
  --surface: #111111;
  --border: #2a2a2a;
  --text: #f0f0f0;
  --text-muted: #888;
  --accent: #e63946;
  --accent-hover: #ff4757;
  --gold: #d4a843;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Barlow', -apple-system, sans-serif;
  --max-width: 1200px;
  --radius: 6px;
  --radius-sm: 4px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 0;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  padding: 10px 0;
  box-shadow: 0 1px 12px rgba(0,0,0,0.4);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 2px;
  color: var(--text);
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-ig {
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-ig:hover {
  color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-cart {
  position: relative;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.nav-cart:hover {
  color: var(--text);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.cart-badge.visible {
  display: flex;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== NAV DROPDOWN (Desktop hover + Mobile accordion) ===== */
.nav-has-sub {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-brand-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-sub-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  transition: transform 0.25s, color 0.2s;
}

.nav-sub-toggle:hover {
  color: var(--text);
}

.nav-sub-toggle.open {
  transform: rotate(180deg);
}

/* Desktop hover dropdown */
.nav-sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 14px;
  background: transparent;
  list-style: none;
  min-width: 160px;
  z-index: 100;
}

.nav-sub-menu::before {
  content: '';
  display: block;
  position: absolute;
  top: 14px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  z-index: -1;
}

.nav-has-sub:hover .nav-sub-menu {
  display: block;
}

.nav-sub-menu li a {
  display: block;
  padding: 12px 20px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  transition: background 0.15s, color 0.15s;
}

.nav-sub-menu li a:hover {
  background: var(--surface);
  color: var(--text);
}

/* ===== NAV 3RD LEVEL (brand → models) ===== */
.nav-brand-sub-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
}

.nav-sub-brand-link {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  transition: color 0.15s;
}

.nav-sub-brand-link:hover {
  color: var(--text);
}

.nav-sub-sub-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  transition: transform 0.25s, color 0.2s;
}

.nav-sub-sub-toggle.open {
  transform: rotate(180deg);
}

.nav-model-menu {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #f9f9f9;
  border-left: 2px solid var(--border);
  margin-left: 28px;
}

.nav-model-menu.open {
  max-height: 600px;
}

.nav-model-menu li a {
  display: block;
  padding: 8px 16px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  transition: color 0.15s, background 0.15s;
}

.nav-model-menu li a:hover {
  color: var(--accent);
  background: rgba(230,57,70,0.04);
}

/* ===== MODEL JUMP DROPDOWN ===== */
.model-jump-wrap {
  display: none;
  justify-content: center;
  margin-bottom: 24px;
}

.model-jump-wrap.visible {
  display: flex;
}

#modelJumpSelect {
  padding: 10px 40px 10px 16px;
  font-size: 0.85rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  transition: border-color 0.2s;
  min-width: 220px;
}

#modelJumpSelect:focus {
  border-color: var(--accent);
}

/* ===== SIZE SELECT IN MODAL ===== */
.size-select {
  padding: 10px 40px 10px 14px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  width: 100%;
  transition: border-color 0.2s;
}

.size-select:focus {
  border-color: var(--gold);
}

/* ===== QUANTITY STEPPER ===== */
.qty-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: fit-content;
}

.qty-btn {
  background: var(--surface);
  border: none;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text);
  font-family: var(--font-body);
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: var(--border);
}

.qty-value {
  min-width: 40px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  padding: 0 4px;
}

/* ===== QUANTITY ROW + TOTAL ===== */
.qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.qty-total {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.qty-total strong {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.05rem;
}

/* ===== SIMILAR OPTIONS ===== */
.similar-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.similar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 8px;
}

.similar-card {
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.15s;
  background: var(--surface);
}

.similar-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.similar-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: #f5f5f5;
}

.similar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.similar-name {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 6px 8px 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.similar-price {
  font-size: 0.65rem;
  color: var(--gold);
  padding: 0 8px 6px;
  font-weight: 500;
}

.free-ship-badge {
  display: inline-block;
  background: #16a34a;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 100px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ===== HERO (Compact Banner) ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #0a0a0a;
  margin-top: 56px;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(13,13,13,0.95) 100%),
    radial-gradient(ellipse at 20% 50%, rgba(230, 57, 70, 0.1) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 24px;
  max-width: 800px;
}

.hero-tagline {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 3px;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #fff 40%, #888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.hero-stats {
  display: none;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230, 57, 70, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.hero .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}

.hero .btn-outline:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.08);
}

.btn-outline:hover {
  border-color: var(--text-muted);
  background: var(--surface);
}

.btn-full {
  width: 100%;
}

/* ===== INNER PAGE HERO ===== */
.page-hero {
  padding: 150px 0 58px;
  background:
    linear-gradient(180deg, rgba(13,13,13,0.96), rgba(13,13,13,0.9)),
    url('images/hero.jpg') center/cover;
  border-bottom: 1px solid var(--border);
}

.page-hero .container {
  max-width: 920px;
}

.page-kicker {
  margin: 0 0 14px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
}

.page-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
  color: var(--text);
}

.page-subtitle {
  max-width: 680px;
  margin: 20px 0 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ===== SECTION STYLES ===== */
.section-title {
  font-family: var(--font-display);
  font-size: 3rem;
  letter-spacing: 3px;
  text-align: center;
  margin-bottom: 12px;
}

.section-title.left {
  text-align: left;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 48px;
}

.section-subtitle a {
  color: var(--accent);
  font-weight: 600;
}

/* ===== BRANDS SECTION ===== */
.brands {
  padding: 64px 0;
}

section {
  scroll-margin-top: 86px;
}

.brand-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.brand-tab {
  padding: 10px 24px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}

.brand-tab:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

.brand-tab.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ===== FITMENT HELP CTA ===== */
.fitment-help {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: -12px auto 34px;
  color: var(--text-muted);
  text-align: center;
}

.fitment-help p {
  font-size: 0.95rem;
}

.fitment-help .btn {
  flex-shrink: 0;
  min-height: 44px;
  padding: 12px 24px;
}

/* ===== VEHICLE FINDER ===== */
.vehicle-finder {
  padding: 88px 0;
  background: var(--surface);
}

.finder-shell {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(230,57,70,0.08), rgba(17,17,17,0.98) 34%);
  padding: 34px;
}

.finder-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-kicker {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.finder-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) 1.15fr;
  gap: 26px;
  align-items: start;
}

.finder-form,
.finder-results {
  background: rgba(13,13,13,0.74);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

.form-group span {
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  color: var(--text);
  background: #0b0b0b;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 36px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: #0f0f0f;
}

.form-group select:disabled {
  color: #555;
  cursor: not-allowed;
}

.finder-note {
  min-height: 22px;
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.finder-note.error {
  color: var(--accent-hover);
}

.finder-note.ready {
  color: var(--gold);
}

.finder-empty {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  color: var(--text-muted);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.finder-empty strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 1.5px;
}

.vehicle-spec-card,
.match-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #101010;
  padding: 18px;
}

.vehicle-spec-card {
  margin-bottom: 18px;
}

.vehicle-spec-card h3,
.match-card h3 {
  font-family: var(--font-display);
  letter-spacing: 1.5px;
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.spec-list div {
  padding: 10px;
  background: #0b0b0b;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.spec-list span {
  display: block;
  color: var(--text-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  margin-bottom: 2px;
}

.match-list {
  display: grid;
  gap: 12px;
}

.match-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: center;
}

.match-card img {
  width: 96px;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  border-radius: var(--radius-sm);
}

.match-meta {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 10px;
}

.match-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.match-tags span {
  padding: 4px 8px;
  background: rgba(230,57,70,0.12);
  border: 1px solid rgba(230,57,70,0.26);
  border-radius: 100px;
  color: var(--text);
  font-size: 0.74rem;
}

.match-warning {
  color: var(--gold);
  font-size: 0.82rem;
  margin-top: 8px;
}

/* ===== SERIES SUB-TABS ===== */
.series-tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 32px;
}

.series-tabs:empty {
  display: none;
}

.series-tab {
  padding: 8px 20px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}

.series-tab:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

.series-tab.active {
  background: var(--surface);
  color: var(--text);
  border-color: var(--text-muted);
}

.series-group.series-hidden {
  display: none;
}

.brand-section {
  margin-bottom: 48px;
  animation: fadeUp 0.4s ease-out;
}

.brand-section.hidden {
  display: none;
}

.brand-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 3px;
}

.brand-desc {
  display: none;
}

.brand-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: var(--text-muted);
  white-space: nowrap;
}

.brand-price span {
  display: inline;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 4px;
}

/* ===== SERIES & WHEEL CARDS ===== */
.series-group {
  margin-bottom: 32px;
}

.series-title {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  padding-left: 4px;
  color: var(--text-muted);
}

.series-title span {
  color: var(--text-muted);
  font-weight: 400;
}

.wheel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.wheel-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all 0.25s;
  cursor: pointer;
}

.wheel-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(230,57,70,0.12);
}

.wheel-img-wrap {
  aspect-ratio: 1;
  background: var(--surface);
  overflow: hidden;
}

.wheel-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.wheel-card:hover .wheel-img-wrap img {
  transform: scale(1.05);
}

.wheel-card-info {
  padding: 12px 14px 16px;
  text-align: center;
}

.wheel-name {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.wheel-price {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.wheel-swatches {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 24px;
}

.wheel-swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border);
  transition: border-color 0.2s, transform 0.15s;
  cursor: pointer;
}

.wheel-swatch:hover {
  border-color: var(--text-muted);
  transform: scale(1.15);
}

.wheel-swatch.active {
  border-color: var(--text);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--text);
}

.wheel-swatch-more {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== WHEEL DETAIL MODAL ===== */
.wheel-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  padding: 24px;
}

.wheel-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.wheel-modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 1060px;
  width: 95%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s;
}

.wheel-modal-overlay.active .wheel-modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
}

.modal-close:hover {
  background: var(--accent);
  color: #fff;
}

.modal-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
}

.modal-images {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #f5f5f5;
  min-height: 480px;
  position: sticky;
  top: 0;
  align-self: start;
}

.modal-images img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: contain;
  display: block;
  padding: 12px;
  box-sizing: border-box;
}

.modal-info {
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.modal-specs {
  flex: 1;
  margin-bottom: 24px;
}

.spec-group {
  margin-bottom: 20px;
}

.spec-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.spec-value {
  font-size: 0.95rem;
  line-height: 1.6;
}

.spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.spec-chip {
  padding: 4px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.spec-chip--selectable {
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.spec-chip--selectable:hover {
  border-color: var(--gold);
  color: var(--text);
}

.spec-chip--selectable.spec-chip--active {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  font-weight: 600;
}

.spec-chip--dual::after {
  content: '2x';
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--gold);
  margin-left: 4px;
  vertical-align: super;
}

.spec-chip--active.spec-chip--dual::after {
  color: #fff;
}

#dynamicSpecs .spec-group {
  animation: fadeUp 0.15s ease-out;
}

.modal-quote-btn {
  margin-top: auto;
}

/* Spec Chart */
.spec-chart-wrap {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 8px;
}

.spec-chart-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  user-select: none;
  font-weight: 600;
}

.spec-chart-toggle svg {
  transition: transform 0.2s;
}

.spec-chart-toggle.open svg {
  transform: rotate(180deg);
}

.spec-chart {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.spec-chart.open {
  max-height: 600px;
}

.spec-chart table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  margin-top: 10px;
}

.spec-chart th {
  text-align: left;
  padding: 8px 6px;
  border-bottom: 2px solid var(--gold);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.spec-chart td {
  padding: 7px 6px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.spec-chart tbody tr:hover {
  background: var(--surface);
}

/* ===== GALLERY ===== */
.gallery {
  padding: 80px 0;
  background: var(--surface);
}

.gallery-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
}

.carousel-slide img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s, background 0.2s, color 0.2s;
  z-index: 2;
  backdrop-filter: blur(4px);
}

.gallery-carousel:hover .carousel-arrow {
  opacity: 1;
}

.carousel-arrow:hover {
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
}

.carousel-prev {
  left: 16px;
}

.carousel-next {
  right: 16px;
}

/* ===== ABOUT ===== */
.about {
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-points {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.about-point {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.point-icon {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent);
  min-width: 40px;
  letter-spacing: 1px;
}

.about-point h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.about-point p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.about-img-placeholder {
  aspect-ratio: 4/5;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== FAQ ===== */
.faq {
  padding: 80px 0;
  background: var(--bg);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  list-style-position: outside;
}

.faq-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-top: 12px;
}

/* ===== POLICIES ===== */
.policies {
  padding: 80px 0;
  background: var(--surface);
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.policy-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.policy-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.policy-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.policy-card a {
  display: inline-block;
  margin-top: 14px;
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ===== TRUST PAGES ===== */
.trust-page {
  padding: 140px 0 80px;
  background: var(--bg);
}

.trust-top-links {
  display: flex;
  list-style: none;
  gap: 24px;
  align-items: center;
}

.trust-top-links a {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

.trust-top-links a:hover {
  color: var(--text);
}

.trust-hero {
  max-width: 860px;
  margin-bottom: 34px;
}

.trust-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.trust-hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 720px;
}

.trust-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

.trust-nav,
.trust-content {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.trust-nav {
  position: sticky;
  top: 96px;
  padding: 16px;
}

.trust-nav a {
  display: block;
  padding: 10px 12px;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.trust-nav a:hover,
.trust-nav a.active {
  color: var(--text);
  background: rgba(230,57,70,0.12);
}

.trust-content {
  padding: 30px;
}

.trust-section {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.trust-section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.trust-section h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 1.4px;
  margin-bottom: 10px;
}

.trust-section p,
.trust-section li {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.98rem;
}

.trust-section ul {
  padding-left: 20px;
  margin-top: 10px;
}

.trust-callout {
  background: rgba(212,168,67,0.1);
  border: 1px solid rgba(212,168,67,0.32);
  border-radius: var(--radius);
  padding: 18px;
  margin: 22px 0;
  color: var(--text);
}

/* ===== REVIEWS ===== */
.reviews {
  padding: 80px 0;
  background: var(--surface);
}

.reviews-summary {
  text-align: center;
  margin-bottom: 32px;
}

.reviews-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.star-display {
  font-size: 1.5rem;
  color: var(--gold);
  letter-spacing: 2px;
}

.reviews-avg {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text);
  flex: 1;
}

.review-author {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== ACCESSORIES ===== */
.accessories {
  padding: 80px 0;
  background: var(--bg);
}

.accessories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.accessory-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 auto 18px;
}

.accessory-tab {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  padding: 11px 18px;
  text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.accessory-tab:hover,
.accessory-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.accessory-fitment-note {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.6;
  margin: 0 auto 22px;
  max-width: 900px;
  padding: 14px 16px;
  text-align: center;
}

.accessory-fitment-note strong {
  color: var(--text);
}

.accessory-card {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  transition: border-color 0.2s, transform 0.2s;
  color: var(--text);
  cursor: pointer;
  display: block;
  font-family: var(--font-body);
  padding: 0;
  text-align: left;
  width: 100%;
}

.accessory-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.accessory-img {
  aspect-ratio: 1;
  background: #f5f5f5;
  overflow: hidden;
}

.accessory-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  box-sizing: border-box;
}

.accessory-info {
  padding: 16px;
}

.accessory-name {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.4;
}

.accessory-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.4;
}

.accessory-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
}

.accessory-modal .modal-images {
  background: #f5f5f5;
}

.accessory-modal .modal-images img {
  object-fit: contain;
  padding: 22px;
}

.accessory-modal-price {
  color: var(--gold);
  font-weight: 700;
}

.accessory-modal-price span {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.accessory-option select {
  margin-top: 8px;
}

.accessory-modal-note {
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.6;
  margin-top: 14px;
}

/* ===== DON'T FORGET POPUP ===== */
.dont-forget-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.dont-forget-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.dont-forget-modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 760px;
  width: 95%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.3s;
}

.dont-forget-overlay.active .dont-forget-modal {
  transform: translateY(0);
}

.dont-forget-title {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.dont-forget-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.dont-forget-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.df-card {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-body);
  transition: border-color 0.2s;
}

.df-card:hover {
  border-color: var(--gold);
}

.df-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  margin-bottom: 8px;
}

.df-card p {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
}

.df-card span {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 700;
}

/* ===== CONTACT ===== */
.contact {
  padding: 80px 0;
  background: var(--surface);
}

.contact-socials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-social-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, transform 0.2s;
}

.contact-social-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.contact-social-card svg {
  flex-shrink: 0;
  color: var(--text);
}

.contact-social-card div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-social-card strong {
  font-size: 0.85rem;
  font-weight: 600;
}

.contact-social-card span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== FOOTER ===== */
.footer {
  padding: 48px 0 32px;
  background: #080808;
  color: #f0f0f0;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(420px, 1.4fr);
  gap: 48px;
  align-items: start;
  margin-bottom: 32px;
}

.footer .logo {
  color: #f0f0f0;
}

.footer-brand p {
  color: #888;
  font-size: 0.85rem;
  margin-top: 8px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 32px;
}

.footer-link-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link-title {
  margin: 0 0 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #f0f0f0;
}

.footer-links a {
  font-size: 0.85rem;
  color: #888;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #f0f0f0;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #333;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: #888;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */

/* --- Tablet & below (768px) --- */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  /* Mobile nav */
  .mobile-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100vw;
    width: 100vw;
    height: 100dvh;
    background: #080808;
    flex-direction: column;
    align-items: center;
    padding: 86px 32px 40px;
    gap: 24px;
    transition: right 0.3s ease;
    z-index: 1001;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1rem;
    color: var(--text);
  }

  /* Mobile nav - brands accordion */
  .nav-has-sub:hover .nav-sub-menu {
    display: none; /* disable hover on mobile */
  }

  .nav-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .nav-sub-menu {
    position: static;
    transform: none;
    min-width: 220px;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: var(--surface);
    border-left: 2px solid var(--accent);
    margin: 4px 0 4px 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-sub-menu.open {
    display: block;
    max-height: 200px;
  }

  .nav-sub-menu li a {
    padding: 10px 16px;
    font-size: 0.8rem;
  }

  /* Nav backdrop */
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }

  .nav-backdrop.active {
    opacity: 1;
    pointer-events: all;
  }

  /* Hero */
  .hero {
    min-height: 40vh;
  }

  .hero-tagline {
    font-size: 0.7rem;
    letter-spacing: 2.5px;
  }

  .hero-title {
    font-size: clamp(2.6rem, 11vw, 4.2rem);
    letter-spacing: 1.5px;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  /* Sections */
  .brands {
    padding: 48px 0;
  }

  .gallery {
    padding: 48px 0;
  }

  .about {
    padding: 48px 0;
  }

  .contact {
    padding: 48px 0;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 32px;
  }

  /* Model jump dropdown */
  #modelJumpSelect {
    min-width: 180px;
    font-size: 16px; /* prevent iOS zoom */
  }

  /* Brand tabs — horizontal scroll */
  .brand-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: calc(100% + 32px);
    margin-left: -16px;
    margin-bottom: 24px;
    padding: 0 16px 8px;
    gap: 6px;
    scroll-padding-inline: 16px;
  }

  .brand-tabs::-webkit-scrollbar {
    display: none;
  }

  .brand-tab {
    flex-shrink: 0;
    padding: 8px 18px;
    font-size: 0.72rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .fitment-help {
    flex-direction: column;
    gap: 12px;
    margin: -6px auto 26px;
  }

  .vehicle-finder,
  .policies {
    padding: 48px 0;
  }

  .finder-shell {
    padding: 20px;
  }

  .finder-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .finder-form,
  .finder-results {
    padding: 18px;
  }

  .spec-list,
  .policy-grid,
  .trust-layout {
    grid-template-columns: 1fr;
  }

  .trust-page {
    padding: 112px 0 48px;
  }

  .trust-top-links {
    display: none;
  }

  .trust-nav {
    position: static;
  }

  .match-card {
    grid-template-columns: 78px 1fr;
  }

  .match-card img {
    width: 78px;
  }

  .faq {
    padding: 48px 0;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  /* Series sub-tabs — horizontal scroll on mobile */
  .series-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: calc(100% + 32px);
    margin-left: -16px;
    margin-bottom: 20px;
    padding: 0 16px 8px;
    gap: 6px;
    scroll-padding-inline: 16px;
  }

  .series-tabs::-webkit-scrollbar {
    display: none;
  }

  .series-tab {
    flex-shrink: 0;
    padding: 6px 14px;
    font-size: 0.68rem;
    min-height: 40px;
    display: flex;
    align-items: center;
  }

  /* Brand header */
  .brand-header {
    padding: 16px 4px;
    margin-bottom: 16px;
  }

  .brand-name {
    font-size: 1.6rem;
  }

  .brand-price {
    font-size: 1.1rem;
  }

  /* Series */
  .series-group {
    margin-bottom: 24px;
  }

  .series-title {
    font-size: 0.8rem;
    margin-bottom: 12px;
  }

  /* Wheel grid — 3 columns on tablet */
  .wheel-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .wheel-card:hover {
    transform: none;
    box-shadow: none;
  }

  .wheel-card-info {
    padding: 8px 8px 12px;
  }

  .wheel-name {
    font-size: 0.72rem;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
  }

  .wheel-price {
    font-size: 0.68rem;
    margin-bottom: 6px;
  }

  .wheel-swatch {
    width: 18px;
    height: 18px;
  }

  .wheel-swatch-more {
    font-size: 0.6rem;
  }

  /* Modal — bottom sheet on mobile */
  .wheel-modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .wheel-modal {
    max-width: 100%;
    max-height: 95dvh;
    border-radius: var(--radius) var(--radius) 0 0;
    border-bottom: none;
  }

  .modal-content {
    grid-template-columns: 1fr;
  }

  .modal-images {
    max-height: 340px;
    min-height: 0;
    overflow-x: auto;
    overflow-y: hidden;
    flex-direction: row;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    position: static;
  }

  .modal-images img {
    min-width: 100%;
    height: 340px;
    min-height: 0;
    object-fit: contain;
    scroll-snap-align: start;
    padding: 8px;
  }

  .modal-info {
    padding: 20px 16px 24px;
  }

  .modal-title {
    font-size: 1.6rem;
    margin-bottom: 16px;
  }

  .spec-group {
    margin-bottom: 14px;
  }

  .spec-label {
    font-size: 0.65rem;
  }

  .similar-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .spec-chip {
    font-size: 0.68rem;
    padding: 3px 10px;
  }

  /* Gallery */
  .gallery-carousel {
    border-radius: var(--radius-sm);
  }

  .carousel-arrow {
    opacity: 1;
    width: 36px;
    height: 36px;
  }

  .carousel-prev {
    left: 10px;
  }

  .carousel-next {
    right: 10px;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-image {
    order: -1;
  }

  .section-title.left {
    text-align: center;
  }

  /* Reviews */
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Accessories */
  .accessory-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 2px 6px;
    -webkit-overflow-scrolling: touch;
  }

  .accessory-tab {
    flex: 0 0 auto;
    font-size: 0.68rem;
    padding: 10px 14px;
  }

  .accessory-fitment-note {
    text-align: left;
  }

  .accessories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .dont-forget-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Contact */
  .contact-socials {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Prevent iOS zoom on input focus */
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
  }

  /* Footer */
  .footer {
    padding: 32px 0 24px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    text-align: left;
  }
}

/* --- Small tablets / large phones (600px) --- */
@media (max-width: 600px) {
  .wheel-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-title {
    font-size: 2rem;
  }

  .brand-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .brand-price {
    font-size: 0.95rem;
  }

  .brand-name {
    font-size: 1.4rem;
  }

  .logo {
    font-size: 1.5rem;
  }
}

/* --- Small phones (480px) --- */
@media (max-width: 480px) {
  .contact-socials {
    grid-template-columns: 1fr;
  }

  .wheel-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .wheel-card-info {
    padding: 6px 6px 10px;
  }

  .wheel-name {
    font-size: 0.65rem;
  }

  .wheel-price {
    font-size: 0.6rem;
  }

  .wheel-swatches {
    gap: 4px;
  }

  .wheel-swatch {
    width: 16px;
    height: 16px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .faq-item {
    padding: 18px;
  }

  .carousel-slide img {
    aspect-ratio: 1;
  }

  .hero {
    min-height: 35vh;
  }

  .hero-subtitle {
    max-width: 100%;
    font-size: 0.85rem;
  }

  .hero-actions .btn {
    padding: 14px 24px;
    font-size: 0.8rem;
    min-height: 48px;
  }

  .brand-header {
    padding: 12px 4px;
    margin-bottom: 12px;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 0.85rem;
    margin-bottom: 24px;
  }

  .series-title {
    font-size: 0.72rem;
  }

  .brands, .gallery, .about, .faq, .contact {
    padding: 36px 0;
  }

  .modal-images {
    max-height: 260px;
  }

  .modal-images img {
    height: 260px;
  }

  .modal-title {
    font-size: 1.3rem;
  }

  .modal-close {
    width: 44px;
    height: 44px;
    font-size: 28px;
  }

  .footer {
    padding: 28px 0 20px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 12px;
    font-size: 0.8rem;
    text-align: center;
  }

  .footer-link-group {
    align-items: center;
  }

  .footer-brand p {
    font-size: 0.8rem;
  }

  .logo {
    font-size: 1.5rem;
  }
}

/* --- Very small phones (360px) --- */
@media (max-width: 360px) {
  .hero-tagline {
    font-size: 0.6rem;
    letter-spacing: 2px;
  }

  .logo {
    font-size: 1.3rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .container {
    padding: 0 12px;
  }

  .wheel-grid {
    gap: 8px;
  }

  .wheel-name {
    font-size: 0.6rem;
  }

  .modal-info {
    padding: 16px 12px 20px;
  }
}

/* ===== CART DRAWER ===== */
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.cart-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  height: 100dvh;
  width: 420px;
  max-width: 92vw;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  z-index: 1110;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 32px rgba(0,0,0,0.4);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.cart-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 2px;
  margin: 0;
}

.cart-close {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.cart-close:hover {
  background: var(--border);
}

.cart-empty {
  flex: 1;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
}

.cart-empty.visible {
  display: flex;
}

.cart-empty p {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 8px;
}

.cart-empty span {
  font-size: 0.85rem;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-img {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface);
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.cart-item-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.cart-item-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.cart-qty-btn {
  background: var(--surface);
  border: none;
  color: var(--text);
  width: 26px;
  height: 26px;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: var(--font-body);
}

.cart-qty-btn:hover {
  background: var(--border);
}

.cart-qty span {
  padding: 0 10px;
  font-size: 0.85rem;
  font-weight: 600;
  min-width: 28px;
  text-align: center;
}

.cart-item-price {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gold);
}

.cart-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  padding: 2px 0;
  margin-top: 4px;
  align-self: flex-start;
  transition: color 0.15s;
}

.cart-remove:hover {
  color: var(--accent);
}

.cart-footer {
  border-top: 1px solid var(--border);
  padding: 18px 24px 22px;
  flex-shrink: 0;
  background: var(--bg-card);
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.cart-subtotal-row strong {
  font-size: 1.25rem;
  color: var(--gold);
  font-weight: 700;
}

.cart-source-field {
  display: grid;
  gap: 8px;
  margin: 12px 0 6px;
}

.cart-source-field span {
  color: var(--text-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cart-source-field strong {
  color: var(--red);
}

.cart-source-field select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-dark);
  color: var(--text-light);
  font: inherit;
  padding: 0 12px;
}

.cart-source-field select:focus {
  outline: none;
  border-color: var(--red);
}

.cart-source-field select option {
  background: #ffffff;
  color: #111111;
}

.cart-source-error {
  display: none;
  margin: 0 0 8px;
  color: var(--red);
  font-size: 0.72rem;
  line-height: 1.4;
}

.cart-source-error.visible {
  display: block;
}

.cart-disclaimer {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  margin: 8px 0 14px;
  line-height: 1.5;
}

#cartCheckoutBtn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 480px) {
  .cart-drawer {
    width: 100vw;
    max-width: 100vw;
  }
  .cart-header {
    padding: 16px 18px;
  }
  .cart-items {
    padding: 12px 16px;
  }
  .cart-footer {
    padding: 14px 18px 18px;
  }
}
