/* ============================================
   Armor 4x4 Theme — Design System
   ============================================ */

/* Inter font import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ============================================
   1. Design Tokens
   ============================================ */
:root {
  /* Colors */
  --white: #FFFFFF;
  --sand: #F6F2EA;
  --sand-deep: #EFE9DE;
  --cream: #FBF9F5;
  --ink: #1C1E22;
  --slate: #5E636B;
  --line: #E7E1D6;
  --orange: #E0531F;
  --orange-dark: #C2461A;
  --olive: #33473B;
  --sage: #2F6B4F;
  --footer-text: #9AA0A8;
  --footer-divider: #2C2F35;
  --footer-bottom: #777C84;
  --light-text: #D9E2DB;
  --warm-text: #CBD6CE;

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing scale */
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-64: 64px;
  --space-80: 80px;
  --space-96: 96px;

  /* Border radius */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-full: 100px;

  /* Shadows */
  --shadow-card: 0 8px 24px rgba(26, 26, 26, 0.07);
  --shadow-sm: 0 2px 8px rgba(26, 26, 26, 0.05);

  /* Grid */
  --max-width: 1312px;
  --gutter: 24px;
  --col: calc((100% - 11 * var(--gutter)) / 12);
}

/* ============================================
   2. Reset & Base
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, select, button, textarea { font-family: var(--font); }

/* ============================================
   3. Grid System
   ============================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 64px;
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .container { padding: 0 32px; }
}

.row { display: flex; flex-wrap: wrap; margin: 0 calc(var(--gutter) / -2); }
.col { flex: 1; padding: 0 calc(var(--gutter) / 2); }
.col-12 { flex: 0 0 100%; max-width: 100%; padding: 0 calc(var(--gutter) / 2); }
.col-6 { flex: 0 0 50%; max-width: 50%; padding: 0 calc(var(--gutter) / 2); }
.col-4 { flex: 0 0 33.333%; max-width: 33.333%; padding: 0 calc(var(--gutter) / 2); }
.col-3 { flex: 0 0 25%; max-width: 25%; padding: 0 calc(var(--gutter) / 2); }
.col-8 { flex: 0 0 66.666%; max-width: 66.666%; padding: 0 calc(var(--gutter) / 2); }
.col-9 { flex: 0 0 75%; max-width: 75%; padding: 0 calc(var(--gutter) / 2); }

@media (max-width: 768px) {
  .col-3, .col-4, .col-6 { flex: 0 0 100%; max-width: 100%; }
  .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .col-3 { flex: 0 0 50%; max-width: 50%; }
}

/* ============================================
   4. Typography
   ============================================ */
.display { font-size: 56px; line-height: 1.04; font-weight: 700; letter-spacing: -0.02em; }
.h1, h1 { font-size: 56px; line-height: 1.04; font-weight: 700; letter-spacing: -0.02em; }
.h2, h2 { font-size: 40px; line-height: 1.1; font-weight: 700; letter-spacing: -0.01em; }
.h3, h3 { font-size: 24px; line-height: 1.2; font-weight: 700; }
.h4, h4 { font-size: 20px; line-height: 1.3; font-weight: 600; }
.body-l { font-size: 18px; line-height: 1.52; font-weight: 400; }
body, .body { font-size: 16px; line-height: 1.5; font-weight: 400; }
.small { font-size: 14px; line-height: 1.45; }
.kicker {
  font-size: 13px; line-height: 1; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--orange);
  margin-bottom: var(--space-16);
}
.badge { font-size: 11px; font-weight: 600; }

@media (max-width: 768px) {
  .display, .h1, h1 { font-size: 36px; }
  .h2, h2 { font-size: 28px; }
  .body-l { font-size: 16px; }
}

/* Orange section labels */
.kicker-pill {
  display: inline-block;
  background: var(--white);
  color: var(--orange);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   5. Buttons
   ============================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 28px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600;
  border: none; cursor: pointer; transition: all 0.2s;
  white-space: nowrap; gap: 8px;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-secondary {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); padding: 0; height: auto; }
