/* ========================================
   ClassicDrive Parts - B2B Auto Parts
   Professional Inquiry-Based Website
   ======================================== */

/* --- CSS Variables --- */
:root {
  --color-primary: #1B2A3B;
  --color-primary-light: #2C4053;
  --color-accent: #D4380D;
  --color-accent-hover: #B8300B;
  --color-accent-light: #FFF2ED;
  --color-mini: #1B5E20;
  --color-mini-light: #E8F5E9;
  --color-success: #2D6A4F;
  --color-success-light: #E8F5E9;
  --color-white: #FFFFFF;
  --color-bg: #E2E5E9;
  --color-bg-alt: #E2E5E9;
  --color-text: #2D3436;
  --color-text-light: #6C757D;
  --color-border: #DEE2E6;
  --color-border-light: #DEE2E6;
  --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
  --radius-sm: 5px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 24px rgba(0,0,0,0.12);
  --max-width: 1320px;
  --header-height: 108px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 170px;
}

body {
  font-size: 17px;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg-alt);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-accent-hover);
}

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

.section {
  padding: 94px 0;
}

.section-title {
  font-size: 38px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 20px;
  color: var(--color-text-light);
  margin-bottom: 48px;
  max-width: 600px;
}

/* --- Section title banner (shipping-terms page) --- */
.section-title--darkgreen {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 8px;
  background: #1e2a3a;
  color: #ffffff;
  font-size: 22px;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(30, 42, 58, 0.25);
  max-width: 100%;
}
@media (max-width: 640px) {
  .section-title--darkgreen {
    font-size: 18px;
    padding: 8px 18px;
  }
}

/* --- Top Utility Bar --- */
.top-bar {
  background: #1B2A3B;
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  padding: 6px 0;
  z-index: 1001;
  position: relative;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.top-bar a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s;
}

.top-bar a:hover {
  color: #fff;
}

.top-bar .tb-phone,
.top-bar .tb-hours {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.top-bar .tb-sep {
  color: rgba(255,255,255,0.3);
}

/* --- Header / Navigation --- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  height: var(--header-height);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo img {
  height: 82px;
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
  image-rendering: -webkit-optimize-contrast;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text strong {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}

.logo-text span {
  font-size: 11px;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--color-accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  font-weight: 800;
}

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

.nav a {
  color: var(--color-text);
  font-size: 16px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: var(--radius);
  transition: all 0.2s;
}

.nav a:hover {
  background: #1B2A3B;
  color: #fff;
}

.nav .btn-nav {
  padding: 12px 22px;
  font-size: 16px;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  margin-left: 8px;
}

.nav .btn-nav:hover {
  background: var(--color-accent-hover);
  color: var(--color-white);
}

/* --- Nav Dropdown (Mini Parts categories) --- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-dropdown > a::after {
  content: '\25BE';
  font-size: 12px;
  line-height: 1;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover > a::after,
.nav-dropdown:focus-within > a::after {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--color-text);
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown-menu a:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--color-text);
  padding: 4px;
}

.cart-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--color-text);
  border-radius: var(--radius);
  transition: all 0.2s;
  margin-left: 8px;
}

.cart-toggle:hover {
  background: rgba(0,0,0,0.06);
  color: var(--color-primary);
}

.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--color-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Header Actions Group (cart + language) --- */
.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 4px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  margin-left: 8px;
}

.header-actions > .cart-toggle {
  margin-left: 0;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border-right: 1px solid var(--color-border);
  padding-right: 0;
  border-radius: 999px 0 0 999px;
}

.header-actions-slot {
  display: inline-flex;
  align-items: center;
}

.header-actions-slot + .lang-switcher,
.header-actions .lang-switcher {
  margin-left: 0;
}

.header-actions .lang-toggle {
  border-radius: 0 999px 999px 0;
  padding: 6px 10px;
  border: none;
}

.header-actions-slot:empty {
  display: none;
}

/* --- Language Switcher --- */
.lang-switcher {
  position: relative;
  margin-left: 4px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 6px 8px;
  cursor: pointer;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
}

