/*
Theme Name: Homithing Vehicle Catalog & Pricing Portal
Theme URI: https://homithing.com/
Author: Homithing Digital Team
Author URI: https://homithing.com/
Description: Production-ready automotive vehicle catalog theme with interactive on-road pricing, multi-channel sharing, WhatsApp quotes, 36-brand explorer, 1.91:1 slider, and single model pages.
Version: 2.19.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: homithing-catalog
Tags: automotive, vehicle-catalog, e-commerce, custom-colors, custom-menu, featured-images, full-width-template
*/

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

:root {
  --homithing-primary: #0f172a;
  --homithing-accent: #10b981;
  --homithing-card-bg: #ffffff;
}

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

html, body, input, button, select, textarea, h1, h2, h3, h4, h5, h6, p, span, a, div {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  background-color: #f8fafc;
  color: #1e293b;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

/* Announcement - Vibrant Color Scheme */
.top-notice-bar {
  background: linear-gradient(90deg, #1e3a8a 0%, #2563eb 50%, #4f46e5 100%);
  color: #ffffff;
  padding: 8px 16px;
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}
.top-notice-bar .pill {
  background: #f59e0b;
  color: #78350f;
  padding: 2.5px 9px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* Header */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.header-left-group {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.hamburger-wrap {
  position: relative;
}

.header-hamburger-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  cursor: pointer;
  transition: all 0.15s ease;
}
.header-hamburger-btn:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}
.header-hamburger-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-menu-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 220px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  padding: 8px;
  z-index: 100;
}
.header-menu-dropdown.is-open {
  display: block;
  animation: fadeInDrop 0.15s ease;
}
@keyframes fadeInDrop {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-section-title {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: #94a3b8;
  padding: 6px 10px 4px;
  letter-spacing: 0.5px;
}
.dropdown-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
}
.dropdown-item:hover {
  background: #f8fafc;
  color: #0f172a;
}
.dropdown-item svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.dropdown-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 4px 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.custom-site-logo {
  max-height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
}
.brand-emblem {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #0f172a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 15px;
}
.brand-title {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #0f172a;
  line-height: 1.1;
}
.brand-sub {
  font-size: 9.5px;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Header Desktop Navigation (Prominent size for Brands & Category) */
.header-desktop-nav {
  display: none;
}
@media (min-width: 768px) {
  .header-desktop-nav {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin-left: 18px;
    padding-left: 18px;
    border-left: 2px solid #e2e8f0;
  }
}
.header-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 800;
  color: #1e293b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1;
}
.header-nav-btn:hover {
  color: #1d4ed8;
  background: #eff6ff;
  border-color: #93c5fd;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.08);
}
.header-nav-btn svg {
  width: 17px;
  height: 17px;
  stroke: #2563eb;
  stroke-width: 2.2;
}

.header-right-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-search-box {
  position: relative;
  display: none;
}
@media (min-width: 640px) {
  .header-search-box { display: block; }
}
.header-search-input {
  padding: 7px 12px 7px 32px;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 11.5px;
  width: 200px;
  outline: none;
  transition: all 0.15s ease;
}
.header-search-input:focus {
  border-color: #0f172a;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(15,23,42,0.06);
}
.header-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: #94a3b8;
  pointer-events: none;
}

/* Connected Header Stack: Header -> Category Filter -> Search Models (No gap in between) */
.catalog-header-stack {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

/* Category Filter - flush below logo */
.category-filter-section {
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  padding: 10px 16px;
  margin: 0;
}
.category-filter-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.category-filter-container::-webkit-scrollbar { display: none; }

/* Vibrant vehicle category buttons */
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  background: #eff6ff;
  color: #1e40af;
  border: 1.5px solid #bfdbfe;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.05);
}
.cat-pill:hover {
  background: #dbeafe;
  border-color: #93c5fd;
  color: #1d4ed8;
}
.cat-pill.is-active {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%);
  color: #ffffff;
  border-color: #1d4ed8;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.32);
}
.cat-count {
  font-size: 10px;
  padding: 1.5px 7px;
  border-radius: 9999px;
  background: #dbeafe;
  color: #1e40af;
  font-weight: 800;
}
.cat-pill.is-active .cat-count {
  background: #ffffff;
  color: #1d4ed8;
  font-weight: 900;
}

/* Search models band - flush below vehicle category */
.catalog-search-band {
  background: #f8fafc;
  padding: 8px 16px 4px;
  margin: 0;
}
@media (max-width: 640px) {
  .catalog-search-band {
    padding: 6px 12px 2px;
  }
}
.catalog-search-band-inner {
  max-width: 1240px;
  margin: 0 auto;
}

/* Catalog Toolbar (Search & Filter Tags) */
.catalog-toolbar {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  width: 100%;
}
@media (min-width: 768px) {
  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    width: 100%;
  }
}
.catalog-search-wrap {
  position: relative;
  width: 100%;
}
@media (min-width: 768px) {
  .catalog-search-wrap {
    width: 100%;
    flex: 1 1 100%;
  }
}
/* Vibrant search bar */
.catalog-search-input {
  width: 100%;
  padding: 10px 36px 10px 38px;
  border-radius: 12px;
  border: 2px solid #3b82f6;
  background: #ffffff;
  font-size: 13px;
  color: #0f172a;
  outline: none;
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.12);
  transition: all 0.15s ease;
  box-sizing: border-box;
}
.catalog-search-input.has-reset-btn {
  padding-right: 120px;
}
.catalog-search-input:focus {
  background: #ffffff;
  border-color: #1d4ed8;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.22);
}
.catalog-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #2563eb;
  pointer-events: none;
}
.catalog-search-reset-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  line-height: 1;
}
.catalog-search-reset-btn:hover {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fca5a5;
  box-shadow: 0 1px 4px rgba(239, 68, 68, 0.15);
}
.catalog-search-reset-btn:active {
  transform: translateY(-50%) scale(0.97);
}
.catalog-search-reset-btn .reset-x {
  font-size: 12px;
  font-weight: 900;
  color: #ef4444;
}
.catalog-summary-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  color: #475569;
}
.offers-count-text {
  font-size: 12.5px;
  color: #475569;
}
.offers-count-text strong {
  color: #0f172a;
  font-weight: 800;
}
.reset-filter-btn {
  color: #e11d48;
  font-weight: 700;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 11px;
}

.main-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 16px 80px;
  width: 100%;
}
@media (max-width: 640px) {
  .main-wrapper {
    padding: 6px 12px 80px;
  }
}

.vehicle-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 460px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .vehicle-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
  }
}
@media (min-width: 1080px) {
  .vehicle-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.vehicle-card {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 4px -1px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
}

.card-header {
  padding: 16px 16px 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.card-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.card-title {
  font-size: 17px;
  font-weight: 900;
  color: #0f172a;
}
.card-title a { color: inherit; text-decoration: none; }
.card-title a:hover { color: #2563eb; }
.card-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}
.card-badge.popular { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.card-badge.bestseller { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.card-badge.electric { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.card-tagline {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 3px;
  line-height: 1.4;
}

.card-share-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
}
.card-share-btn:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

/* 1.91:1 Landscape Image Slider */
.card-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1.91 / 1;
  background: #0f172a;
  overflow: hidden;
}
.card-slider-img-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  text-decoration: none;
}
.card-slider-img-link:hover .card-slider-img,
.card-slider-img:hover {
  opacity: 0.95;
  filter: brightness(1.03);
}
.card-slider-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: all 0.2s ease;
  cursor: pointer;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}
.slider-prev { left: 8px; }
.slider-next { right: 8px; }
.slider-counter-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(15, 23, 42, 0.8);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 9999px;
  z-index: 2;
}
.slider-dots {
  position: absolute;
  bottom: 8px;
  left: 8px;
  display: flex;
  gap: 5px;
  background: rgba(15, 23, 42, 0.65);
  padding: 4px 8px;
  border-radius: 9999px;
  z-index: 2;
}
.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.2s ease;
}
.slider-dot.is-active {
  width: 16px;
  background: #ffffff;
}

