/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  color: #212121;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  white-space: nowrap;
  padding: 10px 20px;
}
.btn--red   { background: #DC2626; color: #fff; }
.btn--red:hover { background: #b91c1c; }

.btn--dark  { background: rgba(255,255,255,0.12); color: #fff; border: 1.5px solid rgba(255,255,255,0.35); }
.btn--dark:hover { background: rgba(255,255,255,0.22); }

.btn--outline { background: transparent; color: #212121; border: 1.5px solid #D1D5DB; }
.btn--outline:hover { border-color: #DC2626; color: #DC2626; }

.btn--lg { font-size: 15px; padding: 13px 26px; border-radius: 8px; }
.btn--full { width: 100%; justify-content: center; padding: 13px; border-radius: 6px; }

/* ─── LAYOUT HELPERS ─── */
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 16px;
}
.section-header--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section-header h2 {
  font-size: 30px;
  font-weight: 800;
  color: #111827;
  margin-top: 6px;
}
.section-header p {
  font-size: 15px;
  color: #6B7280;
  margin-top: 6px;
  max-width: 580px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #DC2626;
}
.section-label--light { color: rgba(255,255,255,0.75); }

/* ─── TOP ANNOUNCEMENT BAR ─── */
.top-bar {
  background: #111827;
  color: #D1D5DB;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 40px;
}
.top-bar__left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.top-bar__phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
}
.top-bar__sep { color: #4B5563; }
.top-bar__right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.top-bar__right a { color: #D1D5DB; transition: color 0.15s; }
.top-bar__right a:hover { color: #fff; }

/* ─── HEADER ─── */
.header {
  background: #fff;
  border-bottom: 1px solid #E5E7EB;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo__icon {
  width: 44px;
  height: 44px;
  background: #FEF2F2;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo__text { display: flex; flex-direction: column; }
.logo__name {
  font-size: 20px;
  font-weight: 800;
  color: #111827;
  line-height: 1.1;
}
.logo__tagline {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #6B7280;
  text-transform: uppercase;
}

/* Search Bar */
.search-bar {
  flex: 1;
  position: relative;
  max-width: 600px;
}
.search-bar input {
  width: 100%;
  border: 1.5px solid #E5E7EB;
  border-radius: 8px;
  padding: 11px 130px 11px 16px;
  font-family: inherit;
  font-size: 14px;
  color: #374151;
  outline: none;
  transition: border-color 0.15s;
}
.search-bar input:focus { border-color: #DC2626; }
.search-bar input::placeholder { color: #9CA3AF; }
.search-bar__btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  padding: 7px 18px;
  font-size: 13px;
}

/* Cart */
.cart-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 14px;
  color: #374151;
  flex-shrink: 0;
  margin-left: auto;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.15s;
}
.cart-btn:hover { background: #F3F4F6; color: #111827; }

/* ─── NAVIGATION ─── */
.nav {
  background: #fff;
  border-bottom: 1px solid #E5E7EB;
}
.nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.nav__link:hover, .nav__link--active { color: #DC2626; border-bottom-color: #DC2626; }
.nav__dropdown { position: relative; }
.nav__dropdown-toggle { padding: 14px 16px; }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 580px;
  background: #1a1a2e;
  /* Dark car background — using a gradient as placeholder matching the site's dark rocky/desert car image */
  background-image: url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?w=1600&q=80');
  background-size: cover;
  background-position: center 40%;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.45) 55%,
    rgba(0,0,0,0.18) 100%
  );
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}

/* Hero Content */
.hero__content { flex: 1; max-width: 580px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #DC2626;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero__title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero__title--red { color: #DC2626; }

.hero__subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero__buttons {
  display: flex;
  gap: 14px;
  margin-bottom: 36px;
}

.hero__trust {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}
.hero__trust span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Vehicle Selector Card */
.vehicle-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  width: 400px;
  flex-shrink: 0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.vehicle-card__title {
  font-size: 20px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 4px;
}
.vehicle-card__sub {
  font-size: 13px;
  color: #6B7280;
  margin-bottom: 18px;
}
.vehicle-card__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.vehicle-card__select {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #E5E7EB;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: #374151;
  background: #fff;
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
}
.vehicle-card__select:focus { border-color: #DC2626; }
.vehicle-card__note {
  font-size: 11px;
  color: #9CA3AF;
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

/* ─── TRUST STRIP ─── */
.trust-strip {
  background: #fff;
  border-bottom: 1px solid #E5E7EB;
  padding: 28px 0;
}
.trust-strip__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2px;
}
.trust-item p { font-size: 13px; color: #6B7280; }

/* ─── CATEGORIES ─── */
.categories {
  padding: 72px 0;
  background: #fff;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.category-card {
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.18s, transform 0.18s, border-color 0.18s;
  cursor: pointer;
}
.category-card:hover {
  border-color: #DC2626;
  box-shadow: 0 8px 24px rgba(220,38,38,0.12);
  transform: translateY(-2px);
}
.category-card__img {
  height: 110px;
  background: #F3F4F6;
  background-size: cover;
  background-position: center;
}
.category-card__img--bumpers  { background-color: #E5E7EB; background-image: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=300&q=70'); }
.category-card__img--fenders  { background-color: #E5E7EB; background-image: url('https://images.unsplash.com/photo-1580274455191-1c62238fa333?w=300&q=70'); }
.category-card__img--hoods    { background-color: #E5E7EB; background-image: url('https://images.unsplash.com/photo-1494976388531-d1058494cdd8?w=300&q=70'); }
.category-card__img--headlights { background-color: #111; background-image: url('https://media.base44.com/images/public/6a2efefc3aafe61c210ab038/10f1b9ca1_generated_74f1ee33.png'); }
.category-card__img--grilles  { background-color: #E5E7EB; background-image: url('https://images.unsplash.com/photo-1502877338535-766e1452684a?w=300&q=70'); }
.category-card__img--mirrors  { background-color: #E5E7EB; background-image: url('https://images.unsplash.com/photo-1511919884226-fd3cad34687c?w=300&q=70'); }
.category-card__info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.category-card__info strong { font-size: 14px; font-weight: 700; color: #111827; }
.category-card__info span   { font-size: 12px; color: #6B7280; }

/* ─── BEST SELLERS ─── */
.best-sellers {
  padding: 72px 0;
  background: #F9FAFB;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  background: #fff;
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.product-card:hover {
  border-color: #DC2626;
  box-shadow: 0 8px 28px rgba(220,38,38,0.10);
}
.product-card__img-wrap { position: relative; }
.product-card__img {
  height: 200px;
  background: #F3F4F6;
  background-size: cover;
  background-position: center;
}
.product-card__img--1 { background-image: url('https://images.unsplash.com/photo-1571987502227-9231b837d92a?w=400&q=70'); }
.product-card__img--2 { background-image: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=400&q=70'); }
.product-card__img--3 { background-image: url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=400&q=70'); }
.product-card__img--4 { background-image: url('https://images.unsplash.com/photo-1606664515524-ed2f786a0bd6?w=400&q=70'); }
.product-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #DC2626;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
}
.product-card__stock {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #D1FAE5;
  color: #065F46;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 4px;
}
.product-card__body { padding: 16px; }
.product-card__sku {
  font-size: 11px;
  color: #9CA3AF;
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
}
.product-card__body h4 {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  line-height: 1.45;
  margin-bottom: 10px;
}
.product-card__price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.price--current  { font-size: 18px; font-weight: 800; color: #111827; }
.price--original { font-size: 13px; color: #9CA3AF; text-decoration: line-through; }
.price--save     { font-size: 12px; color: #DC2626; font-weight: 600; }

/* ─── WHY US ─── */
.why-us {
  padding: 80px 0;
  background: #fff;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
  padding: 24px;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.why-card:hover {
  border-color: #DC2626;
  box-shadow: 0 6px 20px rgba(220,38,38,0.09);
}
.why-card__icon {
  width: 48px;
  height: 48px;
  background: #FEF2F2;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.why-card h4 { font-size: 15px; font-weight: 700; color: #111827; margin-bottom: 8px; }
.why-card p  { font-size: 13px; color: #6B7280; line-height: 1.6; }

/* ─── HOW IT WORKS ─── */
.how-it-works {
  padding: 80px 0;
  background: #111827;
}
.how-it-works .section-label { color: rgba(255,255,255,0.6); }
.how-it-works .section-header h2 { color: #fff; }
.how-it-works .section-header p { color: rgba(255,255,255,0.65); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}
.step {
  text-align: center;
  padding: 32px 24px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
}
.step__number {
  width: 52px;
  height: 52px;
  background: #DC2626;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 18px;
}
.step h4 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.step p  { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.6; }
.how-it-works__cta { display: flex; justify-content: center; }

/* ─── NEWSLETTER ─── */
.newsletter {
  padding: 80px 0;
  background: #DC2626;
  text-align: center;
}
.newsletter h2 {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin: 10px 0;
}
.newsletter p {
  font-size: 15px;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.newsletter__form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 10px;
}
.newsletter__form input {
  flex: 1;
  padding: 13px 18px;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
}
.newsletter__form .btn--red {
  background: #111827;
  padding: 13px 24px;
  border-radius: 8px;
}
.newsletter__form .btn--red:hover { background: #1f2937; }

/* ─── FOOTER ─── */
.footer {
  background: #111827;
  color: #D1D5DB;
}
.footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 40px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer__brand p {
  font-size: 14px;
  color: #9CA3AF;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}
.footer__brand .logo__name { color: #fff; }
.footer__brand .logo__tagline { color: #6B7280; }
.footer__brand .logo__icon { background: rgba(220,38,38,0.15); }

.footer__col h5 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer__col a, .footer__col p {
  display: block;
  font-size: 14px;
  color: #9CA3AF;
  margin-bottom: 10px;
  line-height: 1.5;
  transition: color 0.15s;
}
.footer__col a:hover { color: #fff; }
.footer__link--red { color: #DC2626 !important; font-weight: 600; }
.footer__link--red:hover { color: #f87171 !important; }
.footer__hours { font-size: 12px !important; color: #6B7280 !important; }

.footer__bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #6B7280;
}
.footer__bottom-links {
  display: flex;
  gap: 24px;
}
.footer__bottom-links a { color: #6B7280; transition: color 0.15s; }
.footer__bottom-links a:hover { color: #D1D5DB; }
