/*
Theme Name: Homithing Vehicle Catalog & Pricing Portal
Theme URI: https://homithing.com/
Author: Homithing Digital Team
Author URI: https://homithing.com/
Description: Production-ready automotive vehicle catalog theme with interactive on-road pricing, multi-channel sharing, WhatsApp quotes, 36-brand explorer, 1.91:1 slider, and single model pages.
Version: 2.1.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: 8px 16px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.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: 6px;
  margin-bottom: 6px;
}

.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 */
.card-pricing {
  margin: 6px 16px 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);
}
.card-pricing.card-pricing-with-breakup {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}
.price-blocks-wrapper {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px 14px;
  min-width: 0;
}
.price-breakup-partition,
.price-breakup-vertical-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 4px 9px;
  background: #fef9c3;
  border: none;
  border-left: 1.5px solid #f59e0b;
  color: #78350f;
  cursor: pointer;
  outline: none;
  flex-shrink: 0;
  transition: all 0.16s ease;
  user-select: none;
}
.price-breakup-partition:hover,
.price-breakup-vertical-btn:hover {
  background: #fef08a;
  color: #451a03;
}
.price-breakup-partition:active,
.price-breakup-partition.is-open,
.price-breakup-vertical-btn:active,
.price-breakup-vertical-btn.is-open {
  background: #fde047;
  border-left-color: #d97706;
  color: #451a03;
}
.breakup-vert-text,
.breakup-vert-label {
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  line-height: 1;
  text-transform: uppercase;
}
.breakup-vert-arrow,
.breakup-vert-icon {
  font-size: 7.5px;
  font-weight: 900;
  line-height: 1;
}
.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;
}

.breakdown-panel {
  display: none;
  margin: 8px 16px 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  font-size: 11px;
}
.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;
}

.specs-toggle {
  margin: 12px 16px 0;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1.5px solid #6366f1;
  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;
  box-shadow: 0 1px 3px rgba(99, 102, 241, 0.08);
}
.specs-toggle:hover {
  border-color: #4f46e5;
  background: #f5f7ff;
}
.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-panel {
  display: none;
  margin: 8px 16px 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1.5px solid #818cf8;
  font-size: 11px;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.06);
}
.specs-panel.is-open {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.specs-panel .spec-box {
  padding: 7px 9px;
  background: #ffffff;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
}
.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;
  min-width: 0;
  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.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Schedule Test Drive Card */
.schedule-test-drive-card {
  margin: 10px 14px 4px 14px;
  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: 6px 14px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  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: 20;
}
.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: 10px;
  padding: 8px;
  background: #ecfdf5;
  color: #047857;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

/* 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: 12px 16px 0;
  background: #eff6ff;
  border: 1.5px solid #3b82f6;
  border-radius: 10px;
  padding: 8px 12px;
  width: calc(100% - 32px);
  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: 8px 16px 0;
  width: calc(100% - 32px);
  padding: 14px 12px;
  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: 12px 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-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}
.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;
}