.btn-ghost:hover { color: var(--orange); }
.btn-lg { height: 56px; padding: 0 36px; font-size: 16px; }
.btn-sm { height: 40px; padding: 0 20px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-icon { width: 48px; padding: 0; }
.btn-whatsapp { background: #25D366; color: var(--white); }
.btn-whatsapp:hover { background: #1da851; }
.btn-olive { background: var(--olive); color: var(--white); }
.btn-olive:hover { background: #2a3c30; }

@media (max-width: 768px) {
  .btn { height: 44px; padding: 0 24px; }
}

/* Text link with arrow */
.text-link {
  color: var(--orange); font-weight: 600; font-size: 15px;
  display: inline-flex; align-items: center; gap: 6px;
}
.text-link::after { content: "→"; transition: transform 0.2s; }
.text-link:hover::after { transform: translateX(4px); }

/* ============================================
   6. Inputs
   ============================================ */
.form-control {
  height: 50px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--cream); padding: 0 16px; font-size: 14px;
  color: var(--ink); width: 100%; outline: none;
  -webkit-appearance: none; appearance: none;
}
.form-control:focus { border-color: var(--orange); }
.form-control::placeholder { color: var(--slate); }
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235E636B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  padding-right: 40px;
}
.form-control-sm { height: 42px; font-size: 13px; }

/* ============================================
   7. Cards
   ============================================ */
.card {
  background: var(--white); border-radius: var(--radius-md);
  overflow: hidden;
}
.card-border { border: 1px solid var(--line); }
.card-shadow { box-shadow: var(--shadow-card); }
.card-image { width: 100%; object-fit: cover; background: var(--cream); }
.card-body { padding: 18px 24px 24px; }

/* ============================================
   8. Pills / Badges
   ============================================ */
.pill {
  display: inline-block; padding: 4px 12px; border-radius: var(--radius-full);
  font-size: 11px; font-weight: 600; line-height: 1.4;
}
.pill-fitment { background: var(--sand); color: var(--sage); }
.pill-promo { background: var(--white); color: var(--orange); }
.pill-orange { background: var(--orange); color: var(--white); }

/* ============================================
   9. Top Bar
   ============================================ */
.top-bar {
  height: 40px; background: var(--olive); color: var(--light-text);
  font-size: 12px; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.top-bar span { margin: 0 4px; }

/* ============================================
   10. Main Header
   ============================================ */
.main-header {
  height: 88px; background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
}
.main-header-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 64px;
  height: 100%; display: flex; align-items: center;
  justify-content: space-between;
}
.header-logo { display: flex; align-items: center; gap: 2px; }
.header-logo-armor { font-size: 24px; font-weight: 900; color: var(--ink); letter-spacing: -0.5px; }
.header-logo-4x4 { font-size: 24px; font-weight: 900; color: var(--orange); letter-spacing: -0.5px; }

.header-nav-center { display: flex; gap: 34px; }
.header-nav-item {
  font-size: 15px; font-weight: 500; color: var(--slate);
  position: relative; padding: 4px 0;
  transition: color 0.2s;
}
.header-nav-item:hover, .header-nav-item.active { color: var(--ink); }
.header-nav-item::after {
  content: ""; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--orange);
  transition: width 0.2s;
}
.header-nav-item:hover::after, .header-nav-item.active::after { width: 100%; }

.header-right { display: flex; align-items: center; gap: 18px; }
.header-search, .header-account { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--slate); cursor: pointer; }
.header-search:hover, .header-account:hover { color: var(--ink); }

.cart-pill {
  background: var(--ink); color: var(--white); padding: 8px 16px;
  border-radius: var(--radius-full); font-size: 14px; font-weight: 500;
  display: flex; align-items: center; gap: 6px;
}

/* Mobile header */
.header-mobile { display: none; }
@media (max-width: 768px) {
  .main-header { display: none; }
  .header-mobile {
    display: flex; height: 64px; background: var(--white);
    border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100;
    align-items: center; justify-content: space-between; padding: 0 20px;
  }
  .header-mobile-left, .header-mobile-right { display: flex; align-items: center; gap: 16px; }
  .hamburger { width: 24px; height: 18px; position: relative; cursor: pointer; border: none; background: none; }
  .hamburger span { display: block; width: 100%; height: 2px; background: var(--ink); position: absolute; left: 0; transition: 0.3s; }
  .hamburger span:nth-child(1) { top: 0; }
  .hamburger span:nth-child(2) { top: 8px; }
  .hamburger span:nth-child(3) { top: 16px; }
}

