/* ============================================================
   US AUTO PARTS OUTLET — Main Stylesheet
   Design: Clean white, black accents, bold automotive aesthetic
   ============================================================ */

:root {
  --red: #e31b23;
  --red-dark: #b81219;
  --black: #111111;
  --dark: #1a1a1a;
  --gray-800: #333333;
  --gray-600: #555555;
  --gray-400: #888888;
  --gray-200: #e5e5e5;
  --gray-100: #f5f5f5;
  --white: #ffffff;
  --yellow: #f5a623;
  --green: #27ae60;
  --font: 'Segoe UI', Arial, sans-serif;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 6px 24px rgba(0,0,0,0.15);
  --radius: 4px;
  --transition: 0.2s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  font-size: 15px;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── TOP BAR ── */
.topbar {
  background: var(--black);
  color: var(--white);
  font-size: 13px;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.topbar-left { display: flex; align-items: center; gap: 20px; }
.topbar-left span { display: flex; align-items: center; gap: 6px; }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-right a { color: var(--gray-200); font-size: 13px; }
.topbar-right a:hover { color: var(--white); }
.topbar .highlight { color: var(--yellow); font-weight: 700; }

/* ── HEADER ── */
.header {
  background: var(--white);
  border-bottom: 2px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--red);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
}
.logo-text { line-height: 1.1; }
.logo-text .brand { font-size: 20px; font-weight: 800; color: var(--black); letter-spacing: -0.5px; }
.logo-text .sub { font-size: 11px; color: var(--red); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }

.header-search {
  flex: 1;
  display: flex;
  max-width: 560px;
}
.header-search input {
  flex: 1;
  border: 2px solid var(--gray-200);
  border-right: none;
  padding: 10px 16px;
  font-size: 14px;
  border-radius: var(--radius) 0 0 var(--radius);
  outline: none;
}
.header-search input:focus { border-color: var(--red); }
.header-search button {
  background: var(--red);
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: background var(--transition);
}
.header-search button:hover { background: var(--red-dark); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  color: var(--black);
  white-space: nowrap;
}
.header-phone a { color: var(--red); }
.header-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--gray-600);
  font-size: 11px;
  font-weight: 600;
  background: none;
  border: none;
  padding: 4px 8px;
  border-radius: var(--radius);
  transition: color var(--transition);
  position: relative;
}
.header-action-btn:hover { color: var(--red); }
.header-action-btn svg { width: 22px; height: 22px; }
.cart-badge {
  position: absolute;
  top: 0; right: 0;
  background: var(--red);
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── NAV ── */
.nav {
  background: var(--dark);
  position: relative;
}
.nav-inner {
  display: flex;
  align-items: center;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: background var(--transition);
  white-space: nowrap;
}
.nav-link:hover,
.nav-item:hover .nav-link { background: var(--red); }
.nav-link svg { width: 14px; height: 14px; transition: transform var(--transition); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  box-shadow: var(--shadow-hover);
  border-top: 3px solid var(--red);
  z-index: 500;
}
.nav-item:hover .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block;
  padding: 10px 20px;
  color: var(--gray-800);
  font-size: 14px;
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--transition), color var(--transition);
}
.nav-dropdown a:hover { background: var(--gray-100); color: var(--red); padding-left: 26px; }

.nav-mega {
  min-width: 640px;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: var(--shadow-hover);
  border-top: 3px solid var(--red);
  z-index: 500;
  padding: 24px;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.nav-item:hover .nav-mega { display: grid; }
.nav-mega-col h4 {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-200);
}
.nav-mega-col a {
  display: block;
  padding: 5px 0;
  color: var(--gray-600);
  font-size: 13px;
  transition: color var(--transition);
}
.nav-mega-col a:hover { color: var(--red); }

.nav-sale-badge {
  background: var(--yellow);
  color: var(--black);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 2px;
  letter-spacing: 0.5px;
}