.lang-toggle:hover {
  background: rgba(0,0,0,0.06);
  color: var(--color-primary);
}

.lang-current {
  font-size: 12px;
  letter-spacing: 0.5px;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 160px;
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  padding: 6px;
  display: none;
  z-index: 1100;
}

.lang-dropdown.open {
  display: block;
  animation: langFadeIn 0.18s ease;
}

@keyframes langFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 7px;
  text-decoration: none;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 500;
  transition: background 0.15s;
  cursor: pointer;
}

.lang-option:hover {
  background: var(--color-bg-alt);
}

.lang-option.active {
  background: #E8F5E9;
  color: #1B5E20;
  font-weight: 700;
}

.lang-flag {
  font-size: 20px;
  line-height: 1;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  line-height: 1.4;
}

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

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

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

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-outline-light {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--color-white);
  color: var(--color-white);
}

/* --- Hero Section --- */
.hero {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 120px 0 110px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232,93,4,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

/* Hero with vehicle background image */
.hero.hero-with-bg {
  background-color: #d8dde0;
  background-image:
    linear-gradient(120deg, rgba(15, 26, 20, 0.42) 0%, rgba(15, 26, 20, 0.22) 50%, rgba(15, 26, 20, 0.10) 100%),
    url('../images/hero/classic-mini-hero.jpg?v=4');
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  padding: 120px 0 100px;
  min-height: 640px;
}

/* Exploded-parts background variant (Classic Mini Parts product page) */
.hero.hero-with-bg.hero-exploded-bg {
  background-color: #1b2a3b;
  background-image:
    url('../images/hero/hero-exploded-orange-hd.jpg?v=1');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero.hero-with-bg.hero-exploded-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(20, 32, 45, 0.78) 0%, rgba(20, 32, 45, 0.42) 55%, rgba(20, 32, 45, 0.22) 100%);
  z-index: 0;
  pointer-events: none;
}

.hero.hero-with-bg.hero-exploded-bg .container {
  position: relative;
  z-index: 1;
}

.hero.hero-with-bg.hero-exploded-bg .hero-bg-text h1,
.hero.hero-with-bg.hero-exploded-bg .hero-bg-text p,
.hero.hero-with-bg.hero-exploded-bg .breadcrumb,
.hero.hero-with-bg.hero-exploded-bg .breadcrumb a {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.55);
}

.hero.hero-with-bg.hero-exploded-bg .hero-bg-text p {
  color: rgba(255,255,255,0.92);
}

.hero.hero-with-bg.hero-exploded-bg .hero-buttons .btn-outline {
  border-color: rgba(255,255,255,0.55);
  color: #ffffff;
}

.hero.hero-with-bg.hero-exploded-bg .hero-buttons .btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #ffffff;
}

.hero.hero-with-bg .hero-content h1,
.hero.hero-with-bg .hero-content p {
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  color: var(--color-white);
}

.hero.hero-with-bg .hero-content .btn-outline-light {
  color: var(--color-white);
  border-color: rgba(255,255,255,0.4);
}

.hero.hero-with-bg .hero-content .btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--color-white);
  color: var(--color-white);
}

.hero.hero-with-bg .hero-stats .stat-card {
  background: rgba(255,255,255,0.75) !important;
  border: 1px solid rgba(255,255,255,0.9) !important;
  backdrop-filter: blur(8px);
}

.hero.hero-with-bg .hero-stats .stat-label {
  color: var(--color-text-muted) !important;
}

.hero.hero-with-bg .hero-stats .stat-number {
  color: var(--color-primary) !important;
}

/* Exploded-bg variant: dark glass stat cards for dark background */
.hero.hero-with-bg.hero-exploded-bg .hero-stats .stat-card {
  background: rgba(0,0,0,0.38) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
}

.hero.hero-with-bg.hero-exploded-bg .hero-stats .stat-label {
  color: rgba(255,255,255,0.78) !important;
}

.hero.hero-with-bg.hero-exploded-bg .hero-stats .stat-number {
  color: var(--color-accent) !important;
}

