/*
Theme Name: AUTOLOOKR Vehicle Catalog & Pricing Portal
Theme URI: https://homithing.com/
Author: AUTOLOOKR 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.50.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; }

/* ==========================================================================
 * v2.20 — Car Brands / Car Categories pages (/car-brands/, /car-categories/)
 * One shared tile design so both pages look the same.
 * ========================================================================== */
.hm-dir-wrap, .bc-wrap { max-width: 1240px; margin: 0 auto; padding: 16px 16px 110px; box-sizing: border-box; }
.hm-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #64748b; margin-bottom: 12px; }
.hm-crumbs a { color: #2563eb; }
.hm-crumbs a:hover { text-decoration: underline; }
.hm-crumbs span:last-child { color: #0f172a; font-weight: 700; }
.hm-dir-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.hm-dir-title, .bc-title { font-size: clamp(22px, 4.6vw, 30px); font-weight: 900; color: #0f172a; line-height: 1.2; letter-spacing: -0.02em; }
.hm-dir-sub { margin-top: 4px; font-size: 13.5px; color: #64748b; font-weight: 500; max-width: 640px; }
.hm-dir-switch { font-size: 13px; font-weight: 800; color: #2563eb; padding: 8px 14px; border: 1px solid #bfdbfe; background: #eff6ff; border-radius: 999px; white-space: nowrap; }
.hm-dir-switch:hover { background: #dbeafe; }
.hm-dir-intro { font-size: 14px; color: #334155; line-height: 1.65; margin-bottom: 14px; }
.hm-dir-search { position: relative; margin-bottom: 16px; max-width: 520px; }
.hm-dir-search svg { position: absolute; left: 14px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); color: #94a3b8; pointer-events: none; }
.hm-dir-search-input { width: 100%; height: 46px; padding: 0 14px 0 42px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; font-size: 14px; font-weight: 600; color: #0f172a; outline: none; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.hm-dir-search-input:focus { border-color: #93c5fd; box-shadow: 0 0 0 3px rgba(37,99,235,.12); }

.hm-dir-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 480px)  { .hm-dir-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 768px)  { .hm-dir-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1024px) { .hm-dir-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.hm-dir-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 14px 8px 12px; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; box-shadow: 0 1px 2px rgba(15,23,42,.04); transition: border-color .15s, box-shadow .15s, transform .15s; min-width: 0; }
.hm-dir-tile:hover { border-color: #93c5fd; box-shadow: 0 8px 22px rgba(37,99,235,.12); transform: translateY(-2px); }
.hm-dir-tile[hidden] { display: none; }
.hm-dir-tile.is-empty { opacity: .62; }
.hm-dir-icon { display: flex; align-items: center; justify-content: center; width: 100%; height: 60px; margin-bottom: 6px; }
.hm-dir-icon.is-logo img { max-width: 72%; max-height: 46px; width: auto; height: auto; object-fit: contain; }
.hm-dir-icon.is-car img { width: 100%; max-width: 132px; height: 60px; object-fit: contain; }
.hm-dir-car-svg { width: 46px; height: 46px; color: #2563eb; }
.hm-dir-fallback { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: #eff6ff; color: #1d4ed8; font-weight: 900; font-size: 15px; }
.hm-dir-name { font-size: 13.5px; font-weight: 800; color: #0f172a; line-height: 1.25; overflow-wrap: anywhere; }
.hm-dir-count { font-size: 11.5px; font-weight: 600; color: #64748b; }
.hm-dir-empty { margin-top: 18px; text-align: center; color: #64748b; font-weight: 600; }
@media (max-width: 479px) {
  .hm-dir-tile { padding: 12px 6px 10px; }
  .hm-dir-icon { height: 52px; }
  .hm-dir-icon.is-logo img { max-height: 40px; }
  .hm-dir-icon.is-car img { height: 52px; }
  .hm-dir-name { font-size: 12.5px; }
  .hm-dir-count { font-size: 11px; }
}

/* ==========================================================================
 * v2.20 — Brand listing page (/<brand>-cars/): CarWale-style model cards
 * ========================================================================== */
.bc-hero { display: flex; align-items: center; gap: 14px; padding: 16px; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; margin-bottom: 14px; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.bc-hero-logo { flex: 0 0 64px; height: 64px; display: flex; align-items: center; justify-content: center; border: 1px solid #eef2f7; border-radius: 14px; background: #fff; }
.bc-hero-logo img { max-width: 50px; max-height: 44px; object-fit: contain; }
.bc-summary { margin-top: 4px; font-size: 13.5px; color: #475569; line-height: 1.55; }

.bc-layout { display: block; }
@media (min-width: 1024px) { .bc-layout { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 20px; align-items: start; } }

/* Filters panel */
.bc-filters { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; display: flex; flex-direction: column; }
.bc-filters-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid #eef2f7; }
.bc-filters-head h2 { font-size: 16px; font-weight: 900; color: #0f172a; margin-right: auto; }
.bc-clear { border: 0; background: none; color: #2563eb; font-size: 12.5px; font-weight: 800; cursor: pointer; padding: 4px; }
.bc-sheet-close { display: none; border: 0; background: #f1f5f9; width: 32px; height: 32px; border-radius: 50%; font-size: 20px; line-height: 1; color: #334155; cursor: pointer; }
.bc-filters-body { padding: 4px 16px 10px; overflow-y: auto; }
.bc-group { border: 0; padding: 12px 0; border-bottom: 1px dashed #e2e8f0; margin: 0; min-width: 0; }
.bc-group:last-child { border-bottom: 0; }
.bc-group legend { font-size: 12px; font-weight: 800; color: #475569; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; padding: 0; }
.bc-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.bc-chip { position: relative; cursor: pointer; }
.bc-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.bc-chip span { display: inline-flex; align-items: center; gap: 5px; padding: 7px 11px; border: 1px solid #e2e8f0; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: #334155; background: #fff; transition: all .12s; }
.bc-chip span em { font-style: normal; font-size: 10.5px; font-weight: 800; color: #94a3b8; }
.bc-chip:hover span { border-color: #93c5fd; }
.bc-chip input:checked + span { background: #eff6ff; border-color: #2563eb; color: #1d4ed8; }
.bc-chip input:checked + span em { color: #2563eb; }
.bc-chip input:focus-visible + span { outline: 2px solid #2563eb; outline-offset: 2px; }
.bc-filters-foot { display: none; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid #eef2f7; }
.bc-apply { width: 100%; height: 46px; border: 0; border-radius: 12px; background: #2563eb; color: #fff; font-size: 14.5px; font-weight: 800; cursor: pointer; }
.bc-sheet-backdrop { position: fixed; inset: 0; background: rgba(15,23,42,.45); z-index: 1190; }
.bc-sheet-backdrop[hidden] { display: none; }

@media (min-width: 1024px) {
  .bc-filters { position: sticky; top: calc(var(--hm-header-h, 72px) + 12px); max-height: calc(100vh - var(--hm-header-h, 72px) - 24px); }
  .bc-filter-btn { display: none !important; }
}
@media (max-width: 1023px) {
  .bc-filters { position: fixed; z-index: 1200; left: 0; right: 0; bottom: 0; max-height: 86vh; border-radius: 18px 18px 0 0; border: 0; box-shadow: 0 -12px 40px rgba(15,23,42,.25); transform: translateY(105%); transition: transform .25s ease; visibility: hidden; }
  .bc-filters.is-open { transform: none; visibility: visible; }
  .bc-sheet-close { display: inline-flex; align-items: center; justify-content: center; }
  .bc-filters-foot { display: block; }
  body.bc-sheet-open { overflow: hidden; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .bc-filters { left: auto; top: 0; width: 380px; max-height: none; border-radius: 18px 0 0 18px; transform: translateX(105%); }
  .bc-filters.is-open { transform: none; }
}

/* Results bar */
.bc-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding: 8px 0; background: #f8fafc; }
@media (max-width: 1023px) { .bc-bar { position: sticky; top: var(--hm-header-h, 64px); z-index: 40; } }
.bc-filter-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border: 1px solid #cbd5e1; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 800; color: #0f172a; cursor: pointer; }
.bc-filter-btn svg { width: 16px; height: 16px; }
.bc-filter-badge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #2563eb; color: #fff; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; }
.bc-filter-badge[hidden] { display: none; }
.bc-count { font-size: 13px; color: #64748b; font-weight: 600; margin-right: auto; }
.bc-count b { color: #0f172a; }
.bc-sort { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: #64748b; }
.bc-sort-select { height: 40px; padding: 0 30px 0 12px; border: 1px solid #cbd5e1; border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 11px center; -webkit-appearance: none; appearance: none; font-size: 13px; font-weight: 700; color: #0f172a; cursor: pointer; }
@media (max-width: 479px) {
  .bc-sort > span { display: none; }
  .bc-count { font-size: 12px; }
  .bc-sort-select { max-width: 150px; }
}
.bc-active { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 12px; }
.bc-active[hidden] { display: none; }
.bc-active button { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid #bfdbfe; background: #eff6ff; color: #1d4ed8; border-radius: 999px; font-size: 12px; font-weight: 700; cursor: pointer; }

/* Cards grid: 1 per row on phones, 2-3 on tablet / desktop */
.bc-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 640px)  { .bc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 900px) and (max-width: 1023px) { .bc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .bc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.bc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden; box-shadow: 0 1px 3px rgba(15,23,42,.05); transition: box-shadow .18s, transform .18s, border-color .18s; min-width: 0; }
.bc-card:hover { box-shadow: 0 12px 28px rgba(15,23,42,.10); border-color: #cbd5e1; transform: translateY(-2px); }
.bc-card[hidden] { display: none; }
.bc-media { position: relative; display: block; aspect-ratio: 16 / 9; background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%); overflow: hidden; }
.bc-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.bc-card:hover .bc-media img { transform: scale(1.03); }
.bc-badge { position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 999px; background: #f59e0b; color: #fff; font-size: 10.5px; font-weight: 900; letter-spacing: .02em; text-transform: uppercase; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.bc-body-tag { position: absolute; left: 10px; bottom: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(15,23,42,.72); color: #fff; font-size: 10.5px; font-weight: 700; backdrop-filter: blur(4px); }
.bc-info { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; }
.bc-name { font-size: 17px; font-weight: 800; line-height: 1.3; color: #0f172a; letter-spacing: -.01em; }
.bc-name a:hover { color: #2563eb; }
.bc-price { margin-top: 6px; }
.bc-price-val { font-size: 19px; font-weight: 900; color: #0f172a; letter-spacing: -.01em; }
.bc-star { color: #94a3b8; font-weight: 700; margin-left: 1px; }
.bc-price-note { display: block; font-size: 11.5px; color: #64748b; font-weight: 600; margin-top: 1px; }
.bc-onroad { margin-top: 6px; font-size: 12.5px; color: #475569; font-weight: 600; }
.bc-onroad-val { color: #047857; font-weight: 800; }
.bc-specs { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 10px; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid #f1f5f9; }
.bc-specs li { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #334155; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bc-specs svg { flex: 0 0 15px; width: 15px; height: 15px; fill: none; stroke: #64748b; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bc-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.bc-meta span { padding: 3px 8px; border-radius: 6px; background: #f1f5f9; color: #475569; font-size: 11px; font-weight: 700; }
.bc-meta .bc-ncap { background: #ecfdf5; color: #047857; }
.bc-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 14px; }
.bc-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 12px; border-radius: 10px; font-size: 13px; font-weight: 800; cursor: pointer; text-align: center; white-space: nowrap; transition: background .15s, border-color .15s; }
.bc-btn-primary { border: 0; background: #2563eb; color: #fff; box-shadow: 0 4px 12px rgba(37,99,235,.25); }
.bc-btn-primary:hover { background: #1d4ed8; }
.bc-btn-ghost { border: 1px solid #cbd5e1; background: #fff; color: #0f172a; }
.bc-btn-ghost:hover { border-color: #2563eb; color: #2563eb; }
.bc-compare { margin-top: 10px; font-size: 12.5px; font-weight: 700; color: #2563eb; align-self: flex-start; }
.bc-compare:hover { text-decoration: underline; }
.bc-empty { text-align: center; padding: 36px 16px; background: #fff; border: 1px dashed #cbd5e1; border-radius: 16px; color: #475569; font-weight: 600; }
.bc-empty[hidden] { display: none; }
.bc-empty .bc-btn { flex: none; margin-top: 12px; width: auto; display: inline-flex; padding: 0 18px; }
@media (max-width: 380px) {
  .bc-btn { font-size: 12px; padding: 0 8px; }
  .bc-specs li { font-size: 12px; }
}
.bc-specs li { white-space: normal; line-height: 1.3; align-items: flex-start; }
.bc-specs li svg { margin-top: 1px; }
.mobile-nav-btn-brands.is-current, .mobile-nav-btn-category.is-current { background: #eff6ff; color: #1d4ed8; }
.bc-group legend + .bc-chips { margin-top: 0; }
body.hm-brand-listing .viewing-model-pill-container, body.hm-directory .viewing-model-pill-container { display: none !important; }

/* ==========================================================================
 * v2.21 — Brand page search bar (sticky with the Filters / Sort row)
 * ========================================================================== */
.bc-toolbar { background: #f8fafc; padding: 8px 0 2px; margin-bottom: 10px; }
@media (max-width: 1023px) {
  .bc-bar { position: static; }
  .bc-toolbar { position: sticky; top: var(--hm-header-h, 64px); z-index: 40; margin-left: -16px; margin-right: -16px; padding: 8px 16px 2px; box-shadow: 0 6px 12px -10px rgba(15,23,42,.25); }
}
.bc-toolbar .bc-bar { margin-bottom: 0; padding: 8px 0; background: transparent; }
.bc-search { position: relative; }
.bc-search-icon { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: #64748b; pointer-events: none; }
.bc-search-input { width: 100%; height: 46px; padding: 0 44px 0 42px; border: 1px solid #cbd5e1; border-radius: 12px; background: #fff; font-size: 14.5px; font-weight: 600; color: #0f172a; outline: none; -webkit-appearance: none; appearance: none; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.bc-search-input::-webkit-search-cancel-button { display: none; }
.bc-search-input::placeholder { color: #94a3b8; font-weight: 500; }
.bc-search-input:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.14); }
.bc-search-clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 0; border-radius: 50%; background: #f1f5f9; color: #334155; font-size: 18px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.bc-search-clear[hidden] { display: none; }
.bc-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; box-shadow: 0 16px 36px rgba(15,23,42,.16); padding: 6px; max-height: 60vh; overflow-y: auto; }
.bc-suggest[hidden] { display: none; }
.bc-suggest-item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; width: 100%; padding: 10px; border: 0; border-radius: 8px; background: none; text-align: left; font-size: 13.5px; color: #0f172a; cursor: pointer; }
.bc-suggest-item:hover, .bc-suggest-item:focus { background: #f1f5f9; outline: none; }
.bc-sg-tag { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 2px 7px; border-radius: 6px; background: #eff6ff; color: #1d4ed8; }
.bc-suggest-item.is-model .bc-sg-tag { background: #ecfdf5; color: #047857; }
.bc-sg-text { font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bc-sg-sub { font-size: 11.5px; font-weight: 600; color: #64748b; white-space: nowrap; }
.bc-suggest-none { padding: 12px 10px; font-size: 13px; color: #64748b; font-weight: 600; }
.bc-chip.is-zero span { opacity: .45; }
.bc-chip.is-zero { pointer-events: none; }
@media (min-width: 1024px) { .bc-toolbar { padding-top: 0; } }

/* ==========================================================================
 * v2.22 — "Reset Filter" inside the search bar; count removed; category pages
 * ========================================================================== */
.bc-search-reset { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 11px; border-radius: 8px; background: #f1f5f9; color: #0f172a; border: 1px solid #cbd5e1; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.bc-search-reset:hover { background: #fee2e2; color: #b91c1c; border-color: #fca5a5; }
.bc-search-reset:active { transform: translateY(-50%) scale(.97); }
.bc-search-reset .reset-x { font-size: 12px; font-weight: 900; color: #ef4444; }
.bc-search-reset[hidden] { display: none; }
.bc-search-input.has-reset { padding-right: 128px; }
.bc-bar { justify-content: space-between; }
.bc-bar .bc-sort { margin-left: auto; }
@media (min-width: 1024px) {
  .bc-toolbar { display: flex; align-items: center; gap: 12px; }
  .bc-toolbar .bc-search { flex: 1; min-width: 0; }
  .bc-toolbar .bc-bar { padding: 0; flex: 0 0 auto; }
}

/* ==========================================================================
 * v2.23 — Model page (/<brand>-cars/<model>/): use the full width on tablet / desktop.
 * Same card, same content — only arranged in two columns:
 *   left  = photos, then Key Specifications
 *   right = variant / fuel / transmission, price box, test drive, Get Offer / Call
 *   full width below = Variant Detail Comparison
 * Phones: the column wrappers disappear (display: contents) and the original order is kept.
 * ========================================================================== */
.vehicle-card.is-single-page > .sv-col { display: contents; }
@media (max-width: 767px) {
  .vehicle-card.is-single-page > .card-header { order: 0; }
  .vehicle-card.is-single-page .card-slider { order: 1; }
  .vehicle-card.is-single-page .card-config { order: 2; }
  .vehicle-card.is-single-page .pricing-section-box { order: 3; }
  .vehicle-card.is-single-page .specs-section-box { order: 4; }
  .vehicle-card.is-single-page > .variant-comp-section-box,
  .vehicle-card.is-single-page > .vcx { order: 5; }
  .vehicle-card.is-single-page .schedule-test-drive-card { order: 6; }
  .vehicle-card.is-single-page .card-actions { order: 7; }
}
@media (min-width: 768px) {
  .single-vehicle-main-wrapper { max-width: 1240px !important; padding: 8px 20px 48px !important; }
  .single-vehicle-card-wrapper { max-width: none; }
  .vehicle-card.is-single-page {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    grid-template-areas: "header header" "media info" "vcx vcx";
    align-items: start;
  }
  .vehicle-card.is-single-page > .card-header { grid-area: header; }
  .vehicle-card.is-single-page > .sv-col { display: flex; flex-direction: column; min-width: 0; }
  .vehicle-card.is-single-page > .sv-col-media { grid-area: media; padding-bottom: 12px; }
  .vehicle-card.is-single-page > .sv-col-info { grid-area: info; padding: 0 6px 12px 14px; }
  .vehicle-card.is-single-page > .variant-comp-section-box,
  .vehicle-card.is-single-page > .vcx { grid-area: vcx; }
  .vehicle-card.is-single-page .sv-col-media .card-slider { border-radius: 0 14px 14px 0; }
  .vehicle-card.is-single-page .sv-col-media .specs-section-box { margin-top: 12px; }
  .vehicle-card.is-single-page .sv-col-info .card-actions { margin-top: auto; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .vehicle-card.is-single-page { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
/* v2.23: tablet header — keep menu + city picker on one line without sideways scrolling
   (About Us / Privacy Policy stay available in the ☰ menu and footer) */
@media (min-width: 768px) and (max-width: 1199px) {
  .header-desktop-nav .header-nav-link[href*="about-us"],
  .header-desktop-nav .header-nav-link[href*="privacy-policy"] { display: none; }
}
@media (min-width: 768px) and (max-width: 900px) {
  .header-desktop-nav .header-nav-btn { padding-left: 10px; padding-right: 10px; }
}

/* ==========================================================================
 * v2.24 — Home page (front-page.php) + search / filters on model pages
 * ========================================================================== */
.hm-home { padding-bottom: 20px; }
.hm-home-hero { background: radial-gradient(120% 140% at 0% 0%, #1e3a8a 0%, #2563eb 55%, #4f46e5 100%); color: #fff; }
.hm-home-hero-inner { max-width: 1240px; margin: 0 auto; padding: 34px 16px 30px; box-sizing: border-box; }
.hm-home-title { font-size: clamp(24px, 5.2vw, 40px); font-weight: 900; line-height: 1.15; letter-spacing: -0.02em; max-width: 720px; }
.hm-home-sub { margin-top: 10px; font-size: clamp(14px, 2.2vw, 16px); line-height: 1.55; color: #dbeafe; max-width: 680px; font-weight: 500; }
.hm-home-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hm-home-btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid rgba(255,255,255,.45); color: #fff; font-size: 14px; font-weight: 800; background: rgba(255,255,255,.08); }
.hm-home-btn:hover { background: rgba(255,255,255,.18); }
.hm-home-btn.is-primary { background: #fff; color: #1d4ed8; border-color: #fff; }
.hm-home-btn.is-primary:hover { background: #eff6ff; }
.hm-home-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 22px 0 0; padding: 0; }
.hm-home-stats li { display: flex; align-items: baseline; gap: 6px; }
.hm-home-stats b { font-size: 22px; font-weight: 900; }
.hm-home-stats span { font-size: 12.5px; color: #c7d2fe; font-weight: 600; }
.hm-home-section { max-width: 1240px; margin: 0 auto; padding: 22px 16px 0; box-sizing: border-box; }
.hm-home-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.hm-home-section-head h2, .bc-section-title { font-size: clamp(19px, 3.6vw, 24px); font-weight: 900; color: #0f172a; letter-spacing: -0.01em; }
.hm-home-section-head a { font-size: 13px; font-weight: 800; color: #2563eb; white-space: nowrap; }
.hm-home-section-head a:hover { text-decoration: underline; }
.hm-home .bc-wrap.is-all { padding-top: 26px; scroll-margin-top: calc(var(--hm-header-h, 64px) + 8px); }
.bc-section-head { margin-bottom: 12px; }
.bc-section-head .bc-summary { margin-top: 2px; }
.bc-more-wrap { display: flex; justify-content: center; margin-top: 18px; }
.bc-more-wrap[hidden] { display: none; }
.bc-more { flex: none; min-width: 220px; height: 46px; }
.bc-more-left { color: #64748b; font-weight: 700; margin-left: 4px; }

/* Finder on model pages: search + Filters button; the filters open as a drawer on every screen size */
.bc-wrap.is-finder { max-width: none; padding: 0; margin: 0 0 12px; }
.bc-wrap.is-finder .bc-toolbar { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; background: transparent; box-shadow: none; position: static; }
.bc-wrap.is-finder .bc-search { flex: 1; min-width: 0; }
.bc-wrap.is-finder .bc-bar { padding: 0; margin: 0; flex: 0 0 auto; }
.bc-wrap.is-finder .bc-filter-btn { display: inline-flex !important; height: 46px; border-radius: 12px; }
.bc-wrap.is-finder .bc-active { display: none !important; }
.bc-wrap.is-finder .bc-filters { position: fixed; z-index: 1200; top: 0; right: 0; bottom: 0; left: auto; width: min(400px, 100vw); max-height: none; border-radius: 18px 0 0 18px; border: 0; box-shadow: -12px 0 40px rgba(15,23,42,.25); transform: translateX(105%); transition: transform .25s ease; visibility: hidden; }
.bc-wrap.is-finder .bc-filters.is-open { transform: none; visibility: visible; }
.bc-wrap.is-finder .bc-sheet-close { display: inline-flex; align-items: center; justify-content: center; }
.bc-wrap.is-finder .bc-filters-foot { display: block; }
@media (max-width: 639px) {
  .bc-wrap.is-finder .bc-filters { top: auto; left: 0; width: auto; max-height: 86vh; border-radius: 18px 18px 0 0; transform: translateY(105%); }
  .bc-wrap.is-finder .bc-filter-btn { padding: 0 12px; }
}
body.bc-sheet-open { overflow: hidden; }
.bc-wrap.is-finder .bc-grid, .bc-grid[hidden] { display: none !important; }

/* ==========================================================================
 * v2.25 — Compact home banner; model pages use the brand-page layout
 * ========================================================================== */
.hm-home-hero-inner { padding: 18px 16px 16px; display: grid; grid-template-columns: 1fr; gap: 10px 24px; align-items: center; }
.hm-home-title { font-size: clamp(20px, 3.6vw, 30px); }
.hm-home-sub { margin-top: 4px; font-size: 13.5px; }
.hm-home-cta { margin-top: 0; gap: 8px; }
.hm-home-btn { height: 38px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.hm-home-stats { margin: 0; gap: 6px 18px; }
.hm-home-stats b { font-size: 17px; }
.hm-home-stats span { font-size: 12px; }
@media (min-width: 900px) {
  .hm-home-hero-inner { grid-template-columns: minmax(0, 1fr) auto; padding: 22px 16px 20px; }
  .hm-home-hero-inner > .hm-home-title, .hm-home-hero-inner > .hm-home-sub { grid-column: 1; }
  .hm-home-hero-inner > .hm-home-cta { grid-column: 2; grid-row: 1 / span 2; justify-content: flex-end; }
  .hm-home-hero-inner > .hm-home-stats { grid-column: 1 / -1; }
}
.hm-home .bc-wrap.is-all { padding-top: 18px; }

/* Model page: filters left (desktop), search + sort on top, the car card below; matching cars replace it while filtering */
.bc-wrap.is-model { max-width: none; padding: 0; margin: 0; }
.bc-wrap.is-model .bc-results-note { font-size: 12.5px; font-weight: 600; color: #475569; margin: 0 0 10px; }
.bc-wrap.is-model.is-collapsed .bc-grid,
.bc-wrap.is-model.is-collapsed .bc-more-wrap,
.bc-wrap.is-model.is-collapsed .bc-empty,
.bc-wrap.is-model.is-collapsed .bc-results-note { display: none !important; }
.bc-wrap.is-model:not(.is-collapsed) .bc-slot { display: none; }
.bc-wrap.is-model .bc-slot .single-vehicle-card-wrapper { margin-bottom: 0; }
@media (max-width: 1023px) {
  .bc-wrap.is-model .bc-toolbar { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; box-shadow: none; }
}
/* the card's own two columns need a little more room next to the filter sidebar */
@media (min-width: 1024px) and (max-width: 1199px) {
  .bc-wrap.is-model .vehicle-card.is-single-page { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* ==========================================================================
 * v2.26 — Model page columns: left = photos + test drive + Get Offer / Call;
 * right = variant, price, Key Specifications. Comparison table inset from the card border.
 * ========================================================================== */
@media (min-width: 768px) {
  .vehicle-card.is-single-page .sv-col-media .specs-section-box { margin-top: 0; }
  .vehicle-card.is-single-page .sv-col-media .schedule-test-drive-card { margin: 12px 0 0 10px; }
  .vehicle-card.is-single-page .sv-col-media .card-actions { margin-top: 0; padding-left: 10px; }
  .vehicle-card.is-single-page .sv-col-info .card-actions { margin-top: 0; }
  .vehicle-card.is-single-page .sv-col-info .specs-section-box { margin-top: 10px; }
  .vehicle-card.is-single-page > .variant-comp-section-box { margin: 6px 16px 16px; }
}

/* Short car cards: price range + "Avg. Ex-Showroom price" on one line; badge at the top right of the photo */
.bc-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: nowrap; min-width: 0; }
.bc-price-val { white-space: nowrap; flex: 0 0 auto; }
.bc-star { margin-left: -5px; flex: 0 0 auto; }
.bc-price-note { display: inline; margin: 0; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.bc-badge { left: auto; right: 10px; }

/* Phones / tablets: chosen filter / search pills sit between "Filters" and "Sort" */
@media (max-width: 1023px) {
  .bc-bar .bc-active { flex: 1 1 auto; min-width: 0; margin: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 6px; padding: 2px 0; }
  .bc-bar .bc-active::-webkit-scrollbar { display: none; }
  .bc-bar .bc-active button { flex: 0 0 auto; white-space: nowrap; }
  .bc-bar .bc-sort { margin-left: 0; flex: 0 0 auto; }
  .bc-bar .bc-filter-btn { flex: 0 0 auto; }
}
@media (max-width: 1023px) { .bc-bar .bc-active[hidden] + .bc-sort { margin-left: auto; } }
.bc-price-val { font-size: 18px; }
.bc-price-note { font-size: 10.5px; color: #64748b; }
@media (min-width: 1200px) { .bc-grid .bc-price-val { font-size: 17px; } }
@media (max-width: 1023px) {
  .bc-bar { gap: 8px; }
  .bc-bar .bc-filter-btn { padding: 0 12px; }
  .bc-bar .bc-sort-select { max-width: 128px; padding-right: 26px; }
  .bc-bar .bc-active button { padding: 4px 9px; font-size: 11.5px; }
}

/* ==========================================================================
 * v2.27 — Compare selection on short cards + compare bar
 * ========================================================================== */
.bc-card { position: relative; }
.bc-cmp { position: absolute; top: 10px; right: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px 0 6px; border-radius: 999px; background: rgba(255,255,255,.94); border: 1px solid #cbd5e1; box-shadow: 0 2px 8px rgba(15,23,42,.15); font-size: 11.5px; font-weight: 800; color: #0f172a; cursor: pointer; user-select: none; }
.bc-cmp:hover { border-color: #2563eb; }
.bc-cmp-input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.bc-cmp-box { width: 16px; height: 16px; border-radius: 5px; border: 2px solid #94a3b8; background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.bc-cmp-input:checked + .bc-cmp-box { background: #2563eb; border-color: #2563eb; }
.bc-cmp-input:checked + .bc-cmp-box::after { content: ""; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.bc-cmp-input:focus-visible + .bc-cmp-box { outline: 2px solid #2563eb; outline-offset: 2px; }
.bc-card.is-cmp { border-color: #2563eb; box-shadow: 0 0 0 2px rgba(37,99,235,.25), 0 8px 22px rgba(37,99,235,.12); }
.bc-card.is-cmp .bc-cmp { background: #eff6ff; border-color: #2563eb; color: #1d4ed8; }
/* badge stays on the right, just below the Compare tick */
.bc-card.has-cmp .bc-badge { top: 46px; right: 10px; }
.bc-compare.is-on { color: #047857; }
.bc-compare.is-on::before { content: "✓ "; }

.bc-cmpbar { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 1150; width: min(760px, calc(100vw - 24px)); background: #0f172a; color: #fff; border-radius: 16px; box-shadow: 0 18px 40px rgba(15,23,42,.35); }
.bc-cmpbar[hidden] { display: none; }
.bc-cmpbar-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px 14px; padding: 10px 12px; }
.bc-cmpbar-head { font-size: 14px; white-space: nowrap; }
.bc-cmpbar-count { color: #94a3b8; font-weight: 700; font-size: 12px; }
.bc-cmpbar-list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.bc-cmpbar-list::-webkit-scrollbar { display: none; }
.bc-cmpbar-item { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; max-width: 190px; height: 40px; padding: 0 6px 0 4px; border-radius: 10px; background: #1e293b; border: 1px solid #334155; }
.bc-cmpbar-item img, .bc-cmpbar-noimg { width: 46px; height: 30px; object-fit: cover; border-radius: 6px; background: #334155; flex: 0 0 auto; }
.bc-cmpbar-name { font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.bc-cmpbar-x { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; border: 0; background: #334155; color: #e2e8f0; font-size: 15px; line-height: 1; cursor: pointer; }
.bc-cmpbar-x:hover { background: #ef4444; color: #fff; }
.bc-cmpbar-item.is-empty { border-style: dashed; color: #94a3b8; padding: 0 12px 0 8px; }
.bc-cmpbar-plus { width: 22px; height: 22px; border-radius: 50%; border: 1px dashed #64748b; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.bc-cmpbar-actions { display: flex; align-items: center; gap: 8px; }
.bc-cmpbar-clear { border: 0; background: none; color: #94a3b8; font-size: 12.5px; font-weight: 700; cursor: pointer; padding: 6px; }
.bc-cmpbar-clear:hover { color: #fff; }
.bc-cmpbar-go { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 10px; background: #2563eb; color: #fff; font-size: 13.5px; font-weight: 800; white-space: nowrap; }
.bc-cmpbar-go:hover { background: #1d4ed8; }
.bc-cmpbar-go.is-disabled { background: #334155; color: #cbd5e1; }
.bc-cmpbar-msg { grid-column: 1 / -1; margin: -4px 0 0; font-size: 11.5px; color: #fbbf24; font-weight: 600; text-align: center; }
.bc-cmpbar-msg:empty { display: none; }
body.has-cmpbar .site-footer { padding-bottom: 96px; }
body.has-cmpbar .floating-share-btn { bottom: 110px; }
@media (max-width: 767px) {
  .bc-cmpbar { bottom: calc(66px + env(safe-area-inset-bottom)); border-radius: 14px; }
  .bc-cmpbar-inner { grid-template-columns: minmax(0, 1fr) auto; padding: 8px 10px; gap: 8px; }
  .bc-cmpbar-head { display: none; }
  .bc-cmpbar-item { max-width: 130px; height: 36px; }
  .bc-cmpbar-item img, .bc-cmpbar-noimg { width: 36px; height: 24px; }
  .bc-cmpbar-clear { display: none; }
  .bc-cmpbar-go { height: 36px; padding: 0 12px; font-size: 12.5px; }
  body.has-cmpbar .viewing-model-pill-container { display: none !important; }
  body.has-cmpbar .site-footer { padding-bottom: 150px; }
}
/* v2.27 always-visible table scrollbars on phones / tablets (drawn by theme.js) */
.hm-sb { position: absolute; z-index: 25; border-radius: 6px; background: rgba(148,163,184,.25); pointer-events: none; }
.hm-sb-x { height: 5px; }
.hm-sb-y { width: 5px; }
.hm-sb-thumb { position: absolute; top: 0; left: 0; display: block; border-radius: 6px; background: rgba(71,85,105,.75); pointer-events: auto; touch-action: none; }
.hm-sb-x .hm-sb-thumb { height: 100%; }
.hm-sb-y .hm-sb-thumb { width: 100%; }
.hm-sb-thumb::before { content: ""; position: absolute; inset: -8px; } /* bigger touch target */
/* Android: keep the native bars visible too */
.vcx-scroll::-webkit-scrollbar { -webkit-appearance: none; }
.vcx-scroll::-webkit-scrollbar-track { background: #f1f5f9; }

/* ==========================================================================
 * v2.28 — Slimmer home banner, compare-bar Clear button, phone order on model page
 * ========================================================================== */
.hm-home-hero-inner { padding: 10px 16px 10px; gap: 6px 20px; }
.hm-home-title { font-size: clamp(17px, 2.6vw, 22px); }
.hm-home-sub { margin-top: 0; font-size: 12.5px; line-height: 1.45; }
.hm-home-btn { height: 34px; padding: 0 12px; font-size: 12.5px; }
.hm-home .bc-wrap.is-all { padding-top: 14px; }
@media (min-width: 900px) { .hm-home-hero-inner { padding: 12px 16px; } }
@media (max-width: 599px) {
  .hm-home-sub { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}

/* Compare bar: Clear is a real button (same weight as Compare Now); a round × on phones */
.bc-cmpbar-clear { display: inline-flex !important; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 10px; border: 0; background: #ef4444; color: #fff; font-size: 13.5px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.bc-cmpbar-clear:hover { background: #dc2626; color: #fff; }
.bc-cmpbar-clear-x { font-size: 18px; line-height: 1; font-weight: 700; }
@media (max-width: 767px) {
  .bc-cmpbar-clear { width: 36px; height: 36px; padding: 0; border-radius: 50%; }
  .bc-cmpbar-clear-t { display: none; }
  .bc-cmpbar-actions { gap: 6px; }
}

/* Model page on phones: Schedule Test Drive + Get Offer / Call right after Key Specifications */
@media (max-width: 767px) {
  .vehicle-card.is-single-page .schedule-test-drive-card { order: 5; }
  .vehicle-card.is-single-page .card-actions { order: 6; }
  .vehicle-card.is-single-page > .variant-comp-section-box,
  .vehicle-card.is-single-page > .vcx { order: 7; }
}
@media (max-width: 767px) {
  .bc-cmpbar-inner { padding: 8px; gap: 6px; }
  .bc-cmpbar-list { gap: 5px; }
  .bc-cmpbar-item { max-width: 104px; padding: 0 4px 0 8px; gap: 4px; }
  .bc-cmpbar-item img, .bc-cmpbar-item .bc-cmpbar-noimg { display: none; }
  .bc-cmpbar-item.is-empty { display: none; }
  .bc-cmpbar-x { width: 20px; height: 20px; font-size: 14px; }
  .bc-cmpbar-now { display: none; }
  .bc-cmpbar-go { padding: 0 12px; }
}

/* ==========================================================================
 * v2.29 — Card badge top-left (Compare tick top-right); no hamburger on desktop
 * ========================================================================== */
.bc-badge, .bc-card.has-cmp .bc-badge { top: 10px; left: 10px; right: auto; }
@media (min-width: 1200px) {
  .header-hamburger-btn { display: none !important; }
}

/* ==========================================================================
 * v2.29 — Contact Form 7 (any page) + Contact Us page layout
 * ========================================================================== */
.wpcf7 { --cf-accent: #2563eb; --cf-border: #cbd5e1; --cf-text: #0f172a; --cf-muted: #64748b; }
.wpcf7 .screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.wpcf7-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 16px; margin: 0; }
.wpcf7-form > p { margin: 0 0 16px; font-size: 13px; font-weight: 700; color: #334155; line-height: 1.4; }
.wpcf7-form > p br, .wpcf7-form label br { display: none; }
.wpcf7-form label { display: block; font-size: 13px; font-weight: 700; color: #334155; }
.wpcf7-form .wpcf7-form-control-wrap { display: block; margin-top: 6px; position: relative; }
.wpcf7-form .wpcf7-acceptance, .wpcf7-form .wpcf7-form-control-wrap[data-name] .wpcf7-acceptance { margin-top: 0; }

.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"], .wpcf7-form input[type="number"], .wpcf7-form input[type="date"],
.wpcf7-form select, .wpcf7-form textarea {
  display: block; width: 100%; box-sizing: border-box; height: 48px; padding: 0 14px;
  border: 1px solid var(--cf-border); border-radius: 12px; background: #fff; color: var(--cf-text);
  font-size: 15px; font-weight: 600; line-height: 1.3; outline: none; -webkit-appearance: none; appearance: none;
  box-shadow: 0 1px 2px rgba(15,23,42,.04); transition: border-color .15s, box-shadow .15s;
}
.wpcf7-form textarea { height: auto; min-height: 130px; padding: 12px 14px; resize: vertical; line-height: 1.55; font-weight: 500; }
.wpcf7-form select { padding-right: 40px; cursor: pointer; background: #fff 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='%23475569' stroke-width='2.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; }
.wpcf7-form input::placeholder, .wpcf7-form textarea::placeholder { color: #94a3b8; font-weight: 500; }
.wpcf7-form input:hover, .wpcf7-form select:hover, .wpcf7-form textarea:hover { border-color: #94a3b8; }
.wpcf7-form input:focus, .wpcf7-form select:focus, .wpcf7-form textarea:focus { border-color: var(--cf-accent); box-shadow: 0 0 0 4px rgba(37,99,235,.14); }

/* radio / checkbox lists as tappable pills */
.wpcf7-form .wpcf7-radio, .wpcf7-form .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.wpcf7-form .wpcf7-radio .wpcf7-list-item, .wpcf7-form .wpcf7-checkbox .wpcf7-list-item { position: relative; margin: 0; }
.wpcf7-form .wpcf7-radio input, .wpcf7-form .wpcf7-checkbox input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.wpcf7-form .wpcf7-radio .wpcf7-list-item-label, .wpcf7-form .wpcf7-checkbox .wpcf7-list-item-label {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border: 1px solid var(--cf-border);
  border-radius: 999px; background: #fff; font-size: 13.5px; font-weight: 700; color: #334155; transition: all .15s;
}
.wpcf7-form .wpcf7-radio .wpcf7-list-item-label::before, .wpcf7-form .wpcf7-checkbox .wpcf7-list-item-label::before {
  content: ""; width: 16px; height: 16px; border: 2px solid #94a3b8; border-radius: 50%; box-sizing: border-box; background: #fff; transition: all .15s;
}
.wpcf7-form .wpcf7-checkbox .wpcf7-list-item-label::before { border-radius: 5px; }
.wpcf7-form .wpcf7-radio input:checked + .wpcf7-list-item-label, .wpcf7-form .wpcf7-checkbox input:checked + .wpcf7-list-item-label { border-color: var(--cf-accent); background: #eff6ff; color: #1d4ed8; }
.wpcf7-form .wpcf7-radio input:checked + .wpcf7-list-item-label::before { border: 5px solid var(--cf-accent); }
.wpcf7-form .wpcf7-checkbox input:checked + .wpcf7-list-item-label::before { border-color: var(--cf-accent); background: var(--cf-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") no-repeat center / 10px; }
.wpcf7-form .wpcf7-radio input:focus-visible + .wpcf7-list-item-label, .wpcf7-form .wpcf7-checkbox input:focus-visible + .wpcf7-list-item-label { box-shadow: 0 0 0 4px rgba(37,99,235,.14); }

/* acceptance (consent) */
.wpcf7-form .wpcf7-acceptance .wpcf7-list-item { margin: 0; display: block; }
.wpcf7-form .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; font-weight: 500; color: var(--cf-muted); cursor: pointer; }
.wpcf7-form .wpcf7-acceptance input[type="checkbox"] { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--cf-accent); cursor: pointer; }
.wpcf7-form .wpcf7-acceptance .wpcf7-list-item-label a { color: var(--cf-accent); text-decoration: underline; }

/* file input */
.wpcf7-form input[type="file"] { display: block; width: 100%; padding: 10px; border: 1px dashed var(--cf-border); border-radius: 12px; background: #f8fafc; font-size: 13px; }

/* submit */
.wpcf7-form .wpcf7-submit {
  display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 50px; padding: 0 26px; border: 0; border-radius: 12px;
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%); color: #fff; font-size: 15.5px; font-weight: 800; letter-spacing: .01em; cursor: pointer;
  box-shadow: 0 8px 20px rgba(37,99,235,.28); transition: transform .12s, box-shadow .15s, filter .15s; -webkit-appearance: none; appearance: none;
}
.wpcf7-form .wpcf7-submit:hover { filter: brightness(1.06); box-shadow: 0 10px 26px rgba(37,99,235,.36); }
.wpcf7-form .wpcf7-submit:active { transform: translateY(1px); }
.wpcf7-form .wpcf7-submit:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; filter: grayscale(.3); }
.wpcf7-form .wpcf7-spinner { display: none; }
.wpcf7-form.submitting .wpcf7-spinner { display: inline-block; vertical-align: middle; margin: 0 0 0 12px; background-color: var(--cf-accent); opacity: 1; }
@media (min-width: 600px) { .wpcf7-form .wpcf7-submit { width: auto; min-width: 200px; } }

/* validation + messages */
.wpcf7-form .wpcf7-not-valid { border-color: #ef4444 !important; background: #fff7f7 !important; }
.wpcf7-form .wpcf7-not-valid:focus { box-shadow: 0 0 0 4px rgba(239,68,68,.14) !important; }
.wpcf7-form .wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 12px; font-weight: 700; color: #dc2626; }
.wpcf7-form .wpcf7-response-output { grid-column: 1 / -1; margin: 4px 0 0 !important; padding: 12px 14px !important; border: 0 !important; border-radius: 12px; font-size: 13.5px; font-weight: 600; line-height: 1.45; background: #f1f5f9; color: #334155; }
.wpcf7-form.init .wpcf7-response-output, .wpcf7-form.resetting .wpcf7-response-output, .wpcf7-form.submitting .wpcf7-response-output { display: none; }
.wpcf7-form.sent .wpcf7-response-output { background: #ecfdf5; color: #047857; border-left: 4px solid #10b981 !important; }
.wpcf7-form.invalid .wpcf7-response-output, .wpcf7-form.unaccepted .wpcf7-response-output, .wpcf7-form.payment-required .wpcf7-response-output { background: #fffbeb; color: #92400e; border-left: 4px solid #f59e0b !important; }
.wpcf7-form.failed .wpcf7-response-output, .wpcf7-form.aborted .wpcf7-response-output, .wpcf7-form.spam .wpcf7-response-output { background: #fef2f2; color: #b91c1c; border-left: 4px solid #ef4444 !important; }

/* two fields per row on wider screens: short inputs / selects side by side; message, choices, consent and button full width */
@media (min-width: 640px) {
  .wpcf7-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wpcf7-form > * { grid-column: 1 / -1; }
  .wpcf7-form > p:has(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], input[type="date"], select):not(:has(textarea, .wpcf7-radio, .wpcf7-checkbox, .wpcf7-acceptance, .wpcf7-submit, input[type="file"])) { grid-column: auto; }
}

/* ---- Contact Us page: form card on the left, call / WhatsApp + details on the right ---- */
.hm-contact-page .wpcf7 { background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; padding: 22px 18px 20px; box-shadow: 0 10px 30px rgba(15,23,42,.06); position: relative; overflow: hidden; margin: 0 0 22px; }
.hm-contact-page .wpcf7::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #2563eb, #4f46e5, #10b981); }
.hm-contact-page .wpcf7 + * { margin-top: 0; }
.homithing-page-wrap:has(.hm-contact-page .wpcf7) { max-width: 1160px; }
.hm-contact-page:has(.wpcf7) { background: transparent; border: 0; box-shadow: none; padding: 0; }
.hm-contact-page:has(.wpcf7) .homithing-page-header { border-bottom: 0; margin-bottom: 14px; padding-bottom: 0; }
@media (min-width: 900px) {
  .hm-contact-page:has(.wpcf7) { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); column-gap: 26px; align-items: start; }
  .hm-contact-page:has(.wpcf7) > .homithing-page-header { grid-column: 1 / -1; }
  .hm-contact-page:has(.wpcf7) > .homithing-page-content { display: contents; }
  .hm-contact-page:has(.wpcf7) .homithing-page-content > .wpcf7 { grid-column: 1; grid-row: 2 / span 30; margin: 0; padding: 26px 26px 24px; }
  .hm-contact-page:has(.wpcf7) > .hm-contact-cards,
  .hm-contact-page:has(.wpcf7) .homithing-page-content > :not(.wpcf7) { grid-column: 2; }
  .hm-contact-page:has(.wpcf7) > .hm-contact-cards { grid-row: 2; display: grid; grid-template-columns: 1fr; gap: 10px; margin: 0 0 18px; }
  .hm-contact-page:has(.wpcf7) .homithing-page-content > :not(.wpcf7) { font-size: 14.5px; line-height: 1.65; color: #334155; margin: 0 0 12px; }
  .hm-contact-page:has(.wpcf7) .homithing-page-content > h2 { font-size: 17px; font-weight: 800; color: #0f172a; margin-top: 8px; }
  .hm-contact-page:has(.wpcf7) .homithing-page-content > ul { padding-left: 20px; }
}

/* ==========================================================================
 * v2.30 — Transparent car photos: the car page / big vehicle card photo area uses the same
 * light background as the short car cards (was dark navy)
 * ========================================================================== */
.card-slider { background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%); }
.card-slider-img { background: transparent; }

/* ==========================================================================
 * v2.31 — Compare Cars page: car photo in each selector; no inner up/down scroll on desktop
 * ========================================================================== */
.cc-slot-btn.is-filled { padding-top: 6px; padding-bottom: 6px; }
.cc-slot-img { display: block; width: 100%; height: 78px; margin: 2px 0 6px; border-radius: 6px; background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%); overflow: hidden; }
.cc-slot-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cc-slot-btn.is-filled .cc-slot-caret { top: auto; bottom: 10px; transform: none; }
@media (min-width: 1024px) { .cc-slot-img { height: 104px; } .cc-slot-model { font-size: 12.5px; } .cc-slot-variant { font-size: 11.5px; } }
@media (max-width: 480px) { .cc-slot-img { height: 58px; } }
.cc-node-thumb { flex: 0 0 auto; width: 44px; height: 28px; border-radius: 5px; background: #f1f5f9; overflow: hidden; display: inline-flex; }
.cc-node-thumb img { width: 100%; height: 100%; object-fit: contain; }

/* Desktop: the Compare Cars table grows to its full height (page scrolls, no inner up/down bar) */
@media (min-width: 1024px) {
  .cc-root .vcx-scroll { max-height: none !important; overflow-y: hidden !important; overflow-x: auto !important; }
  .cc-root .vcx-vnav { display: none !important; }
  .hm-compare-wrap { max-width: 1160px; }
}

/* ==========================================================================
 * v2.32 — Compare Cars table: page scrolls normally over the table (desktop + phone),
 * full-height table on phones too, share button in the box header
 * ========================================================================== */
.cc-root .vcx-scroll { max-height: none !important; overflow-y: hidden !important; overflow-x: auto !important; overscroll-behavior-y: auto !important; overscroll-behavior-x: contain; min-height: 0; }
.cc-root .vcx-vnav { display: none !important; }
.cc-box-head { position: relative; }
.cc-box-head .cc-share-btn { margin-left: auto; flex: 0 0 auto; }
.hm-compare-wrap { padding-bottom: 20px !important; }

/* ==========================================================================
 * v2.33 — Smaller home banner; slimmer phone toolbar; variant photos; filter bar below pickers;
 * working "+ Add car" in the compare bar
 * ========================================================================== */
/* 1. home banner */
.hm-home-hero-inner { padding: 6px 16px 7px !important; gap: 4px 16px; }
.hm-home-title { font-size: clamp(15px, 2vw, 19px); line-height: 1.25; }
.hm-home-sub { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; -webkit-line-clamp: unset; }
.hm-home-btn { height: 30px; padding: 0 11px; font-size: 12px; border-radius: 8px; }
@media (min-width: 900px) { .hm-home-hero-inner { padding: 8px 16px !important; } }
@media (max-width: 599px) {
  .hm-home-hero-inner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .hm-home-sub { display: none; }
  .hm-home-cta { gap: 6px; }
  .hm-home-btn { height: 28px; padding: 0 9px; font-size: 11.5px; }
}

/* 2. phone toolbar (search + Filters + Sort) about 20% lower */
@media (max-width: 1023px) {
  .bc-toolbar { padding-top: 6px; padding-bottom: 0; margin-bottom: 8px; }
  .bc-search-input { height: 37px; font-size: 13.5px; border-radius: 10px; padding-left: 36px; }
  .bc-search-icon { left: 12px; width: 16px; height: 16px; }
  .bc-search-reset { height: 27px; padding: 0 9px; font-size: 11.5px; right: 5px; }
  .bc-search-input.has-reset { padding-right: 112px; }
  .bc-toolbar .bc-bar { padding: 6px 0; }
  .bc-filter-btn { height: 32px; font-size: 12.5px; }
  .bc-filter-btn svg { width: 14px; height: 14px; }
  .bc-sort-select { height: 32px; font-size: 12.5px; }
  .bc-bar .bc-active button { padding: 3px 8px; font-size: 11px; }
}

/* 3. photos in the variant pickers (car page) and dropdown lists */
.vcx-slot-field.has-img .vcx-slot-img { margin: 6px 6px 4px; width: auto; }
.hm-dd-option.has-img { display: flex; align-items: center; gap: 10px; }
.hm-dd-thumb { flex: 0 0 auto; width: 46px; height: 30px; border-radius: 5px; background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%); overflow: hidden; display: inline-flex; }
.hm-dd-thumb img { width: 100%; height: 100%; object-fit: contain; }
.hm-dd-text { min-width: 0; }

/* 5. filter bar under the car / variant pickers: one row on desktop; buttons row then search row on phones */
.vcx-grid > .vcx-inline-bar { position: sticky; left: 0; z-index: 6; box-sizing: border-box; margin: 0 !important; padding: 8px 9px 6px !important; background: #ffffff; border-bottom: 1px solid #eef2f7; }
.vcx-inline-bar .variant-comp-toolbar-row { margin: 6px 0 0 !important; }
@media (min-width: 900px) {
  .vcx-grid > .vcx-inline-bar { display: flex !important; align-items: center; gap: 10px; flex-wrap: nowrap; }
  .vcx-inline-bar .variant-comp-pills-wrap { flex: 0 1 auto !important; width: auto !important; min-width: 0; }
  .vcx-inline-bar .comp-scroll-arrow { display: none !important; }
  .vcx-inline-bar .variant-comp-toolbar-row { flex: 1 1 auto; width: auto !important; margin: 0 !important; }
}

/* 4. "+ Add car" in the compare bar is a button; the suggested card flashes */
.bc-cmpbar-add { cursor: pointer; font: inherit; color: #94a3b8; }
.bc-cmpbar-add:hover { color: #fff; border-color: #94a3b8; }
@media (max-width: 767px) { .bc-cmpbar-item.is-empty.bc-cmpbar-add { display: flex; } .bc-cmpbar-add .bc-cmpbar-name { display: none; } .bc-cmpbar-add { padding: 0 8px; } }
@keyframes bcCmpHint { 0%, 100% { box-shadow: 0 0 0 0 rgba(37,99,235,0); } 30%, 70% { box-shadow: 0 0 0 4px rgba(37,99,235,.55); } }
.bc-card.is-cmp-hint { animation: bcCmpHint 1.1s ease 2; border-color: #2563eb; }
.bc-card.is-cmp-hint .bc-cmp { background: #2563eb; color: #fff; border-color: #2563eb; }
.vcx-grid > .vcx-inline-bar { text-align: left; align-items: stretch; }
@media (min-width: 900px) {
  .vcx-grid > .vcx-inline-bar { flex-direction: row !important; align-items: center !important; justify-content: flex-start !important; }
  .vcx-inline-bar .variant-comp-pills-wrap, .vcx-inline-bar .variant-comp-pills { width: auto !important; justify-content: flex-start !important; }
  .vcx-inline-bar .variant-comp-toolbar-row { justify-content: flex-start !important; }
  .vcx-inline-bar .variant-comp-search-wrap { flex: 1 1 auto !important; max-width: none !important; }
}

/* ==========================================================================
 * v2.34 — Variant Detail Comparison (car pages) grows to full height like /compare-cars/:
 * no inner up/down scroll bar, page scrolls over it, sideways scroll only for extra variants
 * ========================================================================== */
.variant-detail-comp-panel .vcx-scroll { max-height: none !important; overflow-y: hidden !important; overflow-x: auto !important; overscroll-behavior-y: auto !important; overscroll-behavior-x: contain; min-height: 0; }
.variant-detail-comp-panel .vcx-vnav { display: none !important; }

/* ==========================================================================
   v2.35 — Customer login (OTP), My Account, saved cars, dealer CRM
   ========================================================================== */
.header-account-btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px 0 10px; margin-left: 8px; border: 1px solid #bfdbfe; border-radius: 999px; background: #eff6ff; color: #1d4ed8; font-size: 13px; font-weight: 800; cursor: pointer; text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.header-account-btn:hover { background: #dbeafe; border-color: #93c5fd; color: #1e40af; }
.header-account-btn.is-in { background: #2563eb; border-color: #2563eb; color: #fff; }
.header-account-btn.is-in:hover { background: #1d4ed8; color: #fff; }
@media (max-width: 767px) {
  .header-account-btn { height: 30px; padding: 0 8px; margin-left: 6px; gap: 0; }
  .header-account-btn span { display: none; }
}
.hm-btn-primary, .hm-btn-ghost, .hm-btn-wa { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 42px; padding: 0 18px; border-radius: 10px; font-size: 14px; font-weight: 800; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s; }
.hm-btn-primary { border: 0; background: #2563eb; color: #fff; box-shadow: 0 4px 12px rgba(37,99,235,.22); }
.hm-btn-primary:hover { background: #1d4ed8; color: #fff; }
.hm-btn-ghost { border: 1px solid #cbd5e1; background: #fff; color: #0f172a; }
.hm-btn-ghost:hover { border-color: #2563eb; color: #1d4ed8; }
.hm-btn-wa { border: 0; background: #16a34a; color: #fff; }
.hm-btn-wa:hover { background: #15803d; color: #fff; }
.hm-btn-primary:disabled, .hm-btn-primary.is-busy { opacity: .6; cursor: progress; }
.hm-link { border: 0; background: none; padding: 4px 0; color: #2563eb; font-size: 13px; font-weight: 700; cursor: pointer; }
.hm-link:disabled { color: #94a3b8; cursor: default; }
.hm-link.is-danger { color: #dc2626; }
.hm-muted { color: #64748b; font-size: 13px; margin: 0 0 12px; }

/* login */
.hm-login-box { max-width: 420px; padding: 26px 24px 22px; }
.hm-login-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; padding-right: 26px; }
.hm-login-badge { flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #eff6ff; color: #2563eb; }
.hm-login-title, .hm-crm-login-title { margin: 0 0 3px; font-size: 19px; font-weight: 900; color: #0f172a; }
.hm-crm-login-title { margin-bottom: 16px; }
.hm-login-sub { margin: 0; color: #64748b; font-size: 13.5px; line-height: 1.45; }
.hm-login-step { display: flex; flex-direction: column; gap: 12px; }
.hm-login-step[hidden] { display: none; }
.hm-field { display: flex; flex-direction: column; gap: 6px; }
.hm-field > span:first-child { font-size: 12.5px; font-weight: 800; color: #334155; }
.hm-field input, .hm-field select, .hm-field textarea { width: 100%; height: 46px; padding: 0 14px; border: 1.5px solid #cbd5e1; border-radius: 10px; font-size: 15px; font-weight: 600; color: #0f172a; background: #fff; box-sizing: border-box; }
.hm-field input:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.15); }
.hm-field input:disabled { background: #f1f5f9; color: #64748b; }
.hm-mobile-wrap { display: flex; align-items: stretch; border: 1.5px solid #cbd5e1; border-radius: 10px; overflow: hidden; background: #fff; }
.hm-mobile-wrap:focus-within { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.15); }
.hm-mobile-wrap b { display: grid; place-items: center; padding: 0 12px; background: #f1f5f9; color: #334155; font-size: 15px; border-right: 1px solid #e2e8f0; }
.hm-field .hm-mobile-wrap input { border: 0; border-radius: 0; box-shadow: none; letter-spacing: .04em; }
.hm-otp-input { text-align: center; font-size: 22px !important; letter-spacing: .5em; font-weight: 800 !important; }
.hm-login-msg { margin: 0; min-height: 0; font-size: 13px; font-weight: 700; }
.hm-login-msg:empty { display: none; }
.hm-login-msg.is-err { color: #dc2626; }
.hm-login-msg.is-ok { color: #059669; }
.hm-login-step .hm-btn-primary { width: 100%; height: 46px; font-size: 15px; }
.hm-login-fine { margin: 0; font-size: 12px; color: #64748b; text-align: center; }
.hm-login-sent { margin: 0; font-size: 13.5px; color: #334155; }
.hm-test-code { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 6px; background: #fef3c7; color: #92400e; font-weight: 900; letter-spacing: .06em; }
.hm-login-row { display: flex; justify-content: space-between; }
.hm-login-test { margin: 14px 0 0; padding: 8px 10px; border-radius: 8px; background: #fffbeb; border: 1px dashed #f59e0b; color: #92400e; font-size: 11.5px; line-height: 1.45; }

/* toast */
.hm-toast { position: fixed; left: 50%; bottom: 24px; z-index: 3000; transform: translate(-50%, 20px); padding: 10px 18px; border-radius: 999px; background: #0f172a; color: #fff; font-size: 13.5px; font-weight: 700; box-shadow: 0 10px 30px rgba(15,23,42,.3); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100vw - 32px); }
.hm-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
body:has(.cmp-bar.is-on) .hm-toast, body:has(.bc-cmp-bar:not([hidden])) .hm-toast { bottom: 96px; }

/* hearts */
.hm-heart { display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid #e2e8f0; border-radius: 999px; background: #fff; color: #94a3b8; cursor: pointer; transition: color .15s, border-color .15s, transform .15s; flex-shrink: 0; }
.hm-heart svg { fill: none; stroke: currentColor; stroke-width: 2; }
.hm-heart:hover { color: #e11d48; border-color: #fda4af; }
.hm-heart.is-on { color: #e11d48; border-color: #fecdd3; background: #fff1f2; }
.hm-heart.is-on svg { fill: currentColor; }
.hm-heart:active { transform: scale(.9); }
.hm-heart.is-busy { opacity: .6; }
.bc-info { position: relative; }
.bc-heart { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; z-index: 2; }
.bc-info .bc-name { padding-right: 38px; }
.card-header .sv-heart { margin-left: auto; margin-right: 6px; }
.card-header:has(.sv-heart) { align-items: flex-start; }

/* save comparison */
.hm-save-cmp { display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 12px; margin-left: auto; margin-right: 8px; border: 1px solid #c7d2fe; border-radius: 999px; background: #eef2ff; color: #4338ca; font-size: 12.5px; font-weight: 800; cursor: pointer; flex-shrink: 0; }
.hm-save-cmp:hover { background: #e0e7ff; }
.hm-save-cmp.is-on { background: #4338ca; color: #fff; border-color: #4338ca; }
.hm-save-cmp.is-on svg { fill: currentColor; }
.cc-box-head:has(.hm-save-cmp) .cc-share-btn { margin-left: 0; }

/* account page */
.hm-acc-wrap { max-width: 1040px; margin: 0 auto; padding: 24px 16px 56px; box-sizing: border-box; }
.hm-acc-login-card { max-width: 440px; margin: 24px auto; padding: 26px 24px; background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; box-shadow: 0 10px 30px rgba(15,23,42,.06); }
.hm-acc-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.hm-acc-avatar { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 999px; background: linear-gradient(135deg, #2563eb, #7c3aed); color: #fff; font-size: 22px; font-weight: 900; flex-shrink: 0; }
.hm-acc-avatar.is-sm { width: 36px; height: 36px; font-size: 15px; }
.hm-acc-who h1 { margin: 0; font-size: 22px; font-weight: 900; color: #0f172a; }
.hm-acc-who p { margin: 2px 0 0; color: #64748b; font-weight: 700; font-size: 13.5px; }
.hm-acc-head-actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.hm-acc-head-actions .hm-btn-ghost { height: 38px; font-size: 13px; }
.hm-acc-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; margin-bottom: 18px; border-bottom: 1px solid #e2e8f0; scrollbar-width: none; }
.hm-acc-tabs::-webkit-scrollbar { display: none; }
.hm-acc-tabs a { padding: 10px 14px; border-bottom: 3px solid transparent; color: #475569; font-weight: 800; font-size: 14px; text-decoration: none; white-space: nowrap; }
.hm-acc-tabs a.is-active { color: #1d4ed8; border-color: #2563eb; }
.hm-acc-empty { padding: 40px 20px; text-align: center; background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 16px; }
.hm-acc-empty p { margin: 0 0 16px; color: #475569; font-size: 14.5px; }
.hm-enq-list { display: grid; gap: 12px; }
.hm-enq { padding: 16px; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; }
.hm-enq-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.hm-enq h3 { margin: 0; font-size: 16px; font-weight: 900; color: #0f172a; }
.hm-enq h3 small { font-weight: 700; color: #64748b; font-size: 13px; }
.hm-enq-meta { margin: 3px 0 0; color: #64748b; font-size: 12.5px; }
.hm-enq-note { margin: 10px 0 0; font-size: 13px; color: #334155; }
.hm-status-pill { flex-shrink: 0; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 900; background: #f1f5f9; color: #334155; white-space: nowrap; }
.hm-status-pill.is-new { background: #eff6ff; color: #1d4ed8; }
.hm-status-pill.is-contacted { background: #ecfeff; color: #0e7490; }
.hm-status-pill.is-test_drive { background: #f5f3ff; color: #6d28d9; }
.hm-status-pill.is-negotiation { background: #fffbeb; color: #b45309; }
.hm-status-pill.is-won { background: #ecfdf5; color: #047857; }
.hm-status-pill.is-lost { background: #f1f5f9; color: #64748b; }
.hm-enq-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; list-style: none; margin: 14px 0 0; padding: 0; }
.hm-enq-steps li { position: relative; padding-top: 12px; font-size: 10.5px; font-weight: 700; color: #94a3b8; line-height: 1.25; }
.hm-enq-steps li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; border-radius: 9px; background: #e2e8f0; }
.hm-enq-steps li.is-done { color: #047857; }
.hm-enq-steps li.is-done::before { background: #10b981; }
@media (max-width: 560px) { .hm-enq-steps li span { display: none; } .hm-enq-steps li { padding-top: 6px; } }
.hm-saved-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.hm-saved-card { position: relative; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; overflow: hidden; transition: opacity .25s; }
.hm-saved-media { display: block; aspect-ratio: 16 / 9; background: linear-gradient(180deg, #f8fafc, #eef2f7); }
.hm-saved-media img { width: 100%; height: 100%; object-fit: contain; }
.hm-saved-card > .hm-heart { position: absolute; top: 10px; right: 10px; }
.hm-saved-info { padding: 12px 14px 14px; }
.hm-saved-info h3 { margin: 0; font-size: 15.5px; font-weight: 900; }
.hm-saved-info h3 a { color: #0f172a; text-decoration: none; }
.hm-saved-info p { margin: 3px 0 0; color: #059669; font-weight: 800; font-size: 13.5px; }
.hm-saved-actions { display: flex; gap: 8px; margin-top: 12px; }
.hm-saved-actions > * { flex: 1; height: 38px; font-size: 13px; padding: 0 10px; }
.hm-cmp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hm-cmp-item { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; }
.hm-cmp-item a { flex: 1; min-width: 0; display: flex; flex-direction: column; text-decoration: none; }
.hm-cmp-item strong { color: #1d4ed8; font-size: 14.5px; }
.hm-cmp-item small { color: #64748b; font-size: 12px; }
.hm-cmp-del { width: 32px; height: 32px; border: 1px solid #e2e8f0; border-radius: 999px; background: #fff; color: #64748b; font-size: 20px; line-height: 1; cursor: pointer; }
.hm-cmp-del:hover { color: #dc2626; border-color: #fecaca; }
.hm-profile-form { display: grid; gap: 14px; max-width: 460px; }
.hm-profile-form .hm-btn-primary { justify-self: start; }

/* ---------------- CRM ---------------- */
.hm-crm { max-width: 1240px; margin: 0 auto; padding: 22px 16px 60px; box-sizing: border-box; }
.hm-crm-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.hm-crm-head h1 { margin: 0; font-size: 24px; font-weight: 900; color: #0f172a; }
.hm-crm-kicker { margin: 0 0 2px; font-size: 11.5px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #2563eb; }
.hm-crm-head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.hm-crm-head-actions .hm-btn-ghost { height: 38px; font-size: 13px; padding: 0 14px; }
.hm-crm-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.hm-kpi { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; text-align: left; cursor: pointer; font: inherit; }
.hm-kpi:disabled { cursor: default; }
.hm-kpi:not(:disabled):hover { border-color: #93c5fd; }
.hm-kpi b { font-size: 24px; font-weight: 900; color: #0f172a; line-height: 1.1; }
.hm-kpi span { font-size: 12px; font-weight: 700; color: #64748b; }
.hm-kpi.is-new b { color: #1d4ed8; }
.hm-kpi.is-due b { color: #b45309; }
.hm-kpi.is-overdue b { color: #dc2626; }
.hm-kpi.is-won b, .hm-kpi.is-conv b { color: #047857; }
@media (max-width: 900px) { .hm-crm-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .hm-crm-kpis { gap: 8px; } .hm-kpi { padding: 10px; } .hm-kpi b { font-size: 20px; } .hm-kpi span { font-size: 11px; } }
.hm-crm-tabs { display: flex; gap: 4px; border-bottom: 1px solid #e2e8f0; margin-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.hm-crm-tabs button { position: relative; padding: 10px 14px; border: 0; border-bottom: 3px solid transparent; background: none; color: #475569; font-size: 14px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.hm-crm-tabs button.is-active { color: #1d4ed8; border-color: #2563eb; }
.hm-crm-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: #dc2626; color: #fff; font-size: 11px; }
.hm-crm-badge[hidden] { display: none; }
.hm-crm-chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 10px; scrollbar-width: thin; }
.hm-chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 1px solid #e2e8f0; border-radius: 999px; background: #fff; color: #334155; font-size: 13px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.hm-chip span { padding: 1px 7px; border-radius: 99px; background: #f1f5f9; font-size: 11.5px; }
.hm-chip.is-active { background: #0f172a; border-color: #0f172a; color: #fff; }
.hm-chip.is-active span { background: rgba(255,255,255,.18); }
.hm-crm-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.hm-crm-filters select, .hm-crm-filters input { height: 38px; border: 1px solid #cbd5e1; border-radius: 10px; padding: 0 10px; font-size: 13px; font-weight: 600; background: #fff; color: #0f172a; }
.hm-crm-search { flex: 1 1 260px; display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 10px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: #64748b; }
.hm-crm-search:focus-within { border-color: #2563eb; }
.hm-crm-search input { flex: 1; border: 0 !important; height: 34px; padding: 0 !important; outline: none; min-width: 0; }
.hm-crm-date { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: #64748b; }
.hm-crm-reset { height: 38px; padding: 0 12px; border: 0; background: none; color: #dc2626; font-weight: 800; font-size: 13px; cursor: pointer; }
.hm-crm-active-filter { margin: 0 0 10px; padding: 8px 12px; border-radius: 10px; background: #fffbeb; color: #92400e; font-size: 13px; }
.hm-crm-active-filter button { margin-left: 8px; border: 0; background: none; color: #b45309; font-weight: 800; text-decoration: underline; cursor: pointer; }
.hm-crm-list { display: grid; gap: 8px; transition: opacity .15s; }
.hm-crm-list.is-loading { opacity: .5; }
.hm-crm-empty { padding: 30px 16px; text-align: center; color: #64748b; background: #f8fafc; border-radius: 12px; margin: 0; }
.hm-crm-empty.is-small { padding: 12px; font-size: 13px; }
.hm-lead { display: flex; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid #e2e8f0; border-left: 4px solid #2563eb; border-radius: 12px; }
.hm-lead.is-contacted { border-left-color: #0891b2; }
.hm-lead.is-test_drive { border-left-color: #7c3aed; }
.hm-lead.is-negotiation { border-left-color: #f59e0b; }
.hm-lead.is-won { border-left-color: #10b981; }
.hm-lead.is-lost { border-left-color: #94a3b8; opacity: .8; }
.hm-lead-main { flex: 1; min-width: 0; cursor: pointer; border-radius: 8px; }
.hm-lead-main:focus-visible { outline: 2px solid #2563eb; outline-offset: 3px; }
.hm-lead-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hm-lead-name { font-size: 15.5px; color: #0f172a; }
.hm-lead-type { padding: 1px 8px; border-radius: 99px; font-size: 10.5px; font-weight: 900; text-transform: uppercase; letter-spacing: .03em; background: #dcfce7; color: #15803d; }
.hm-lead-type.is-test_drive { background: #e0f2fe; color: #0369a1; }
.hm-lead-date { margin-left: auto; font-size: 12px; color: #94a3b8; font-weight: 700; white-space: nowrap; }
.hm-lead-car { margin-top: 3px; font-size: 14px; font-weight: 800; color: #1e293b; }
.hm-lead-car small { color: #64748b; font-weight: 700; }
.hm-lead-car em { font-style: normal; color: #059669; font-size: 12.5px; margin-left: 4px; }
.hm-lead-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 5px; font-size: 12.5px; color: #475569; }
.hm-crm-who.is-none, .hm-crm-who i { color: #b45309; font-style: normal; }
.hm-fu { font-weight: 800; }
.hm-fu.is-today { color: #b45309; }
.hm-fu.is-overdue { color: #dc2626; }
.hm-lead-note { margin: 6px 0 0; padding: 6px 10px; border-radius: 8px; background: #f8fafc; color: #475569; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-lead-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.hm-lead-status { height: 34px; border: 1px solid #cbd5e1; border-radius: 9px; padding: 0 28px 0 10px; font-size: 13px; font-weight: 800; background-color: #fff; color: #0f172a; cursor: pointer; }
.hm-lead-status.is-new { background-color: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.hm-lead-status.is-contacted { background-color: #ecfeff; color: #0e7490; border-color: #a5f3fc; }
.hm-lead-status.is-test_drive { background-color: #f5f3ff; color: #6d28d9; border-color: #ddd6fe; }
.hm-lead-status.is-negotiation { background-color: #fffbeb; color: #b45309; border-color: #fde68a; }
.hm-lead-status.is-won { background-color: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.hm-lead-status.is-lost { background-color: #f8fafc; color: #64748b; }
.hm-lead-contact { display: flex; gap: 6px; }
.hm-ic { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 10px; border-radius: 9px; font-size: 12.5px; font-weight: 800; text-decoration: none; }
.hm-ic.is-call { background: #eff6ff; color: #1d4ed8; }
.hm-ic.is-wa { background: #dcfce7; color: #15803d; padding: 0 9px; }
@media (max-width: 640px) {
  .hm-lead { flex-direction: column; gap: 10px; }
  .hm-lead-side { flex-direction: row; align-items: center; justify-content: space-between; }
  .hm-lead-date { margin-left: 0; width: 100%; order: 3; }
  .hm-crm-head h1 { font-size: 20px; }
  .hm-crm-date span { display: none; }
  .hm-crm-filters select, .hm-crm-date { flex: 1 1 40%; }
  .hm-crm-date input { width: 100%; }
}
.hm-crm-pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 14px; font-size: 13px; color: #64748b; font-weight: 700; }
.hm-crm-pager button { height: 36px; padding: 0 14px; border: 1px solid #cbd5e1; border-radius: 9px; background: #fff; font-weight: 800; cursor: pointer; }
.hm-crm-pager button:disabled { opacity: .4; cursor: default; }
.hm-fu-h { display: flex; align-items: center; gap: 8px; margin: 18px 0 8px; font-size: 15px; font-weight: 900; }
.hm-fu-h:first-child { margin-top: 0; }
.hm-fu-h span { padding: 1px 8px; border-radius: 99px; background: #f1f5f9; font-size: 12px; }
.hm-fu-h.is-overdue { color: #dc2626; }
.hm-fu-h.is-today { color: #b45309; }
[data-panel="followups"] .hm-lead { margin-bottom: 8px; }

/* drawer */
.hm-crm-drawer { position: fixed; inset: 0; z-index: 2000; background: rgba(15,23,42,.5); display: flex; justify-content: flex-end; }
.hm-crm-drawer[hidden] { display: none; }
.hm-crm-drawer-box { width: min(520px, 100%); height: 100%; overflow-y: auto; background: #fff; padding: 20px 20px 40px; box-sizing: border-box; box-shadow: -10px 0 40px rgba(15,23,42,.2); transition: opacity .15s; }
.hm-crm-drawer-box.is-saving { opacity: .6; pointer-events: none; }
body.hm-crm-locked { overflow: hidden; }
.hm-dr-head { display: flex; justify-content: space-between; gap: 10px; }
.hm-dr-head h2 { margin: 0; font-size: 22px; font-weight: 900; color: #0f172a; }
.hm-dr-verified { display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 800; color: #047857; }
.hm-dr-close { width: 38px; height: 38px; flex-shrink: 0; border: 1px solid #e2e8f0; border-radius: 999px; background: #fff; font-size: 24px; line-height: 1; cursor: pointer; color: #475569; }
.hm-dr-contact { display: flex; gap: 8px; margin: 14px 0; }
.hm-dr-contact > * { flex: 1; }
.hm-dr-info { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin: 0 0 10px; padding: 12px 14px; border-radius: 12px; background: #f8fafc; }
.hm-dr-info div { min-width: 0; }
.hm-dr-info dt { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #94a3b8; }
.hm-dr-info dd { margin: 1px 0 0; font-size: 13.5px; font-weight: 700; color: #0f172a; overflow-wrap: anywhere; }
.hm-dr-src { margin: 0 0 12px; font-size: 12px; color: #64748b; overflow-wrap: anywhere; }
.hm-dr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hm-dr-grid label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 800; color: #334155; }
.hm-dr-grid select, .hm-dr-grid input { height: 40px; border: 1px solid #cbd5e1; border-radius: 9px; padding: 0 10px; font-size: 13.5px; font-weight: 700; background-color: #fff; width: 100%; box-sizing: border-box; }
.hm-dr-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0 14px; font-size: 12px; color: #64748b; font-weight: 700; }
.hm-dr-quick button { height: 30px; padding: 0 10px; border: 1px solid #e2e8f0; border-radius: 99px; background: #fff; font-size: 12px; font-weight: 800; color: #334155; cursor: pointer; }
.hm-dr-quick button:hover { border-color: #2563eb; color: #1d4ed8; }
.hm-dr-note { display: grid; gap: 8px; }
.hm-dr-note textarea { width: 100%; box-sizing: border-box; border: 1px solid #cbd5e1; border-radius: 10px; padding: 10px 12px; font-size: 14px; resize: vertical; }
.hm-dr-note .hm-btn-primary { justify-self: end; height: 38px; }
.hm-dr-h { margin: 18px 0 8px; font-size: 14px; font-weight: 900; color: #0f172a; }
.hm-dr-log { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid #e2e8f0; display: grid; gap: 12px; }
.hm-dr-log li { position: relative; }
.hm-dr-log li::before { content: ""; position: absolute; left: -20px; top: 5px; width: 10px; height: 10px; border-radius: 99px; background: #cbd5e1; }
.hm-dr-log li.is-note::before { background: #2563eb; }
.hm-dr-log p { margin: 0; font-size: 13.5px; color: #1e293b; }
.hm-dr-log li.is-note p { padding: 8px 10px; border-radius: 10px; background: #eff6ff; }
.hm-dr-log small { font-size: 11.5px; color: #94a3b8; font-weight: 700; }
@media (max-width: 480px) { .hm-dr-info, .hm-dr-grid { grid-template-columns: 1fr; } }

/* stats + staff */
.hm-stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hm-stat-card { padding: 16px; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; min-width: 0; }
.hm-stat-card.is-wide { grid-column: 1 / -1; }
.hm-stat-card h3 { display: flex; justify-content: space-between; margin: 0 0 12px; font-size: 14.5px; font-weight: 900; color: #0f172a; }
.hm-stat-card h3 span { color: #2563eb; }
@media (max-width: 760px) { .hm-stat-grid { grid-template-columns: 1fr; } }
.hm-cols { display: flex; align-items: flex-end; gap: 3px; height: 140px; }
.hm-cols span { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.hm-cols i { display: block; width: 100%; min-height: 2px; border-radius: 4px 4px 0 0; background: #3b82f6; }
.hm-cols span:hover i { background: #1d4ed8; }
.hm-cols-axis { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; color: #94a3b8; font-weight: 700; }
.hm-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hm-bars li { display: grid; grid-template-columns: minmax(80px, 38%) 1fr 34px; align-items: center; gap: 8px; font-size: 12.5px; }
.hm-bar-l { color: #334155; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-bar-t { height: 10px; border-radius: 99px; background: #f1f5f9; overflow: hidden; }
.hm-bar-t i { display: block; height: 100%; border-radius: 99px; background: #3b82f6; }
.hm-bars b { text-align: right; color: #0f172a; }
.hm-bars.is-status li:nth-child(1) i { background: #2563eb; }
.hm-bars.is-status li:nth-child(2) i { background: #0891b2; }
.hm-bars.is-status li:nth-child(3) i { background: #7c3aed; }
.hm-bars.is-status li:nth-child(4) i { background: #f59e0b; }
.hm-bars.is-status li:nth-child(5) i { background: #10b981; }
.hm-bars.is-status li:nth-child(6) i { background: #94a3b8; }
.hm-stat-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.hm-stat-table th, .hm-stat-table td { padding: 7px 6px; border-bottom: 1px solid #f1f5f9; text-align: right; }
.hm-stat-table th:first-child, .hm-stat-table td:first-child { text-align: left; }
.hm-stat-table th { font-size: 11px; text-transform: uppercase; color: #94a3b8; }
.hm-staff-wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .hm-staff-wrap { grid-template-columns: 1fr; } }
.hm-staff-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hm-staff-list li { display: flex; align-items: center; gap: 10px; }
.hm-staff-list li div { flex: 1; display: flex; flex-direction: column; }
.hm-staff-list small { color: #64748b; }
.hm-staff-form { display: grid; gap: 12px; }
.hm-staff-form .hm-btn-primary { justify-self: start; }

/* ==========================================================================
   v2.36 — Separate dealer portal (app layout), dealer-only login, footer link
   ========================================================================== */
.footer-dealer-link { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border: 1px solid #e2e8f0; border-radius: 999px; color: #475569; font-weight: 700; text-decoration: none; }
.footer-dealer-link:hover { color: #1d4ed8; border-color: #93c5fd; background: #eff6ff; }

body.hm-portal { margin: 0; padding: 0 !important; background: #f1f5f9; min-height: 100vh; }
body.hm-portal .floating-share-btn, body.hm-portal .mobile-bottom-nav, body.hm-portal .top-notice-bar { display: none !important; }

/* brand block */
.hm-crm-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; min-width: 0; }
.hm-crm-brand img { max-height: 36px; width: auto; max-width: 120px; object-fit: contain; }
.hm-crm-logo { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #2563eb; color: #fff; font-weight: 900; font-size: 18px; flex-shrink: 0; }
.hm-crm-brand-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.hm-crm-brand-txt b { font-size: 15px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-crm-brand-txt small { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }

/* ---------- dealer login screen ---------- */
.hm-dl { display: grid; grid-template-columns: minmax(320px, 44%) 1fr; min-height: 100vh; }
.hm-dl-aside { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 36px 44px; background: radial-gradient(circle at 20% 0%, #3b82f6 0%, #1e3a8a 55%, #0f172a 100%); color: #fff; }
.hm-dl-aside .hm-crm-logo { background: #fff; color: #1d4ed8; }
.hm-dl-pitch h2 { margin: 0 0 18px; font-size: clamp(26px, 3vw, 38px); font-weight: 900; line-height: 1.1; color: #fff; }
.hm-dl-pitch ul { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 12px; }
.hm-dl-pitch li { position: relative; padding-left: 30px; font-size: 15px; color: #dbeafe; line-height: 1.4; }
.hm-dl-pitch li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 99px; background: rgba(255,255,255,.16); color: #fff; font-size: 12px; font-weight: 900; display: grid; place-items: center; }
.hm-dl-main { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 32px 16px; }
.hm-dl-mobile-brand { display: none; }
.hm-dl-mobile-brand.is-on { display: block; }
.hm-dl-card { width: 100%; max-width: 420px; padding: 30px 28px 24px; background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; box-shadow: 0 20px 50px rgba(15,23,42,.08); box-sizing: border-box; }
.hm-dl-card h1 { margin: 0 0 4px; font-size: 24px; font-weight: 900; color: #0f172a; }
.hm-dl-sub { margin: 0 0 18px; color: #64748b; font-size: 14px; }
.hm-dl-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 18px; border-radius: 12px; background: #f1f5f9; }
.hm-dl-tabs button { height: 38px; border: 0; border-radius: 9px; background: none; color: #475569; font-size: 13px; font-weight: 800; cursor: pointer; }
.hm-dl-tabs button.is-active { background: #fff; color: #1d4ed8; box-shadow: 0 1px 3px rgba(15,23,42,.12); }
[data-dl-pane][hidden] { display: none; }
.hm-dl-card .hm-login-test { margin-top: 12px; }
.hm-pw-wrap { position: relative; display: block; }
.hm-pw-wrap input { padding-right: 46px !important; }
.hm-pw-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; background: none; color: #64748b; cursor: pointer; }
.hm-pw-eye[aria-pressed="true"] { color: #2563eb; }
.hm-check { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #334155; }
.hm-dl-note { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid #f1f5f9; font-size: 12.5px; color: #64748b; line-height: 1.5; }
.hm-dl-note a { color: #2563eb; font-weight: 700; }
.hm-dl-back { color: #64748b; font-size: 13px; font-weight: 700; text-decoration: none; }
.hm-dl-back:hover { color: #1d4ed8; }
.hm-dl-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.hm-dl:has(.hm-dl-main:only-child) { grid-template-columns: 1fr; }
@media (max-width: 860px) {
  .hm-dl { grid-template-columns: 1fr; }
  .hm-dl-aside { display: none; }
  .hm-dl-mobile-brand { display: block; }
  .hm-dl-main { justify-content: flex-start; padding-top: 28px; }
  .hm-dl-card { padding: 24px 18px 20px; }
}

/* ---------- dashboard app ---------- */
.hm-crm-app { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; max-width: none; margin: 0; padding: 0; }
.hm-crm-side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 18px; padding: 20px 14px; background: #0f172a; color: #e2e8f0; box-sizing: border-box; overflow-y: auto; }
.hm-crm-side .hm-crm-brand { padding: 0 6px; color: #fff; }
.hm-crm-me { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.06); }
.hm-crm-me div { display: flex; flex-direction: column; min-width: 0; }
.hm-crm-me strong { color: #fff; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-crm-me small { color: #94a3b8; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-crm-app .hm-crm-tabs { display: flex; flex-direction: column; gap: 2px; border: 0; margin: 0; overflow: visible; }
.hm-crm-app .hm-crm-tabs button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border: 0; border-radius: 10px; background: none; color: #cbd5e1; font-size: 14px; font-weight: 700; text-align: left; cursor: pointer; }
.hm-crm-app .hm-crm-tabs button:hover { background: rgba(255,255,255,.06); color: #fff; }
.hm-crm-app .hm-crm-tabs button.is-active { background: #2563eb; color: #fff; }
.hm-crm-app .hm-crm-tabs button span { flex: 1; }
.hm-crm-app .hm-crm-badge { font-style: normal; }
.hm-crm-side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 2px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); }
.hm-crm-side-foot a, .hm-crm-side-foot button { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border: 0; border-radius: 10px; background: none; color: #94a3b8; font-size: 13.5px; font-weight: 700; text-decoration: none; text-align: left; cursor: pointer; }
.hm-crm-side-foot a:hover, .hm-crm-side-foot button:hover { background: rgba(255,255,255,.06); color: #fff; }
.hm-crm-main { min-width: 0; padding: 24px 28px 60px; box-sizing: border-box; }
.hm-crm-app .hm-crm-head { align-items: center; }
.hm-crm-app .hm-crm-head-actions .hm-btn-ghost { gap: 6px; }
.hm-crm-app .hm-crm-head-actions .hm-btn-ghost svg { width: 16px; height: 16px; }
.hm-crm-mobile-only { display: none !important; }
.hm-crm-app .hm-crm-kpis[hidden] { display: none; }
.hm-crm-app .hm-crm-panel[data-panel="leads"] { background: transparent; }
@media (max-width: 1100px) { .hm-crm-app .hm-crm-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .hm-crm-app { grid-template-columns: 1fr; grid-template-rows: auto 1fr; padding-bottom: 70px; }
  .hm-crm-side { position: sticky; top: 0; z-index: 50; height: auto; flex-direction: row; align-items: center; padding: 10px 14px; gap: 10px; overflow: visible; }
  .hm-crm-side .hm-crm-brand-txt small { display: none; }
  .hm-crm-me { margin-left: auto; padding: 0; background: none; }
  .hm-crm-me .hm-acc-avatar { display: none; }
  .hm-crm-me div { align-items: flex-end; max-width: 46vw; }
  .hm-crm-side-foot { display: none; }
  .hm-crm-app .hm-crm-tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; flex-direction: row; gap: 0; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: #0f172a; box-shadow: 0 -6px 20px rgba(15,23,42,.25); }
  .hm-crm-app .hm-crm-tabs button { flex: 1; flex-direction: column; gap: 3px; padding: 7px 2px; font-size: 11px; text-align: center; position: relative; }
  .hm-crm-app .hm-crm-tabs button span { flex: none; }
  .hm-crm-app .hm-crm-tabs .hm-crm-badge { position: absolute; top: 2px; left: calc(50% + 6px); }
  .hm-crm-main { padding: 16px 14px 30px; }
  .hm-crm-mobile-only { display: inline-flex !important; padding: 0 12px !important; }
}
@media (max-width: 480px) {
  .hm-crm-app .hm-crm-head-actions .hm-crm-export { padding: 0 12px; font-size: 0; gap: 0; }
  .hm-crm-app .hm-crm-head-actions .hm-crm-export svg { width: 18px; height: 18px; }
}

/* ==========================================================================
   v2.37 — Lead table (dealer portal), clickable score cards, QT/TD lead IDs
   ========================================================================== */
.hm-kpi { position: relative; transition: border-color .15s, box-shadow .15s, transform .15s; }
.hm-kpi:hover { border-color: #93c5fd; transform: translateY(-1px); }
.hm-kpi.is-active { border-color: #2563eb; box-shadow: 0 0 0 2px #2563eb inset, 0 6px 16px rgba(37,99,235,.15); background: #f8fbff; }
.hm-colpick { position: relative; margin-left: auto; }
.hm-cols-btn { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: #0f172a; font-size: 13px; font-weight: 800; cursor: pointer; }
.hm-cols-btn[aria-expanded="true"] { border-color: #2563eb; color: #1d4ed8; }
.hm-cols-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 220px; padding: 10px 12px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; box-shadow: 0 16px 40px rgba(15,23,42,.16); }
.hm-cols-menu[hidden] { display: none; }
.hm-cols-menu p { margin: 0 0 6px; font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: #94a3b8; }
.hm-cols-menu label { display: flex; align-items: center; gap: 8px; padding: 5px 2px; font-size: 13.5px; font-weight: 600; color: #0f172a; cursor: pointer; }

.hm-table-wrap { overflow-x: auto; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; -webkit-overflow-scrolling: touch; }
.hm-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; color: #0f172a; }
.hm-table th { position: sticky; top: 0; z-index: 2; padding: 10px 12px; background: #f8fafc; border-bottom: 1px solid #e2e8f0; text-align: left; font-size: 11.5px; font-weight: 900; letter-spacing: .03em; text-transform: uppercase; color: #64748b; white-space: nowrap; }
.hm-table td { padding: 10px 12px; border-bottom: 1px solid #f1f5f9; vertical-align: top; }
.hm-table tbody tr:last-child td { border-bottom: 0; }
.hm-table tbody tr { cursor: pointer; transition: background .2s; }
.hm-table tbody tr:hover td { background: #f8fbff; }
.hm-table tr.is-busy { opacity: .55; pointer-events: none; }
.hm-table tr.is-saved td { background: #ecfdf5 !important; }
.hm-table tr.is-lost td { color: #64748b; }
.hm-sort { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; cursor: pointer; }
.hm-sort i { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid #cbd5e1; }
.hm-sort.is-asc i { border-top: 0; border-bottom: 5px solid #2563eb; }
.hm-sort.is-desc i { border-top-color: #2563eb; }
.hm-sort.is-asc, .hm-sort.is-desc { color: #1d4ed8; }
/* first column sticks while scrolling sideways */
.hm-table .c-code { position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: 1px 0 0 #f1f5f9; }
.hm-table th.c-code { z-index: 3; background: #f8fafc; }
.hm-code { display: inline-block; padding: 3px 8px; border: 0; border-radius: 7px; background: #dcfce7; color: #15803d; font: 900 12.5px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .02em; cursor: pointer; white-space: nowrap; }
.hm-code.is-test_drive { background: #e0f2fe; color: #0369a1; }
button.hm-code:hover { filter: brightness(.95); text-decoration: underline; }
.hm-t-name { display: flex; flex-direction: column; gap: 4px; min-width: 96px; }
.hm-t-name strong { font-weight: 800; }
.hm-t-acts { display: flex; gap: 4px; }
.hm-t-acts .hm-ic { height: 26px; padding: 0 7px; border-radius: 7px; }
.hm-t-acts .hm-ic svg { width: 14px; height: 14px; }
.hm-t-muted { color: #64748b; }
.hm-t-warn { color: #b45309; font-weight: 700; }
.hm-t-price { color: #059669; font-weight: 700; white-space: nowrap; }
.hm-t-date, .hm-t-mobile { white-space: nowrap; }
.hm-table .c-model { min-width: 110px; font-weight: 700; }
.hm-table .c-variant { min-width: 70px; }
.hm-table .c-location { min-width: 90px; }
.hm-t-status { height: 32px; font-size: 12.5px; }
.hm-t-assign { height: 32px; max-width: 150px; border: 1px solid #cbd5e1; border-radius: 9px; padding: 0 6px; font-size: 12.5px; font-weight: 700; background: #fff; }
.hm-t-fu { height: 32px; border: 1px solid #cbd5e1; border-radius: 9px; padding: 0 6px; font-size: 12.5px; font-weight: 700; color: #0f172a; background: #fff; }
.hm-t-fu.is-today { border-color: #f59e0b; background: #fffbeb; color: #b45309; }
.hm-t-fu.is-overdue { border-color: #fca5a5; background: #fef2f2; color: #dc2626; }
.hm-t-note, .hm-t-tl { min-width: 150px; max-width: 210px; }
.hm-t-note p, .hm-t-tl p { margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; font-size: 13px; }
.hm-t-tl p.is-note { color: #1d4ed8; }
.hm-t-tl small { display: block; color: #94a3b8; font-size: 11.5px; margin-top: 2px; }
.hm-t-addnote, .hm-t-tlbtn, .hm-t-cancel { margin-top: 4px; padding: 0; border: 0; background: none; color: #2563eb; font-size: 12px; font-weight: 800; cursor: pointer; }
.hm-t-addnote:hover, .hm-t-tlbtn:hover { text-decoration: underline; }
.hm-t-noteform { display: grid; gap: 6px; min-width: 220px; }
.hm-t-noteform textarea { width: 100%; box-sizing: border-box; border: 1px solid #93c5fd; border-radius: 8px; padding: 6px 8px; font-size: 13px; resize: vertical; }
.hm-t-noteform div { display: flex; gap: 10px; align-items: center; }
.hm-t-noteform .hm-btn-primary { height: 30px; padding: 0 12px; font-size: 12.5px; }
.hm-t-cancel { margin: 0; color: #64748b; }
.hm-dr-head .hm-code { font-size: 12px; }
[data-panel="followups"] .hm-table-wrap { margin-bottom: 8px; }
@media (max-width: 900px) {
  .hm-colpick { margin-left: 0; }
  .hm-table { font-size: 13px; }
  .hm-table td, .hm-table th { padding: 8px 10px; }
}
@media (min-width: 901px) {
  .hm-table { font-size: 13px; }
  .hm-table th { padding: 10px 8px; font-size: 11px; }
  .hm-table td { padding: 9px 8px; }
  .hm-t-status { padding-right: 22px; }
  .hm-t-fu { width: 128px; }
}
.hm-enq-code { color: #0f172a; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
@media (min-width: 901px) {
  .hm-crm-app { grid-template-columns: 224px minmax(0, 1fr); }
  .hm-crm-main { padding: 22px 20px 50px; }
  .hm-table .c-model { min-width: 88px; }
  .hm-table .c-variant { min-width: 56px; }
  .hm-table .c-location { min-width: 76px; }
  .hm-t-name { min-width: 72px; }
  .hm-t-note, .hm-t-tl { min-width: 118px; max-width: 180px; }
  .hm-t-status { max-width: 118px; font-size: 12px; padding-left: 7px; }
  .hm-t-assign { max-width: 108px; }
  .hm-t-fu { width: 116px; font-size: 12px; padding: 0 4px; }
  .hm-table th { white-space: normal; line-height: 1.25; }
}

/* v2.38 — dealer manages sales staff logins */
.hm-staff-wrap { grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); align-items: start; }
.hm-staff-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hm-staff-card { padding: 12px 14px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; }
.hm-staff-card.is-off { background: #f8fafc; }
.hm-staff-card.is-off .hm-staff-who strong { color: #64748b; }
.hm-staff-top { display: flex; align-items: center; gap: 10px; }
.hm-staff-who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hm-staff-who strong { font-size: 15px; color: #0f172a; }
.hm-staff-who small { color: #64748b; font-size: 12.5px; overflow-wrap: anywhere; }
.hm-staff-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 12px; margin: 10px 0 8px; padding: 8px 10px; border-radius: 9px; background: #f8fafc; }
.hm-staff-meta dt { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #94a3b8; }
.hm-staff-meta dd { margin: 1px 0 0; font-size: 13px; font-weight: 700; color: #0f172a; overflow-wrap: anywhere; }
.hm-staff-meta code { font-size: 12px; background: none; padding: 0; }
.hm-staff-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.hm-staff-acts button { height: 30px; padding: 0 10px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; color: #1e293b; font-size: 12.5px; font-weight: 800; cursor: pointer; }
.hm-staff-acts button:hover { border-color: #2563eb; color: #1d4ed8; }
.hm-staff-acts button.is-danger { color: #dc2626; }
.hm-staff-acts button.is-danger:hover { border-color: #fca5a5; }
.hm-staff-acts button.is-confirm { background: #fef2f2; border-color: #fca5a5; color: #b91c1c; }
.hm-staff-formcard { position: sticky; top: 16px; }
.hm-staff-formacts { display: flex; gap: 8px; }
.hm-pw-row2 { display: flex; gap: 6px; }
.hm-pw-row2 input { flex: 1; min-width: 0; }
.hm-pw-row2 .hm-btn-ghost { height: 46px; padding: 0 12px; font-size: 13px; }
.hm-creds { margin: 0 0 14px; padding: 14px 16px; border: 1px solid #93c5fd; border-left: 4px solid #2563eb; border-radius: 12px; background: #eff6ff; }
.hm-creds-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.hm-creds-head strong { font-size: 15px; color: #0f172a; }
.hm-creds-x { width: 30px; height: 30px; border: 0; border-radius: 99px; background: #fff; font-size: 20px; line-height: 1; cursor: pointer; color: #475569; }
.hm-creds .hm-muted { margin: 4px 0 8px; }
.hm-creds dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 14px; margin: 0 0 12px; }
.hm-creds dt { font-size: 10.5px; font-weight: 800; text-transform: uppercase; color: #64748b; }
.hm-creds dd { margin: 2px 0 0; font-size: 13.5px; font-weight: 700; overflow-wrap: anywhere; }
.hm-creds code { font-size: 14px; padding: 1px 6px; border-radius: 5px; background: #fff; }
.hm-creds-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.hm-creds-acts > * { height: 38px; font-size: 13px; }
@media (max-width: 900px) {
  .hm-staff-wrap { grid-template-columns: 1fr; }
  .hm-staff-formcard { position: static; }
  .hm-staff-meta, .hm-creds dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* v2.39 — lead statuses */
.hm-status-pill.is-ok { background: #ecfdf5; color: #047857; }
.hm-status-pill.is-off { background: #fef2f2; color: #b91c1c; }
.hm-lead-status.is-invalid, .hm-status-pill.is-invalid { background-color: #f1f5f9; color: #475569; border-color: #cbd5e1; }
.hm-lead-status.is-no_response, .hm-status-pill.is-no_response { background-color: #fff7ed; color: #c2410c; border-color: #fed7aa; }
.hm-lead-status.is-not_interested, .hm-status-pill.is-not_interested { background-color: #fff1f2; color: #be123c; border-color: #fecdd3; }
.hm-lead-status.is-call_back, .hm-status-pill.is-call_back { background-color: #fffbeb; color: #b45309; border-color: #fde68a; }
.hm-lead-status.is-interested, .hm-status-pill.is-interested { background-color: #ecfeff; color: #0e7490; border-color: #a5f3fc; }
.hm-lead-status.is-test_drive, .hm-status-pill.is-test_drive { background-color: #f5f3ff; color: #6d28d9; border-color: #ddd6fe; }
.hm-lead-status.is-negotiation, .hm-status-pill.is-negotiation { background-color: #fefce8; color: #a16207; border-color: #fde68a; }
.hm-lead-status.is-booked, .hm-status-pill.is-booked { background-color: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.hm-lead-status.is-delivered, .hm-status-pill.is-delivered { background-color: #dcfce7; color: #166534; border-color: #86efac; }
.hm-lead-status.is-lost, .hm-status-pill.is-lost { background-color: #f8fafc; color: #64748b; border-color: #e2e8f0; }
.hm-table tr.is-invalid td, .hm-table tr.is-not_interested td { color: #64748b; }
.hm-bars.is-status li i { background: #94a3b8 !important; }
.hm-bars.is-status li.is-new i { background: #2563eb !important; }
.hm-bars.is-status li.is-no_response i { background: #f97316 !important; }
.hm-bars.is-status li.is-not_interested i { background: #e11d48 !important; }
.hm-bars.is-status li.is-call_back i { background: #f59e0b !important; }
.hm-bars.is-status li.is-interested i { background: #0891b2 !important; }
.hm-bars.is-status li.is-test_drive i { background: #7c3aed !important; }
.hm-bars.is-status li.is-negotiation i { background: #ca8a04 !important; }
.hm-bars.is-status li.is-booked i { background: #10b981 !important; }
.hm-bars.is-status li.is-delivered i { background: #15803d !important; }
.hm-enq-steps { grid-template-columns: repeat(6, 1fr); }
@media (min-width: 901px) {
  .hm-t-status { max-width: none; width: 146px; }
  .hm-t-note, .hm-t-tl { min-width: 112px; max-width: 160px; }
  .hm-table .c-location { min-width: 70px; }
}
.hm-t-status { min-width: 140px; }
@media (min-width: 901px) { .hm-t-status { width: 164px; padding-left: 8px; } .hm-table .c-model { min-width: 80px; } }
.hm-t-status { min-width: 164px; }
@media (min-width: 901px) { .hm-t-status { width: 176px; } .hm-t-assign { max-width: 100px; } .hm-t-note, .hm-t-tl { min-width: 104px; max-width: 150px; } }
.hm-t-status { min-width: 176px; }

/* ==========================================================================
   v2.42 — Two-panel login pop-up
   ========================================================================== */
.hm-login-modal { align-items: center; justify-content: center; padding: 16px; }
.hm-login-box.hm-lx { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr); max-width: 900px; width: 100%; padding: 0; overflow: hidden; border-radius: 22px; max-height: calc(100vh - 32px); box-shadow: 0 30px 80px rgba(2, 6, 23, .35); }
.hm-lx .hm-login-close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 36px; height: 36px; border-radius: 999px; border: 1px solid #e2e8f0; background: #fff; color: #475569; font-size: 22px; line-height: 1; cursor: pointer; }
.hm-lx-side { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 34px 34px 30px; overflow: hidden; color: #fff;
  background: radial-gradient(120% 90% at 0% 0%, #3b82f6 0%, rgba(59,130,246,0) 55%), radial-gradient(90% 80% at 100% 100%, #7c3aed 0%, rgba(124,58,237,0) 60%), linear-gradient(160deg, #1d4ed8 0%, #312e81 60%, #0f172a 100%); }
.hm-lx-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 16px; }
.hm-lx-brand img { max-height: 34px; width: auto; filter: brightness(0) invert(1); }
.hm-lx-brand b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #fff; color: #1d4ed8; font-size: 17px; }
.hm-lx-brand em { font-style: normal; letter-spacing: .01em; }
.hm-lx-copy h2 { margin: 0 0 14px; color: #fff; font-size: clamp(26px, 3vw, 34px); line-height: 1.12; font-weight: 900; letter-spacing: -.01em; }
.hm-lx-copy p { margin: 0 0 18px; color: #dbeafe; font-size: 14.5px; line-height: 1.55; }
.hm-lx-copy ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.hm-lx-copy li { position: relative; padding-left: 28px; font-size: 14px; font-weight: 700; color: #eef2ff; }
.hm-lx-copy li::before { content: "✓"; position: absolute; left: 0; top: -1px; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 99px; background: rgba(255,255,255,.18); font-size: 11px; font-weight: 900; }
.hm-lx-car { width: 72%; max-width: 240px; color: rgba(255,255,255,.28); align-self: flex-end; margin-right: -10px; }
.hm-lx-main { padding: 28px 30px 22px; overflow-y: auto; background: #fff; }
.hm-lx .hm-login-head { margin-bottom: 18px; }
.hm-lx .hm-login-badge { width: 46px; height: 46px; border-radius: 14px; background: #eef2ff; color: #4338ca; }
.hm-lx .hm-login-title { font-size: 21px; }
.hm-login-hint { margin: -4px 0 0; font-size: 12px; color: #64748b; }
.hm-otp-go { gap: 8px; border-radius: 12px !important; background: linear-gradient(90deg, #2563eb, #4f46e5) !important; }
.hm-otp-go span { transition: transform .15s; }
.hm-otp-go:hover span { transform: translateX(3px); }
.hm-lx .hm-mobile-wrap { border-radius: 12px; }
.hm-lx-dealer { margin-top: 18px; }
.hm-lx-divider { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; color: #94a3b8; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.hm-lx-divider::before, .hm-lx-divider::after { content: ""; flex: 1; height: 1px; background: #e2e8f0; }
.hm-lx-dtext { margin: 0 0 12px; font-size: 13px; color: #475569; line-height: 1.5; }
.hm-lx-dbtns { display: flex; gap: 8px; flex-wrap: wrap; }
.hm-lx-dbtns a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 11px; font-size: 13px; font-weight: 800; text-decoration: none; flex: 1 1 auto; }
.hm-lx-dlogin { background: #0f172a; color: #fff; }
.hm-lx-dlogin:hover { background: #1e293b; color: #fff; }
.hm-lx-dpartner { border: 1px solid #cbd5e1; color: #0f172a; background: #fff; }
.hm-lx-dpartner:hover { border-color: #4f46e5; color: #4338ca; }
.hm-lx-terms { margin: 16px 0 0; font-size: 11.5px; color: #94a3b8; }
.hm-lx-terms a { color: #4f46e5; font-weight: 700; }
.hm-lx .hm-login-test { margin-top: 12px; }
@media (max-width: 760px) {
  .hm-login-modal { padding: 0; align-items: flex-end; }
  .hm-login-box.hm-lx { grid-template-columns: 1fr; max-height: 94vh; border-radius: 22px 22px 0 0; }
  .hm-lx-side { padding: 18px 20px 16px; gap: 6px; }
  .hm-lx-copy h2 { font-size: 20px; margin: 8px 0 0; }
  .hm-lx-copy p, .hm-lx-copy ul, .hm-lx-car { display: none; }
  .hm-lx-main { padding: 20px 18px 18px; }
  .hm-lx .hm-login-close { background: rgba(255,255,255,.95); }
}

/* ==========================================================================
   v2.42 — Home page sections
   ========================================================================== */
.hm-home2 { background: #f8fafc; padding-bottom: 36px; }
.hm-hero2 .hm-home-hero-inner { padding-top: 30px; padding-bottom: 28px; }
.hm-hero-search { display: flex; align-items: center; gap: 8px; max-width: 680px; margin-top: 18px; padding: 6px 6px 6px 14px; background: #fff; border-radius: 14px; box-shadow: 0 12px 30px rgba(2,6,23,.25); color: #64748b; }
.hm-hero-search input { flex: 1; min-width: 0; height: 42px; border: 0; outline: none; font-size: 15px; font-weight: 600; color: #0f172a; background: transparent; }
.hm-hero-search button { height: 42px; padding: 0 20px; border: 0; border-radius: 10px; background: linear-gradient(90deg, #2563eb, #4f46e5); color: #fff; font-size: 14px; font-weight: 800; cursor: pointer; }
.hm-hero-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hm-hero-links a { padding: 6px 12px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; background: rgba(255,255,255,.08); }
.hm-hero-links a:hover { background: rgba(255,255,255,.2); }

.hm-hs { padding: 34px 0 6px; }
.hm-hs-in { max-width: 1240px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
.hm-hs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.hm-hs-kicker { margin: 0 0 4px; font-size: 11.5px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: #4f46e5; }
.hm-hs-title { margin: 0; font-size: clamp(21px, 3vw, 28px); font-weight: 900; color: #0f172a; letter-spacing: -.01em; }
.hm-hs-sub { margin: 4px 0 0; color: #64748b; font-size: 14px; }
.hm-hs-all { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; height: 38px; padding: 0 14px; border: 1px solid #c7d2fe; border-radius: 999px; background: #fff; color: #4338ca; font-size: 13px; font-weight: 800; text-decoration: none; cursor: pointer; white-space: nowrap; }
.hm-hs-all:hover { background: #eef2ff; }
.hm-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 8px; scrollbar-width: none; }
.hm-chips::-webkit-scrollbar { display: none; }
.hm-chip-btn { flex-shrink: 0; height: 36px; padding: 0 16px; border: 1px solid #e2e8f0; border-radius: 999px; background: #fff; color: #334155; font-size: 13px; font-weight: 800; cursor: pointer; }
.hm-chip-btn.is-active { background: #0f172a; border-color: #0f172a; color: #fff; }

/* rails */
.hm-rail { position: relative; }
.hm-rail[hidden] { display: none; }
.hm-rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 14px) / 4); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 14px; scrollbar-width: none; }
.hm-rail-track::-webkit-scrollbar { display: none; }
.hm-rail-track > * { scroll-snap-align: start; }
.hm-rail-nav { position: absolute; top: 40%; z-index: 2; width: 40px; height: 40px; border: 1px solid #e2e8f0; border-radius: 999px; background: #fff; color: #0f172a; font-size: 24px; line-height: 1; box-shadow: 0 6px 18px rgba(15,23,42,.15); cursor: pointer; }
.hm-rail-nav.is-prev { left: -14px; }
.hm-rail-nav.is-next { right: -14px; }
.hm-rail-nav:disabled { opacity: 0; pointer-events: none; }
.hm-rail.is-static .hm-rail-nav { display: none; }
@media (max-width: 1100px) { .hm-rail-track { grid-auto-columns: calc((100% - 2 * 14px) / 3); } }
@media (max-width: 760px) { .hm-rail-track { grid-auto-columns: 72%; gap: 12px; } .hm-rail-nav { display: none; } .hm-hs-head { align-items: flex-start; flex-direction: column; } }

/* popular car card */
.hm-pc-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden; transition: box-shadow .18s, transform .18s; }
.hm-pc-card:hover { box-shadow: 0 12px 30px rgba(15,23,42,.1); transform: translateY(-2px); }
.hm-pc-media { position: relative; display: block; aspect-ratio: 16 / 10; background: linear-gradient(180deg, #f8fafc, #eef2f7); }
.hm-pc-media img { width: 100%; height: 100%; object-fit: contain; }
.hm-pc-badge { position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 999px; background: #f59e0b; color: #fff; font-size: 10.5px; font-weight: 900; text-transform: uppercase; }
.hm-pc-heart { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; z-index: 2; }
.hm-pc-body { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px 14px; flex: 1; }
.hm-pc-name { margin: 0; font-size: 15.5px; font-weight: 900; line-height: 1.25; }
.hm-pc-name a { color: #0f172a; text-decoration: none; }
.hm-pc-price { margin: 2px 0 0; font-size: 15px; font-weight: 900; color: #0f172a; }
.hm-pc-price span { color: #94a3b8; font-weight: 700; }
.hm-pc-meta { margin: 0 0 10px; font-size: 12.5px; color: #64748b; }
.hm-pc-btn { margin-top: auto; height: 38px; border: 1px solid #2563eb; border-radius: 10px; background: #fff; color: #1d4ed8; font-size: 13px; font-weight: 800; cursor: pointer; }
.hm-pc-btn:hover { background: #2563eb; color: #fff; }
.hm-pc-more { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border: 2px dashed #c7d2fe; border-radius: 16px; color: #4338ca; font-weight: 900; text-decoration: none; min-height: 220px; background: #f5f7ff; }
.hm-pc-more span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 99px; background: #4f46e5; color: #fff; font-size: 22px; }

/* brand / category tiles reuse .hm-dir-grid */
.hm-hs .hm-dir-grid { margin-top: 0; }

/* fuel tiles */
.hm-fuel-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.hm-fuel-tile { --fc: #2563eb; position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px 16px; border: 1px solid #e2e8f0; border-radius: 16px; background: #fff; text-decoration: none; overflow: hidden; transition: border-color .15s, transform .15s, box-shadow .15s; }
.hm-fuel-tile::after { content: ""; position: absolute; right: -24px; bottom: -24px; width: 90px; height: 90px; border-radius: 99px; background: var(--fc); opacity: .08; }
.hm-fuel-tile:hover { border-color: var(--fc); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15,23,42,.08); }
.hm-fuel-ic { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 8px; border-radius: 14px; color: var(--fc); background: color-mix(in srgb, var(--fc) 12%, #fff); }
.hm-fuel-name { font-size: 16px; font-weight: 900; color: #0f172a; }
.hm-fuel-count { font-size: 12.5px; font-weight: 700; color: #64748b; }
.hm-fuel-tile.is-empty { opacity: .6; }
@media (max-width: 900px) { .hm-fuel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .hm-fuel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .hm-fuel-tile { padding: 14px; } }

/* reviews */
.hm-stars { --r: 5; position: relative; display: inline-block; font-size: 16px; line-height: 1; letter-spacing: 2px; color: #e2e8f0; }
.hm-stars::before { content: "★★★★★"; }
.hm-stars::after { content: "★★★★★"; position: absolute; left: 0; top: 0; width: calc(var(--r) / 5 * 100%); overflow: hidden; color: #f59e0b; white-space: nowrap; }
.hm-rv-summary { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; color: #475569; font-size: 14px; }
.hm-rv-summary b { color: #0f172a; }
.hm-rv-rail .hm-rail-track { grid-auto-columns: calc((100% - 2 * 14px) / 3); }
@media (max-width: 900px) { .hm-rv-rail .hm-rail-track { grid-auto-columns: 82%; } }
.hm-rv-card { display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid #e2e8f0; border-radius: 16px; background: #fff; }
.hm-rv-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.hm-rv-car { padding: 3px 9px; border-radius: 999px; background: #eef2ff; color: #4338ca; font-size: 11.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; }
.hm-rv-card h3 { margin: 0; font-size: 15.5px; font-weight: 900; color: #0f172a; }
.hm-rv-text { margin: 0; color: #475569; font-size: 14px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.hm-rv-card footer { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px solid #f1f5f9; }
.hm-rv-av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 99px; background: linear-gradient(135deg, #2563eb, #7c3aed); color: #fff; font-weight: 900; }
.hm-rv-card footer span:last-child { display: flex; flex-direction: column; }
.hm-rv-card footer strong { font-size: 14px; color: #0f172a; }
.hm-rv-card footer small { font-size: 12px; color: #64748b; }
.hm-rv-card footer em { font-style: normal; color: #047857; font-weight: 700; }
.hm-rv-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 30px 16px; border: 1px dashed #cbd5e1; border-radius: 16px; background: #fff; text-align: center; }
.hm-rv-empty p { margin: 0; color: #475569; }
.hm-rv-empty .hm-stars { font-size: 22px; }
.hm-rv-box { max-width: 480px; }
.hm-rv-box h3 { margin: 0 0 4px; font-size: 20px; font-weight: 900; }
.hm-rv-form { display: grid; gap: 12px; }
.hm-rv-form textarea { height: auto !important; padding: 10px 14px !important; }
.hm-rv-rate { margin: 0; padding: 0; border: 0; }
.hm-rv-rate legend { margin-bottom: 4px; padding: 0; font-size: 12.5px; font-weight: 800; color: #334155; }
.hm-rv-stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.hm-rv-rate input { position: absolute; opacity: 0; }
.hm-rv-rate label { font-size: 30px; line-height: 1; color: #e2e8f0; cursor: pointer; }
.hm-rv-rate input:checked ~ label, .hm-rv-rate label:hover, .hm-rv-rate label:hover ~ label { color: #f59e0b; }
.hm-rv-rate input:focus-visible + label { outline: 2px solid #2563eb; border-radius: 4px; }
.hm-code.is-loan, .hm-lead-type.is-loan { background: #fef3c7; color: #92400e; }

/* ==========================================================================
   v2.42 — Car Loan EMI Calculator
   ========================================================================== */
.emi { --emi-p: #4f46e5; --emi-i: #f59e0b; --emi-b: #2563eb; background: #f8fafc; padding-bottom: 40px; }
.emi-in { max-width: 1180px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
.emi-hero { background: linear-gradient(180deg, #eef2ff 0%, #f8fafc 100%); border-bottom: 1px solid #e2e8f0; padding: 14px 0 26px; }
.emi-hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: center; margin-top: 10px; }
.emi-kicker { margin: 0 0 6px; font-size: 11.5px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: #4f46e5; }
.emi-hero h1 { margin: 0 0 10px; font-size: clamp(28px, 4.2vw, 44px); font-weight: 900; letter-spacing: -.02em; color: #0f172a; line-height: 1.08; }
.emi-lead { margin: 0 0 14px; color: #475569; font-size: 15.5px; line-height: 1.55; max-width: 620px; }
.emi-pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.emi-pills li { padding: 5px 12px; border: 1px solid #c7d2fe; border-radius: 999px; background: #fff; color: #3730a3; font-size: 12.5px; font-weight: 700; }
.emi-hero-art { position: relative; padding: 26px 18px 14px; border-radius: 22px; background: radial-gradient(120% 100% at 100% 0%, #c7d2fe 0%, #eef2ff 60%); }
.emi-hero-art svg { width: 100%; height: auto; display: block; }
.emi-hero-chip { position: absolute; top: 14px; right: 16px; display: flex; align-items: baseline; gap: 4px; padding: 8px 12px; border-radius: 12px; background: #0f172a; color: #fff; box-shadow: 0 10px 24px rgba(15,23,42,.25); }
.emi-hero-chip small { color: #a5b4fc; font-size: 11px; font-weight: 700; }
.emi-hero-chip b { font-size: 18px; }
@media (max-width: 820px) { .emi-hero-grid { grid-template-columns: 1fr; } .emi-hero-art { display: none; } }

.emi-body { display: grid; gap: 18px; margin-top: 20px; }
.emi-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 20px; box-shadow: 0 1px 3px rgba(15,23,42,.04); min-width: 0; }
.emi-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.emi-card-head h2 { margin: 0; font-size: 18px; font-weight: 900; color: #0f172a; }
.emi-card-head p { margin: 3px 0 0; color: #64748b; font-size: 13px; }
.emi-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 900px) { .emi-grid { grid-template-columns: 1fr; } }
.emi-reset { height: 34px; padding: 0 14px; border: 1px solid #e2e8f0; border-radius: 999px; background: #fff; color: #334155; font-size: 12.5px; font-weight: 800; cursor: pointer; }
.emi-reset:hover { border-color: #4f46e5; color: #4338ca; }

.emi-car { margin-bottom: 16px; padding: 12px; border-radius: 14px; background: #f8fafc; border: 1px dashed #c7d2fe; }
.emi-car label { display: block; margin-bottom: 6px; font-size: 12.5px; font-weight: 800; color: #334155; }
.emi-car-row { display: flex; gap: 8px; }
.emi-car-row > input { flex: 1; min-width: 0; height: 42px; padding: 0 12px; border: 1px solid #cbd5e1; border-radius: 10px; font-size: 14px; font-weight: 600; background: #fff; }
.emi-car-note { margin: 6px 0 0; font-size: 12px; color: #4338ca; }
.emi-car-note:empty { display: none; }

.emi-field { padding: 14px 0; border-top: 1px solid #f1f5f9; }
.emi-car + .emi-field, .emi-card-head + .emi-field { border-top: 0; padding-top: 4px; }
.emi-field-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.emi-field-title { font-size: 14px; font-weight: 800; color: #0f172a; }
.emi-input { display: inline-flex; align-items: center; height: 40px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; overflow: hidden; }
.emi-input:focus-within { border-color: #4f46e5; box-shadow: 0 0 0 3px rgba(79,70,229,.15); }
.emi-input input { width: 128px; height: 100%; border: 0; outline: none; padding: 0 10px; font-size: 15px; font-weight: 800; color: #0f172a; text-align: right; background: transparent; -moz-appearance: textfield; }
.emi-input input::-webkit-outer-spin-button, .emi-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
#emi-rate, #emi-tenure { width: 70px; }
.emi-input-sm { height: 42px; }
.emi-input-sm input { width: 52px; }
.emi-affix { padding: 0 10px; color: #64748b; font-weight: 800; font-size: 13px; background: #f8fafc; align-self: stretch; display: flex; align-items: center; white-space: nowrap; }
.emi-select select { height: 100%; border: 0; border-left: 1px solid #e2e8f0; padding: 0 26px 0 10px; font-size: 13px; font-weight: 800; color: #334155; background: #f8fafc; cursor: pointer; }
.emi-range { --fill: 50%; width: 100%; height: 6px; margin: 4px 0; -webkit-appearance: none; appearance: none; border-radius: 99px; background: linear-gradient(90deg, var(--emi-p) var(--fill), #e2e8f0 var(--fill)); outline: none; cursor: pointer; }
.emi-range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 99px; background: #fff; border: 5px solid var(--emi-p); box-shadow: 0 2px 8px rgba(79,70,229,.35); }
.emi-range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 99px; background: #fff; border: 5px solid var(--emi-p); }
.emi-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(79,70,229,.25); }
.emi-range-ends { display: flex; justify-content: space-between; font-size: 11.5px; color: #94a3b8; font-weight: 700; }
.emi-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.emi-chips button { height: 30px; padding: 0 12px; border: 1px solid #e2e8f0; border-radius: 999px; background: #fff; color: #334155; font-size: 12.5px; font-weight: 800; cursor: pointer; }
.emi-chips button:hover { border-color: #4f46e5; color: #4338ca; background: #eef2ff; }

.emi-result { position: sticky; top: 90px; background: radial-gradient(120% 80% at 100% 0%, #312e81 0%, #0f172a 60%); color: #e2e8f0; border: 0; }
.emi-result-label { margin: 0; color: #a5b4fc; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.emi-result-value { margin: 4px 0 6px; font-size: clamp(34px, 5vw, 46px); font-weight: 900; color: #fff; letter-spacing: -.02em; }
.emi-result-note { margin: 0 0 14px; font-size: 12.5px; color: #94a3b8; }
.emi-breakdown { margin: 0; display: grid; gap: 2px; }
.emi-breakdown div { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.08); }
.emi-breakdown dt { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #cbd5e1; }
.emi-breakdown dd { margin: 0; font-size: 15px; font-weight: 900; color: #fff; }
.emi-breakdown .is-total dt { color: #fff; font-weight: 800; }
.emi-breakdown .is-total dd { font-size: 17px; }
.emi-dot { display: inline-block; width: 10px; height: 10px; border-radius: 99px; flex-shrink: 0; }
.emi-dot.is-p { background: var(--emi-p); } .emi-dot.is-i { background: var(--emi-i); } .emi-dot.is-b { background: var(--emi-b); }
.emi-result .emi-dot.is-p { background: #818cf8; }
.emi-split { display: flex; height: 10px; margin-top: 10px; border-radius: 99px; overflow: hidden; background: rgba(255,255,255,.1); }
.emi-split span { transition: width .3s; }
.emi-split .is-p { background: #818cf8; } .emi-split .is-i { background: var(--emi-i); }
.emi-split-text { margin: 6px 0 14px; font-size: 12px; color: #94a3b8; }
.emi-help-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 12px; background: #fff; color: #1e1b4b; font-weight: 900; font-size: 14px; text-decoration: none; }
.emi-help-btn:hover { background: #eef2ff; color: #1e1b4b; }
@media (max-width: 900px) { .emi-result { position: static; } }

.emi-tabs { display: inline-flex; padding: 4px; border-radius: 12px; background: #f1f5f9; }
.emi-tabs button { height: 32px; padding: 0 14px; border: 0; border-radius: 9px; background: none; color: #475569; font-size: 13px; font-weight: 800; cursor: pointer; }
.emi-tabs button.is-active { background: #fff; color: #4338ca; box-shadow: 0 1px 3px rgba(15,23,42,.12); }
.emi-chart-view[data-view="pie"] { display: grid; grid-template-columns: 240px 1fr; gap: 26px; align-items: center; }
.emi-chart-view[hidden] { display: none !important; }
@media (max-width: 640px) { .emi-chart-view[data-view="pie"] { grid-template-columns: 1fr; justify-items: center; } }
.emi-donut-wrap { position: relative; width: 220px; height: 220px; }
.emi-donut { width: 100%; height: 100%; transform: rotate(-90deg); }
.emi-donut circle { fill: none; stroke-width: 26; transition: stroke-dasharray .4s, stroke-dashoffset .4s; }
.emi-donut-bg { stroke: #f1f5f9; }
.emi-donut-p { stroke: var(--emi-p); }
.emi-donut-i { stroke: var(--emi-i); }
.emi-donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.emi-donut-center small { color: #64748b; font-size: 12px; font-weight: 700; }
.emi-donut-center b { font-size: 24px; font-weight: 900; color: #0f172a; }
.emi-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; width: 100%; }
.emi-legend li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #e2e8f0; border-radius: 14px; }
.emi-legend li div { flex: 1; display: flex; flex-direction: column; }
.emi-legend strong { font-size: 14px; color: #0f172a; }
.emi-legend small { font-size: 13px; color: #64748b; font-weight: 700; }
.emi-legend b { font-size: 16px; color: #0f172a; }
.emi-legend.is-inline { display: flex; gap: 16px; margin-top: 8px; }
.emi-legend.is-inline li { border: 0; padding: 0; gap: 6px; font-size: 13px; font-weight: 700; color: #475569; }
.emi-graph svg { width: 100%; height: 260px; display: block; }
.emi-graph .g { stroke: #f1f5f9; stroke-width: 1; }
.emi-graph text { font-size: 11px; fill: #94a3b8; font-weight: 700; }
.emi-graph .ab { fill: rgba(37,99,235,.08); stroke: none; }
.emi-graph .lb { fill: none; stroke: var(--emi-b); stroke-width: 3; stroke-linejoin: round; }
.emi-graph .li { fill: none; stroke: var(--emi-i); stroke-width: 3; stroke-dasharray: 6 5; }

.emi-table-wrap { overflow: auto; border: 1px solid #f1f5f9; border-radius: 14px; }
.emi-table-wrap.is-tall { max-height: 460px; }
.emi-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.emi-table th { position: sticky; top: 0; padding: 10px 12px; background: #f8fafc; color: #64748b; font-size: 11.5px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; text-align: right; white-space: nowrap; }
.emi-table td { padding: 10px 12px; border-top: 1px solid #f1f5f9; text-align: right; white-space: nowrap; color: #0f172a; font-weight: 600; }
.emi-table th:first-child, .emi-table td:first-child { text-align: left; }
.emi-table tr.is-current td { background: #eef2ff; font-weight: 900; color: #3730a3; }
.emi-table em { margin-left: 6px; padding: 1px 7px; border-radius: 99px; background: #4f46e5; color: #fff; font-style: normal; font-size: 10.5px; font-weight: 800; }
.emi-pct { display: inline-block; vertical-align: middle; width: 60px; height: 6px; margin-right: 6px; border-radius: 99px; background: #e2e8f0; overflow: hidden; }
.emi-pct i { display: block; height: 100%; background: var(--emi-p); }

.emi-help { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 22px; padding: 24px; border-radius: 22px; background: linear-gradient(135deg, #eef2ff 0%, #fff 60%); border: 1px solid #c7d2fe; scroll-margin-top: 90px; }
.emi-help-copy h2 { margin: 0 0 8px; font-size: 24px; font-weight: 900; color: #0f172a; }
.emi-help-copy p { margin: 0 0 16px; color: #475569; font-size: 14.5px; line-height: 1.55; }
.emi-help-form { padding: 18px; border-radius: 16px; background: #fff; border: 1px solid #e2e8f0; display: grid; gap: 12px; }
.emi-help-form h3 { margin: 0; font-size: 17px; font-weight: 900; }
.emi-help-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.emi-help-sum { margin: 0; padding: 8px 12px; border-radius: 10px; background: #f8fafc; color: #3730a3; font-size: 12.5px; font-weight: 700; }
.emi-help-form .hm-btn-primary { justify-self: start; background: linear-gradient(90deg, #2563eb, #4f46e5); }
@media (max-width: 820px) { .emi-help { grid-template-columns: 1fr; padding: 18px; } .emi-help-grid { grid-template-columns: 1fr; } }

.emi-formula h2 { margin: 0 0 10px; font-size: 18px; font-weight: 900; }
.emi-formula-line { display: inline-block; margin: 0 0 10px; padding: 10px 14px; border-radius: 12px; background: #0f172a; color: #e0e7ff; font: 700 15px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.emi-formula p { color: #475569; font-size: 14px; line-height: 1.6; }
.emi-faq h2 { margin: 6px 0 10px; font-size: 20px; font-weight: 900; }
.emi-faq details { margin-bottom: 8px; padding: 0 16px; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; }
.emi-faq summary { padding: 14px 0; font-weight: 800; cursor: pointer; color: #0f172a; }
.emi-faq details p { margin: 0 0 14px; color: #475569; line-height: 1.55; }
/* v2.42 hero (overrides the older compact hero rules) */
.hm-hero2 .hm-home-hero-inner { display: block !important; padding: 34px 16px 30px !important; }
.hm-hero2 .hm-home-title { font-size: clamp(24px, 4.4vw, 40px); line-height: 1.12; margin: 0; max-width: 760px; }
.hm-hero2 .hm-home-sub { display: block !important; white-space: normal; margin-top: 8px; font-size: clamp(13.5px, 1.8vw, 16px); color: #dbeafe; max-width: 680px; }
.hm-hero2 .hm-hero-search { width: 100%; box-sizing: border-box; }
@media (max-width: 600px) {
  .hm-hero2 .hm-home-hero-inner { padding: 22px 16px 20px !important; }
  .hm-hero-search { padding: 5px 5px 5px 12px; }
  .hm-hero-search input { font-size: 14px; }
  .hm-hero-search button { padding: 0 14px; }
  .hm-hero-links a { font-size: 12px; padding: 5px 10px; }
  .hm-hs-head .hm-hs-all { height: 34px; }
}
.emi-formula .emi-formula-line { color: #e0e7ff; }
/* v2.43 — EMI calculator: quick options in one row, Years / Months toggle */
.emi-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.emi-chips::-webkit-scrollbar { display: none; }
.emi-chips button { flex: 1 1 0; min-width: max-content; padding: 0 8px; white-space: nowrap; }
.emi-chips button.is-on { background: #4f46e5; border-color: #4f46e5; color: #fff; }
.emi-head-ctrls { display: inline-flex; align-items: center; gap: 8px; }
.emi-unit { display: inline-flex; padding: 3px; border-radius: 10px; background: #f1f5f9; }
.emi-unit label { position: relative; cursor: pointer; }
.emi-unit input { position: absolute; opacity: 0; pointer-events: none; }
.emi-unit span { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 8px; font-size: 12.5px; font-weight: 800; color: #475569; }
.emi-unit label.is-on span { background: #fff; color: #4338ca; box-shadow: 0 1px 3px rgba(15,23,42,.14); }
.emi-unit input:focus-visible + span { outline: 2px solid #4f46e5; outline-offset: 1px; }
.emi-unit-label { min-width: 54px; justify-content: center; }
@media (max-width: 480px) {
  .emi-field-head { flex-wrap: wrap; }
  .emi-chips button { font-size: 12px; padding: 0 6px; }
  .emi-unit span { padding: 0 9px; }
  #emi-tenure { width: 54px; }
}
.emi-hero-art { max-width: 380px; justify-self: end; width: 100%; }
@media (max-width: 480px) {
  .emi-chips { gap: 4px; }
  .emi-chips button { min-width: 0; padding: 0 3px; font-size: 11.5px; letter-spacing: -.01em; }
}

/* ==========================================================================
   v2.44 — Data protection (DPDP)
   ========================================================================== */
.hm-consent { display: flex; align-items: flex-start; gap: 9px; margin: 4px 0 12px; padding: 10px 12px; border: 1px solid #e2e8f0; border-radius: 10px; background: #f8fafc; font-size: 12.5px; line-height: 1.45; color: #475569; cursor: pointer; text-align: left; }
.hm-consent input { flex-shrink: 0; width: 18px; height: 18px; margin: 1px 0 0; accent-color: #2563eb; cursor: pointer; }
.hm-consent a { color: #2563eb; font-weight: 700; }
.hm-consent:has(input:checked) { border-color: #93c5fd; background: #eff6ff; }
.hm-lx-terms { line-height: 1.5; }
.hm-grievance { list-style: none; margin: 8px 0 14px; padding: 12px 14px; border-radius: 12px; background: #f8fafc; border: 1px solid #e2e8f0; font-size: 14px; }
.hm-grievance li { margin: 0 0 4px; }
.hm-grievance em { color: #b45309; font-style: normal; }
.hm-priv-intro { margin: 0 0 14px; color: #475569; }
.hm-priv-intro a { color: #2563eb; font-weight: 700; }
.hm-priv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
@media (max-width: 760px) { .hm-priv-grid { grid-template-columns: 1fr; } }
.hm-priv-card { padding: 16px; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.hm-priv-card h3 { margin: 0; font-size: 15.5px; font-weight: 900; color: #0f172a; }
.hm-priv-card p { margin: 0; color: #475569; font-size: 13.5px; line-height: 1.5; }
.hm-priv-card .hm-btn-ghost { height: 38px; font-size: 13px; }
.hm-priv-card.is-danger { border-color: #fecaca; background: #fffafa; }
.hm-priv-card form { width: 100%; display: grid; gap: 8px; }
.hm-priv-state { padding: 6px 10px; border-radius: 9px; font-weight: 700; }
.hm-priv-state.is-on { background: #ecfdf5; color: #047857 !important; }
.hm-priv-state.is-off { background: #fef2f2; color: #b91c1c !important; }
.hm-btn-danger { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 16px; border: 0; border-radius: 10px; background: #dc2626; color: #fff; font-weight: 800; font-size: 13.5px; cursor: pointer; justify-self: start; }
.hm-btn-danger:hover { background: #b91c1c; }
.hm-btn-danger:disabled { opacity: .6; }
.hm-priv-contact form { display: grid; gap: 10px; width: 100%; max-width: 560px; }
.hm-priv-contact textarea, .hm-priv-contact select { height: auto !important; padding: 10px 12px !important; }
.hm-priv-contact .hm-btn-primary { justify-self: start; }
.hm-dpdp { display: inline-block; align-self: flex-start; padding: 1px 7px; border-radius: 6px; background: #fef2f2; color: #b91c1c; font-size: 10.5px; font-weight: 900; text-transform: uppercase; letter-spacing: .03em; }
.hm-dpdp.is-erased { background: #f1f5f9; color: #64748b; }
.hm-dpdp.is-due { background: #fffbeb; color: #b45309; }
.hm-dr-dnc { margin: 14px 0; padding: 10px 12px; border-radius: 10px; background: #fef2f2; color: #b91c1c; font-size: 13px; font-weight: 700; }

/* ==========================================================================
   v2.45 — Cookie consent pop-up
   ========================================================================== */
.hm-cc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10050; display: flex; justify-content: center; padding: 16px; pointer-events: none; }
.hm-cc[hidden] { display: none; }
.hm-cc-box { pointer-events: auto; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 22px 22px 18px; border-radius: 20px; background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 24px 60px rgba(2, 6, 23, .28); box-sizing: border-box; animation: hmCcIn .25s ease-out; }
@keyframes hmCcIn { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.hm-cc-kicker { margin: 0 0 4px; font-size: 11.5px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: #2563eb; }
.hm-cc-title { margin: 0 0 8px; font-size: 21px; font-weight: 900; color: #0f172a; }
.hm-cc-desc { margin: 0 0 8px; font-size: 13.5px; line-height: 1.55; color: #475569; }
.hm-cc-links { display: flex; gap: 14px; margin: 0 0 14px; font-size: 13px; }
.hm-cc-links a { color: #0f172a; font-weight: 800; text-decoration: underline; }
.hm-cc-prefs { display: grid; gap: 8px; margin: 0 0 14px; }
.hm-cc-prefs[hidden] { display: none; }
.hm-cc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid #e2e8f0; border-radius: 14px; cursor: pointer; }
.hm-cc-row div { display: flex; flex-direction: column; gap: 2px; }
.hm-cc-row strong { font-size: 14px; color: #0f172a; }
.hm-cc-row small { font-size: 12px; color: #64748b; line-height: 1.4; }
.hm-cc-always { flex-shrink: 0; padding: 3px 9px; border-radius: 99px; background: #ecfdf5; color: #047857; font-size: 11.5px; font-weight: 800; }
.hm-cc-switch { position: relative; flex-shrink: 0; width: 44px; height: 26px; }
.hm-cc-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.hm-cc-switch i { position: absolute; inset: 0; border-radius: 99px; background: #cbd5e1; transition: background .15s; }
.hm-cc-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 99px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .15s; }
.hm-cc-switch input:checked + i { background: #2563eb; }
.hm-cc-switch input:checked + i::after { transform: translateX(18px); }
.hm-cc-switch input:focus-visible + i { outline: 2px solid #2563eb; outline-offset: 2px; }
.hm-cc-btns { display: grid; gap: 8px; }
.hm-cc-btn { height: 46px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; color: #0f172a; font-size: 14px; font-weight: 800; cursor: pointer; }
.hm-cc-btn[hidden] { display: none; }
.hm-cc-btn:hover { border-color: #94a3b8; }
.hm-cc-btn.is-primary { border: 0; background: linear-gradient(90deg, #2563eb, #4f46e5); color: #fff; }
.hm-cc-btn.is-primary:hover { filter: brightness(1.05); }
.hm-cc-btn.is-link { background: #f8fafc; }
@media (max-width: 767px) { .hm-cc { bottom: 64px; padding: 10px; } .hm-cc-box { max-height: calc(100vh - 90px); } }
@media (max-width: 520px) { .hm-cc-box { padding: 18px 16px 14px; border-radius: 18px; } .hm-cc-title { font-size: 19px; } .hm-cc-btn { height: 44px; } }
.hm-cookie-table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 14px; }
.hm-cookie-table th, .hm-cookie-table td { padding: 8px 10px; border: 1px solid #e2e8f0; text-align: left; vertical-align: top; }
.hm-cookie-table th { background: #f8fafc; }

/* ==========================================================================
 * v2.46 — EMI calculator box on model pages, header EMI link, slimmer home hero,
 * Compare tick on home car photos (no login needed)
 * ========================================================================== */
.emi-w { --emi-p: #4f46e5; --emi-i: #f59e0b; --emi-b: #2563eb; margin: 4px 6px 12px; border: 1px solid #c7d2fe; border-radius: 16px; background: #fff; overflow: hidden; }
.emi-w-sum { display: flex; align-items: center; gap: 12px; padding: 10px 12px; cursor: pointer; list-style: none; background: linear-gradient(90deg, #eef2ff 0%, #f8fafc 100%); user-select: none; }
.emi-w-sum::-webkit-details-marker { display: none; }
.emi-w-sum::marker { content: ""; }
.emi-w-sum:focus-visible { outline: 2px solid #4f46e5; outline-offset: -2px; }
.emi-w-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #4f46e5; color: #fff; flex-shrink: 0; }
.emi-w-t { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.emi-w-t b { font-size: 15px; font-weight: 900; color: #0f172a; }
.emi-w-t small { font-size: 12.5px; color: #475569; font-weight: 600; }
.emi-w-t small strong { color: #4338ca; font-weight: 900; }
.emi-w-cta { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; background: #4f46e5; color: #fff; font-size: 13px; font-weight: 800; flex-shrink: 0; }
.emi-w-cta svg { transition: transform .2s; }
.emi-w[open] .emi-w-cta { background: #fff; color: #4338ca; border: 1px solid #c7d2fe; }
.emi-w[open] .emi-w-cta svg { transform: rotate(180deg); }
.emi-w .emi-w-close, .emi-w[open] .emi-w-open { display: none; }
.emi-w[open] .emi-w-close { display: inline; }
.emi-w-body { display: grid; gap: 12px; padding: 12px; background: #f8fafc; border-top: 1px solid #e0e7ff; }
.emi-w .emi-card { padding: 16px; border-radius: 16px; }
.emi-w .emi-card-head h2 { font-size: 16px; }
.emi-w .emi-result { position: static; }
.emi-w .emi-result-value { font-size: 34px; }
.emi-w .emi-input input { width: 112px; }
.emi-w .emi-input-sm input { width: 46px; }
.emi-w-car { margin-bottom: 10px; }
.emi-w-pick { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) auto; gap: 8px; align-items: end; }
.emi-w-pick label { display: flex; flex-direction: column; gap: 4px; margin: 0; min-width: 0; }
.emi-w-pick label > span:first-child { font-size: 12px; font-weight: 800; color: #334155; }
.emi-w-pick select { width: 100%; height: 42px; padding: 0 28px 0 10px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; font-size: 13.5px; font-weight: 700; color: #0f172a; text-overflow: ellipsis; }
.emi-w-pick select:focus { outline: none; border-color: #4f46e5; box-shadow: 0 0 0 3px rgba(79,70,229,.15); }
.emi-w .emi-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.emi-w .emi-chips::-webkit-scrollbar { display: none; }
.emi-w .emi-chips button { flex-shrink: 0; }
.emi-w .emi-chart-view[data-view="pie"] { grid-template-columns: 150px minmax(0, 1fr); gap: 16px; }
.emi-w .emi-donut-wrap { width: 150px; height: 150px; }
.emi-w .emi-donut-center b { font-size: 20px; }
@media (min-width: 768px) {
  .vehicle-card.is-single-page .sv-col-media .emi-w { margin: 0 0 12px 10px; }
}
@media (max-width: 767px) {
  .vehicle-card.is-single-page .emi-w { order: 6; margin: 2px 6px 12px; }
}

@container (max-width: 560px) {
  .emi-w-pick { grid-template-columns: 1fr; }
  .emi-w-pick .emi-w-dp { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (max-width: 560px) {
  .emi-w-body { padding: 8px; }
  .emi-w .emi-card { padding: 14px 12px; }
  .emi-w .emi-field-head { flex-wrap: wrap; }
  .emi-w .emi-chart-view[data-view="pie"] { grid-template-columns: 1fr; justify-items: center; }
  .emi-w-cta { padding: 0 11px; }
}

/* Header: EMI Calculator link */
.header-nav-emi svg { flex-shrink: 0; }
@media (min-width: 768px) and (max-width: 1023px) { .header-desktop-nav .header-nav-emi { display: none; } } /* small tablets: EMI stays in the ☰ menu */

/* Home hero "Find the right car at the right price": about 60% lower */
.hm-hero2 .hm-home-hero-inner { display: grid !important; grid-template-columns: minmax(0, auto) minmax(0, 1fr); align-items: center; gap: 22px; padding: 25px 16px !important; }
.hm-hero2 .hm-home-title { font-size: clamp(20px, 2.2vw, 26px) !important; line-height: 1.15; white-space: nowrap; }
.hm-hero2 .hm-home-sub, .hm-hero2 .hm-hero-links { display: none !important; }
.hm-hero2 .hm-hero-search { margin: 0 !important; max-width: 640px; justify-self: end; }
@media (max-width: 900px) {
  .hm-hero2 .hm-home-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 18px 12px 20px !important; }
  .hm-hero2 .hm-home-title { font-size: 17px !important; white-space: normal; }
  .hm-hero2 .hm-hero-search { max-width: none; justify-self: stretch; }
}

/* Short cards: Compare tick stays visible for everyone; the save heart moves below it */
.bc-card.has-cmp .bc-heart { top: 46px; }
.hm-pc-card { position: relative; }
.hm-pc-card .bc-cmp { top: 10px; right: 10px; }
.hm-pc-card.has-cmp .hm-pc-heart { top: 46px; }
.hm-pc-card.is-cmp .bc-cmp { background: #eff6ff; border-color: #2563eb; color: #1d4ed8; }
a.hm-pc-btn { display: flex; align-items: center; justify-content: center; text-decoration: none; }

/* ==========================================================================
 * v2.47 — Model page desktop layout, car-card photo icons, single CTA, slim EMI page title
 * ========================================================================== */
/* Model page (tablet / desktop): left = photos, Variant, Ex-Showroom / On-Road;
   right = Key Specifications, Schedule Test Drive, Get Offer / Call Dealer;
   then the EMI calculator and the Variant Detail Comparison at full width. */
@media (min-width: 768px) {
  .vehicle-card.is-single-page { grid-template-areas: "header header" "media info" "emi emi" "vcx vcx"; }
  .vehicle-card.is-single-page > .emi-w { grid-area: emi; margin: 4px 16px 14px; }
  .vehicle-card.is-single-page .sv-col-media .card-config { margin: 12px 0 0 10px; }
  .vehicle-card.is-single-page .sv-col-media .pricing-section-box { margin: 10px 0 0 10px; }
  .vehicle-card.is-single-page .sv-col-info .specs-section-box { margin-top: 0; }
  .vehicle-card.is-single-page .sv-col-info .schedule-test-drive-card { margin: 12px 6px 0; }
  .vehicle-card.is-single-page .sv-col-info .card-actions { margin-top: 0; padding-left: 6px; padding-right: 6px; }
}
@media (max-width: 767px) {
  .vehicle-card.is-single-page > .emi-w { order: 6; }
}
/* EMI box at full width: inputs on the left, result + chart on the right */
.emi-w { container-type: inline-size; }
@container (min-width: 860px) {
  .emi-w-body { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
  .emi-w-body > .emi-inputs { grid-row: span 2; }
  .emi-w-pick { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto; }
}

/* Car cards (home, brand, category, all cars): Compare at the top right, Save heart at the bottom right of the photo */
.bc-mwrap, .hm-pc-mwrap { position: relative; }
.bc-mwrap .bc-heart, .bc-card.has-cmp .bc-mwrap .bc-heart,
.hm-pc-mwrap .hm-pc-heart, .hm-pc-card.has-cmp .hm-pc-mwrap .hm-pc-heart { top: auto; bottom: 10px; right: 10px; }
.bc-mwrap .bc-cmp, .hm-pc-mwrap .bc-cmp { top: 10px; right: 10px; }

/* Brand / category / all-cars cards: one full-width "Get On-Road Price" button, styled like the home page */
.bc-actions .bc-btn.bc-btn-primary { flex: 1 1 100%; height: 40px; border: 1px solid #2563eb; background: #fff; color: #1d4ed8; text-decoration: none; }
.bc-actions .bc-btn.bc-btn-primary:hover { background: #2563eb; color: #fff; }

/* EMI page: slim title band (title only) */
.emi-hero.is-slim { padding: 48px 0; }
.emi-hero.is-slim h1 { margin: 0; font-size: clamp(24px, 3vw, 34px); }
@media (max-width: 767px) {
  .emi-hero.is-slim { padding: 21px 0; }
  .emi-hero.is-slim h1 { font-size: 22px; }
}

/* ==========================================================================
 * v2.48 — Mobile header: ☰ menu at the right end, location as a pin icon
 * ========================================================================== */
@media (max-width: 767px) {
  .header-left-group { display: contents; }
  .header-container > .brand-link, .header-left-group > .brand-link { order: 1; }
  .header-right-tools { order: 2; align-items: center; gap: 8px; }
  .hamburger-wrap { order: 3; flex-shrink: 0; }
  .header-container { gap: 8px; }
  /* location: just the pin; tapping it opens the city list */
  .header-city { position: relative; width: 36px; height: 36px; padding: 0; gap: 0; justify-content: center; max-width: none; border-radius: 10px; flex-shrink: 0; }
  .header-city-pin { width: 19px; height: 19px; }
  .header-city-field { position: absolute; inset: 0; }
  .header-city .onroad-city-select { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; opacity: 0; font-size: 16px; color: #065f46; background: none; cursor: pointer; }
}

/* ==========================================================================
 * v2.49 — Logo sizing (wide wordmark logos, e.g. 300×49 / 600×98) + city pop-up
 * ========================================================================== */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.brand-link { flex-shrink: 0; }
.custom-site-logo { width: 180px; height: auto; max-width: 100%; max-height: 46px; object-fit: contain; object-position: left center; display: block; }
@media (max-width: 1199px) { .custom-site-logo { width: 150px; } }
@media (min-width: 768px) and (max-width: 1099px) { .custom-site-logo { width: 128px; } }
@media (max-width: 767px) { .custom-site-logo { width: 136px; max-height: 36px; } }
@media (max-width: 359px) { .custom-site-logo { width: 120px; } }
/* ☰ menu pop-up header */
.menu-modal-logo { display: block; width: 160px; height: auto; max-height: 40px; object-fit: contain; object-position: left center; }
/* login pop-up: real logo colours (no white silhouette) */
.hm-lx-brand.has-logo img { filter: none; width: 168px; height: auto; max-height: 40px; max-width: 100%; object-fit: contain; object-position: left center; }
.hm-lx-brand.is-chip { padding: 8px 12px; border-radius: 12px; background: #fff; box-shadow: 0 6px 18px rgba(2,6,23,.18); }
.hm-lx-brand.is-chip img { width: 148px; }
/* dealer portal */
.hm-crm-brand img { max-width: 150px; max-height: 32px; }

/* City pop-up */
.header-city-btn { display: none; }
.hm-city-box { max-width: 440px; padding: 22px 20px 18px; }
.hm-city-box h3 { margin: 0 34px 4px 0; font-size: 19px; font-weight: 900; color: #0f172a; }
.hm-city-sub { margin: 0 0 14px; font-size: 13px; color: #64748b; }
.hm-city-search { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; margin-bottom: 12px; border: 1px solid #cbd5e1; border-radius: 12px; color: #64748b; }
.hm-city-search input { flex: 1; border: 0; outline: 0; font-size: 16px; background: none; min-width: 0; }
.hm-city-search:focus-within { border-color: #059669; box-shadow: 0 0 0 3px rgba(5,150,105,.15); }
.hm-city-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-height: min(56vh, 420px); overflow-y: auto; }
.hm-city-list li[hidden] { display: none; }
.hm-city-opt { width: 100%; display: flex; align-items: center; gap: 9px; padding: 11px 12px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; text-align: left; cursor: pointer; color: #059669; font: inherit; }
.hm-city-opt span { display: flex; flex-direction: column; min-width: 0; }
.hm-city-opt b { font-size: 14px; font-weight: 800; color: #0f172a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-city-opt small { font-size: 11.5px; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-city-opt:hover { border-color: #34d399; background: #f0fdf4; }
.hm-city-opt.is-current { border-color: #059669; background: #ecfdf5; box-shadow: inset 0 0 0 1px #059669; }
.hm-city-empty { margin: 10px 0 0; font-size: 13px; color: #64748b; text-align: center; }
@media (max-width: 767px) {
  .hm-city-modal.modal-overlay { align-items: flex-end; padding: 0; }
  .hm-city-box { max-width: none; border-radius: 20px 20px 0 0; padding: 20px 16px calc(16px + env(safe-area-inset-bottom)); }
  /* the pin is a button that opens the pop-up; the native list is not used on phones */
  .header-city .header-city-field { display: none; }
  .header-city-btn { display: block; position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: inherit; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .header-city-btn:focus-visible { outline: 2px solid #059669; outline-offset: 2px; }
}
@media (min-width: 1024px) and (max-width: 1119px) {
  .header-desktop-nav .header-nav-btn > svg { display: none; } /* small laptops: text-only menu so it never touches the city pill */
}