/* ── HERO SLIDER ── */
.hero {
  position: relative;
  background: var(--black);
  overflow: hidden;
  height: 480px;
}
.hero-slides { height: 100%; }
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.hero-slide.active { opacity: 1; }

.hero-slide-1 { background: linear-gradient(120deg, #0a0a0a 45%, #1a1a1a 100%); }
.hero-slide-2 { background: linear-gradient(120deg, #1a0000 45%, #2d0a0a 100%); }
.hero-slide-3 { background: linear-gradient(120deg, #001a10 45%, #0a2a1a 100%); }

.hero-bg-shape {
  position: absolute;
  right: -100px;
  top: -100px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  opacity: 0.04;
  background: var(--white);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px;
  max-width: 600px;
}
.hero-badge {
  display: inline-block;
  background: var(--red);
  color: white;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 16px;
}
.hero-title {
  font-size: 52px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.hero-title span { color: var(--red); }
.hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 28px;
  line-height: 1.6;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--red);
  color: white;
  border: none;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius);
  letter-spacing: 0.5px;
  transition: background var(--transition), transform var(--transition);
  display: inline-block;
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.4);
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition);
  display: inline-block;
}
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.1); }

.hero-info {
  display: flex;
  gap: 28px;
  margin-top: 28px;
}
.hero-info-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.7); font-size: 13px; }
.hero-info-item svg { width: 16px; height: 16px; color: var(--yellow); }

.hero-nav {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  transition: background var(--transition), width var(--transition);
}
.hero-dot.active { background: var(--red); width: 24px; border-radius: 4px; }

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 10;
  transition: background var(--transition);
}
.hero-arrow:hover { background: var(--red); }
.hero-prev { left: 20px; }
.hero-next { right: 20px; }

/* ── TRUST BADGES ── */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--gray-200);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-right: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.trust-icon {
  width: 48px; height: 48px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 22px;
}
.trust-text strong { display: block; font-size: 15px; font-weight: 700; color: var(--black); }
.trust-text span { font-size: 13px; color: var(--gray-400); }

/* ── FITMENT SEARCH ── */
.fitment-section {
  background: var(--gray-100);
  padding: 40px 0;
  border-bottom: 1px solid var(--gray-200);
}
.fitment-label {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.fitment-title {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--black);
}
.fitment-box {
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.fitment-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}
.fitment-row select {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  appearance: none;
  background: 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='%23555' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 12px center var(--white);
  cursor: pointer;
  transition: border-color var(--transition);
}
.fitment-row select:focus { outline: none; border-color: var(--red); }
.fitment-row label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--gray-600); margin-bottom: 6px; }
.fitment-btn {
  background: var(--red);
  color: white;
  border: none;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background var(--transition);
}
.fitment-btn:hover { background: var(--red-dark); }

/* ── SECTION HEADINGS ── */
.section { padding: 56px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
}
.section-head-left .eyebrow {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 4px;
}
.section-head-left h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.5px;
}
.view-all {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}
.view-all:hover { border-color: var(--red); }