/* Tablet header */
@media (min-width: 769px) and (max-width: 1024px) {
  .header-nav-center { gap: 20px; }
  .header-nav-item { font-size: 14px; }
  .main-header-inner { padding: 0 32px; }
}

/* ============================================
   11. Vehicle Finder (Section B)
   ============================================ */
.vehicle-finder {
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-card); padding: 18px 24px;
  margin-top: -44px; position: relative; z-index: 10;
}
.vehicle-finder-inner {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.vehicle-finder-label { display: flex; flex-direction: column; }
.vehicle-finder-label small { font-size: 12px; color: var(--slate); }
.vehicle-finder-label strong { font-size: 15px; color: var(--ink); font-weight: 700; }
.vehicle-finder-controls { display: flex; gap: 8px; flex: 1; flex-wrap: wrap; }
.vehicle-finder-controls select { flex: 1; min-width: 140px; max-width: 200px; }
.vehicle-finder-controls .btn { min-width: 130px; }

@media (max-width: 768px) {
  .vehicle-finder { margin-top: 0; border-radius: 0; box-shadow: var(--shadow-sm); padding: 16px; }
  .vehicle-finder-inner { flex-direction: column; }
  .vehicle-finder-label { flex-direction: row; align-items: center; gap: 6px; width: 100%; }
  .vehicle-finder-controls { width: 100%; flex-direction: column; }
  .vehicle-finder-controls select { max-width: 100%; flex: none; width: 100%; }
  .vehicle-finder-controls .btn { width: 100%; }
}

/* ============================================
   12. Homepage Sections
   ============================================ */
.section { padding: var(--space-80) 0; }
.section-sand { background: var(--sand); }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }

@media (max-width: 768px) {
  .section { padding: var(--space-48) 0; }
}

/* Section A — Hero */
.hero-section {
  background: var(--sand); min-height: 600px;
  display: flex; align-items: center;
}
.hero-inner {
  display: flex; align-items: center; gap: var(--gutter);
  max-width: var(--max-width); margin: 0 auto; padding: 84px 64px;
  width: 100%;
}
.hero-left { flex: 0 0 48%; max-width: 48%; }
.hero-right { flex: 0 0 52%; max-width: 52%; }
.hero-image {
  border-radius: var(--radius-md); box-shadow: var(--shadow-card);
  width: 100%; aspect-ratio: 640/460; object-fit: cover;
  background: var(--sand-deep);
}
.hero-actions { display: flex; gap: 12px; margin-top: var(--space-32); }

@media (max-width: 768px) {
  .hero-section { min-height: auto; }
  .hero-inner { flex-direction: column; padding: 48px 20px; }
  .hero-left { flex: 0 0 100%; max-width: 100%; }
  .hero-right { flex: 0 0 100%; max-width: 100%; }
  .hero-actions { flex-direction: column; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-inner { padding: 48px 32px; }
  .hero-left { flex: 0 0 50%; max-width: 50%; }
  .hero-right { flex: 0 0 50%; max-width: 50%; }
}

/* Section heading block */
.section-heading {
  margin-bottom: var(--space-48);
}
.section-heading h2 { margin-bottom: var(--space-12); }

/* Vehicle Grid */
.vehicle-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter);
}
.vehicle-card {
  background: var(--white); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-card);
  transition: transform 0.2s; text-decoration: none; color: inherit;
  cursor: pointer;
}
.vehicle-card:hover { transform: translateY(-4px); }
.vehicle-card-image { width: 100%; aspect-ratio: 312/140; object-fit: cover; background: var(--sand-deep); }
.vehicle-card-body { padding: 16px 20px 20px; }
.vehicle-card-body h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.vehicle-card-body p { font-size: 12px; color: var(--slate); }
.vehicle-card-all {
  background: var(--sand); border: 2px solid var(--orange);
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--orange); font-weight: 600;
}
.vehicle-card-all .vehicle-card-body { padding: 0; }
.vehicle-card-all h4 { font-size: 18px; }

@media (max-width: 768px) {
  .vehicle-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .vehicle-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Category Grid */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.category-card {
  background: var(--white); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-card);
}
.category-card-image { width: 100%; aspect-ratio: 424/230; object-fit: cover; background: var(--sand-deep); }
.category-card-body { padding: 24px; }
.category-card-body h3 { margin-bottom: 8px; }
.category-card-body p { color: var(--slate); margin-bottom: var(--space-16); line-height: 1.5; }