.hero.hero-with-bg .hero-bg-text {
  text-align: right;
  max-width: 620px;
  margin-left: auto;
}

.hero.hero-with-bg .hero-bg-text h1 {
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero.hero-with-bg .hero-bg-text p {
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

/* Compact hero with vehicle image (smaller) */
.hero.hero-compact {
  padding: 80px 0 70px;
  min-height: 420px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-content h1 span {
  color: var(--color-accent);
}

.hero-content p {
  font-size: 20px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  backdrop-filter: blur(4px);
}

.stat-number {
  font-size: 44px;
  font-weight: 800;
  color: var(--color-accent);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}

/* --- Product Category Cards --- */
.categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 620px;
  margin: 0 auto;
  gap: 28px;
}

.category-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-border);
}

.category-card-image {
  height: 230px;
  background: #F5F6F7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  position: relative;
  overflow: hidden;
}

.category-card-image .overlay-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--color-accent);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

.category-card-body {
  padding: 24px;
}

.category-card-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.category-card-body p {
  color: var(--color-text-light);
  font-size: 15px;
  margin-bottom: 16px;
  line-height: 1.6;
}

.category-card-body .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.tag {
  background: var(--color-bg-alt);
  color: var(--color-text-light);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 4px;
}

.category-card-body .btn {
  width: 100%;
  text-align: center;
  font-size: 14px;
  padding: 12px 20px;
}

/* --- Category Tabs --- */
.cat-tab {
  display: inline-block;
  padding: 10px 22px;
  background: #fff;
  color: #1B2A3B;
  border: 1px solid #DEE2E6;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.cat-tab.active {
  background: #fff;
  color: #1B2A3B;
  border: 2px solid #1B2A3B;
  padding: 9px 21px;
}

.cat-tab:hover {
  background: #1B2A3B !important;
  color: #fff !important;
  border-color: #1B2A3B !important;
}

.cat-tab.active:hover {
  background: #1B2A3B !important;
  color: #fff !important;
  border-color: #1B2A3B !important;
}

/* --- Unified Search Bar (search input + embedded year filter) --- */
.search-group {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}
.search-group .search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #6C757D;
  pointer-events: none;
  z-index: 2;
}
.search-group input {
  width: 100%;
  padding: 14px 172px 14px 48px;
  border: 2px solid #DEE2E6;
  border-radius: 8px;
  font-size: 15px;
  background: #fff;
  color: #2D3436;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.search-group input:focus {
  border-color: #D4380D;
  box-shadow: 0 2px 10px rgba(212,56,13,0.12);
}
.search-group .year-wrap {
  position: absolute;
  top: 2px;
  right: 2px;
  bottom: 2px;
  width: 170px;
  background: linear-gradient(#fff, #f7f8fa);
  border-left: 1px solid #E9ECEF;
  border-radius: 0 6px 6px 0;
}
.search-group select {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  padding: 0 28px 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: #2D3436;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.search-group .year-arrow {
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #6C757D;
  font-size: 11px;
}
@media (max-width: 640px) {
  .search-group input { padding-right: 118px; }
  .search-group .year-wrap { width: 116px; }
  .search-group select { padding: 0 22px 0 8px; font-size: 12px; }
  .search-group .year-arrow { right: 8px; }
}

/* --- Trust Section --- */
.trust-section {
  background: var(--color-bg);
}

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

.trust-item {
  text-align: center;
  padding: 32px 24px;
}

.trust-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--color-accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.trust-item h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.trust-item p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* --- CTA Banner --- */
.cta-banner {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 72px 0;
  text-align: center;
}

.cta-banner h2 {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 19px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Footer --- */
.footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.6);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  color: var(--color-white);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 15px;
  line-height: 1.7;
}