/* ── PRODUCT CARDS ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
}
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }

.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 8px;
  border-radius: 2px;
  z-index: 2;
}
.badge-sale { background: var(--red); color: white; }
.badge-best { background: var(--yellow); color: var(--black); }
.badge-last { background: var(--gray-800); color: white; }
.badge-sold { background: var(--gray-400); color: white; }

.product-img {
  width: 100%;
  padding-top: 75%;
  background: var(--gray-100);
  position: relative;
  overflow: hidden;
}
.product-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gray-400);
  font-size: 13px;
  text-align: center;
  padding: 16px;
}
.product-img-placeholder svg { width: 48px; height: 48px; opacity: 0.4; }
.product-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.product-card:hover .product-img-overlay { opacity: 1; }
.quick-view-btn {
  background: white;
  color: var(--black);
  border: none;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius);
  transform: translateY(8px);
  transition: transform var(--transition);
}
.product-card:hover .quick-view-btn { transform: translateY(0); }

.product-body { padding: 16px; }
.product-brand { font-size: 11px; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 4px; }
.product-name { font-size: 14px; font-weight: 600; color: var(--black); margin-bottom: 6px; line-height: 1.3; }
.product-name a:hover { color: var(--red); }
.product-part { font-size: 11px; color: var(--gray-400); margin-bottom: 8px; }
.product-fitment { font-size: 12px; color: var(--gray-600); margin-bottom: 10px; line-height: 1.3; }

.product-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
}
.stars { color: var(--yellow); font-size: 13px; letter-spacing: -1px; }
.review-count { font-size: 12px; color: var(--gray-400); }

.product-pricing { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.price-current { font-size: 20px; font-weight: 800; color: var(--black); }
.price-original { font-size: 14px; color: var(--gray-400); text-decoration: line-through; }
.price-save { font-size: 12px; font-weight: 700; color: var(--green); }

.product-footer { display: flex; gap: 8px; }
.add-to-cart {
  flex: 1;
  background: var(--black);
  color: white;
  border: none;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.add-to-cart:hover { background: var(--red); }
.add-to-cart:disabled { background: var(--gray-400); cursor: not-allowed; }
.wishlist-btn {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  padding: 10px;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.wishlist-btn:hover { background: var(--red); color: white; border-color: var(--red); }
.wishlist-btn svg { width: 16px; height: 16px; }

.stock-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 8px;
}
.in-stock { background: #e8f5e9; color: var(--green); }
.out-stock { background: #fafafa; color: var(--gray-400); }

/* ── CATEGORIES ── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.category-card {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 24px 16px;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
}
.category-card:hover { background: var(--red); border-color: var(--red); }
.category-card:hover .cat-name,
.category-card:hover .cat-count { color: white; }
.category-card:hover .cat-icon { background: rgba(255,255,255,0.2); }
.cat-icon {
  width: 64px; height: 64px;
  background: var(--white);
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  transition: background var(--transition);
  box-shadow: var(--shadow);
}
.cat-name { font-size: 13px; font-weight: 700; color: var(--black); margin-bottom: 2px; }
.cat-count { font-size: 11px; color: var(--gray-400); }

/* ── PROMO BANNER ── */
.promo-banner {
  background: linear-gradient(135deg, var(--red) 0%, #8b0000 100%);
  padding: 48px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.promo-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.promo-banner::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.promo-banner h2 {
  font-size: 40px;
  font-weight: 900;
  color: white;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.promo-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.btn-white {
  background: white;
  color: var(--red);
  border: none;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 800;
  border-radius: var(--radius);
  transition: transform var(--transition);
  position: relative;
  z-index: 1;
  display: inline-block;
}
.btn-white:hover { transform: translateY(-2px); }
.promo-timer {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.timer-unit {
  background: rgba(0,0,0,0.3);
  border-radius: 6px;
  padding: 10px 16px;
  text-align: center;
  min-width: 70px;
}
.timer-num { font-size: 28px; font-weight: 900; color: white; line-height: 1; }
.timer-label { font-size: 11px; color: rgba(255,255,255,0.7); letter-spacing: 1px; text-transform: uppercase; }

/* ── BRANDS ── */
.brands-section { padding: 40px 0; background: var(--gray-100); }
.brands-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.brand-chip {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-600);
  transition: all var(--transition);
  cursor: pointer;
}
.brand-chip:hover { border-color: var(--red); color: var(--red); background: #fff5f5; }

/* ── LAST CHANCE ── */
.last-chance-section { background: var(--gray-100); }

/* ── WHY US ── */
.why-section { background: var(--dark); color: white; padding: 56px 0; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.why-item { text-align: center; }
.why-icon {
  font-size: 40px;
  margin-bottom: 16px;
}
.why-item h3 { font-size: 16px; font-weight: 700; color: white; margin-bottom: 8px; }
.why-item p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.6; }

/* ── FOOTER ── */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.75);
  padding-top: 56px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-text .brand { color: white; }
.footer-brand .logo-text .sub { color: var(--red); }
.footer-brand p {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
}
.footer-brand .contact-info { margin-top: 16px; }
.footer-brand .contact-info div { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; margin-bottom: 8px; }
.footer-brand .contact-info svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; color: var(--red); }

.footer-col h4 {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: white;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  padding: 4px 0;
  transition: color var(--transition);
}
.footer-col a:hover { color: white; }

.footer-newsletter {
  margin-top: 16px;
}
.newsletter-form {
  display: flex;
  margin-top: 10px;
}
.newsletter-form input {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-right: none;
  padding: 10px 14px;
  color: white;
  font-size: 13px;
  border-radius: var(--radius) 0 0 var(--radius);
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-form button {
  background: var(--red);
  color: white;
  border: none;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 16px;
  transition: all var(--transition);
}
.social-btn:hover { background: var(--red); color: white; }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}
.payment-icons { display: flex; gap: 8px; align-items: center; }
.payment-icon {
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 800;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.5px;
}
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { color: rgba(255,255,255,0.35); }
.footer-bottom-links a:hover { color: white; }

/* ── CATALOG PAGE ── */
.page-hero {
  background: var(--dark);
  padding: 40px 0;
  color: white;
}
.page-hero h1 { font-size: 36px; font-weight: 800; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
}
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: white; }
.breadcrumb span { color: rgba(255,255,255,0.3); }

.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 40px 0;
}
.sidebar { position: sticky; top: 90px; align-self: start; }
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 20px;
}
.sidebar-widget-head {
  background: var(--gray-100);
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--black);
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sidebar-widget-body { padding: 16px; }

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  cursor: pointer;
  font-size: 14px;
  color: var(--gray-800);
}
.filter-option input[type="checkbox"] {
  accent-color: var(--red);
  width: 15px; height: 15px;
}
.filter-option:hover { color: var(--red); }
.filter-count { margin-left: auto; font-size: 11px; color: var(--gray-400); }