/* Configuration: Reduced distance between Variant and Fuel/Transmission */
.card-config {
  padding: 4px 6px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.config-inline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.fuel-trans-single-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 0;
}
.fuel-trans-single-row::-webkit-scrollbar {
  display: none;
}
.config-type-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.config-type-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  flex-shrink: 0;
}
.fuel-type-icon {
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid #fed7aa;
}
.trans-type-icon {
  background: #ecfeff;
  color: #0891b2;
  border: 1px solid #a5f3fc;
}
.config-group-pills {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.config-group-separator {
  width: 1px;
  height: 18px;
  background: #e2e8f0;
  flex-shrink: 0;
}
.config-inline-label {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 3px 8px;
  border-radius: 6px;
  flex-shrink: 0;
}
.variant-label {
  background: #eef2ff;
  color: #3730a3;
  border: 1px solid #e0e7ff;
}
.fuel-trans-label {
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #ffedd5;
}

/* ========================================================================= */
/* EXPANDED VARIANT SELECTION DROPDOWN WITH NOTCHED TOP-LEFT BORDER LABEL   */
/* ========================================================================= */
.variant-border-field {
  position: relative;
  width: 100%;
  margin-top: 2px;
  margin-bottom: 0px;
}

.variant-border-legend {
  position: absolute;
  top: -8px;
  left: 10px;
  background: #ffffff;
  padding: 0 6px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #2563eb;
  line-height: 1;
  z-index: 2;
  border-radius: 4px;
  pointer-events: none;
}

.variant-select-expanded {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  display: block !important;
  padding: 8.5px 36px 8.5px 12px !important;
  border-radius: 11px !important;
  border: 1.5px solid #cbd5e1 !important;
  background-color: #ffffff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 14px 14px !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  color: #0f172a !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  outline: none !important;
  transition: all 0.15s ease !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

.variant-border-field:hover .variant-select-expanded {
  border-color: #94a3b8 !important;
}

.variant-border-field:focus-within .variant-select-expanded,
.variant-select-expanded:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

.variant-border-field:focus-within .variant-border-legend {
  color: #1d4ed8;
}

.config-inline-control {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  min-width: 160px;
}
.variant-select-dropdown,
.variant-select {
  width: 100%;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.variant-select-dropdown:focus,
.variant-select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.config-inline-pills {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 1;
}

.opt-btn,
.opt-pill-btn {
  min-height: 32px;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.opt-btn:hover,
.opt-pill-btn:hover {
  border-color: #94a3b8;
}
.opt-btn.is-active[data-kind="variant"] { background: #0f172a; color: #ffffff; border-color: #0f172a; }
.opt-btn.is-active[data-kind="fuel"],
.opt-pill-btn.is-active[data-kind="fuel"] { background: #b94a23; color: #ffffff; border-color: #b94a23; }
.opt-btn.is-active[data-kind="trans"],
.opt-pill-btn.is-active[data-kind="trans"] { background: #0d7482; color: #ffffff; border-color: #0d7482; }

/* Filter Active & Combination Unavailable States */
.variant-select-dropdown.has-active-filter {
  border-color: #3b82f6 !important;
  background-color: #f8faff !important;
}

.variant-select-dropdown.is-unavailable-select {
  border-color: #f59e0b !important;
  background-color: #fffdfa !important;
}

.variant-select-dropdown optgroup {
  font-weight: 800;
  color: #1d4ed8;
  background: #f8fafc;
  padding: 4px 2px;
}

.variant-select-dropdown optgroup[label*="Other"] {
  font-weight: 700;
  color: #64748b;
}

/* Custom interactive variant dropdown menu styles */
.custom-variant-dropdown {
  position: relative;
  width: 100%;
  max-width: 260px;
}
.variant-dropdown-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  text-align: left;
}
.variant-dropdown-toggle:hover {
  border-color: #94a3b8;
}
.variant-dropdown-toggle.is-open,
.variant-dropdown-toggle:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.variant-toggle-info {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
}
.variant-toggle-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.variant-toggle-diff {
  font-size: 10.5px;
  color: #64748b;
  font-weight: 600;
  white-space: nowrap;
}
.variant-dropdown-chevron {
  color: #64748b;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.variant-dropdown-chevron.is-open {
  transform: rotate(180deg);
}
.variant-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  width: 100%;
  min-width: 250px;
  max-width: 320px;
  max-height: 240px;
  overflow-y: auto;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  z-index: 70;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: dropdownFadeIn 0.15s ease-out;
}
@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.variant-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: background 0.12s ease;
}
.variant-dropdown-item:hover {
  background: #f1f5f9;
}
.variant-dropdown-item.is-selected {
  background: #eff6ff;
}
.variant-item-left {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.variant-item-name {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}
.variant-dropdown-item.is-selected .variant-item-name {
  color: #1d4ed8;
}
.variant-item-meta {
  font-size: 10px;
  font-weight: 600;
  color: #64748b;
}
.variant-item-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.variant-item-diff {
  font-size: 11px;
  font-weight: 700;
  color: #059669;
}
.variant-item-check {
  color: #2563eb;
}

/* Specs toggle helpers */
.specs-toggle-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.specs-arrow {
  font-size: 11px;
  color: #64748b;
  transition: transform 0.2s ease;
}

/* Matrix & Comparison wrappers */
.variant-detail-comp-container {
  margin: 8px 16px 0;
  width: auto;
  box-sizing: border-box;
}
.comparison-table-scroll-container {
  max-height: 480px;
  overflow-y: auto;
  overflow-x: auto;
  position: relative;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.comparison-table-scroll-container thead {
  position: sticky;
  top: 0;
  z-index: 25;
}
.comparison-table-scroll-container thead th {
  position: sticky;
  top: 0;
  z-index: 25;
  background-color: #f1f5f9;
}
.comparison-table-scroll-container thead th:first-child {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 30;
  background-color: #f1f5f9;
}

/* Common quotation button */
.btn-primary-quotation {
  background: #2563eb;
  color: #ffffff;
  font-weight: 700;
  border-radius: 12px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.btn-primary-quotation:hover {
  background: #1d4ed8;
}

/* Utility scrollbar hiding */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.variant-select-dropdown optgroup[label*="Available"] {
  font-weight: 700;
  color: #64748b;
}

.variant-select-dropdown option.matched-option {
  font-weight: 700;
  color: #1e3a8a;
  background-color: #eff6ff;
}

.combination-unavailable-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  margin-top: 6px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 9px;
  color: #92400e;
  font-size: 11.5px;
  line-height: 1.35;
  box-shadow: 0 1px 2px rgba(245, 158, 11, 0.06);
}

.unavailable-notice-icon {
  color: #d97706;
  flex-shrink: 0;
  width: 15px;
  height: 15px;
}

.unavailable-notice-text {
  flex: 1;
}

.unavailable-notice-text .capitalize {
  text-transform: capitalize;
}

/* Pricing: Significantly increased font size of ex-showroom and on-road prices */
.pricing-section-box,
.card-pricing,
.pricing-section-box.card-pricing-with-breakup,
.card-pricing.card-pricing-with-breakup {
  margin: 5px 6px 0;
  padding: 0;
  background: #f8fafc;
  border: 1.5px solid #10b981;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.08);
  transition: all 0.2s ease;
  display: flex !important;
  flex-direction: column !important;
  width: auto;
  box-sizing: border-box;
}
.pricing-section-box .card-pricing-header,
.card-pricing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 10px;
  box-sizing: border-box;
  gap: 8px;
}
.price-blocks-wrapper {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0;
}
.price-breakup-btn,
.price-breakup-partition,
.price-breakup-vertical-btn {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 28px;
  padding: 4px 9px;
  align-self: center;
  background: #fef08a;
  border: 1px solid #facc15;
  border-radius: 7px;
  color: #854d0e;
  cursor: pointer;
  outline: none;
  flex-shrink: 0;
  margin-left: auto;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.15s ease;
  user-select: none;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(234, 179, 8, 0.15);
}
.price-breakup-btn:hover,
.price-breakup-partition:hover,
.price-breakup-vertical-btn:hover {
  background: #fde047;
  border-color: #eab308;
  color: #713f12;
}
.price-breakup-btn:active,
.price-breakup-btn.is-open,
.price-breakup-partition:active,
.price-breakup-partition.is-open,
.price-breakup-vertical-btn:active,
.price-breakup-vertical-btn.is-open {
  background: #facc15;
  border-color: #ca8a04;
  color: #713f12;
  box-shadow: 0 1px 3px rgba(202, 138, 4, 0.2);
}
.breakup-btn-text,
.breakup-vert-text,
.breakup-vert-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1;
  text-transform: uppercase;
  writing-mode: horizontal-tb;
  transform: none;
}
.breakup-btn-arrow,
.breakup-vert-arrow,
.breakup-vert-icon {
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  margin-left: 1px;
}
.price-block {
  display: flex;
  flex-direction: column;
}
.price-block-label { font-size: 10px; font-weight: 800; text-transform: uppercase; color: #64748b; letter-spacing: 0.4px; }
.price-block.on-road .price-block-label { color: #065f46; }
.price-block-val {
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
  display: block;
  margin-top: 2px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.price-block.on-road .price-block-val {
  color: #059669;
  font-size: 21px;
}
.breakdown-badge-btn {
  margin-top: 4px;
  align-self: flex-start;
  font-size: 10px;
  font-weight: 800;
  padding: 2.5px 8px;
  border-radius: 6px;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: all 0.15s ease;
}
.breakdown-badge-btn:hover {
  background: #d1fae5;
  border-color: #6ee7b7;
}

.pricing-section-box .breakdown-panel,
.card-pricing .breakdown-panel,
.breakdown-panel {
  display: none;
  margin: 0;
  padding: 10px 14px;
  border-radius: 0;
  background: #ffffff;
  border: none;
  border-top: 1.5px solid #a7f3d0;
  font-size: 11px;
}
.pricing-section-box .breakdown-panel.is-open,
.card-pricing .breakdown-panel.is-open,
.breakdown-panel.is-open { display: block; }
.breakdown-panel .spec-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px solid #e2e8f0;
  color: #475569;
}
.breakdown-panel .spec-row:last-child {
  border-bottom: none;
  font-weight: 800;
  color: #059669;
}

/* Key Specifications Section Box (Unified Container) */
.specs-section-box {
  margin: 5px 6px 0;
  background: #ffffff;
  border: 1.5px solid #6366f1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(99, 102, 241, 0.08);
  transition: all 0.15s ease;
}
.specs-section-box.is-open {
  border-color: #4f46e5;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.12);
}
.specs-section-box .specs-toggle,
.specs-toggle {
  margin: 0;
  padding: 8px 12px;
  border-radius: 0;
  border: none;
  background: #ffffff;
  color: #334155;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  box-shadow: none;
  width: 100%;
}
.specs-section-box .specs-toggle:hover,
.specs-toggle:hover {
  background: #f5f7ff;
}
.specs-section-box.is-open .specs-toggle {
  background: #f5f7ff;
  border-bottom: 1.5px solid #e0e7ff;
}
.specs-toggle-left {
  display: flex;
  align-items: center;
  gap: 7px;
}
.specs-toggle-icon {
  width: 15px;
  height: 15px;
  stroke: #64748b;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.specs-section-box .specs-panel,
.specs-panel {
  display: none;
  margin: 0;
  padding: 8px 8px;
  border-radius: 0;
  background: #f8fafc;
  border: none;
  border-top: 1.5px solid #e0e7ff;
  font-size: 11px;
  box-shadow: none;
}
.specs-section-box.is-open .specs-panel,
.specs-panel.is-open {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.specs-panel .spec-box {
  padding: 6px 7px;
  background: #ffffff;
  border-radius: 9px;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 48px;
  height: 100%;
  box-sizing: border-box;
  min-width: 0;
}

/* Variant Detail Comparison Section Box (Unified Container) */
.variant-comp-section-box {
  margin: 5px 6px 0;
  background: #ffffff;
  border: 1.5px solid #2563eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.08);
  transition: all 0.15s ease;
  min-width: 0;
  width: auto;
  box-sizing: border-box;
}
.variant-comp-section-box.is-open {
  border-color: #1d4ed8;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
}
.variant-comp-section-box .variant-detail-comp-toggle {
  margin: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
  width: 100%;
}
.variant-comp-section-box.is-open .variant-detail-comp-toggle {
  border-bottom: 1.5px solid #dbeafe;
  background: #f8faff;
}
.variant-comp-section-box .variant-detail-comp-container,
.variant-comp-section-box .variant-detail-comp-panel {
  margin: 0;
  padding: 8px 10px;
  border-radius: 0;
  border: none;
  border-top: 1.5px solid #dbeafe;
  background: #ffffff;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box;
  overflow: hidden;
}
.specs-panel .spec-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.specs-panel .spec-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}
.specs-panel .spec-label {
  color: #64748b;
  font-size: 9.5px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.specs-panel .spec-val {
  font-weight: 800;
  color: #0f172a;
  font-size: 11.5px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Schedule Test Drive Card */
.schedule-test-drive-card {
  margin: 5px 6px 0;
  background: rgba(248, 250, 252, 0.85);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.schedule-td-header h4 {
  font-size: 14.5px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.2px;
  margin: 0;
  line-height: 1.25;
}
.schedule-td-subtitle {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  margin: 5px 0 6px 0;
}
.test-drive-dates-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 6px 0;
  -webkit-overflow-scrolling: touch;
}
.test-drive-date-pill {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  width: 54px;
  height: 64px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.test-drive-date-pill.is-selected {
  border-color: #0f172a;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
  outline: 1.5px solid #0f172a;
}
.test-drive-date-pill .td-day {
  font-size: 10.5px;
  font-weight: 700;
  color: #64748b;
  line-height: 1;
}
.test-drive-date-pill.is-selected .td-day {
  color: #0f172a;
}
.test-drive-date-pill .td-num {
  font-size: 17px;
  font-weight: 900;
  color: #0f172a;
  margin: 3px 0;
  line-height: 1;
}
.test-drive-date-pill .td-month {
  font-size: 10.5px;
  font-weight: 600;
  color: #94a3b8;
  line-height: 1;
}
.test-drive-date-pill.is-selected .td-month {
  color: #0f172a;
}
.schedule-td-cta-wrap {
  margin-top: 8px;
}
.btn-schedule-test-drive {
  width: 100%;
  background: #ffffff !important;
  color: #0f172a !important;
  border: 2px solid #38bdf8 !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  padding: 9.5px 16px !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: all 0.15s ease !important;
  box-shadow: 0 1px 3px rgba(56, 189, 248, 0.2) !important;
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
}
.btn-schedule-test-drive:hover {
  background: #f0f9ff !important;
  color: #0f172a !important;
  border-color: #0ea5e9 !important;
  box-shadow: 0 2px 6px rgba(14, 165, 233, 0.25) !important;
}
.btn-schedule-test-drive:active {
  background: #e0f2fe !important;
}
.btn-schedule-test-drive svg {
  color: #0284c7 !important;
  flex-shrink: 0;
}

/* Actions */
.card-actions {
  padding: 5px 6px 12px 6px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: auto;
}
.contact-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Form Validation & Test Drive Modal Additions */
.form-error-msg {
  font-size: 11px;
  font-weight: 700;
  color: #ef4444;
  margin-top: 4px;
  display: none;
}
.form-error-msg.is-visible {
  display: block;
}
.td-type-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 12px;
}
.td-type-btn {
  border: 0;
  background: transparent;
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
}
.td-type-btn.is-active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.btn-action-wa {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  background: #1eaa59;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  border: 1.5px solid #86efac !important;
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
  box-shadow: 0 4px 12px rgba(30, 170, 89, 0.25);
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-action-wa:hover {
  background: #17964d;
  border-color: #bbf7d0 !important;
  box-shadow: 0 6px 16px rgba(30, 170, 89, 0.35);
  transform: translateY(-1px);
}
.btn-action-wa:focus {
  outline: none !important;
}
.btn-action-wa:focus-visible {
  outline: 2px solid #86efac !important;
  outline-offset: 2px !important;
}
.btn-action-wa svg { width: 17px; height: 17px; fill: currentColor; }

/* Call Dealer - Solid Vibrant Blue Scheme matching WhatsApp CTA */
.btn-action-call {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  background: #0284c7;
  color: #ffffff;
  border: 1.5px solid #7dd3fc !important;
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
  transition: all 0.2s ease;
}
.btn-action-call:hover {
  background: #0369a1;
  border-color: #bae6fd !important;
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
  transform: translateY(-1px);
}
.btn-action-call:focus {
  outline: none !important;
}
.btn-action-call:focus-visible {
  outline: 2px solid #7dd3fc !important;
  outline-offset: 2px !important;
}
.btn-action-call svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.2; }

/* Modals, Floating Pill and Mobile Bottom Nav */
.viewing-model-pill-container { display: none; }
.mobile-bottom-nav { display: none; }

@media (max-width: 767px) {
  .viewing-model-pill-container {
    position: fixed;
    bottom: 66px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 999;
    pointer-events: none;
  }
  .viewing-model-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.95);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    border: 1px solid rgba(255,255,255,0.2);
  }
  .viewing-pulse { width: 6px; height: 6px; border-radius: 50%; background: #10b981; }

  .mobile-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0;
    padding: 6px 3px calc(6px + env(safe-area-inset-bottom));
    border-top: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
  }
  .mobile-nav-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 2px 1px;
    border-radius: 8px;
    border: 0;
    background: transparent;
    font-size: 10px;
    font-weight: 800;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease;
    box-sizing: border-box;
    text-align: center;
  }
  .mobile-nav-action:active {
    background: #f1f5f9;
    transform: scale(0.96);
  }
  .mobile-nav-action svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; margin-bottom: 2px; }
  .mobile-nav-action span {
    font-size: 9.5px;
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
  }
  .mobile-nav-btn-home {
    width: 15%;
    flex: 0 0 15%;
    max-width: 15%;
  }
  .mobile-nav-btn-brands {
    width: 17%;
    flex: 0 0 17%;
    max-width: 17%;
  }
  .mobile-nav-btn-category {
    width: 17%;
    flex: 0 0 17%;
    max-width: 17%;
  }
  .mobile-nav-btn-wa {
    width: 26%;
    flex: 0 0 26%;
    max-width: 26%;
    padding: 0 2px;
    box-sizing: border-box;
  }
  .mobile-nav-btn-call {
    width: 25%;
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 2px;
    box-sizing: border-box;
  }
  .mobile-nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 10px;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    box-sizing: border-box;
  }
  .mobile-nav-cta.mobile-nav-square {
    width: 100%;
    height: 46px;
    padding: 4px 2px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    box-sizing: border-box;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }
  .mobile-nav-cta.mobile-nav-square:active {
    transform: scale(0.94);
  }
  .mobile-nav-square-label {
    font-size: 9.5px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.2px;
    color: #ffffff;
    text-transform: uppercase;
  }
  .mobile-nav-wa {
    background: #1eaa59;
    border: 1.5px solid #86efac !important;
    outline: none !important;
    box-shadow: 0 4px 12px rgba(30, 170, 89, 0.35);
  }
  .mobile-nav-call {
    background: #0284c7;
    color: #ffffff;
    border: 1.5px solid #7dd3fc !important;
    outline: none !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
  }
}

/* Navigation Menu Modal (Top-left aligned pop-up, spread layout with Close X at right corner) */
#nav-menu-modal.modal-overlay {
  align-items: flex-start;
  justify-content: flex-start;
  padding: 16px 20px;
}
@media (max-width: 639px) {
  #nav-menu-modal.modal-overlay {
    align-items: flex-start;
    justify-content: center;
    padding: 10px;
  }
}

.menu-modal-box {
  max-width: 780px;
  width: 100%;
  padding: 22px 24px;
  border-radius: 20px;
  position: relative;
  margin-top: 10px;
  margin-left: 10px;
  max-height: calc(100vh - 36px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(15, 23, 42, 0.08);
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
}
@media (max-width: 639px) {
  .menu-modal-box {
    margin-top: 4px;
    margin-left: 0;
    max-height: 94vh;
    padding: 18px 16px;
  }
}

.menu-modal-header {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
  padding-right: 42px;
  flex-shrink: 0;
}
.menu-modal-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.menu-modal-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  max-height: none;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
  padding-bottom: 2px;
}
.menu-modal-body::-webkit-scrollbar {
  width: 5px;
}
.menu-modal-body::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}
.menu-modal-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.menu-modal-body::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
.menu-modal-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.menu-section-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.6px;
  margin-bottom: 2px;
}
.menu-grid-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
@media (min-width: 500px) {
  .menu-grid-links {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 680px) {
  .menu-grid-links {
    grid-template-columns: repeat(3, 1fr);
  }
}
.menu-link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.16s ease;
  width: 100%;
  box-sizing: border-box;
  outline: none;
  font-family: inherit;
}
.menu-link-card:hover {
  background: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
  transform: translateY(-1.5px);
}
.menu-link-card:focus-visible {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}
.menu-link-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.menu-link-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}
.menu-link-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.menu-link-title {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}
.menu-link-desc {
  font-size: 10.5px;
  font-weight: 600;
  color: #64748b;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.menu-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: stretch;
  width: 100%;
}
.menu-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  min-height: 44px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.16s ease;
  box-sizing: border-box;
  width: 100%;
  border: 1.5px solid transparent;
  outline: none;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
}
.menu-contact-btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.menu-wa-btn {
  background: #1eaa59;
  border: 1.5px solid #86efac;
  box-shadow: 0 4px 12px rgba(30, 170, 89, 0.25);
}
.menu-wa-btn:hover {
  background: #16934c;
  border-color: #bbf7d0;
  box-shadow: 0 4px 14px rgba(30, 170, 89, 0.35);
  transform: translateY(-1px);
}
.menu-wa-btn svg {
  fill: currentColor;
}
.menu-call-btn {
  background: #0284c7;
  border: 1.5px solid #7dd3fc;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}
.menu-call-btn:hover {
  background: #0369a1;
  border-color: #bae6fd;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  transform: translateY(-1px);
}
.menu-call-btn svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}
.menu-contact-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.3);
}
.menu-call-btn svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