.footer h4 {
  color: var(--color-white);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer a {
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  display: block;
  padding: 5px 0;
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
}

/* ========================================
   PRODUCT PAGES
   ======================================== */

/* Page Hero (smaller than home hero) */
.page-hero {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 72px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.page-hero p {
  font-size: 19px;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.7);
}

.breadcrumb a:hover {
  color: var(--color-white);
}

/* Page Hero with side image (e.g. Shipping & Terms) */
.page-hero--split {
  text-align: left;
  padding: 64px 0;
  overflow: hidden;
}

.page-hero--split .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.page-hero--split .page-hero__content {
  flex: 1 1 460px;
  max-width: 560px;
}

.page-hero--split .page-hero__media {
  flex: 1 1 520px;
  max-width: 640px;
}

.page-hero--split .page-hero__media img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.page-hero--split h1 {
  margin-bottom: 16px;
}

.page-hero--split p {
  margin: 0;
  max-width: none;
}

@media (max-width: 900px) {
  .page-hero--split .container {
    flex-direction: column;
    text-align: center;
  }
  .page-hero--split .page-hero__content,
  .page-hero--split .page-hero__media {
    flex: 1 1 auto;
    max-width: 100%;
  }
  .page-hero--split .page-hero__media {
    order: -1;
    max-width: 520px;
  }
}

/* Page Hero with background map image */
.page-hero--bg-map {
  position: relative;
  background-image: url('../images/hero/shipping-map-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  padding: 96px 0;
}

.page-hero--bg-map::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,42,59,0.92) 0%, rgba(27,42,59,0.72) 50%, rgba(27,42,59,0.90) 100%);
  z-index: 1;
}

.page-hero--bg-map .container {
  position: relative;
  z-index: 2;
}

.page-hero--bg-map p {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .page-hero--bg-map {
    padding: 72px 0;
    background-position: 58% center;
  }
}

/* Product Grid */
.product-section {
  padding: 72px 0;
  background: var(--color-bg);
  scroll-margin-top: 140px;
}

/* Anchor targets (nav dropdown links to in-page sections) */
.section[id] {
  scroll-margin-top: 140px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--color-border);
}

.product-card-image {
  height: 340px;
  background: #F5F6F7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  position: relative;
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

/* Light grey background for placeholder cards too */
.product-card-image .placeholder-dark {
  color: var(--color-text-light);
  text-align: center;
}

.product-card-image .placeholder-dark .ph-icon {
  font-size: 56px;
  margin-bottom: 10px;
  opacity: 0.5;
}

.product-card-image .placeholder-dark .ph-text {
  font-size: 13px;
  opacity: 0.4;
}

/* Product card as clickable link */
a.product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

a.product-card-link .product-card {
  height: 100%;
}

a.product-card-link:hover .product-card {
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
  transform: translateY(-3px);
}

a.product-card-link:hover .product-card-body h3 {
  color: var(--color-accent);
}

.product-card-body {
  padding: 20px;
}

.product-card-body .oem-number {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.product-card-body h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.product-card-body .product-price {
  font-size: 17px;
  font-weight: 700;
  color: #D4380D;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.product-card-body .product-price small {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-light);
  letter-spacing: 0;
}

.product-card-body p {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 14px;
  line-height: 1.55;
}

.product-card-body .specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.product-card-body .spec {
  background: var(--color-bg);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--color-text-light);
}

.product-card-body .btn-sm {
  font-size: 14px;
  padding: 10px 18px;
  width: 100%;
  text-align: center;
}

.add-to-quote {
  display: block;
  width: 100%;
  padding: 12px 16px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  background: var(--color-accent-light);
  border: 1px solid rgba(212,56,13,0.2);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}

.add-to-quote:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.add-to-quote.added {
  background: var(--color-success);
  color: #fff;
  border-color: var(--color-success);
}

/* Vehicle Compatibility Table */
.compat-section {
  background: var(--color-bg);
  padding: 72px 0;
}

.compat-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: 15px;
}

.compat-table thead {
  background: var(--color-primary);
  color: var(--color-white);
}