.price-range-inputs { display: flex; gap: 8px; align-items: center; }
.price-range-inputs input {
  flex: 1;
  border: 1px solid var(--gray-200);
  padding: 8px;
  border-radius: var(--radius);
  font-size: 13px;
  width: 80px;
}

.catalog-main {}
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  margin-bottom: 24px;
}
.results-count { font-size: 14px; color: var(--gray-600); }
.results-count strong { color: var(--black); }
.sort-controls { display: flex; align-items: center; gap: 12px; }
.sort-controls label { font-size: 13px; font-weight: 600; color: var(--gray-600); }
.sort-controls select {
  border: 1px solid var(--gray-200);
  padding: 8px 12px;
  border-radius: var(--radius);
  font-size: 13px;
  background: white;
}

.catalog-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ── PRODUCT DETAIL PAGE ── */
.product-detail { padding: 40px 0; }
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.product-images { position: sticky; top: 90px; }
.main-image {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding-top: 80%;
  position: relative;
  margin-bottom: 12px;
  overflow: hidden;
}
.main-image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  gap: 12px;
  font-size: 15px;
}
.main-image-placeholder svg { width: 80px; height: 80px; opacity: 0.3; }
.thumb-row { display: flex; gap: 8px; }
.thumb {
  width: 70px; height: 70px;
  background: var(--gray-100);
  border: 2px solid var(--gray-200);
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--gray-300);
}
.thumb.active { border-color: var(--red); }

.product-info h1 { font-size: 26px; font-weight: 800; color: var(--black); margin-bottom: 8px; line-height: 1.2; }
.product-meta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; font-size: 13px; color: var(--gray-600); }
.product-meta strong { color: var(--black); }