/* Categories Modal */
.categories-modal-box {
  max-width: 760px;
  width: 100%;
}
.categories-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  max-height: 58vh;
  overflow-y: auto;
  padding: 4px 2px;
}
@media (max-width: 640px) {
  .categories-grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}
.category-card-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.category-card-btn:hover {
  background: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.12);
  transform: translateY(-2px);
}
.category-card-btn.is-selected {
  background: #eff6ff;
  border-color: #2563eb;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.18);
}
.category-card-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.18s ease;
}
.category-card-icon-wrap.is-selected {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}
.category-card-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.category-card-name {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}
.category-card-btn.is-selected .category-card-name {
  color: #1d4ed8;
}
.category-card-count {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  margin-top: 2px;
}
.category-active-check {
  font-size: 14px;
  font-weight: 900;
  color: #2563eb;
  margin-left: auto;
}

/* Modals */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.65);
  backdrop-filter: blur(4px);
  z-index: 1100;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-overlay.is-active,
.modal-overlay.is-open {
  display: flex;
}
.modal-box {
  background: #ffffff;
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  padding: 24px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  font-size: 20px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
  z-index: 999;
  pointer-events: auto;
}
.modal-close * {
  pointer-events: none;
}
.modal-close:hover {
  background: #fee2e2;
  color: #ef4444;
  border-color: #fca5a5;
  transform: rotate(90deg);
}
.modal-title { font-size: 18px; font-weight: 900; color: #0f172a; }
.modal-desc { font-size: 12px; color: #64748b; margin: 6px 0 16px; }

/* Enhanced Modal Header with WhatsApp Icon matching Preview */
.modal-header-with-icon {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.modal-header-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #ecfdf5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.phone-input-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}
.phone-prefix {
  position: absolute;
  left: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  pointer-events: none;
  z-index: 2;
}
.phone-input-with-prefix {
  padding-left: 44px !important;
}
.modal-trust-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-align: center;
}

.form-group { margin-bottom: 12px; }
.form-label { display: block; font-size: 11px; font-weight: 700; color: #475569; margin-bottom: 4px; text-transform: uppercase; }
.form-control {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-size: 13px;
  outline: none;
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }

.modal-submit-btn {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  background: #1eaa59;
  color: #ffffff;
  border: none !important;
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  box-shadow: 0 4px 12px rgba(30, 170, 89, 0.25);
  transition: all 0.16s ease;
}
.modal-submit-btn:hover {
  background: #16934c;
  box-shadow: 0 6px 16px rgba(30, 170, 89, 0.35);
  transform: translateY(-1px);
}
.modal-submit-btn:focus {
  outline: none !important;
}
.modal-submit-btn:focus-visible {
  outline: 2px solid #22c55e !important;
  outline-offset: 2px !important;
}

.brands-modal-box {
  max-width: 800px;
  width: 100%;
  background: #ffffff;
  border-radius: 24px;
  padding: 24px;
  position: relative;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
}
.brands-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  overflow-y: auto;
  max-height: 55vh;
  padding: 8px 2px;
}
@media (min-width: 640px) {
  .brands-grid-container { grid-template-columns: repeat(6, 1fr); }
}
.brand-card-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.brand-card-btn:hover, .brand-card-btn.is-selected {
  background: #eff6ff;
  border-color: #3b82f6;
}
.brand-card-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  margin-bottom: 6px;
}
.brand-card-name {
  font-size: 11px;
  font-weight: 700;
  color: #1e293b;
  text-align: center;
}

/* Categories Modal */
.categories-modal-box {
  max-width: 840px;
  width: 100%;
}
.categories-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-height: 55vh;
  overflow-y: auto;
  padding: 8px 2px;
}
@media (min-width: 640px) {
  .categories-grid-container {
    grid-template-columns: repeat(4, 1fr);
  }
}
.category-card-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
}
.category-card-btn:hover {
  border-color: #94a3b8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.category-card-btn.is-selected {
  background: #eff6ff;
  border-color: #3b82f6;
}
.category-card-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  transition: all 0.15s ease;
}
.category-card-icon-wrap svg {
  width: 20px;
  height: 20px;
}
.category-card-btn.is-selected .category-card-icon-wrap {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}
.category-card-name {
  font-size: 11px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.25;
}
.category-card-btn.is-selected .category-card-name {
  color: #1d4ed8;
}
.category-card-count {
  font-size: 10px;
  font-weight: 600;
  color: #64748b;
  margin-top: 2px;
}

.share-channels-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.share-ch-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  cursor: pointer;
  border: 0;
  text-decoration: none;
}
.share-ch-wa { background: #25d366; }
.share-ch-fb { background: #1877f2; }
.share-ch-x { background: #000000; }
.share-ch-tg { background: #229ed9; }
.share-ch-email { background: #334155; }
.share-ch-copy { background: #f1f5f9; color: #0f172a; border: 1px solid #cbd5e1; }

.copy-toast {
  display: none;
  margin-top: 12px;
  padding: 10px 14px;
  background: #ecfdf5;
  color: #047857;
  border: 1.5px solid #10b981;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}
.copy-toast.is-visible,
.copy-toast[style*="block"] {
  display: block !important;
}

/* Single Vehicle View Styles */
.single-vehicle-main-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 14px 60px;
}
.single-breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}
.single-breadcrumbs a { color: #64748b; }
.single-breadcrumbs a:hover { color: #0f172a; }
.back-btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #2563eb;
  background: #eff6ff;
  padding: 6px 14px;
  border-radius: 8px;
}

.single-vehicle-card-wrapper {
  max-width: 780px;
  margin: 0 auto 16px;
}
.single-vehicle-card-wrapper .vehicle-card {
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* Model Overview & Key Highlights (Individual Pages Only) */
.single-overview-highlights-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 32px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.02);
}
.overview-highlights-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 24px;
}
.overview-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: #4338ca;
  background: #eef2ff;
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 6px;
}
.overview-title {
  font-size: 22px;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
}
.overview-subbadge {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  background: #f8fafc;
  padding: 4px 12px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}
.overview-block {
  margin-bottom: 24px;
}
.overview-heading, .highlights-heading {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #475569;
  margin: 0 0 10px;
}
.overview-content-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: #334155;
}
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}
.highlight-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color 0.15s ease;
}
.highlight-card:hover {
  border-color: #cbd5e1;
}
.highlight-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #ecfdf5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.highlight-num {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: #059669;
  display: block;
  margin-bottom: 2px;
}
.highlight-text {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.4;
}