@media (max-width: 768px) {
  .category-grid { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .category-grid { grid-template-columns: 1fr 1fr; }
}

/* Product Grid (Best Sellers) */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
.product-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  overflow: hidden; transition: box-shadow 0.2s;
}
.product-card:hover { box-shadow: var(--shadow-card); }
.product-card-image { width: 100%; aspect-ratio: 312/240; object-fit: cover; background: var(--cream); }
.product-card-body { padding: 16px 20px 20px; }
.product-card-badge { margin-bottom: 8px; }
.product-card-title { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.product-card-fitment { font-size: 12px; color: var(--slate); margin-bottom: var(--space-12); }
.product-card-bottom { display: flex; align-items: center; justify-content: space-between; }
.product-card-price { font-size: 20px; font-weight: 700; }
.product-card-add {
  background: var(--orange); color: var(--white); border: none;
  padding: 6px 16px; border-radius: var(--radius-full);
  font-size: 13px; font-weight: 600; cursor: pointer;
}
.product-card-add:hover { background: var(--orange-dark); }

@media (max-width: 768px) {
  .product-grid {
    display: flex; overflow-x: auto; gap: 16px; scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }
  .product-card { min-width: 260px; scroll-snap-align: start; }
  .section-heading-row { flex-direction: column; gap: 12px; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Section heading row (with right link) */
.section-heading-row {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: var(--space-48);
}

/* Trust Strip */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
.trust-item { text-align: center; }
.trust-icon { font-size: 28px; margin-bottom: 12px; color: var(--orange); }
.trust-item h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.trust-item p { font-size: 13px; color: var(--slate); }

@media (max-width: 768px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
}

/* Adventure CTA */
.cta-card {
  display: flex; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--olive); min-height: 360px;
}
.cta-card-image { flex: 0 0 50%; max-width: 50%; }
.cta-card-image img { width: 100%; height: 100%; object-fit: cover; }
.cta-card-body {
  flex: 0 0 50%; max-width: 50%; padding: 56px;
  display: flex; flex-direction: column; justify-content: center;
}
.cta-card-body .kicker { color: var(--warm-text); }
.cta-card-body h2 { color: var(--white); margin-bottom: var(--space-16); }
.cta-card-body p { color: var(--warm-text); margin-bottom: var(--space-24); }

@media (max-width: 768px) {
  .cta-card { flex-direction: column; }
  .cta-card-image { flex: 0 0 200px; max-width: 100%; }
  .cta-card-body { flex: 0 0 auto; max-width: 100%; padding: 32px 24px; }
}

/* Blog / Guides Grid */
.guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.guide-card {
  background: var(--white); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-card);
}
.guide-card-image { width: 100%; aspect-ratio: 424/200; object-fit: cover; background: var(--sand-deep); }
.guide-card-body { padding: 24px; }
.guide-card-category { font-size: 11px; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.guide-card-title { font-size: 18px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

@media (max-width: 768px) {
  .guides-grid { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .guides-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   13. Breadcrumb
   ============================================ */
.breadcrumb { padding: 24px 0; }
.breadcrumb ol { display: flex; gap: 8px; font-size: 14px; color: var(--slate); }
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.breadcrumb li:last-child { color: var(--orange); }
.breadcrumb a { color: var(--slate); }
.breadcrumb a:hover { color: var(--ink); }

/* ============================================
   14. Category / Listing Page
   ============================================ */
.page-title-block { margin-bottom: var(--space-32); }
.page-title-block h1 { margin-bottom: 8px; }
.page-count { font-size: 14px; color: var(--slate); }
.listing-layout { display: flex; gap: var(--gutter); }
.listing-sidebar { flex: 0 0 280px; max-width: 280px; }
.listing-main { flex: 1; min-width: 0; }
.listing-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: var(--space-24);
}
.listing-toolbar-right { display: flex; align-items: center; gap: 12px; }
.listing-sort { height: 42px; min-width: 200px; }

/* Filter group */
.filter-group { margin-bottom: var(--space-24); border-bottom: 1px solid var(--line); padding-bottom: var(--space-24); }
.filter-group:last-child { border-bottom: none; }
.filter-group-title {
  font-size: 14px; font-weight: 700; color: var(--ink);
  margin-bottom: var(--space-12);
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
}
.filter-group-title::after { content: "▾"; font-size: 10px; color: var(--slate); transition: transform 0.2s; }
.filter-group.open .filter-group-title::after { transform: rotate(180deg); }
.filter-option { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; color: var(--slate); cursor: pointer; }
.filter-option input[type="checkbox"] { accent-color: var(--orange); width: 18px; height: 18px; }
.filter-option:hover { color: var(--ink); }

/* Mobile filter drawer */
.filter-drawer-overlay { display: none; }
@media (max-width: 768px) {
  .listing-layout { flex-direction: column; }
  .listing-sidebar { display: none; }
  .filter-drawer-overlay.active { display: block; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 200; }
}

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: var(--space-48); }
.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500;
}
.pagination a { background: var(--white); border: 1px solid var(--line); color: var(--slate); }
.pagination a:hover { border-color: var(--orange); color: var(--orange); }
.pagination .current { background: var(--orange); color: var(--white); border-color: var(--orange); }

/* ============================================
   15. Product Detail Page
   ============================================ */
.product-detail-top { display: flex; gap: var(--gutter); margin-top: var(--space-24); }
.product-gallery { flex: 0 0 55%; max-width: 55%; }
.product-gallery-main {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-md);
  background: var(--cream); margin-bottom: 12px; cursor: pointer;
}
.product-gallery-thumbs { display: flex; gap: 8px; }
.product-gallery-thumb {
  width: 72px; height: 72px; border-radius: var(--radius-sm);
  object-fit: cover; cursor: pointer; border: 2px solid transparent;
  background: var(--cream);
}
.product-gallery-thumb.active { border-color: var(--orange); }

.product-info { flex: 0 0 45%; max-width: 45%; }
.product-info-title { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.product-info-rating { display: flex; align-items: center; gap: 8px; margin-bottom: var(--space-16); }
.product-info-rating .stars { color: #f59e0b; }
.product-info-rating .count { font-size: 13px; color: var(--slate); }
.product-info-price { font-size: 28px; font-weight: 700; margin-bottom: 4px; }
.product-info-stock { font-size: 14px; color: var(--sage); font-weight: 600; margin-bottom: var(--space-16); }

/* Fitment Box */
.fitment-box {
  background: var(--sand); border-radius: var(--radius-sm); padding: 16px;
  margin-bottom: var(--space-24);
}
.fitment-box-confirmed { font-size: 14px; color: var(--sage); font-weight: 600; margin-bottom: 4px; }
.fitment-box-confirmed::before { content: "✓ "; }
.fitment-box-vehicle { font-size: 14px; font-weight: 500; color: var(--ink); }
.fitment-box-change { font-size: 12px; color: var(--orange); text-decoration: underline; cursor: pointer; margin-left: 8px; }
.fitment-box-prompt { font-size: 14px; color: var(--slate); }

/* Variant selector */
.variant-selector { margin-bottom: var(--space-16); }
.variant-selector label { font-size: 13px; font-weight: 600; display: block; margin-bottom: 8px; }
.variant-selector .variant-options { display: flex; gap: 8px; }
.variant-option {
  padding: 8px 20px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s;
  background: var(--white);
}
.variant-option:hover { border-color: var(--orange); }
.variant-option.active { border-color: var(--orange); background: rgba(224,83,31,0.05); color: var(--orange); }

/* Quantity + Add to cart row */
.product-buy-row { display: flex; gap: 12px; margin-bottom: var(--space-16); }
.qty-stepper {
  display: flex; align-items: center; border: 1px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0;
}
.qty-stepper button {
  width: 44px; height: 48px; border: none; background: var(--cream);
  font-size: 18px; cursor: pointer; color: var(--ink);
}
.qty-stepper input {
  width: 48px; height: 48px; border: none; text-align: center;
  font-size: 15px; font-weight: 600; background: var(--white);
  -moz-appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.product-buy-row .btn-block { flex: 1; }

/* Trust line */
.product-trust-line {
  display: flex; gap: 16px; font-size: 13px; color: var(--slate); margin-bottom: var(--space-16);
}
.product-trust-line span { display: flex; align-items: center; gap: 4px; }

/* Product Tabs */
.product-tabs { margin-top: var(--space-64); }
.product-tab-bar {
  display: flex; gap: 0; border-bottom: 1px solid var(--line);
  position: sticky; top: 88px; background: var(--white); z-index: 50;
}
.product-tab {
  padding: 16px 24px; font-size: 14px; font-weight: 600; color: var(--slate);
  cursor: pointer; border-bottom: 2px solid transparent; transition: all 0.2s;
}
.product-tab:hover { color: var(--ink); }
.product-tab.active { color: var(--orange); border-bottom-color: var(--orange); }
.product-tab-content { padding: var(--space-32) 0; }

/* Sticky mobile add to cart */
.mobile-sticky-cart { display: none; }
@media (max-width: 768px) {
  .product-detail-top { flex-direction: column; }
  .product-gallery { flex: 0 0 100%; max-width: 100%; }
  .product-info { flex: 0 0 100%; max-width: 100%; }
  .mobile-sticky-cart {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--white); padding: 12px 20px; gap: 12px;
    border-top: 1px solid var(--line); z-index: 100;
  }
  .mobile-sticky-cart .qty-stepper { flex-shrink: 0; }
  .mobile-sticky-cart .qty-stepper button,
  .mobile-sticky-cart .qty-stepper input { height: 44px; }
  .mobile-sticky-cart .btn { flex: 1; }
  .product-tab-bar { overflow-x: auto; top: 64px; }
  .product-tab { white-space: nowrap; padding: 12px 16px; }
}

/* ============================================
   16. Footer
   ============================================ */
.site-footer { background: var(--ink); color: var(--footer-text); }
.footer-top { padding: 72px 0 44px; }
.footer-grid { display: grid; grid-template-columns: 330px repeat(4, 1fr); gap: var(--gutter); }
.footer-brand p { font-size: 14px; line-height: 1.6; margin-top: 16px; color: var(--footer-text); }
.footer-col h5 { font-size: 13px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 1px; margin-bottom: var(--space-16); }
.footer-col ul li { margin-bottom: 13px; }
.footer-col ul a { font-size: 14px; color: var(--footer-text); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-divider { height: 1px; background: var(--footer-divider); margin: 32px 0; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 44px; font-size: 12px; color: var(--footer-bottom);
}
.footer-payment-icons { display: flex; gap: 8px; }
.footer-payment-icons span { padding: 4px 8px; background: rgba(255,255,255,0.05); border-radius: 4px; font-size: 11px; }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ============================================
   17. Notifications / Alerts
   ============================================ */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 16px; }
.alert-success { background: #e8f5e9; color: var(--sage); }
.alert-danger { background: #fbe9e7; color: #c62828; }
.alert-warning { background: #fff3e0; color: #e65100; }
.alert-info { background: #e3f2fd; color: #1565c0; }

/* ============================================
   18. Wishlist
   ============================================ */
.wishlist-btn { background: none; border: 1.5px solid var(--line); border-radius: var(--radius-sm); width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 18px; transition: all 0.2s; }
.wishlist-btn:hover { border-color: var(--orange); color: var(--orange); }

/* ============================================
   19. Vehicle Landing Page
   ============================================ */
.vehicle-hero { background: var(--sand); padding: 64px 0; }
.vehicle-hero h1 { margin-bottom: var(--space-16); }
.vehicle-hero p { color: var(--slate); max-width: 500px; }

/* ============================================
   20. CMS / Content Pages
   ============================================ */
.cms-content { max-width: 800px; }
.cms-content h2 { margin: var(--space-32) 0 var(--space-16); }
.cms-content h3 { margin: var(--space-24) 0 var(--space-12); }
.cms-content p { margin-bottom: var(--space-16); color: var(--slate); line-height: 1.8; }

/* ============================================
   21. 404
   ============================================ */
.page-404 { text-align: center; padding: 96px 0; }
.page-404 h1 { font-size: 96px; color: var(--orange); }
.page-404 p { margin: var(--space-16) 0 var(--space-32); color: var(--slate); }

/* ============================================
   22. Utility
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }

/* Hidden on mobile */
@media (max-width: 768px) { .desktop-only { display: none !important; } }
@media (min-width: 769px) { .mobile-only { display: none !important; } }