.product-price-block { padding: 20px 0; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); margin: 16px 0; }
.detail-price { font-size: 36px; font-weight: 900; color: var(--black); }
.detail-price-orig { font-size: 18px; color: var(--gray-400); text-decoration: line-through; margin-left: 12px; }
.detail-save { font-size: 14px; font-weight: 700; color: var(--green); margin-top: 4px; }
.shipping-free { margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--green); display: flex; align-items: center; gap: 6px; }

.fitment-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin: 12px 0;
}
.fitment-table th {
  background: var(--gray-100);
  padding: 8px 12px;
  text-align: left;
  font-weight: 700;
  border: 1px solid var(--gray-200);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.fitment-table td { padding: 8px 12px; border: 1px solid var(--gray-200); color: var(--gray-800); }
.fitment-table tr:nth-child(even) td { background: var(--gray-100); }

.qty-row { display: flex; align-items: center; gap: 12px; margin: 16px 0; }
.qty-control { display: flex; align-items: center; border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; }
.qty-btn { background: var(--gray-100); border: none; padding: 10px 14px; font-size: 16px; font-weight: 700; color: var(--black); transition: background var(--transition); }
.qty-btn:hover { background: var(--gray-200); }
.qty-input { width: 48px; text-align: center; border: none; border-left: 1px solid var(--gray-200); border-right: 1px solid var(--gray-200); padding: 10px 0; font-size: 15px; font-weight: 600; }

.add-cart-large {
  flex: 1;
  background: var(--red);
  color: white;
  border: none;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.add-cart-large:hover { background: var(--red-dark); }

.guarantee-row {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.guarantee-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray-600); }
.guarantee-item svg { width: 18px; height: 18px; color: var(--green); }

/* ── ABOUT / CONTACT PAGES ── */
.about-section { padding: 64px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img-block {
  background: var(--gray-100);
  border-radius: 8px;
  padding-top: 65%;
  position: relative;
  overflow: hidden;
}
.about-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gray-400);
  font-size: 36px;
}
.about-text h2 { font-size: 32px; font-weight: 800; margin-bottom: 16px; }
.about-text p { font-size: 15px; color: var(--gray-600); line-height: 1.7; margin-bottom: 16px; }
.stats-row { display: flex; gap: 32px; margin-top: 24px; }
.stat strong { display: block; font-size: 32px; font-weight: 900; color: var(--red); }
.stat span { font-size: 13px; color: var(--gray-600); }

.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 48px 0; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--black); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--font);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--red); }
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-info-card {
  background: var(--gray-100);
  border-radius: 8px;
  padding: 32px;
}
.contact-info-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 20px; }
.contact-info-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
}
.contact-info-item:last-of-type { border: none; }
.contact-info-icon { font-size: 22px; flex-shrink: 0; }
.contact-info-item strong { display: block; font-size: 14px; font-weight: 700; }
.contact-info-item span { font-size: 13px; color: var(--gray-600); }

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--black);
  color: white;
  padding: 14px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-hover);
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-icon { font-size: 18px; }

/* ── MOBILE NAV ── */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--black);
  padding: 4px;
}
.mobile-menu-btn svg { width: 28px; height: 28px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .hero-title { font-size: 40px; }
}

@media (max-width: 768px) {
  .topbar .container { flex-direction: column; gap: 6px; }
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .header-phone { display: none; }
  .nav { display: none; }
  .mobile-menu-btn { display: block; }
  .hero { height: 380px; }
  .hero-content { padding: 0 24px; }
  .hero-title { font-size: 30px; }
  .fitment-row { grid-template-columns: 1fr 1fr; }
  .fitment-btn { grid-column: 1 / -1; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .catalog-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 26px; }
  .section { padding: 36px 0; }
  .promo-timer { gap: 8px; }
  .timer-unit { padding: 8px 10px; min-width: 56px; }
  .timer-num { font-size: 22px; }
}