.variants-table-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow-x: auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.variants-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}
.variants-table th {
  background: #f8fafc;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #64748b;
  border-bottom: 1px solid #e2e8f0;
}
.variants-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: #1e293b;
}
.variants-table tr:last-child td {
  border-bottom: none;
}

/* Footer */
.site-footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 32px 16px 40px;
  font-size: 12px;
  color: #64748b;
  margin-top: auto;
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f1f5f9;
}
.footer-brand h4 { font-size: 14px; font-weight: 900; color: #0f172a; margin-bottom: 6px; }
.footer-brand p { max-width: 460px; line-height: 1.5; }
.footer-links {
  flex: 1;
  min-width: 280px;
}
.footer-links h5 { font-size: 12px; font-weight: 800; color: #0f172a; margin-bottom: 10px; }
.footer-link-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (max-width: 480px) {
  .footer-link-group {
    grid-template-columns: 1fr;
  }
}
.footer-nav-btn,
.footer-link-group button, .footer-link-group a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  color: #334155;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.footer-nav-btn:hover,
.footer-link-group button:hover, .footer-link-group a:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.08);
}
.footer-contact-desk h5 { font-size: 12px; font-weight: 800; color: #0f172a; margin-bottom: 10px; }
.footer-square-ctas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}
.footer-square-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  height: 52px;
  padding: 6px 10px;
  border-radius: 12px;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  outline: none !important;
  cursor: pointer;
  box-sizing: border-box;
}
.footer-square-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}
.footer-wa-square {
  background: #1eaa59;
  border: 1.5px solid #86efac !important;
  outline: none !important;
}
.footer-wa-square:hover {
  background: #16934c;
  border-color: #bbf7d0 !important;
}
.footer-call-square {
  background: #0284c7;
  border: 1.5px solid #7dd3fc !important;
  outline: none !important;
}
.footer-call-square:hover {
  background: #0369a1;
  border-color: #bae6fd !important;
}
.footer-square-cta svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: currentColor;
}
.footer-call-square svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  color: #94a3b8;
}

/* ==========================================================================
   Variant Detail Comparison Section (Below Key Specifications)
   ========================================================================== */
.variant-detail-comp-toggle {
  margin: 5px 6px 0;
  background: #eff6ff;
  border: 1.5px solid #3b82f6;
  border-radius: 10px;
  padding: 8px 12px;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  box-sizing: border-box;
}
.variant-detail-comp-toggle:hover {
  background: #dbeafe;
  border-color: #1d4ed8;
}
.variant-detail-comp-toggle.is-active,
.variant-detail-comp-toggle[aria-expanded="true"] {
  background: #eff6ff;
  border-color: #2563eb;
  color: #1e3a8a;
}
.trim-matrix-pill {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  background: #dbeafe;
  color: #1d4ed8;
  border-radius: 9999px;
  letter-spacing: 0.2px;
}

.variant-detail-comp-panel {
  display: none;
  background: #ffffff;
  border: 1.5px solid #3b82f6;
  border-radius: 12px;
  margin: 5px 6px 0;
  width: auto;
  padding: 6px 8px;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.08);
  animation: fadeInComp 0.25s ease forwards;
  box-sizing: border-box;
}
.variant-detail-comp-panel.is-open {
  display: block;
}
.all-var-matrices-container .variant-detail-comp-panel {
  display: block !important;
  margin: 0 !important;
  width: 100% !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: none !important;
}
.all-var-matrices-container .specs-toggle.variant-detail-comp-toggle {
  display: none !important;
}
.single-vehicle-page .variant-detail-comp-panel {
  margin: 8px 0 0 !important;
  width: 100% !important;
}
@keyframes fadeInComp {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Filter Bar */
.variant-comp-filter-bar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  margin-bottom: 4px;
  padding-bottom: 0;
  border-bottom: none;
}
.variant-comp-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.variant-comp-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.variant-comp-filter-btn:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #cbd5e1;
}
.variant-comp-filter-btn.is-active {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 1px 4px rgba(37,99,235,0.25);
}
.variant-comp-filter-btn .comp-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 9999px;
  background: rgba(0,0,0,0.06);
  color: inherit;
}
.variant-comp-filter-btn.is-active .comp-badge {
  background: rgba(255,255,255,0.25);
  color: #ffffff;
}
.variant-comp-filter-btn .comp-badge.is-diff-badge {
  background: #fef3c7;
  color: #b45309;
}
.variant-comp-filter-btn.is-active .comp-badge.is-diff-badge {
  background: #fbbf24;
  color: #78350f;
}

.variant-comp-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 180px;
  max-width: 280px;
}
.variant-comp-search-icon {
  position: absolute;
  left: 10px;
  color: #94a3b8;
  pointer-events: none;
}
.variant-comp-search-input {
  width: 100%;
  padding: 6px 10px 6px 30px;
  font-size: 11.5px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  color: #0f172a;
  outline: none;
  transition: border-color 0.15s ease;
  box-sizing: border-box;
}
.variant-comp-search-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37,99,235,0.15);
}

.variant-comp-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.variant-comp-action-btn {
  padding: 5px 10px;
  font-size: 10.5px;
  font-weight: 700;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}
.variant-comp-action-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Comparison Table (Fixed Top Row Headers & Scrollable Table Body) */
.variant-comp-table-wrap {
  overflow-x: auto;
  overflow-y: auto;
  max-height: 480px;
  position: relative;
  scroll-behavior: smooth;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.03);
}
.variant-comp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 680px;
  font-size: 12px;
  position: relative;
}

/* Fixed Top Row Table Headers */
.variant-comp-table thead {
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 2px 6px -1px rgba(0, 0, 0, 0.07);
}
.variant-comp-table thead th {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 10px 12px;
  background: #f8fafc;
  border-bottom: 2px solid #cbd5e1;
  border-right: 1px solid #e2e8f0;
  font-weight: 800;
  color: #334155;
  box-sizing: border-box;
}
.variant-comp-table thead th.col-cat-head,
.variant-comp-table thead th:first-child {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #f1f5f9;
  border-right: 2px solid #cbd5e1;
}
.variant-comp-table thead th:last-child {
  border-right: none;
}
.col-feature-head {
  width: 270px;
  min-width: 240px;
  max-width: 300px;
}
.feature-head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.feature-head-hint {
  font-size: 9.5px;
  color: #94a3b8;
  font-weight: 500;
}
.col-trim-head {
  text-align: center;
  min-width: 110px;
}
.trim-head-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.trim-head-name {
  font-weight: 900;
  color: #0f172a;
  font-size: 12px;
}
.trim-head-badge {
  font-size: 9px;
  font-weight: 800;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 1px 6px;
  border-radius: 9999px;
}

/* Category Rows (Clickable Accordion) */
.variant-comp-cat-row {
  cursor: pointer;
  user-select: none;
  background: #f8fafc;
  border-top: 1px solid #cbd5e1;
  border-bottom: 1px solid #e2e8f0;
  transition: background 0.15s ease;
}
.variant-comp-cat-row:hover {
  background: #f1f5f9;
}
.variant-comp-cat-row.is-open {
  background: #eff6ff;
  border-top-color: #93c5fd;
  border-bottom-color: #bfdbfe;
}
.cat-title-cell {
  padding: 8px 12px;
  border-right: 1px solid #e2e8f0;
}
.cat-title-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.cat-arrow {
  font-size: 9px;
  color: #2563eb;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #dbeafe;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 900;
}
.cat-title-text {
  font-weight: 900;
  color: #0f172a;
  font-size: 12px;
  flex: 1;
}
.cat-count-pill {
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
}
.variant-comp-cat-row.is-open .cat-count-pill {
  background: #dbeafe;
  border-color: #bfdbfe;
  color: #1e40af;
}
.cat-filler-cell {
  padding: 8px;
  border-right: 1px solid #e2e8f0;
}
.cat-filler-cell:last-child {
  border-right: none;
}
.cat-line {
  display: block;
  height: 2px;
  background: #e2e8f0;
  border-radius: 9999px;
}
.variant-comp-cat-row.is-open .cat-line {
  background: #bfdbfe;
}

/* Subcategory Rows (Level 2 Accordion) */
.variant-comp-subcat-row {
  cursor: pointer;
  user-select: none;
  background: #f8fafc;
  border-top: 1px dashed #e2e8f0;
  border-bottom: 1px dashed #e2e8f0;
  transition: background 0.15s ease;
}
.variant-comp-subcat-row:hover {
  background: #f1f5f9;
}
.subcat-title-cell {
  padding: 6px 10px;
  border-right: 1px solid #e2e8f0;
}
.subcat-filler-cell {
  padding: 6px 8px;
  border-right: 1px solid #e2e8f0;
}
.subcat-filler-cell:last-child {
  border-right: none;
}
.subcat-line {
  display: block;
  height: 1.5px;
  background: #e2e8f0;
  border-radius: 9999px;
}

/* Feature Rows */
.variant-comp-feat-row {
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s ease;
}
.variant-comp-feat-row.is-zebra {
  background: #f8fafc;
}
.variant-comp-feat-row:hover {
  background: #f1f5f9;
}
.variant-comp-feat-row.is-diff-row {
  background: #fffbeb;
}
.variant-comp-feat-row.is-diff-row.is-zebra {
  background: #fef3c7;
}
.variant-comp-feat-row.is-diff-row:hover {
  background: #fde68a;
}
.feat-name-cell {
  padding: 7px 12px;
  border-right: 1px solid #e2e8f0;
}
.feat-name-inner {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-left: 6px;
}
.feat-indicator-dot {
  width: 5px;
  height: 5px;
  border-radius: 9999px;
  background: #cbd5e1;
  margin-top: 6px;
  flex-shrink: 0;
}
.feat-indicator-dot.is-diff-dot {
  background: #f59e0b;
}
.feat-name-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.feat-name-text {
  font-weight: 700;
  color: #1e293b;
  font-size: 11.5px;
  line-height: 1.35;
}
.feat-diff-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fcd34d;
  padding: 0.5px 5px;
  border-radius: 3px;
  align-self: flex-start;
}

/* Feature Values */
.feat-val-cell {
  padding: 7px 8px;
  border-right: 1px solid #f1f5f9;
  text-align: center;
  vertical-align: middle;
}
.feat-val-cell:last-child {
  border-right: none;
}
.feat-val-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cell-icon-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  background: #dcfce7;
  color: #15803d;
  font-size: 11px;
  font-weight: 900;
}
.cell-icon-cross {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 900;
}
.cell-check-combo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.cell-extra-pill {
  font-size: 9px;
  font-weight: 700;
  color: #166534;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  padding: 0.5px 4px;
  border-radius: 3px;
  white-space: nowrap;
}
.cell-price-pill {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 6px;
  background: #0f172a;
  color: #ffffff;
  font-weight: 800;
  font-size: 11px;
}
.cell-text-val {
  font-weight: 700;
  color: #334155;
  font-size: 11px;
  line-height: 1.25;
}

/* ==========================================================================
   v2.3 — Ex-Showroom / On-Road (Est.) / Breakup = 48.5% / 48.5% / 3%
   prices centre-aligned, "Breakup" written vertically in the slim 3% strip
   ========================================================================== */