.compat-table th {
  padding: 16px 22px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.compat-table td {
  padding: 14px 22px;
  border-bottom: 1px solid var(--color-border-light);
  color: var(--color-text);
}

.compat-table tr:last-child td {
  border-bottom: none;
}

.compat-table tr:hover td {
  background: var(--color-bg);
}

.compat-table .badge {
  display: inline-block;
  background: var(--color-success-light);
  color: var(--color-success);
  font-size: 12px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 12px;
}

/* ========================================
   QUOTE / INQUIRY PAGE
   ======================================== */

.quote-section {
  padding: 72px 0;
}

.quote-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.quote-info h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.quote-info p {
  color: var(--color-text-light);
  margin-bottom: 24px;
  line-height: 1.7;
}

.quote-info .info-list {
  list-style: none;
}

.quote-info .info-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border-light);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.quote-info .info-list li::before {
  content: '\2713';
  color: var(--color-success);
  font-weight: 700;
  font-size: 20px;
  flex-shrink: 0;
}

.whatsapp-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  margin-top: 16px;
  transition: all 0.2s;
}

.whatsapp-cta:hover {
  background: #20BA5A;
  color: white;
  transform: translateY(-1px);
}

/* Form Styles */
.quote-form-wrap {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow);
}

.quote-form-wrap h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.quote-form-wrap .form-subtitle {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.form-group label .required {
  color: var(--color-accent);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--font-sans);
  border: 2px solid var(--color-border-light);
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-text);
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(232,93,4,0.1);
}

.form-control.input-error {
  border-color: #D4380D;
  box-shadow: 0 0 0 3px rgba(212,56,13,0.12);
}

.form-status {
  display: none;
  margin: 12px 0;
  padding: 10px 14px;
  border-radius: 8px;
  background: #FFF8E1;
  border: 1px solid #FFE082;
  color: #6C757D;
  font-size: 13px;
  line-height: 1.5;
}

.form-status.form-status-error {
  background: #FFF2ED;
  border-color: #FFD4C0;
  color: #D4380D;
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23636E72' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

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

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 2px solid var(--color-border-light);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
  user-select: none;
}

.checkbox-label:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-light);
}

.checkbox-label input[type="checkbox"] {
  accent-color: var(--color-accent);
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  margin-top: 8px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.show {
  display: block;
}

.form-success .success-icon {
  width: 72px;
  height: 82px;
  margin: 0 auto 20px;
  background: var(--color-success-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
}

.form-success h3 {
  color: var(--color-success);
  margin-bottom: 8px;
}

/* ========================================
   ABOUT PAGE
   ======================================== */

.about-hero {
  background-color: var(--color-primary);
  background-image: url('../images/hero/about-hero-gold-wide-bg.png?v=1');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-white);
  padding: 92px 0 96px;
  text-align: left;
}

.about-hero h1 {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 8px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.55);
}

.about-hero .breadcrumb {
  text-shadow: 0 2px 10px rgba(0,0,0,0.55);
}

.about-content {
  padding: 72px 0;
}

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

.about-grid.reverse {
  direction: rtl;
}

.about-grid.reverse > * {
  direction: ltr;
}

.about-text h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.about-text p {
  color: var(--color-text-light);
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-visual {
  background: var(--color-bg-alt);
  border-radius: var(--radius-xl);
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.advantages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.advantage-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.2s;
}

.advantage-card:hover {
  box-shadow: var(--shadow);
}

.advantage-card .adv-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.advantage-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.advantage-card p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ========================================
   PRODUCT DETAIL PAGE
   ======================================== */

.product-detail {
  padding: 48px 0 64px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* Detail image area */
.detail-media {
  background: #F5F6F7;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 32px;
  max-height: 500px;
}

/* Detail info */
.detail-info .oem-number {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.detail-price .detail-price-value {
  font-size: 30px;
  font-weight: 800;
  color: #D4380D;
  letter-spacing: 0.3px;
}

.detail-price-note {
  line-height: 1.5;
}

.detail-info h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.detail-info .detail-desc {
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Specs table in detail */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.specs-table tr {
  border-bottom: 1px solid var(--color-border-light);
}

.specs-table td {
  padding: 13px 0;
  font-size: 15px;
}

.specs-table td:first-child {
  color: var(--color-text-light);
  font-weight: 500;
  width: 160px;
  padding-right: 20px;
}

.specs-table td:last-child {
  color: var(--color-text);
  font-weight: 600;
}

/* Detail CTA buttons */
.detail-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.detail-cta .btn {
  padding: 14px 28px;
  font-size: 15px;
}

/* Related products */
.related-products {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--color-border-light);
}

.related-products h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 24px;
}

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

.related-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}

.related-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--color-accent);
}

