/* =========================================================
   Superstar Election – Global Stylesheet
   ========================================================= */

:root {
  --primary: #7c3aed;
  --primary-dark: #5b21b6;
  --accent: #f59e0b;
  --dark-bg: #0f0f23;
  --card-bg: #ffffff;
  --text-main: #1e1e2e;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --score-bg: #7c3aed;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background: #f8f9fc;
}

/* ── TOPBAR ── */
.platform-topbar {
  background: var(--dark-bg);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar-link {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-size: .8rem;
  transition: color .2s;
}
.topbar-link:hover { color: var(--accent); }

/* ── NAVBAR ── */
.platform-navbar {
  background: #1a1a2e !important;
  border-bottom: 2px solid var(--primary);
  padding: 10px 0;
  z-index: 1030;
}
.platform-brand { text-decoration: none; }
.brand-91  { color: var(--accent); font-weight: 900; font-size: 1.5rem; letter-spacing: -1px; }
.brand-tech{ color: #ffffff;       font-weight: 900; font-size: 1.5rem; letter-spacing: -1px; }
.platform-nav-link {
  color: rgba(255,255,255,.82) !important;
  font-weight: 500;
  font-size: .92rem;
  padding: 8px 12px !important;
  border-radius: 6px;
  transition: background .2s, color .2s;
}
.platform-nav-link:hover,
.platform-nav-link.active {
  color: #fff !important;
  background: rgba(124,58,237,.3);
}

/* Mega menu */
.platform-mega-menu {
  background: #1e1e38;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
  margin-top: 6px;
}
.platform-mega-menu .dropdown-item {
  color: rgba(255,255,255,.75);
  font-size: .88rem;
  padding: 5px 12px;
  border-radius: 6px;
  transition: background .15s;
}
.platform-mega-menu .dropdown-item:hover {
  background: rgba(124,58,237,.25);
  color: #fff;
}
.mega-section-title {
  color: var(--accent);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 6px;
  padding: 0 12px;
}
.platform-mega-menu hr { border-color: rgba(255,255,255,.1); }

/* Search */
.platform-search-form { max-width: 280px; }
.platform-search-input {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  border-radius: 30px 0 0 30px;
  font-size: .88rem;
}
.platform-search-input::placeholder { color: rgba(255,255,255,.45); }
.platform-search-input:focus {
  background: rgba(255,255,255,.15);
  border-color: var(--primary);
  color: #fff;
  box-shadow: none;
}
.platform-search-btn {
  background: var(--accent);
  border: none;
  border-radius: 0 30px 30px 0;
  color: #1a1a2e;
  font-size: .88rem;
  padding: 0 14px;
}
.platform-search-btn:hover { background: #d97706; }

/* ── PRODUCT CARD ── */
.product-card {
  border-radius: 12px;
  border: 1px solid var(--border) !important;
  transition: transform .18s, box-shadow .18s;
  background: #fff;
  overflow: hidden;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,.12) !important;
}
.product-card img { transition: transform .3s; }
.product-card:hover img { transform: scale(1.04); }

/* Score chip */
.score-chip {
  background: var(--score-bg);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
}
.score-chip.gold { background: var(--accent); color: #1a1a2e; }

/* Price tag */
.price-tag {
  color: var(--primary);
  font-weight: 700;
  font-size: .9rem;
}

/* Compare btn on card */
.compare-btn-sm {
  font-size: .7rem;
  padding: 2px 8px;
  border-radius: 20px;
}

/* ── SECTION HEADERS ── */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.section-header h2, .section-header h3 {
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 0;
}
.view-all-link {
  font-size: .82rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}
.view-all-link:hover { text-decoration: underline; }

/* ── FILTER PILLS ── */
.filter-pill {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: .82rem;
  color: var(--text-main);
  text-decoration: none;
  background: #fff;
  transition: background .15s, border-color .15s, color .15s;
}
.filter-pill:hover, .filter-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ── HERO ── */
.platform-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 55%, #0f3460 100%);
  padding: 56px 0;
  color: #fff;
}

/* ── BEST LIST RANK ── */
.rank-badge {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.rank-badge.rank-1 { background: #f59e0b; color: #1a1a2e; }
.rank-badge.rank-2 { background: #94a3b8; }
.rank-badge.rank-3 { background: #cd7f32; }

/* ── COMPARE TABLE ── */
.compare-table th { background: #f8f9fc; font-size: .82rem; font-weight: 600; }
.compare-table td { font-size: .85rem; vertical-align: middle; }
.compare-winner { color: #16a34a; font-weight: 700; }
.compare-loser  { color: var(--text-muted); }

/* ── SPEC TABLE ── */
.spec-table th { background: #f3f0ff; color: var(--primary); font-size: .8rem; padding: 8px 12px; }
.spec-table td { font-size: .85rem; padding: 8px 12px; }
.spec-table tr:nth-child(even) td { background: #fafafa; }

/* ── PRICE WIDGET ── */
.price-widget {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.price-widget-header {
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 10px 16px;
  font-weight: 700;
  font-size: .9rem;
}
.retailer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.retailer-row:last-child { border-bottom: none; }
.retailer-row:hover { background: #f8f9fc; }
.retailer-logo { height: 22px; object-fit: contain; }
.buy-btn {
  background: var(--accent);
  color: #1a1a2e;
  font-size: .8rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  text-decoration: none;
  border: none;
}
.buy-btn:hover { background: #d97706; color: #1a1a2e; }
.best-price-badge {
  background: #dcfce7;
  color: #16a34a;
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
}

/* ── REVIEW STARS ── */
.stars { color: var(--accent); }

/* ── UPCOMING CARD ── */
.upcoming-card {
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 16px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.upcoming-card:hover { border-color: var(--primary); box-shadow: 0 8px 20px rgba(124,58,237,.12); }
.launch-badge {
  background: #fef3c7;
  color: #92400e;
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
}

/* ── NEWS/ARTICLE CARD ── */
.news-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: transform .18s, box-shadow .18s;
}
.news-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.1); }
.news-card img { width: 100%; height: 160px; object-fit: cover; }
.news-category-badge {
  font-size: .68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--primary);
  color: #fff;
  text-transform: uppercase;
}

/* ── FINDER FORM ── */
.finder-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  padding: 20px;
}
.finder-card label { font-size: .84rem; font-weight: 600; color: var(--text-muted); }

/* ── COMING SOON ── */
.coming-soon-card {
  background: linear-gradient(135deg, #f0f4ff, #e0e7ff);
  border: 2px dashed #a5b4fc;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}
.coming-soon-card .icon { font-size: 2.5rem; margin-bottom: 12px; }

/* ── FOOTER ── */
.platform-footer {
  background: #0f0f23;
  color: rgba(255,255,255,.7);
}
.footer-link {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-size: .85rem;
  display: block;
  margin-bottom: 4px;
  transition: color .2s;
}
.footer-link:hover { color: var(--accent); }

/* ── AD PLACEHOLDER ── */
.ad-placeholder {
  background: #f0f4ff;
  border: 1px dashed #a5b4fc;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  color: #7c3aed;
  font-weight: 600;
}

/* ── STICKY COMPARE BAR ── */
.compare-sticky-bar {
  position: sticky;
  top: 66px;
  z-index: 100;
  background: #fff;
  border-bottom: 2px solid var(--primary);
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

/* ── SCORE BREAKDOWN ── */
.score-bar-track {
  background: #e5e7eb;
  border-radius: 10px;
  height: 8px;
  overflow: hidden;
}
.score-bar-fill {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--primary), #a855f7);
  transition: width .6s ease;
}

/* ── MISC ── */
.text-primary  { color: var(--primary) !important; }
.bg-primary    { background: var(--primary) !important; }
.btn-primary   { background: var(--primary); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.rounded-xl    { border-radius: 14px; }
.fw-800        { font-weight: 800; }
.shadow-card   { box-shadow: 0 4px 16px rgba(0,0,0,.08); }

/* ══════════════════════════════════════════════════
   CARS VERTICAL – CarDekho-style styles
══════════════════════════════════════════════════ */

/* Hero */
.cars-hero { background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%); color: #fff; padding: 56px 0 40px; text-align: center; }
.cars-hero h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 8px; }
.cars-hero .hero-sub { font-size: 1.1rem; opacity: .85; margin-bottom: 24px; }
.hero-search-form { display: flex; gap: 8px; max-width: 560px; margin: 0 auto 20px; }
.hero-search-form input { flex: 1; padding: 12px 16px; border-radius: 8px; border: none; font-size: 1rem; }
.hero-search-form button { padding: 12px 20px; background: #f97316; color: #fff; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; }
.hero-quick-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-quick-links a { background: rgba(255,255,255,.15); color: #fff; padding: 6px 16px; border-radius: 20px; text-decoration: none; font-size: .9rem; transition: background .2s; }
.hero-quick-links a:hover { background: rgba(255,255,255,.3); }

/* Sections */
.section-block { padding: 40px 0; }
.section-block.bg-light { background: #f8fafc; }
.section-block.ev-section { background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 100%); color: #fff; }
.ev-section .section-header h2 { color: #fff; }
.ev-section .view-all { color: #93c5fd; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.section-header h2 { font-size: 1.4rem; font-weight: 700; margin: 0; }
.view-all { color: #2563eb; text-decoration: none, !important; font-size: .9rem; font-weight: 600; }

/* Brand Grid */
.brand-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-chip { display: flex; flex-direction: column; align-items: center; gap: 4px; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px 14px; text-decoration: none; color: #1e293b; font-size: .8rem; font-weight: 500; min-width: 72px; transition: box-shadow .2s; }
.brand-chip:hover { box-shadow: 0 4px 12px rgba(37,99,235,.15); border-color: #2563eb; }
.brand-chip img { height: 36px; width: auto; object-fit: contain; }

/* Car Card */
.car-card { display: flex; flex-direction: column; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid #e2e8f0; text-decoration: none; color: #1e293b; transition: box-shadow .2s, transform .2s; width: 220px; flex-shrink: 0; }
.car-card:hover { box-shadow: 0 8px 24px rgba(37,99,235,.15); transform: translateY(-2px); }
.product-card-img { position: relative; height: 140px; background: #f1f5f9; overflow: hidden; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; }
.no-img { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 2.5rem; }
.no-img-large { display: flex; align-items: center; justify-content: center; height: 260px; font-size: 4rem; background: #f1f5f9; border-radius: 12px; }
.product-card-badges { position: absolute; top: 8px; left: 8px; display: flex; gap: 4px; flex-wrap: wrap; }
.badge-new      { background: #16a34a; color: #fff; padding: 2px 7px; border-radius: 4px; font-size: .7rem; font-weight: 600; }
.badge-ev       { background: #2563eb; color: #fff; padding: 2px 7px; border-radius: 4px; font-size: .7rem; font-weight: 600; }
.badge-offer    { background: #f97316; color: #fff; padding: 2px 7px; border-radius: 4px; font-size: .7rem; font-weight: 600; }
.badge-upcoming { background: #7c3aed; color: #fff; padding: 2px 7px; border-radius: 4px; font-size: .7rem; font-weight: 600; }
.badge-certified { background: #16a34a; color: #fff; padding: 2px 8px; border-radius: 4px; font-size: .7rem; font-weight: 600; }
.badge-top  { background: #f97316; color: #fff; padding: 1px 6px; border-radius: 3px; font-size: .7rem; margin-left: 4px; }
.badge-base { background: #64748b; color: #fff; padding: 1px 6px; border-radius: 3px; font-size: .7rem; margin-left: 4px; }
.product-card-body { padding: 12px 14px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.product-card-brand { font-size: .75rem; color: #64748b; text-transform: uppercase; letter-spacing: .5px; }
.product-card-name  { font-size: .95rem; font-weight: 700; }
.product-card-price { font-size: .9rem; color: #2563eb; font-weight: 600; }
.product-card-specs { font-size: .75rem; color: #64748b; display: flex; gap: 8px; flex-wrap: wrap; }
.product-card-score { font-size: .8rem; color: #f59e0b; }

/* Scroll row */
.card-scroll-row { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.card-scroll-row > * { scroll-snap-align: start; }

/* Product grid */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 20px; }

/* Used cards */
.used-card-row { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; }
.used-card { display: flex; flex-direction: column; width: 200px; flex-shrink: 0; background: #fff; border-radius: 10px; border: 1px solid #e2e8f0; text-decoration: none; color: #1e293b; overflow: hidden; }
.used-card-img { height: 120px; background: #f1f5f9; overflow: hidden; position: relative; }
.used-card-img img { width: 100%; height: 100%; object-fit: cover; }
.used-card-body { padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.used-card-title { font-size: .85rem; font-weight: 700; }
.used-card-price { font-size: .9rem; color: #2563eb; font-weight: 600; }
.used-card-meta  { font-size: .75rem; color: #64748b; }
.used-card-city  { font-size: .75rem; color: #64748b; }

/* Used list (full listing page) */
.used-card-list { display: flex; flex-direction: column; gap: 16px; }
.used-list-card { display: flex; gap: 16px; background: #fff; border-radius: 12px; border: 1px solid #e2e8f0; padding: 16px; text-decoration: none; color: #1e293b; transition: box-shadow .2s; }
.used-list-card:hover { box-shadow: 0 4px 16px rgba(37,99,235,.12); }
.used-list-img { width: 160px; min-width: 160px; height: 110px; background: #f1f5f9; border-radius: 8px; overflow: hidden; position: relative; }
.used-list-img img { width: 100%; height: 100%; object-fit: cover; }
.used-list-body { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.used-list-title  { font-size: 1rem; font-weight: 700; }
.used-list-price  { font-size: 1.1rem; color: #2563eb; font-weight: 700; }
.used-list-specs  { font-size: .8rem; color: #64748b; }
.used-list-city   { font-size: .8rem; color: #64748b; }
.used-list-trust  { display: flex; gap: 6px; flex-wrap: wrap; }
.trust-tag { background: #f0fdf4; color: #16a34a; padding: 2px 8px; border-radius: 4px; font-size: .72rem; font-weight: 600; border: 1px solid #bbf7d0; }
.trust-tag.certified { background: #eff6ff; color: #2563eb; border-color: #bfdbfe; }
.used-list-seller { font-size: .78rem; }
.seller-type-dealer     { background: #fff7ed; color: #ea580c; padding: 2px 8px; border-radius: 4px; font-size: .72rem; font-weight: 600; }
.seller-type-individual { background: #f1f5f9; color: #475569; padding: 2px 8px; border-radius: 4px; font-size: .72rem; font-weight: 600; }
.seller-type-certified  { background: #f0fdf4; color: #16a34a; padding: 2px 8px; border-radius: 4px; font-size: .72rem; font-weight: 600; }

/* Compare chips */
.compare-chips { display: flex; gap: 12px; flex-wrap: wrap; }
.compare-chip { display: flex; align-items: center; gap: 8px; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 8px; padding: 10px 16px; text-decoration: none; color: #1e40af; font-size: .9rem; font-weight: 500; transition: background .2s; }
.compare-chip:hover { background: #dbeafe; }
.compare-chip .vs { background: #2563eb; color: #fff; border-radius: 50%; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 700; }

/* Compare table */
.compare-header { display: grid; grid-template-columns: 200px repeat(3, 1fr); gap: 1px; background: #e2e8f0; border-radius: 12px 12px 0 0; overflow: hidden; margin-bottom: 2px; }
.compare-label-col { background: #f8fafc; padding: 16px; }
.compare-car-col { background: #fff; padding: 16px; text-align: center; }
.compare-car-img { width: 100%; height: 100px; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.compare-car-name  { font-weight: 700; font-size: .95rem; }
.compare-car-price { color: #2563eb; font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.compare-car-link  { color: #2563eb; text-decoration: none; font-size: .8rem; }
.compare-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.compare-table tr:nth-child(even) { background: #f8fafc; }
.compare-spec-label { padding: 10px 16px; font-size: .85rem; color: #475569; font-weight: 500; width: 200px; }
.compare-spec-val   { padding: 10px 16px; font-size: .85rem; text-align: center; }
.compare-section-title { font-size: 1.1rem; font-weight: 700; margin: 24px 0 12px; }
.editor-verdict { background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 20px; margin: 24px 0; }

/* Best lists */
.best-list-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 12px; }
.best-list-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 14px 16px; text-decoration: none; color: #1e293b; display: flex; flex-direction: column; gap: 4px; transition: box-shadow .2s; }
.best-list-card:hover { box-shadow: 0 4px 12px rgba(37,99,235,.1); border-color: #2563eb; }
.best-list-title { font-size: .9rem; font-weight: 600; }
.best-list-sub   { font-size: .8rem; color: #64748b; }
.best-list-page-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 16px; }
.best-list-page-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; text-decoration: none; color: #1e293b; transition: box-shadow .2s; }
.best-list-page-card:hover { box-shadow: 0 4px 16px rgba(37,99,235,.12); }
.best-list-page-title { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.best-rank-wrapper { position: relative; }
.best-rank { position: absolute; top: 10px; left: 10px; background: #2563eb; color: #fff; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; z-index: 2; }

/* Detail layout */
.detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; padding-top: 24px; }
.detail-breadcrumb { background: #f8fafc; border-bottom: 1px solid #e2e8f0; padding: 10px 0; font-size: .85rem; color: #64748b; }
.detail-breadcrumb a { color: #2563eb; text-decoration: none; }
.detail-gallery { margin-bottom: 24px; }
.gallery-main img { width: 100%; max-height: 340px; object-fit: contain; border-radius: 12px; background: #f1f5f9; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.gallery-thumb { width: 72px; height: 52px; object-fit: cover; border-radius: 6px; cursor: pointer; border: 2px solid transparent; transition: border-color .2s; }
.gallery-thumb:hover { border-color: #2563eb; }
.colour-picker { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: .9rem; }
.colour-swatch { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #e2e8f0; cursor: pointer; }

/* Tabs */
.detail-tabs { display: flex; gap: 0; border-bottom: 2px solid #e2e8f0; margin-bottom: 20px; overflow-x: auto; }
.tab-btn { background: none; border: none; padding: 12px 18px; font-size: .9rem; font-weight: 500; color: #64748b; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; white-space: nowrap; transition: color .2s; }
.tab-btn.active, .tab-btn:hover { color: #2563eb; border-bottom-color: #2563eb; }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* Specs */
.specs-summary-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px,1fr)); gap: 12px; margin-bottom: 20px; }
.spec-chip { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.spec-chip span { font-size: .75rem; color: #64748b; }
.spec-chip strong { font-size: .9rem; color: #1e293b; }
.spec-group { margin-bottom: 24px; }
.spec-group-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 8px 12px; font-size: .85rem; border-bottom: 1px solid #f1f5f9; }
.spec-table th { background: #f8fafc; font-weight: 600; text-align: left; }
.spec-label { color: #64748b; width: 45%; }
.spec-value { font-weight: 500; }

/* Variants */
.variants-table { width: 100%; border-collapse: collapse; }
.variants-table th, .variants-table td { padding: 10px 14px; font-size: .85rem; border-bottom: 1px solid #f1f5f9; text-align: left; }
.variants-table th { background: #f8fafc; font-weight: 600; }
.active-variant { background: #eff6ff; }

/* Reviews */
.review-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 16px; margin-bottom: 16px; }
.review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.review-rating { background: #fef9c3; color: #854d0e; padding: 2px 8px; border-radius: 4px; font-size: .8rem; font-weight: 600; }
.review-date { font-size: .78rem; }
.review-title { font-weight: 700; margin-bottom: 6px; }
.review-body  { font-size: .9rem; line-height: 1.6; margin-bottom: 8px; }
.review-pros-cons { display: flex; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.pros { color: #16a34a; } .cons { color: #dc2626; }
.review-scores { display: flex; gap: 10px; flex-wrap: wrap; font-size: .78rem; color: #64748b; margin-top: 6px; }
.review-form .form-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 12px; }

/* Offers */
.offers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 16px; margin-top: 24px; }
.offer-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.offer-type-badge { display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: .72rem; font-weight: 700; letter-spacing: .5px; width: fit-content; }
.badge-discount { background: #fef2f2; color: #dc2626; }
.badge-cashback { background: #f0fdf4; color: #16a34a; }
.badge-exchange { background: #fff7ed; color: #ea580c; }
.badge-emi      { background: #eff6ff; color: #2563eb; }
.badge-loan     { background: #f5f3ff; color: #7c3aed; }
.offer-car    { font-weight: 700; font-size: .95rem; }
.offer-title  { font-size: .9rem; }
.offer-amount { font-size: 1.1rem; font-weight: 700; color: #16a34a; }
.offer-cta    { margin-top: auto; }

/* EMI Calculator */
.emi-page { max-width: 900px; margin: 40px auto; }
.emi-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.emi-form-card, .emi-result-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 28px; }
.emi-result-main { text-align: center; padding: 20px 0; }
.emi-result-label { font-size: .9rem; color: #64748b; margin-bottom: 4px; }
.emi-result-value { font-size: 2.5rem; font-weight: 800; color: #2563eb; }
.emi-breakdown { margin-top: 20px; }
.emi-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #f1f5f9; font-size: .9rem; }
.emi-row.total { font-weight: 700; font-size: 1rem; border-bottom: none; }
.emi-tips { background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 20px; }
.emi-tips h3 { margin-top: 0; }

/* Price card sidebar */
.detail-sidebar { position: sticky; top: 80px; align-self: start; }
.price-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 24px; margin-bottom: 16px; }
.price-card-title { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.price-card-price { font-size: 1.6rem; font-weight: 800; color: #2563eb; }
.price-card-exshowroom { font-size: .8rem; margin-bottom: 12px; }
.emi-estimate { background: #f0fdf4; color: #16a34a; border-radius: 6px; padding: 8px 12px; font-size: .9rem; margin-bottom: 16px; }
.lead-form { display: flex; flex-direction: column; gap: 10px; }
.lead-input { border: 1px solid #e2e8f0; border-radius: 8px; padding: 10px 14px; font-size: .9rem; width: 100%; }
.lead-input:focus { outline: none; border-color: #2563eb; }
.sidebar-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.sidebar-action { display: flex; align-items: center; gap: 8px; color: #2563eb; text-decoration: none; font-size: .88rem; padding: 8px 0; border-top: 1px solid #f1f5f9; }
.alert-card { background: #f5f3ff; border: 1px solid #ddd6fe; border-radius: 12px; padding: 20px; margin-bottom: 16px; }
.alert-card-title { font-weight: 700; margin-bottom: 12px; color: #7c3aed; }
.sidebar-news { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 16px; }
.sidebar-news h4 { margin: 0 0 12px; font-size: .95rem; }
.sidebar-news-item { display: block; font-size: .85rem; color: #1e293b; text-decoration: none; padding: 6px 0; border-bottom: 1px solid #f1f5f9; }
.sidebar-news-item:hover { color: #2563eb; }
.similar-section, .compare-section { margin-top: 32px; }
.similar-section h3, .compare-section h3 { font-size: 1.1rem; margin-bottom: 16px; }
.new-model-link { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 8px; padding: 12px 16px; margin: 16px 0; font-size: .9rem; }
.trust-signals { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.trust-signals .trust-item { display: flex; align-items: center; gap: 8px; font-size: .85rem; background: #f0fdf4; color: #15803d; border-radius: 8px; padding: 8px 14px; border: 1px solid #bbf7d0; }
.trust-signals .trust-item.certified { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.almost-new-badge { background: #fef9c3; color: #854d0e; border-radius: 8px; padding: 12px 16px; font-weight: 600; text-align: center; }
.seller-info { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }

/* Listing layout */
.listing-hero { background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%); color: #fff; padding: 36px 0; }
.listing-hero h1 { font-size: 1.8rem; font-weight: 800; margin-bottom: 4px; }
.listing-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 32px 0; }
.listing-sidebar { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; align-self: start; }
.filter-section { margin-bottom: 20px; }
.filter-section h3 { font-size: .85rem; font-weight: 700; color: #1e293b; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .5px; }
.filter-section select { width: 100%; padding: 8px 10px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: .85rem; margin-bottom: 6px; }
.filter-check { display: flex; align-items: center; gap: 8px; font-size: .85rem; margin-bottom: 6px; cursor: pointer; }
.btn-filter-apply { width: 100%; background: #2563eb; color: #fff; border: none; border-radius: 8px; padding: 10px; font-weight: 600; cursor: pointer; margin-bottom: 8px; }
.btn-filter-clear { display: block; text-align: center; color: #64748b; font-size: .85rem; text-decoration: none; }
.listing-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-size: .9rem; }
.sort-form select { padding: 6px 12px; border: 1px solid #e2e8f0; border-radius: 8px; }
.filter-bar-inline { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 24px; }
.filter-bar-inline select { padding: 8px 12px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: .9rem; }
.empty-state { padding: 60px 0; text-align: center; color: #64748b; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 32px; font-size: .9rem; }
.pagination a { color: #2563eb; text-decoration: none; }

/* Compare select form */
.compare-select-form { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 28px; margin-bottom: 32px; }
.compare-selects { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 20px; }
.compare-select-group label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: #475569; }
.compare-select-group select { width: 100%; padding: 10px 14px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: .9rem; }
.popular-compare-grid { display: flex; gap: 12px; flex-wrap: wrap; }

/* City price table */
.city-price-table th, .city-price-table td { text-align: right; }
.city-price-table th:first-child, .city-price-table td:first-child { text-align: left; }
.lead-cta-block { background: #eff6ff; border-radius: 12px; padding: 24px; margin-top: 32px; }
.lead-cta-block h3 { margin-top: 0; }
.lead-form-inline { display: flex; gap: 10px; flex-wrap: wrap; }

/* Upcoming cards */
.upcoming-card { position: relative; }
.upcoming-alert { padding: 10px 14px; border-top: 1px solid #f1f5f9; }
.inline-alert-form { display: flex; gap: 6px; }
.lead-input-sm { flex: 1; padding: 6px 10px; border: 1px solid #e2e8f0; border-radius: 6px; font-size: .8rem; }
.btn-alert { background: #7c3aed; color: #fff; border: none; border-radius: 6px; padding: 6px 10px; font-size: .8rem; cursor: pointer; white-space: nowrap; }

/* Trust strip */
.trust-strip { background: #1e3a5f; color: #fff; padding: 20px 0; }
.trust-strip .container { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-strip .trust-item { display: flex; align-items: center; gap: 8px; font-size: .9rem; }

/* Faq */
.faq-item { border-bottom: 1px solid #f1f5f9; padding: 14px 0; }
.faq-q { font-weight: 600; margin-bottom: 6px; }
.faq-a { font-size: .9rem; color: #475569; }

/* Brand hero */
.brand-hero { display: flex; flex-direction: column; align-items: center; padding: 40px 0; text-align: center; }
.brand-hero-logo { height: 64px; margin-bottom: 16px; object-fit: contain; }

/* Forms */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: #374151; }
.form-control { width: 100%; padding: 10px 14px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: .9rem; }
.form-control:focus { outline: none; border-color: #2563eb; }
.btn-primary { background: #2563eb; color: #fff; border: none; border-radius: 8px; padding: 12px 24px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-block; }
.btn-primary:hover { background: #1d4ed8; }
.btn-outline { border: 1px solid #2563eb; color: #2563eb; background: #fff; border-radius: 8px; padding: 10px 20px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-block; }
.btn-outline:hover { background: #eff6ff; }
.btn-full { width: 100%; text-align: center; }
.page-title { font-size: 1.8rem; font-weight: 800; margin-bottom: 8px; }
.page-sub   { color: #64748b; margin-bottom: 24px; }
.muted  { color: #94a3b8; }
.small  { font-size: .8rem; }
.mt-4   { margin-top: 24px; }

/* News grid */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 16px; }
.news-card  { background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid #e2e8f0; text-decoration: none; color: #1e293b; }
.news-card img { width: 100%; height: 120px; object-fit: cover; }
.news-card-body { padding: 12px; }
.news-card-title { font-size: .9rem; font-weight: 600; }
.news-card-meta  { font-size: .75rem; color: #94a3b8; margin-top: 4px; }

/* Related lists */
.related-lists { margin-top: 40px; }
.related-lists h3 { margin-bottom: 16px; }
.best-list-inline { margin-top: 40px; }
.best-list-inline h3 { margin-bottom: 12px; }

@media (max-width: 900px) {
    .detail-layout { grid-template-columns: 1fr; }
    .listing-layout { grid-template-columns: 1fr; }
    .compare-header { grid-template-columns: 1fr repeat(2,1fr); }
    .compare-selects { grid-template-columns: 1fr; }
    .emi-layout { grid-template-columns: 1fr; }
    .used-list-img { width: 120px; min-width: 120px; }
}