.pricing-section-box .card-pricing-header,
.card-pricing .card-pricing-header,
.card-pricing-header {
  display: grid !important;
  grid-template-columns: 48.5% 48.5% 3%;
  align-items: stretch;
  gap: 0 !important;
  padding: 0 !important;
  width: 100%;
  box-sizing: border-box;
}
.card-pricing-header .price-blocks-wrapper {
  display: contents !important;
}
.card-pricing-header .price-block {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9px 4px;
  box-sizing: border-box;
  overflow: hidden;
}
.card-pricing-header .price-block.on-road {
  border-left: 1px dashed #cbd5e1;
}
.card-pricing-header .price-block-label,
.card-pricing-header .price-block-val {
  width: 100%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-pricing-header .price-block-val {
  font-size: clamp(15px, 4.4vw, 20px);
}
.card-pricing-header .price-block.on-road .price-block-val {
  font-size: clamp(15px, 4.6vw, 21px);
}
.card-pricing-header .price-breakup-btn,
.card-pricing-header .price-breakup-partition,
.card-pricing-header .price-breakup-vertical-btn {
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 66px;
  margin: 0 !important;
  padding: 5px 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center;
  justify-content: center;
  gap: 2px;
  align-self: stretch;
  border-radius: 0 !important;
  border: none !important;
  border-left: 1px solid #facc15 !important;
  box-shadow: none !important;
  white-space: normal;
  overflow: hidden;
  box-sizing: border-box;
  cursor: pointer;
}
.card-pricing-header .breakup-vert-text {
  writing-mode: vertical-rl !important;
  text-orientation: mixed;
  transform: rotate(180deg) !important;
  font-size: 8px;
  letter-spacing: 0.3px;
  line-height: 1;
  white-space: nowrap;
}
.card-pricing-header .breakup-vert-arrow {
  margin: 0 !important;
  font-size: 7px;
  line-height: 1;
}

/* ==========================================================================
   v2.3 — Variant comparison: "<" / ">" scroll hints over the filter options
   ========================================================================== */
.variant-comp-pills-wrap { position: relative; }
.variant-comp-pills::-webkit-scrollbar { display: none; }
.variant-comp-pills-wrap .comp-scroll-arrow {
  width: 26px !important;
  height: 26px !important;
  font-size: 13px !important;
  line-height: 1;
  padding: 0;
  color: #0f172a !important;
}
.variant-comp-pills-wrap::before,
.variant-comp-pills-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 34px;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.variant-comp-pills-wrap::before { left: 0; background: linear-gradient(to right, #ffffff 40%, rgba(255,255,255,0)); }
.variant-comp-pills-wrap::after { right: 0; background: linear-gradient(to left, #ffffff 40%, rgba(255,255,255,0)); }
.variant-comp-pills-wrap.can-scroll-left::before,
.variant-comp-pills-wrap.can-scroll-right::after { opacity: 1; }
.comp-btn-toggle-all.is-expanded .comp-toggle-icon { transform: rotate(180deg); }
.comp-btn-toggle-all .comp-toggle-icon { transition: transform 0.2s ease; }

/* ==========================================================================
   v2.3 — Content pages (About Us, Privacy Policy, 404)
   ========================================================================== */
.homithing-page-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 28px 18px 110px;
  box-sizing: border-box;
}
.homithing-page {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 26px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.homithing-page-header { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid #e2e8f0; }
.homithing-page-title { font-size: clamp(24px, 5vw, 32px); font-weight: 900; color: #0f172a; line-height: 1.2; letter-spacing: -0.02em; }
.homithing-page-meta { margin-top: 6px; font-size: 12.5px; color: #64748b; }
.homithing-page-content { font-size: 15px; line-height: 1.7; color: #334155; }
.homithing-page-content > * + * { margin-top: 14px; }
.homithing-page-content h2 { font-size: 19px; font-weight: 800; color: #0f172a; margin-top: 28px; line-height: 1.3; }
.homithing-page-content h3 { font-size: 16px; font-weight: 800; color: #0f172a; margin-top: 22px; }
.homithing-page-content ul, .homithing-page-content ol { padding-left: 22px; }
.homithing-page-content li + li { margin-top: 6px; }
.homithing-page-content a { color: #2563eb; text-decoration: underline; text-underline-offset: 2px; }
.homithing-page-content strong { color: #0f172a; }
.homithing-page-content table { width: 100%; border-collapse: collapse; font-size: 13.5px; display: block; overflow-x: auto; }
.homithing-page-content th, .homithing-page-content td { border: 1px solid #e2e8f0; padding: 8px 10px; text-align: left; vertical-align: top; }
.homithing-page-content th { background: #f8fafc; font-weight: 800; color: #0f172a; }
.homithing-page-btn { display: inline-block; padding: 10px 18px; border-radius: 10px; background: #0f172a; color: #ffffff !important; font-weight: 800; text-decoration: none !important; }
@media (max-width: 600px) {
  .homithing-page { padding: 20px 16px; border-radius: 12px; }
  .homithing-page-content { font-size: 14.5px; }
}

/* ==========================================================================
   v2.3 — Header menu (4 options) & footer quick links
   ========================================================================== */
.header-desktop-nav .header-nav-btn { text-decoration: none; white-space: nowrap; }
.header-desktop-nav .header-nav-btn:hover,
.header-desktop-nav .header-nav-btn.is-current { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; }
@media (min-width: 768px) and (max-width: 1180px) {
  .header-desktop-nav { gap: 6px !important; margin-left: 12px !important; padding-left: 12px !important; }
  .header-desktop-nav .header-nav-btn { padding: 7px 10px !important; font-size: 12.5px !important; gap: 6px !important; }
  .header-desktop-nav .header-nav-btn svg { width: 15px; height: 15px; }
}
@media (min-width: 768px) and (max-width: 980px) {
  .header-search-box { display: none !important; }
}
.header-hamburger-btn, .brand-link { position: relative; z-index: 2; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.header-left-group { min-width: 0; }

.menu-modal-body .menu-grid-links a.menu-link-card { text-decoration: none; color: inherit; }

.footer-top {
  display: grid !important;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.footer-links { min-width: 0; }
.footer-link-group {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px !important;
}
.footer-link-group button,
.footer-link-group a {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 40px;
  box-sizing: border-box;
  text-align: left;
  text-decoration: none;
}
@media (max-width: 767px) {
  .footer-top { grid-template-columns: 1fr; gap: 18px; }
}
body.page:not(.home) .viewing-model-pill-container, body.error404 .viewing-model-pill-container { display: none !important; }

/* ==========================================================================
   v2.3 — Variant dropdown: same list on desktop and mobile
   ========================================================================== */
.variant-border-field .hm-dd-hit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 3;
  -webkit-tap-highlight-color: transparent;
}
.variant-border-field.hm-dd-open .variant-select-expanded {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}
.hm-dd-panel {
  position: fixed;
  z-index: 100000;
  box-sizing: border-box;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16), 0 2px 6px rgba(15, 23, 42, 0.08);
  padding: 4px 0;
  font-family: inherit;
}
.hm-dd-group {
  padding: 7px 12px 4px;
  font-size: 11.5px;
  font-weight: 800;
  color: #475569;
  background: #f8fafc;
  border-top: 1px solid #eef2f7;
  cursor: default;
  user-select: none;
}
.hm-dd-group:first-child { border-top: 0; }
.hm-dd-option {
  padding: 8px 12px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #0f172a;
  cursor: pointer;
  user-select: none;
  white-space: normal;
  word-break: break-word;
}
.hm-dd-group ~ .hm-dd-option { padding-left: 20px; }
.hm-dd-option.is-active { background: #eff6ff; color: #1d4ed8; }
.hm-dd-option.is-selected { background: #2563eb; color: #ffffff; font-weight: 800; }
.hm-dd-option.is-disabled { color: #b45309; background: #fffbeb; cursor: default; font-weight: 700; }
.hm-dd-option.matched-option { font-weight: 700; }
@media (max-width: 767px) {
  .site-footer { padding-bottom: 104px !important; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* ==========================================================================
   v2.5 — Variant Detail Comparison: "Category › Features › Specification"
   in a single row, with the Category and Features parts as drop-downs
   ========================================================================== */
.variant-comp-table.vc-inline-crumbs .variant-comp-cat-row,
.variant-comp-table.vc-inline-crumbs .variant-comp-subcat-row { display: none !important; }
.vc-inline-crumbs .feat-name-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 4px;
  padding-left: 0;
}
.vc-inline-crumbs .feat-crumb {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px;
  min-width: 0;
}
.vc-inline-crumbs .is-crumb-row .feat-crumb { display: inline-flex; }
.vc-inline-crumbs .crumb-btn {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  max-width: 100%;
  margin: 0;
  padding: 2px 6px 2px 4px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  cursor: pointer;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.vc-inline-crumbs .crumb-btn:hover { border-color: #93c5fd; background: #eff6ff; }
.vc-inline-crumbs .crumb-cat { background: #eef2ff; border-color: #c7d2fe; color: #3730a3; }
.vc-inline-crumbs .crumb-sub { text-transform: uppercase; letter-spacing: 0.2px; font-size: 10px; color: #334155; }
.vc-inline-crumbs .crumb-btn.is-open { background: #2563eb; border-color: #2563eb; color: #ffffff; }
.vc-inline-crumbs .crumb-arrow { font-size: 10px; width: 9px; text-align: center; }
.vc-inline-crumbs .crumb-text { overflow: hidden; text-overflow: ellipsis; }
.vc-inline-crumbs .crumb-count {
  font-size: 9px;
  font-weight: 800;
  min-width: 14px;
  padding: 0 4px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.08);
  text-align: center;
}
.vc-inline-crumbs .crumb-btn.is-open .crumb-count { background: rgba(255, 255, 255, 0.25); }
.vc-inline-crumbs .crumb-sep { color: #94a3b8; font-weight: 800; font-size: 12px; padding: 0 1px; }
.vc-inline-crumbs .feat-name-block { min-width: 0; }
.vc-inline-crumbs .is-crumb-row .feat-name-block { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px; }
/* rows revealed by a drop-down: just the specification, indented under its group */
.vc-inline-crumbs .is-child-row .feat-name-inner { padding-left: 16px; position: relative; }
.vc-inline-crumbs .is-child-row .feat-name-inner::before {
  content: "";
  position: absolute;
  left: 6px;
  top: -7px;
  bottom: 50%;
  width: 6px;
  border-left: 1px solid #cbd5e1;
  border-bottom: 1px solid #cbd5e1;
  border-bottom-left-radius: 3px;
}
.vc-inline-crumbs .variant-comp-feat-row.is-crumb-row > td { border-top: 1px solid #e2e8f0; }
.vc-inline-crumbs .variant-comp-feat-row.is-crumb-row:not(.is-group-start) > td { border-top: 2px solid #cbd5e1; }
.vc-inline-crumbs tbody .variant-comp-feat-row.is-crumb-row:first-child > td { border-top: none; }
@media (max-width: 600px) {
  .vc-inline-crumbs .crumb-btn { font-size: 10.5px; padding: 2px 5px 2px 3px; }
  .vc-inline-crumbs .crumb-sub { font-size: 9.5px; }
}
.vc-inline-crumbs .is-crumb-row .feat-name-block { display: contents; }
.vc-inline-crumbs .is-crumb-row .feat-name-text { white-space: normal; }
.vc-inline-crumbs .is-crumb-row .feat-diff-tag { flex-basis: auto; }

/* ==========================================================================
   v2.6 — Category | Features | Specification as side-by-side columns
   ========================================================================== */
.variant-comp-table.vc-split-cols { min-width: 760px; }
.vc-split-cols thead th.col-vc-cat { width: 128px; min-width: 112px; border-right: 1px solid #e2e8f0; }
.vc-split-cols thead th.col-vc-sub { width: 140px; min-width: 120px; border-right: 1px solid #e2e8f0; }
.vc-split-cols thead th.col-vc-spec { min-width: 170px; border-right: 2px solid #cbd5e1; }
.vc-split-cols .feat-cat-cell,
.vc-split-cols .feat-sub-cell {
  padding: 7px 8px;
  border-right: 1px solid #e2e8f0;
  vertical-align: middle;
  white-space: nowrap;
}
.vc-split-cols .feat-name-cell { border-right: 2px solid #cbd5e1; vertical-align: middle; }
.vc-split-cols .crumb-btn { max-width: 100%; }
.vc-split-cols .crumb-text { max-width: 96px; }
.vc-split-cols .crumb-none { color: #cbd5e1; font-weight: 700; padding-left: 6px; }
/* rows revealed by a drop-down: Category / Features cells stay empty, spec is indented */
.vc-split-cols .variant-comp-feat-row:not(.is-crumb-row) .crumb-btn,
.vc-split-cols .variant-comp-feat-row:not(.is-crumb-row) .crumb-none { visibility: hidden; }
.vc-split-cols .is-crumb-row .feat-name-block { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.vc-split-cols .is-child-row .feat-name-inner { padding-left: 16px; }
@media (max-width: 600px) {
  .variant-comp-table.vc-split-cols { min-width: 700px; }
  .vc-split-cols thead th.col-vc-cat { width: 108px; min-width: 100px; }
  .vc-split-cols thead th.col-vc-sub { width: 118px; min-width: 108px; }
  .vc-split-cols thead th.col-vc-spec { min-width: 150px; }
  .vc-split-cols .crumb-text { max-width: 74px; }
}
/* v2.6.1 — Category name only on the first row of an opened category (like Features) */
.vc-split-cols .variant-comp-feat-row:not(.is-cat-lead) .crumb-cat { visibility: hidden; }
.vc-split-cols .variant-comp-feat-row.is-group-start > td.feat-cat-cell { border-top-color: transparent; }

/* ==========================================================================
   v2.7 — Variant Detail Comparison, CarWale-style
   ========================================================================== */
.vcx { --vcx-n: 2; --vcx-label: minmax(118px, 1.15fr); position: relative; border: 1px solid #e2e8f0; border-radius: 12px; background: #ffffff; overflow: visible; }
.vcx-loading, .vcx-empty { padding: 16px; text-align: center; font-size: 12px; color: #64748b; font-weight: 600; }
.vcx-head {
  position: sticky;
  top: 0;
  z-index: 15;
  display: grid;
  grid-template-columns: var(--vcx-label) repeat(var(--vcx-n), minmax(0, 1fr));
  gap: 8px;
  align-items: end;
  padding: 10px;
  background: #f8fafc;
  border-bottom: 2px solid #cbd5e1;
  border-radius: 12px 12px 0 0;
}
.vcx-head-label { font-size: 11px; font-weight: 800; color: #64748b; text-transform: uppercase; letter-spacing: 0.4px; padding-bottom: 8px; }
.vcx-slot { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.vcx-slot-field.variant-border-field { position: relative; margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
.vcx-slot-tag {
  position: absolute; top: -7px; left: 9px; z-index: 4;
  padding: 0 5px; background: #f8fafc;
  font-size: 9px; font-weight: 800; color: #2563eb; letter-spacing: 0.4px; text-transform: uppercase;
}
.vcx-slot-select.variant-select-expanded {
  width: 100% !important;
  min-width: 0;
  box-sizing: border-box;
  padding: 9px 26px 8px 10px !important;
  border: 1.5px solid #93c5fd !important;
  border-radius: 9px !important;
  background-color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.vcx-slot-price { font-size: 12.5px; font-weight: 900; color: #0f172a; min-height: 16px; padding-left: 2px; }
.vcx-slot-price small { font-size: 9.5px; font-weight: 700; color: #64748b; }
.vcx-body { padding: 4px 0 6px; }
.vcx-cat { padding: 0; }
.vcx-cat + .vcx-cat { border-top: 1px solid #e2e8f0; }
.vcx-cat-title {
  margin: 0;
  padding: 12px 12px 6px;
  font-size: 15px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.vcx-group { margin: 0 8px 6px; border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; background: #ffffff; }
.vcx-group-head {
  display: flex; align-items: center; gap: 8px; width: 100%;
  margin: 0; padding: 10px 12px;
  border: 0; background: #f8fafc; cursor: pointer; text-align: left;
  font: inherit; font-size: 13px; font-weight: 800; color: #0f172a;
  -webkit-tap-highlight-color: transparent;
}
.vcx-group-head:hover { background: #eff6ff; }
.vcx-group.is-open .vcx-group-head { background: #eff6ff; color: #1d4ed8; border-bottom: 1px solid #dbeafe; }
.vcx-group-arrow { font-size: 12px; width: 12px; color: #2563eb; }
.vcx-group-name { flex: 1; min-width: 0; }
.vcx-group-count { font-size: 10px; font-weight: 800; min-width: 18px; padding: 1px 6px; border-radius: 9999px; background: #e2e8f0; color: #334155; text-align: center; }
.vcx-group.is-open .vcx-group-count { background: #2563eb; color: #ffffff; }
.vcx-group-rows { display: none; }
.vcx-group.is-open .vcx-group-rows { display: block; }
.vcx-row {
  display: grid;
  grid-template-columns: var(--vcx-label) repeat(var(--vcx-n), minmax(0, 1fr));
  gap: 8px;
  align-items: start;
  padding: 9px 10px;
  border-top: 1px solid #f1f5f9;
  font-size: 12.5px;
}
.vcx-row:first-child { border-top: 0; }
.vcx-label { font-weight: 700; color: #475569; line-height: 1.35; min-width: 0; word-break: break-word; }
.vcx-val { min-width: 0; color: #0f172a; font-weight: 600; line-height: 1.35; word-break: break-word; }
.vcx-row.is-diff { background: #fffbeb; }
.vcx-row.is-diff .vcx-val { font-weight: 800; }
.vcx-v-yes { color: #16a34a; font-weight: 900; font-size: 14px; }
.vcx-v-no { color: #dc2626; font-weight: 900; font-size: 13px; }
.vcx-v-na { color: #94a3b8; font-weight: 800; }
.vcx-v-opt { color: #b45309; font-weight: 800; }
/* narrow panels (phones / card view): label on its own line above the values, like CarWale mobile */
.vcx.vcx-narrow .vcx-head { grid-template-columns: repeat(var(--vcx-n), minmax(0, 1fr)); }
.vcx.vcx-narrow .vcx-head-label { display: none; }
.vcx.vcx-narrow .vcx-row { grid-template-columns: repeat(var(--vcx-n), minmax(0, 1fr)); gap: 3px 10px; }
.vcx.vcx-narrow .vcx-label { grid-column: 1 / -1; font-size: 11.5px; color: #64748b; }
.vcx.vcx-narrow .vcx-row .vcx-val + .vcx-val { border-left: 1px dashed #e2e8f0; padding-left: 10px; }
.variant-detail-comp-panel .variant-comp-table-wrap:empty { display: none; }

/* ==========================================================================
   v2.8 — Overview header with variant pickers, 2 by default, "+" to add more
   ========================================================================== */
.vcx { --vcx-n: 2; --vcx-plus: 40px; --vcx-labelw: 112px; --vcx-colw: 124px; overflow: hidden; }
.vcx-scroll { overflow-x: auto; overflow-y: visible; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.vcx-grid { min-width: calc(var(--vcx-labelw) + var(--vcx-n) * var(--vcx-colw) + var(--vcx-plus)); }
.vcx-head,
.vcx-row {
  grid-template-columns: minmax(var(--vcx-labelw), 1.1fr) repeat(var(--vcx-n), minmax(var(--vcx-colw), 1fr)) var(--vcx-plus) !important;
}
.vcx-head { position: relative; align-items: start; gap: 8px; padding: 12px 10px 10px; }
.vcx .vcx-head-label {
  display: flex !important;
  align-items: center;
  align-self: start;
  height: 36px;
  padding: 0;
  font-size: 16px;
  font-weight: 900;
  color: #0f172a;
  text-transform: none;
  letter-spacing: -0.01em;
  position: sticky;
  left: 0;
  z-index: 3;
  background: #f8fafc;
}
.vcx-row { gap: 8px; }
.vcx-row .vcx-label { position: sticky; left: 0; z-index: 2; background: #ffffff; padding-right: 6px; }
.vcx-row.is-diff .vcx-label { background: #fffbeb; }
.vcx-spacer { min-width: 0; }
.vcx-add-wrap { display: flex; align-items: flex-start; justify-content: center; height: 36px; }
.vcx-add {
  width: 34px; height: 34px; margin: 1px 0 0; padding: 0;
  border-radius: 50%;
  border: 1.5px dashed #2563eb;
  background: #eff6ff;
  color: #2563eb;
  font-size: 22px; font-weight: 700; line-height: 1;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.vcx-add:hover { background: #2563eb; color: #ffffff; border-style: solid; }
.vcx-slot-remove {
  position: absolute; top: -9px; right: -7px; z-index: 6;
  width: 18px; height: 18px; padding: 0;
  border-radius: 50%; border: 1px solid #cbd5e1; background: #ffffff;
  color: #64748b; font-size: 13px; line-height: 1; font-weight: 800;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.vcx-slot-remove:hover { background: #fee2e2; color: #dc2626; border-color: #fca5a5; }
.vcx-cat-title > span { position: sticky; left: 12px; }
.vcx-group-head .vcx-group-arrow { position: sticky; left: 12px; }
.vcx-group-head .vcx-group-name { position: sticky; left: 32px; flex: 0 1 auto; }
.vcx-group-head .vcx-group-count { margin-right: auto; }
@media (max-width: 600px) {
  .vcx { --vcx-labelw: 96px; --vcx-colw: 112px; --vcx-plus: 38px; }
  .vcx .vcx-head-label { font-size: 14px; }
  .vcx-row { font-size: 12px; }
}
.vcx-group { overflow: clip; overflow-clip-margin: 0; }
@supports not (overflow: clip) { .vcx-group { overflow: visible; } }
.vcx { --vcx-gap: 8px; --vcx-pad: 10px; --vcx-labelw: 104px; --vcx-colw: 116px; --vcx-plus: 36px; }
.vcx-head, .vcx-row { gap: var(--vcx-gap) !important; padding-left: var(--vcx-pad) !important; padding-right: var(--vcx-pad) !important; }
.vcx-grid { min-width: calc(var(--vcx-labelw) + var(--vcx-n) * var(--vcx-colw) + var(--vcx-plus) + (var(--vcx-n) + 1) * var(--vcx-gap) + 2 * var(--vcx-pad) + 18px); }
@media (max-width: 600px) {
  .vcx { --vcx-gap: 6px; --vcx-pad: 8px; --vcx-labelw: 78px; --vcx-colw: 88px; --vcx-plus: 30px; }
  .vcx-add { width: 28px; height: 28px; font-size: 18px; }
  .vcx-slot-select.variant-select-expanded { padding: 9px 22px 8px 8px !important; font-size: 11.5px !important; }
}
.vcx { --vcx-colw: 106px; }
@media (max-width: 600px) { .vcx { --vcx-colw: 82px; } }
@media (max-width: 600px) { .vcx { --vcx-labelw: 72px; } }
.vcx-slot-price small { display: block; line-height: 1.2; }
.vcx-group-head .vcx-group-arrow, .vcx-group-head .vcx-group-name { position: static; }
.vcx-group-head .vcx-group-count { margin-right: 0; }
.vcx-group-lead { position: sticky; left: 12px; display: inline-flex; align-items: center; gap: 8px; max-width: calc(100vw - 80px); }

/* ==========================================================================
   v2.9 — Variant Detail Comparison: compact, aligned, 50% spec column
   ========================================================================== */
.vcx { --vcx-gap: 6px; --vcx-pad: 8px; --vcx-plusw: 30px; --vcx-labelpx: 50%; --vcx-colpx: 96px; }
.vcx-head,
.vcx-row {
  grid-template-columns: var(--vcx-labelpx) repeat(var(--vcx-n), var(--vcx-colpx)) var(--vcx-plus) !important;
  column-gap: var(--vcx-gap) !important;
}
.vcx-grid { min-width: 0 !important; width: max-content; min-width: 100% !important; }
/* header aligned with the rows inside the Features boxes */
.vcx-head { padding: 10px calc(var(--vcx-pad) + 9px) 8px !important; align-items: start; }
.vcx .vcx-head-label { height: auto; min-height: 1px; padding: 0; background: transparent; }
.vcx-slot { gap: 2px; }
.vcx-slot-select.variant-select-expanded { padding: 7px 20px 6px 8px !important; font-size: 11px !important; border-radius: 7px !important; }
.vcx-slot-tag { font-size: 8.5px; top: -6px; left: 7px; }
.vcx-slot-price { font-size: 11px; padding-left: 9px; }
.vcx-slot-price small { font-size: 9px; }
.vcx-add-wrap { height: 30px; }
.vcx-add { width: 26px; height: 26px; font-size: 17px; }
.vcx-cat-title { font-size: 13px; padding: 9px 12px 4px; }
.vcx-group { margin: 0 8px 5px; border-radius: 8px; }
.vcx-group-head { padding: 7px 10px; font-size: 12px; }
.vcx-group-count { font-size: 9.5px; padding: 0 5px; }
.vcx-row { padding: 4px var(--vcx-pad) !important; font-size: 11.5px; align-items: center; row-gap: 0; }
.vcx-label { font-size: 11.5px; line-height: 1.3; font-weight: 600; }
/* values start on the same line as their variant drop-down, left aligned */
.vcx-val {
  text-align: left;
  padding: 3px 0 3px 9px;
  border-left: 1px solid #e2e8f0;
  line-height: 1.3;
  font-size: 11.5px;
  align-self: stretch;
  display: flex;
  align-items: center;
}
.vcx-v-yes { font-size: 13px; }
.vcx-v-no { font-size: 12px; }
@media (max-width: 600px) {
  .vcx-row, .vcx-label, .vcx-val { font-size: 11px; }
}

/* ==========================================================================
   v2.9 — Colourful icons (same style as the Fuel / Transmission icons)
   ========================================================================== */
.specs-toggle .specs-toggle-icon {
  width: 26px !important;
  height: 26px !important;
  padding: 5px;
  box-sizing: border-box;
  border-radius: 7px;
  flex-shrink: 0;
  stroke-width: 2.2;
}
.specs-toggle:not(.variant-detail-comp-toggle) .specs-toggle-icon { background: #ecfdf5; stroke: #059669 !important; color: #059669; border: 1px solid #a7f3d0; }
.variant-detail-comp-toggle .specs-toggle-icon { background: #eef2ff; stroke: #4f46e5 !important; color: #4f46e5; border: 1px solid #c7d2fe; }
.specs-toggle-left { display: inline-flex; align-items: center; gap: 8px; }
.card-share-btn { background: #fdf2f8 !important; color: #db2777 !important; border: 1px solid #fbcfe8 !important; }
.card-share-btn svg { stroke: currentColor; }
.card-share-btn:hover { background: #db2777 !important; color: #ffffff !important; border-color: #db2777 !important; }

/* Floating share button — right edge, middle of the screen */
.floating-share-btn.card-share-btn {
  position: fixed !important;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9990;
  width: 42px !important;
  height: 46px !important;
  border-radius: 12px 0 0 12px !important;
  border-right: none !important;
  background: #db2777 !important;
  color: #ffffff !important;
  border-color: #db2777 !important;
  box-shadow: -2px 4px 14px rgba(219, 39, 119, 0.35);
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.floating-share-btn.card-share-btn:hover { width: 48px !important; background: #be185d !important; }
body.modal-open .floating-share-btn { display: none !important; }

/* ==========================================================================
   v2.9 — Ex-Showroom / On-Road (Est.) / Breakup = 47.75% / 47.75% / 4.5%
   ========================================================================== */
.pricing-section-box .card-pricing-header,
.card-pricing .card-pricing-header,
.card-pricing-header { grid-template-columns: 47.75% 47.75% 4.5% !important; }
.card-pricing-header .breakup-vert-text { font-size: 9px; letter-spacing: 0.5px; }
.card-pricing-header .breakup-vert-arrow { font-size: 8px; }
.vcx-slot-tag { white-space: nowrap; max-width: calc(100% - 12px); overflow: hidden; text-overflow: clip; line-height: 1.1; }
.vcx-slot-select.variant-select-expanded { padding-right: 16px !important; background-position: right 4px center !important; }
.vcx-row .vcx-label { padding-left: 2px; }

/* ==========================================================================
   v2.10 — Comparison: scrollable first column, 50% / >=30% columns, half-height header
   ========================================================================== */
.vcx-row .vcx-label { position: static !important; background: transparent !important; }
.vcx .vcx-head-label { position: static !important; }
.vcx-head { padding: 7px calc(var(--vcx-pad) + 9px) 3px !important; row-gap: 0; }
.vcx-slot { gap: 1px; }
.vcx-slot-select.variant-select-expanded {
  height: 24px !important;
  min-height: 0 !important;
  padding: 2px 16px 2px 7px !important;
  font-size: 11px !important;
  line-height: 18px !important;
  border-width: 1px !important;
  border-radius: 6px !important;
}
.vcx-slot-tag { top: -6px; font-size: 7.5px; padding: 0 3px; }
.vcx-slot-price { font-size: 10.5px; line-height: 13px; min-height: 13px; padding-left: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vcx-slot-price small { display: none; }
.vcx-add-wrap { height: 24px; }
.vcx-add { width: 22px; height: 22px; font-size: 15px; margin-top: 1px; }
.vcx-slot-remove { width: 15px; height: 15px; font-size: 11px; top: -7px; right: -6px; }

/* Floating share button: half width */
.floating-share-btn.card-share-btn { width: 21px !important; height: 40px !important; border-radius: 8px 0 0 8px !important; padding: 0 !important; }
.floating-share-btn.card-share-btn svg { width: 13px; height: 13px; stroke-width: 2.4; margin-left: 1px; }
.floating-share-btn.card-share-btn:hover { width: 26px !important; }
.vcx-head { padding: 5px calc(var(--vcx-pad) + 9px) 2px !important; }
.vcx-slot-price { line-height: 12px; min-height: 12px; font-size: 10px; }
.vcx-slot-select.variant-select-expanded { height: 22px !important; line-height: 16px !important; } .vcx-add-wrap { height: 22px; } .vcx-add { width: 20px; height: 20px; font-size: 14px; }

/* ==========================================================================
   v2.11 — Comparison: whole first column scrolls (no pinned titles), 40% / >=30%,
   variant drop-downs middle-aligned in their row
   ========================================================================== */
.vcx .vcx-cat-title > span,
.vcx .vcx-group-lead,
.vcx .vcx-group-head .vcx-group-arrow,
.vcx .vcx-group-head .vcx-group-name,
.vcx .vcx-row .vcx-label,
.vcx .vcx-head-label { position: static !important; left: auto !important; }
.vcx-group-lead { max-width: none; }
.vcx-head { align-items: center !important; padding-top: 6px !important; padding-bottom: 4px !important; }
.vcx-slot { justify-content: center; align-self: center; }
.vcx-add-wrap { align-self: center; align-items: center; height: auto; }
.vcx-add { margin: 0; }

/* ==========================================================================
   v2.12 — Comparison table scrolls up/down inside its own box; the variant
   selection row stays pinned at the top (and still moves sideways with columns)
   ========================================================================== */
.vcx { position: relative; }
.vcx-scroll {
  overflow: auto !important;
  max-height: min(64vh, 560px);
  min-height: 160px;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  border-radius: 12px;
}
.vcx-scroll::-webkit-scrollbar { width: 6px; height: 6px; }
.vcx-scroll::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 6px; }
.vcx .vcx-head {
  position: sticky !important;
  top: 0 !important;
  z-index: 20 !important;
  background: #f8fafc !important;
  box-shadow: 0 3px 8px -4px rgba(15, 23, 42, 0.18);
}
.vcx-vnav {
  position: absolute;
  right: 8px;
  bottom: 10px;
  z-index: 25;
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
}
.vcx-vnav-btn {
  pointer-events: auto;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #bfdbfe;
  background: rgba(255, 255, 255, 0.96);
  color: #2563eb;
  font-size: 10px;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.vcx-vnav-btn.is-visible { display: inline-flex; }
.vcx-vnav-btn:hover { background: #2563eb; color: #ffffff; border-color: #2563eb; }
@media (max-width: 600px) { .vcx-scroll { max-height: min(60vh, 500px); } }

/* ==========================================================================
   v2.13 — Compare page (/compare-cars/) + "Compare" in the footer menus
   ========================================================================== */
@media (max-width: 767px) {
  .mobile-nav-btn-home     { width: 13%; flex: 0 0 13%; max-width: 13%; }
  .mobile-nav-btn-brands   { width: 14%; flex: 0 0 14%; max-width: 14%; }
  .mobile-nav-btn-category { width: 15%; flex: 0 0 15%; max-width: 15%; }
  .mobile-nav-btn-compare  { width: 15%; flex: 0 0 15%; max-width: 15%; text-decoration: none; }
  .mobile-nav-btn-wa       { width: 22%; flex: 0 0 22%; max-width: 22%; padding: 0 2px; }
  .mobile-nav-btn-call     { width: 21%; flex: 0 0 21%; max-width: 21%; padding: 0 2px; }
  .mobile-nav-action span { font-size: 9px; }
  .mobile-nav-action svg { width: 18px; height: 18px; }
  .mobile-nav-btn-compare svg { width: 21px; height: 18px; color: #4f46e5; }
  .mobile-nav-btn-compare.is-current { background: #eef2ff; color: #4338ca; }
  .mobile-nav-square-label { font-size: 9px !important; }
}
.footer-link-group { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important; }
.footer-link-compare { gap: 6px; }
.footer-link-icon { display: inline-flex; color: #4f46e5; }
.footer-link-icon svg { width: 18px; height: 16px; }

.hm-compare-wrap { max-width: 960px; margin: 0 auto; padding: 18px 14px 120px; box-sizing: border-box; }
.hm-compare-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.hm-compare-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: #eef2ff; color: #4f46e5; border: 1px solid #c7d2fe;
}
.hm-compare-title { margin: 0; font-size: clamp(20px, 4.6vw, 28px); font-weight: 900; color: #0f172a; letter-spacing: -0.02em; line-height: 1.15; }
.hm-compare-sub { margin: 3px 0 0; font-size: 13px; color: #64748b; }
.hm-compare-picker { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.hm-compare-field.variant-border-field { position: relative; flex: 1 1 320px; max-width: 520px; margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
.hm-compare-field-tag { position: absolute; top: -7px; left: 10px; z-index: 4; padding: 0 5px; background: #ffffff; font-size: 9.5px; font-weight: 800; color: #2563eb; text-transform: uppercase; letter-spacing: 0.4px; }
.hm-compare-select.variant-select-expanded { width: 100% !important; box-sizing: border-box; height: 42px; padding: 8px 32px 8px 12px !important; border: 1.5px solid #93c5fd !important; border-radius: 10px !important; background-color: #ffffff !important; font-size: 14px !important; font-weight: 800 !important; color: #0f172a !important; }
.hm-compare-model-link { font-size: 13px; font-weight: 800; color: #2563eb; text-decoration: none; white-space: nowrap; }
.hm-compare-model-link:hover { text-decoration: underline; }
.hm-compare-section .variant-comp-section-box { margin: 0; }
.hm-compare-section .vcx-scroll { max-height: min(70vh, 720px); }
.hm-compare-empty { padding: 24px; text-align: center; border: 1px dashed #cbd5e1; border-radius: 14px; background: #ffffff; color: #475569; }
@media (max-width: 600px) {
  .hm-compare-wrap { padding: 14px 10px 110px; }
  .hm-compare-icon { width: 38px; height: 38px; }
  .hm-compare-sub { font-size: 12px; }
}

/* ==========================================================================
   v2.14 — Compare Cars (/compare-cars/)
   ========================================================================== */
.cc-box { border: 1.5px solid #c7d2fe; border-radius: 14px; background: #ffffff; overflow: visible; }
.cc-box-head { display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: #f5f7ff; border-bottom: 1px solid #e0e7ff; border-radius: 14px 14px 0 0; }
.cc-box-icon { width: 30px; height: 30px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: #eef2ff; color: #4f46e5; border: 1px solid #c7d2fe; flex-shrink: 0; }
.cc-box-icon svg { width: 20px; height: 18px; }
.cc-box-title { margin: 0; font-size: 15px; font-weight: 900; color: #312e81; }
.cc-box-body { padding: 10px 10px 12px; }
.cc-box .variant-comp-filter-bar { margin-bottom: 8px; }
.cc-hint { margin: 10px 9px; padding: 22px 12px; border: 1px dashed #c7d2fe; border-radius: 10px; background: #f8faff; text-align: center; color: #475569; font-size: 12.5px; font-weight: 600; }

/* car selector button in each column */
.cc-slot-field { position: relative; }
.cc-slot-btn {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  width: 100%; min-height: 38px; box-sizing: border-box;
  margin: 0; padding: 4px 22px 4px 8px;
  border: 1.5px solid #93c5fd; border-radius: 8px; background: #ffffff;
  cursor: pointer; text-align: left; position: relative; font: inherit;
  -webkit-tap-highlight-color: transparent;
}
.cc-slot-btn:hover { border-color: #2563eb; }
.cc-slot-btn.is-filled { border-color: #6366f1; background: #fafaff; }
.cc-slot-model { font-size: 11.5px; font-weight: 900; color: #0f172a; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.cc-slot-variant { font-size: 10.5px; font-weight: 700; color: #4f46e5; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.cc-slot-empty { font-size: 11.5px; font-weight: 800; color: #2563eb; }
.cc-slot-caret { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); font-size: 10px; color: #2563eb; }
.cc-root .vcx-slot-tag { background: #f8fafc; }
.cc-root .vcx-head { align-items: center !important; }

/* Brand → Model → Variant picker (expanding list) */
.cc-picker {
  position: fixed; z-index: 100001; box-sizing: border-box;
  flex-direction: column;
  background: #ffffff; border: 1px solid #cbd5e1; border-radius: 12px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22), 0 3px 8px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  animation: ccPickIn 0.16s ease-out;
}
@keyframes ccPickIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.cc-picker-head { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; background: #f5f7ff; border-bottom: 1px solid #e0e7ff; font-size: 13px; color: #312e81; }
.cc-picker-close { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #e0e7ff; color: #312e81; font-size: 17px; line-height: 1; cursor: pointer; }
.cc-picker-search { padding: 8px 10px; border-bottom: 1px solid #f1f5f9; }
.cc-picker-search input { width: 100%; box-sizing: border-box; padding: 7px 10px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 13px; }
.cc-tree { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 4px 0 8px; flex: 1 1 auto; min-height: 0; }
.cc-node {
  display: flex; align-items: center; gap: 8px; width: 100%; box-sizing: border-box;
  margin: 0; padding: 9px 12px; border: 0; background: transparent; cursor: pointer;
  font: inherit; text-align: left; color: #0f172a; -webkit-tap-highlight-color: transparent;
}
.cc-node:hover { background: #f5f7ff; }
.cc-arrow { width: 12px; font-size: 11px; color: #4f46e5; transition: transform 0.2s ease; display: inline-block; }
.is-open > .cc-node > .cc-arrow { transform: rotate(90deg); }
.cc-node-name { flex: 1; min-width: 0; font-weight: 800; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-node-count { font-size: 10.5px; font-weight: 700; color: #64748b; white-space: nowrap; }
.cc-node-price { font-size: 11.5px; font-weight: 800; color: #0f172a; white-space: nowrap; }
.cc-brand + .cc-brand { border-top: 1px solid #f1f5f9; }
.cc-children { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.22s ease; }
.cc-children > * { overflow: hidden; min-height: 0; }
.cc-children { overflow: hidden; }
.is-open > .cc-children { grid-template-rows: 1fr; }
.cc-children { grid-template-rows: none; display: none; }
.is-open > .cc-children { display: block; animation: ccExpand 0.2s ease-out; }
@keyframes ccExpand { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.cc-model > .cc-node { padding-left: 30px; }
.cc-model > .cc-node .cc-node-name { font-weight: 700; font-size: 12.5px; }
.cc-model.is-open > .cc-node { background: #eef2ff; color: #3730a3; }
.cc-brand.is-open > .cc-node { background: #f8faff; color: #312e81; }
.cc-variant-btn { padding-left: 50px; font-size: 12px; border-left: 3px solid transparent; }
.cc-variant-btn .cc-node-name { font-weight: 600; font-size: 12px; }
.cc-variant-btn:hover { background: #eff6ff; border-left-color: #93c5fd; }
.cc-variant-btn.is-selected { background: #2563eb; color: #ffffff; border-left-color: #1d4ed8; }
.cc-variant-btn.is-selected .cc-node-price { color: #ffffff; }
@media (max-width: 600px) {
  .cc-box-body { padding: 8px 6px 10px; }
  .cc-node { padding: 10px 12px; }
  .cc-model > .cc-node { padding-left: 26px; }
  .cc-variant-btn { padding-left: 42px; }
}

/* header "Compare" link */
.header-nav-compare svg { flex-shrink: 0; }
.screen-reader-only-head { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cc-box-sub { margin: 1px 0 0; font-size: 11.5px; color: #64748b; font-weight: 600; }
.cc-box .variant-comp-pills { display: flex; flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; gap: 6px; }
.cc-box .variant-comp-pills::-webkit-scrollbar { display: none; }
.cc-box .variant-comp-filter-btn { flex: 0 0 auto; white-space: nowrap; }
.cc-box .comp-btn-toggle-all { display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 5px; white-space: nowrap; }
.cc-box .comp-scroll-arrow { display: none; }
.hm-compare-wrap { padding-top: 14px; }
.cc-box .variant-comp-pills-wrap { position: relative; }
.cc-box .comp-scroll-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 11;
  width: 26px; height: 26px; padding: 0; border-radius: 50%;
  border: 1px solid #cbd5e1; background: #ffffff; color: #0f172a;
  font-size: 13px; font-weight: 800; line-height: 1; cursor: pointer;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
  align-items: center; justify-content: center;
}
.cc-box .comp-scroll-left { left: 0; }
.cc-box .comp-scroll-right { right: 0; }

/* ==========================================================================
   v2.15 — "On-Road in <city>" drop-down in the price box
   ========================================================================== */
.card-pricing-header .price-block.on-road { gap: 2px; }
.onroad-city-wrap { position: relative; display: inline-flex; max-width: 100%; margin: 1px 0 2px; }
.onroad-city-select {
  appearance: none; -webkit-appearance: none;
  max-width: 100%;
  margin: 0; padding: 2px 20px 2px 8px;
  border: 1px solid #86efac; border-radius: 999px;
  background: #f0fdf4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 6px center;
  color: #047857; font-size: 10.5px; font-weight: 800; line-height: 16px;
  text-overflow: ellipsis; white-space: nowrap; overflow: hidden; cursor: pointer;
}
.onroad-city-wrap .hm-dd-hit { border-radius: 999px; }
.onroad-in-label { margin-bottom: 0; }
.hm-dd-hit {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; padding: 0; border: 0; background: transparent; color: transparent;
  cursor: pointer; z-index: 3; -webkit-tap-highlight-color: transparent;
}

/* ==========================================================================
   v2.16 — Price section: "On-Road in" + city inline; Breakup as a slim
   full-width bar at the bottom (≈10% of the section height), text at right
   ========================================================================== */
.pricing-section-box .card-pricing-header,
.card-pricing .card-pricing-header,
.card-pricing-header {
  grid-template-columns: 50% 50% !important;
  grid-template-rows: auto auto;
}
.card-pricing-header .price-block { padding: 9px 6px 8px; }
/* label + city drop-down on one line, price below */
.card-pricing-header .price-block.on-road {
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 5px;
  row-gap: 3px;
}
.card-pricing-header .price-block.on-road .onroad-in-label { width: auto !important; flex: 0 0 auto; margin: 0; }
.card-pricing-header .price-block.on-road .onroad-city-wrap { flex: 0 1 auto; min-width: 0; margin: 0; }
.card-pricing-header .price-block.on-road .price-block-val { flex: 0 0 100%; }
.card-pricing-header .onroad-city-select { font-size: 10px; padding: 1px 18px 1px 7px; line-height: 15px; }

/* Breakup bar */
.card-pricing-header .price-breakup-btn,
.card-pricing-header .price-breakup-partition,
.card-pricing-header .price-breakup-vertical-btn {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  flex-direction: row !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 4px !important;
  width: 100% !important;
  min-height: 0 !important;
  height: 16px !important;
  padding: 0 10px !important;
  border: none !important;
  border-left: none !important;
  border-top: 1px solid #fde68a !important;
  border-radius: 0 !important;
}
.card-pricing-header .breakup-vert-text {
  writing-mode: horizontal-tb !important;
  transform: none !important;
  font-size: 9.5px !important;
  letter-spacing: 0.6px !important;
  line-height: 1 !important;
}
.card-pricing-header .breakup-vert-arrow { font-size: 8px !important; order: 2; }
.card-pricing-header .price-breakup-btn,
.card-pricing-header .price-breakup-partition,
.card-pricing-header .price-breakup-vertical-btn {
  height: 8px !important;
  position: relative;
  overflow: visible !important;
  gap: 3px !important;
}
/* bigger invisible tap area so the slim bar stays easy to tap */
.card-pricing-header .price-breakup-btn::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -8px; bottom: -6px;
}
.card-pricing-header .breakup-vert-text { font-size: 7px !important; font-weight: 900 !important; letter-spacing: 0.5px !important; line-height: 8px !important; }
.card-pricing-header .breakup-vert-arrow { font-size: 6px !important; line-height: 8px !important; }

/* ==========================================================================
   v2.17 — Breakup bar only under the On-Road half, text under the price
   ========================================================================== */
.card-pricing-header .price-block:not(.on-road) { grid-column: 1; grid-row: 1 / span 2; }
.card-pricing-header .price-block.on-road { grid-column: 2; grid-row: 1; padding-bottom: 4px; }
.card-pricing-header .price-breakup-btn,
.card-pricing-header .price-breakup-partition,
.card-pricing-header .price-breakup-vertical-btn {
  grid-column: 2 !important;
  grid-row: 2 !important;
  justify-content: center !important;
  border-top: 1px solid #fde68a !important;
  border-left: 1px dashed #cbd5e1 !important;
  border-radius: 0 0 11px 0 !important;
}

/* Contact Us page */
.hm-contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 0 0 18px; }
.hm-contact-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; text-decoration: none !important; color: #ffffff !important; font-size: 14px; }
.hm-contact-card strong { display: block; font-size: 15px; font-weight: 900; }
.hm-contact-card small { display: block; font-size: 12px; opacity: 0.9; font-weight: 600; }
.hm-contact-call { background: #0284c7; }
.hm-contact-wa { background: #16a34a; }
.hm-contact-ic { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.18); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hm-contact-card:hover { filter: brightness(1.07); }

/* v2.18 — lead forms: hidden spam trap + consent line */
.hm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.hm-form-consent { margin: 6px 0 0; font-size: 11px; color: #64748b; text-align: center; }
.hm-form-consent a { color: #2563eb; text-decoration: underline; }

/* ==========================================================================
   v2.19 — Location (city) picker at the right end of the header
   ========================================================================== */
.header-right-tools { display: flex !important; margin-left: auto; flex-shrink: 0; }
.header-city {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 4px 3px 9px;
  border: 1px solid #a7f3d0; border-radius: 999px; background: #ecfdf5; color: #047857;
  max-width: 46vw;
}
.header-city-pin { flex-shrink: 0; color: #059669; }
.header-city-field { position: relative; display: inline-flex; min-width: 0; }
.header-city .onroad-city-select {
  appearance: none; -webkit-appearance: none;
  border: 0; border-radius: 999px; margin: 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 6px center;
  padding: 4px 22px 4px 2px;
  font-size: 13px; font-weight: 800; color: #065f46; line-height: 18px;
  max-width: 100%; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; cursor: pointer;
}
.header-city:hover { border-color: #34d399; background: #d1fae5; }
@media (max-width: 767px) {
  .header-city { padding: 2px 2px 2px 7px; gap: 2px; }
  .header-city-pin { width: 16px; height: 16px; }
  .header-city .onroad-city-select { font-size: 12px; padding: 3px 20px 3px 1px; }
}
/* price box: "On-Road in <City>" is now a single label */
.card-pricing-header .price-block.on-road .onroad-in-label { white-space: nowrap; }
.onroad-city-name { color: #047857; }
.card-pricing-header .price-block.on-road .onroad-in-label { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