.related-card-image {
  height: 140px;
  background: #F5F6F7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.related-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.related-card-body {
  padding: 12px;
}

.related-card-body .oem-number {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 2px;
}

.related-card-body h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .detail-media {
    min-height: 340px;
  }

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

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 28px;
  }

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

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

  .detail-info h1 {
    font-size: 20px;
  }

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

/* ===== WhatsApp Floating Button ===== */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  z-index: 9998;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.6);
}
.wa-float svg {
  width: 30px;
  height: 30px;
  fill: #FFFFFF;
  display: block;
}
.wa-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.35);
  animation: wa-pulse 2.2s infinite;
  z-index: -1;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  70% { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}
.wa-float-bubble {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  background: #FFFFFF;
  color: #1B2A3B;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.wa-float-bubble.show {
  opacity: 1;
}
@media (max-width: 480px) {
  .wa-float {
    width: 52px;
    height: 52px;
    right: 16px;
    bottom: 16px;
  }
  .wa-float svg {
    width: 26px;
    height: 26px;
  }
  .wa-float-bubble {
    right: 64px;
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* ===== Shipping & Terms Page ===== */
.terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.terms-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.terms-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.terms-card .terms-icon {
  font-size: 28px;
  margin-bottom: 12px;
}
.terms-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.terms-card .terms-meta {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
}
.terms-card p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}
.terms-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
  background: #FFFFFF;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
}
.terms-table th {
  background: var(--color-primary);
  color: #FFFFFF;
  text-align: left;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
}
.terms-table td {
  padding: 14px 18px;
  font-size: 14px;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border-light);
  line-height: 1.6;
}
.terms-table tr:last-child td {
  border-bottom: none;
}
.terms-table tbody tr:hover {
  background: var(--color-bg);
}
.terms-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.terms-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--color-border-light);
}
.terms-item:last-child {
  border-bottom: none;
}
.terms-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.terms-item p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.65;
  max-width: 860px;
}
@media (max-width: 768px) {
  .terms-table {
    display: block;
    overflow-x: auto;
  }
}

/* --- Mobile Navigation --- */
@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 20px 20px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    border-top: 1px solid var(--color-border);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
  }

  .nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav a,
  .nav-dropdown > a {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown > a::after {
    margin-left: auto;
    transform: none;
  }

  .nav-dropdown.open > a::after {
    transform: rotate(180deg);
  }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 4px 0 4px 12px;
    min-width: auto;
    display: none;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown-menu a {
    padding: 10px 14px;
    white-space: normal;
  }
}

/* 404 Page */
.error-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-success) 100%);
  color: var(--color-white);
  text-align: center;
  padding: 140px 0 160px;
  min-height: 50vh;
  display: flex;
  align-items: center;
}
.error-hero .container {
  max-width: 700px;
}
.error-code {
  display: inline-block;
  font-size: 120px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -4px;
  margin-bottom: 16px;
  color: var(--color-accent);
  text-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.error-hero h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 18px;
}
.error-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 34px;
  line-height: 1.7;
}
.error-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.error-actions .btn-outline {
  border-color: var(--color-white);
  color: var(--color-white);
}
.error-actions .btn-outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
}
@media (max-width: 640px) {
  .error-hero {
    padding: 110px 0 130px;
  }
  .error-code {
    font-size: 88px;
  }
  .error-hero h1 {
    font-size: 30px;
  }
  .error-hero p {
    font-size: 16px;
  }
  .error-actions {
    flex-direction: column;
    align-items: center;
  }
  .error-actions .btn {
    width: 100%;
    max-width: 260px;
  }
}
