/* ==========================================================
   ZS AUTO WORLD — GLOBAL STYLES
   ========================================================== */

:root {
  --c-black: #0a0a0c;
  --c-charcoal: #17171b;
  --c-charcoal-2: #1f1f24;
  --c-charcoal-3: #29292f;
  --c-red: #df1b1f;
  --c-red-dark: #921012;
  --c-red-light: #ff4d4f;
  --c-orange: #e5383a;
  --c-orange-2: #ff6a63;
  --c-white: #ffffff;
  --c-text-muted: #b8b8bf;
  --c-text-dim: #86868e;
  --c-border: rgba(255, 255, 255, 0.12);

  --font-display: 'Rajdhani', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  --header-height: 84px;
}


.flag-china {
    background-image: url("https://flagcdn.com/flags/4x3/cn.svg");
}

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

body {
  font-family: var(--font-body);
  background: var(--c-black);
  color: var(--c-white);
  -webkit-font-smoothing: antialiased;
}

button {
  font-family: inherit;
  cursor: pointer;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

/* ==========================================================
   TOP GRADIENT LINE
   ========================================================== */

.top-gradient-line {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--c-red-dark) 0%, var(--c-red) 50%, var(--c-red-dark) 100%);
}

/* ==========================================================
   TOP INFO BAR
   ========================================================== */

.topbar {
  background: linear-gradient(180deg, var(--c-charcoal-2) 0%, var(--c-black) 100%);
  border-bottom: 1px solid var(--c-border);
  padding: 12px 24px;
}

.topbar-inner {
  max-width: 1800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  
}

.stock-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--c-white);
  font-size: 15px;
  letter-spacing: 0.3px;
  border: 1.5px solid var(--c-border);
  padding: 6px 16px;
  border-radius: 20px;
}

.stock-icon {
  display: flex;
  align-items: center;
  color: var(--c-red);
}

.stock-sep {
  font-weight: 700;
}

.stock-count {
  background: var(--c-charcoal-3);
  color: var(--c-white);
  border: 1px solid var(--c-red);
  border-radius: 20px;
  padding: 4px 16px;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  min-width: 58px;
  text-align: center;
}

.topbar-clocks {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.clock-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.clock-icon {
  display: flex;
  align-items: center;
  color: var(--c-white);
  opacity: 0.75;
  flex-shrink: 0;
}

.clock-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--c-charcoal-3);
  color: var(--c-white);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.clock-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-red);
  box-shadow: 0 0 6px var(--c-red);
  flex-shrink: 0;
  animation: livePulse 1.8s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 4px var(--c-red);
  }
  50% {
    opacity: 0.45;
    box-shadow: 0 0 9px var(--c-red);
  }
}

.flag-icon {
  display: inline-block;
  width: 22px;
  height: 16px;
  border-radius: 2px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.flag-uae {
  background: linear-gradient(180deg, #00732f 0 33.3%, #ffffff 33.3% 66.6%, #000000 66.6% 100%);
  position: relative;
}
.flag-uae::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 30%;
  background: #ff0000;
}

.flag-japan {
  background: #ffffff;
  position: relative;
}
.flag-japan::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 8px; height: 8px;
  background: #bc002d;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* ==========================================================
   HEADER
   ========================================================== */


   .main-logo{
    width: auto;
    height: 100px;

   }
.site-header {
  background: var(--c-black);
  border-bottom: 1px solid var(--c-border);
  position: relative;
  z-index: 40;
}

.header-top {
  max-width: 1800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 18px 24px;
  margin-bottom: 30px;
  background-color: white;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-shield {
  width: 52px;
  height: 58px;
  background: linear-gradient(155deg, var(--c-red) 0%, var(--c-red-dark) 100%);
  clip-path: polygon(50% 0%, 100% 20%, 100% 65%, 50% 100%, 0% 65%, 0% 20%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 0 2px var(--c-orange) inset;
}

.logo-shield-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--c-white);
  letter-spacing: 0.5px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--c-white);
  letter-spacing: 1px;
}

.logo-sub {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--c-orange);
  letter-spacing: 1.8px;
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--c-charcoal-3);
  border: 1px solid var(--c-border);
  color: var(--c-white);
  flex-shrink: 0;
}

.mobile-menu-btn-icon {
  font-size: 20px;
  line-height: 1;
  display: inline-block;
}

.search-bar {
  position: relative;
  flex: 1;
  display: flex;
  align-items: stretch;
  max-width: 680px;
  height: 46px;
  border-radius: 6px;
  overflow: visible;
  border: 1px solid var(--c-border);
}

.search-dropdown {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--c-black);
  color: var(--c-white);
  border: none;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  border-right: 1px solid white;
  border-radius: 6px 0 0 6px;
  white-space: nowrap;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  
  padding: 0 16px;
  font-size: 14px;
  background: var(--c-black);
  color: var(--c-white);
  min-width: 0;
}

.search-input::placeholder {
  color: #9b9ba3;
}

.search-submit {
  width: 56px;
  background: var(--c-red);
  color: var(--c-white);
  border: none;
  border-radius: 0 6px 6px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.search-submit:hover {
  background: var(--c-red-dark);
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--c-white);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  overflow: hidden;
  z-index: 60;
  max-height: 380px;
  overflow-y: auto;
}

.search-suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  color: var(--c-ink, #17171c);
  transition: background 0.15s ease;
}

.search-suggestion-item:last-child { border-bottom: none; }

.search-suggestion-item:hover,
.search-suggestion-item.highlighted {
  background: rgba(224, 33, 39, 0.06);
}

.search-suggestion-thumb {
  width: 44px;
  height: 34px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #eee;
}

.search-suggestion-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-suggestion-info {
  flex: 1;
  min-width: 0;
}

.search-suggestion-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #17171c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-suggestion-meta {
  font-size: 11.5px;
  color: #7a7a82;
}

.search-suggestion-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--c-red);
  flex-shrink: 0;
}

.search-suggestion-empty {
  padding: 16px 14px;
  font-size: 13px;
  color: #7a7a82;
  text-align: center;
}

.search-suggestion-viewall {
  display: block;
  text-align: center;
  padding: 12px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--c-bla);
  background: var(--c-charcoal);
}

.search-suggestion-viewall:hover { background: var(--c-red); }

.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.support-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.support-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-charcoal-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border: 1px solid var(--c-orange);
}

.support-info {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.support-label {
  font-size: 12px;
  color: var(--c-text-muted);
  font-weight: 500;
}

.support-number {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--c-black);
  white-space: nowrap;
}

.login-btn {
  background: transparent;
  border: 1.5px solid var(--c-black);
  color: var(--c-black);
  padding: 10px 22px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.login-btn:hover {
  background: var(--c-red);
  border-color: var(--c-red);
}

.header-nav {
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 24px 30px;
    flex-wrap: wrap;
    position: relative;
}

.nav-item {
  position: relative;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1.5px solid var(--c-border);
  color: var(--c-white);
  padding: 9px 18px;
  border-radius: 22px;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.nav-pill:hover,
.nav-item.open .nav-pill {
  border-color: var(--c-orange);
  background: rgba(229, 56, 58, 0.08);
}

.nav-icon {
  font-size: 14px;
}

.nav-caret {
  margin-left: 2px;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.nav-item.open .nav-caret {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 230px;
  background: var(--c-white);
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.4);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 55;
}

.nav-item.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-link {
  display: block;
  padding: 10px 14px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: #17171c;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown-link:hover {
  background: rgba(224, 33, 39, 0.08);
  color: var(--c-red);
}

/* ==========================================================
   HERO
   ========================================================== */

.hero {
  background: var(--c-black);
  padding: 16px 24px 20px;
}

.hero-frame {
  max-width: 1800px;
  margin: 0 auto;
  position: relative;
  border: 2px solid var(--c-red);
  border-radius: 14px;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.6);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11,11,13,0.92) 0%, rgba(11,11,13,0.55) 42%, rgba(11,11,13,0.15) 65%, rgba(11,11,13,0.5) 100%),
    linear-gradient(0deg, rgba(11,11,13,0.6) 0%, rgba(11,11,13,0) 30%);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.25);
  color: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.hero-arrow:hover {
  background: var(--c-red);
  border-color: var(--c-red);
}

.hero-arrow-left { left: 22px; }
.hero-arrow-right { right: 22px; }

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 90px 24px 64px;
  gap: 20px;
}

.hero-text {
  max-width: 640px;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 16px;
  color: var(--c-orange);
  margin-bottom: 4px;
}

.hero-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-heading .line {
  display: block;
}

.line-white {
  color: var(--c-white);
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.line-orange {
  color: var(--c-orange);
  text-shadow: 0 2px 14px rgba(229,56,58,0.35);
}

.hero-subline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  font-style: italic;
  font-size: 13px;
  color: var(--c-text-muted);
  font-weight: 500;
}

.hero-rule {
  width: 46px;
  height: 2px;
  background: var(--c-orange);
  display: inline-block;
}

.hero-vehicle {
  position: relative;
  flex-shrink: 0;
  width: min(38vw, 560px);
  display: flex;
  justify-content: flex-end;
}

.hero-vehicle-img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.6));
}

.hero-flags {
  position: absolute;
  left: 64px;
  bottom: 12px;
  z-index: 4;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.flag-chip {
  width: 34px;
  height: 24px;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.flag-chip.flag-japan {
  background: #ffffff;
  position: relative;
}
.flag-chip.flag-japan::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 10px;
  background: #bc002d;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.flag-chip.flag-germany {
  background: linear-gradient(180deg, #000 0 33.3%, #dd0000 33.3% 66.6%, #ffce00 66.6% 100%);
}

.flag-chip.flag-uae {
  background: linear-gradient(180deg, #00732f 0 33.3%, #ffffff 33.3% 66.6%, #000000 66.6% 100%);
  position: relative;
}
.flag-chip.flag-uae::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 28%;
  background: #ff0000;
}

.flag-chip.flag-singapore {
  background: linear-gradient(180deg, #ed2939 0 50%, #ffffff 50% 100%);
  position: relative;
}
.flag-chip.flag-singapore::before {
  content: "";
  position: absolute;
  left: 6px; top: 4px;
  width: 6px; height: 6px;
  background: #ffffff;
  border-radius: 50%;
}

.flag-chip.flag-korea {
  background: #ffffff;
  position: relative;
}
.flag-chip.flag-korea::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 9px; height: 9px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(180deg, #cd2e3a 50%, #0047a0 50%);
}

.flag-chip.flag-uk {
  background: #00247d;
  position: relative;
  overflow: hidden;
}
.flag-chip.flag-uk::before,
.flag-chip.flag-uk::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(45deg, transparent 46%, #fff 46%, #fff 54%, transparent 54%),
    linear-gradient(-45deg, transparent 46%, #fff 46%, #fff 54%, transparent 54%);
}
.flag-chip.flag-uk::after {
  background:
    linear-gradient(180deg, transparent 40%, #fff 40%, #fff 60%, transparent 60%),
    linear-gradient(90deg, transparent 40%, #fff 40%, #fff 60%, transparent 60%);
}

.flag-chip.flag-russia {
  background: linear-gradient(180deg, #fff 0 33.3%, #0039a6 33.3% 66.6%, #d52b1e 66.6% 100%);
}

.flag-chip.flag-thailand {
  background: linear-gradient(180deg, #a51931 0 16.6%, #f4f5f8 16.6% 33.3%, #2d2a4a 33.3% 66.6%, #f4f5f8 66.6% 83.3%, #a51931 83.3% 100%);
}

.flag-chip.flag-usa {
  background:
    repeating-linear-gradient(180deg, #b31942 0 3.7px, #fff 3.7px 7.4px);
  position: relative;
}
.flag-chip.flag-usa::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 45%; height: 55%;
  background: #0a3161;
}

/* ==========================================================
   PAGE BANNER
   ========================================================== */

.page-banner {
  background: linear-gradient(160deg, var(--c-charcoal) 0%, var(--c-black) 100%);
  border-bottom: 1px solid var(--c-border);
  padding: 26px 24px;
}

.page-banner-compact {
  padding: 18px 24px;
}

.page-banner-inner {
  max-width: 1800px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--c-text-muted);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--c-text-muted);
  transition: color 0.15s ease;
}

.breadcrumb a:hover { color: var(--c-orange); }

.breadcrumb-sep { color: var(--c-text-dim); }

.breadcrumb span:last-child {
  color: var(--c-orange);
}

.page-banner-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 30px);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 6px;
}

.page-banner-subtitle {
  font-size: 13.5px;
  color: var(--c-text-muted);
  margin-top: 4px;
}

.back-to-results-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1.5px solid var(--c-border);
  color: var(--c-white);
  padding: 10px 18px;
  border-radius: 22px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.back-to-results-btn:hover {
  border-color: var(--c-orange);
  background: rgba(229, 56, 58, 0.08);
  color: var(--c-orange);
}

/* ==========================================================
   RESULTS PAGE
   ========================================================== */

.results-section {
  background: var(--c-off-white, #f6f4f1);
}

.results-layout {
  max-width: 1800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 0;
  align-items: start;
}

.results-sidebar {
  border-right: 1px solid rgba(0,0,0,0.06);
}

.results-sidebar-toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  background: var(--c-panel);
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--c-ink);
  margin-bottom: 16px;
}

.results-sidebar-toggle svg {
  transition: transform 0.2s ease;
  color: var(--c-orange);
}

.results-sidebar-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.brand-flag-list li {
  justify-content: space-between;
}

.brand-flag-list .brand-flag-name {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.brand-flag-list .brand-flag-emoji {
  font-size: 15px;
  flex-shrink: 0;
}

.brand-flag-list .brand-flag-count {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--c-ink-muted);
  background: var(--c-off-white);
  border-radius: 10px;
  padding: 2px 9px;
  flex-shrink: 0;
}

.brand-flag-list li.active .brand-flag-count {
  background: var(--c-red);
  color: var(--c-white);
}

.active-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.active-filter-chips:empty::after {
  content: "No filters applied — showing all inventory.";
  font-size: 12.5px;
  color: var(--c-ink-muted);
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(224, 33, 39, 0.08);
  color: var(--c-red);
  border: 1px solid rgba(224, 33, 39, 0.25);
  border-radius: 14px;
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 700;
}

.clear-filters-btn {
  display: block;
  width: 100%;
  background: var(--c-charcoal);
  color: var(--c-white);
  border: none;
  padding: 11px;
  border-radius: 22px;
  font-weight: 700;
  font-size: 13px;
  transition: background 0.2s ease;
}

.clear-filters-btn:hover { background: var(--c-red); }

.results-main {
  padding: 28px 24px;
  min-width: 0;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.results-grid .vehicle-card {
  width: 100%;
  flex: none;
}

.results-empty {
  text-align: center;
  padding: 60px 20px;
  background: var(--c-panel);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
}

.results-empty-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--c-ink);
  margin-bottom: 8px;
}

.results-empty-text {
  font-size: 13.5px;
  color: var(--c-ink-muted);
  margin-bottom: 20px;
}

.results-empty .view-all-btn {
  display: inline-flex;
}

/* ==========================================================
   VEHICLE DETAIL PAGE
   ========================================================== */

.detail-section {
  background: var(--c-off-white, #f6f4f1);
  padding: 28px 24px 60px;
}

.detail-notfound {
  max-width: 640px;
  margin: 40px auto;
  text-align: center;
  padding: 60px 20px;
  background: var(--c-panel);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
}

.detail-content {
  max-width: 1400px;
  margin: 0 auto;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 28px;
  margin-bottom: 28px;
}

.detail-gallery-main {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--c-charcoal);
  aspect-ratio: 4 / 3;
}

.detail-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-origin-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
}

.detail-gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.detail-gallery-thumbs img {
  width: 84px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.7;
  transition: all 0.15s ease;
}

.detail-gallery-thumbs img:hover { opacity: 1; }

.detail-gallery-thumbs img.active {
  border-color: var(--c-orange);
  opacity: 1;
}

.detail-summary {
  background: var(--c-panel);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.detail-summary-brand {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-off-white);
  overflow: hidden;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-summary-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.detail-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--c-ink);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.detail-stockid {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--c-ink-muted);
  margin-bottom: 14px;
}

.detail-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  color: var(--c-red);
  margin-bottom: 20px;
}

.detail-quickstats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}

.detail-quickstats .card-stat {
  font-size: 12.5px;
  padding: 8px 10px;
}

.detail-cta-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.detail-cta-btn {
  justify-content: center;
}

.detail-cta-btn-outline {
  text-align: center;
}

.detail-panel {
  background: var(--c-panel);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 26px;
  margin-bottom: 22px;
}

.detail-panel-dark {
  background: var(--c-charcoal);
  border-color: var(--c-border);
}

.detail-panel-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--c-ink);
  margin-bottom: 18px;
}

.detail-panel-title-light { color: var(--c-white); }

.detail-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.detail-spec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding-bottom: 10px;
}

.detail-spec-grid-dark .detail-spec-item {
  border-bottom-color: rgba(255,255,255,0.1);
}

.detail-spec-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--c-ink-muted);
}

.detail-spec-grid-dark .detail-spec-label { color: var(--c-text-muted); }

.detail-spec-value {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--c-ink);
}

.detail-spec-grid-dark .detail-spec-value { color: var(--c-white); }

.detail-inspection-note {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-text-muted);
}

.detail-contact-panel {
  text-align: left;
}

.detail-contact-text {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--c-ink-muted);
  margin-bottom: 18px;
  max-width: 640px;
}

.detail-contact-panel .detail-cta-block {
  flex-direction: row;
  flex-wrap: wrap;
}

.detail-contact-panel .detail-cta-btn,
.detail-contact-panel .detail-cta-btn-outline {
  flex: 0 0 auto;
}

/* ==========================================================
   INVENTORY / LISTINGS SECTION
   ========================================================== */

.inventory-section {
  background: var(--c-off-white, #f6f4f1);
  padding: 0;
}

:root {
  --c-off-white: #f5f5f4;
  --c-panel: #ffffff;
  --c-ink: #16161a;
  --c-ink-muted: #6b6b72;
}

.inventory-layout {
  max-width: 1800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 300px;
  gap: 0;
  align-items: start;
}

.sidebar {
  background: var(--c-panel);
  padding: 28px 22px;
  min-height: 100%;
  border-left: 1px solid rgba(0,0,0,0.06);
  border-right: 1px solid rgba(0,0,0,0.06);
}

.sidebar-left { border-left: none; }
.sidebar-right { border-right: none; }

.sidebar-block {
  margin-bottom: 30px;
}

.sidebar-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--c-ink);
  margin-bottom: 14px;
  letter-spacing: 0.2px;
}

.make-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.make-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--c-ink);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.make-list li .make-icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  border-radius: 50%;
  background: var(--c-off-white);
  color: var(--c-ink-muted);
  flex-shrink: 0;
  overflow: hidden;
}

.make-list li .make-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
}

.make-list li:hover {
  background: rgba(224, 33, 39, 0.06);
}

.make-list li.active {
  background: rgba(224, 33, 39, 0.09);
  color: var(--c-red);
}

.make-list li.active .make-icon {
  background: var(--c-red);
  color: var(--c-white);
}

.steering-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.steering-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--c-ink);
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.15s ease;
}

.steering-item .steering-icon {
  color: var(--c-ink-muted);
  display: flex;
}

.steering-item:hover {
  border-color: rgba(0,0,0,0.08);
}

.steering-item.active {
  background: rgba(229, 56, 58, 0.1);
  border-color: var(--c-orange);
  color: var(--c-ink);
}

.steering-item.active .steering-icon {
  color: var(--c-orange);
}

.location-dropdown-wrap {
  margin-bottom: 10px;
}

.location-dropdown {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1.5px solid rgba(0,0,0,0.12);
  background: var(--c-panel);
  color: var(--c-ink);
  font-size: 14px;
  font-weight: 600;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2317171c' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.location-hint {
  font-size: 12.5px;
  color: var(--c-ink-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.country-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.country-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink);
  cursor: pointer;
  transition: background 0.15s ease;
}

.country-list li:hover {
  background: rgba(224, 33, 39, 0.06);
}

.country-list li.active {
  background: rgba(224, 33, 39, 0.1);
  color: var(--c-red);
}

.flag-emoji {
  font-size: 17px;
  line-height: 1;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}

.country-list-compact li {
  font-size: 13.5px;
  padding: 7px 8px;
}

.inventory-main {
  padding: 28px 24px;
  min-width: 0;
}

.filter-panel {
  background: linear-gradient(180deg, #eef1f4 0%, #f6f4f1 100%);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 10px;
  padding: 34px 32px 28px;
  text-align: center;
  margin-bottom: 32px;
}

.filter-eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: 8px;
}

.filter-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 38px);
  color: var(--c-ink);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.filter-tabs {
  display: inline-flex;
  background: var(--c-panel);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  padding: 6px;
  gap: 4px;
  margin: 0 auto 26px;
  max-width: 100%;
  overflow-x: auto;
}

.filter-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 12px 26px;
  border-radius: 7px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--c-ink-muted);
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.filter-tab:hover {
  color: var(--c-ink);
}

.filter-tab.active {
  background: var(--c-charcoal);
  color: var(--c-white);
}

.filter-tab.active svg { color: var(--c-orange); }

.filter-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  text-align: left;
  max-width: 1100px;
  margin: 0 auto;
}

.filter-more-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  text-align: left;
  max-width: 1100px;
  margin: 18px auto 0;
}

.filter-field label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--c-ink-muted);
  margin-bottom: 8px;
}

.filter-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--c-panel);
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  height: 48px;
  padding: 0 14px;
}

.filter-select-wrap select {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-ink);
  appearance: none;
  height: 100%;
  min-width: 0;
}

.filter-select-wrap select:disabled {
  color: #b3b3ba;
}

.filter-select-wrap::after {
  content: "";
  width: 9px;
  height: 6px;
  margin-left: 8px;
  flex-shrink: 0;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='6' viewBox='0 0 9 6'%3E%3Cpath d='M1 1l3.5 3.5L8 1' stroke='%236b6b74' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

.filter-clear {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e3e3e8;
  color: #7a7a82;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  flex-shrink: 0;
}

.filter-range-wrap {
  display: flex;
  gap: 10px;
}

.filter-range-wrap input {
  flex: 1;
  height: 48px;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 0 14px;
  font-size: 14px;
  background: var(--c-panel);
  color: var(--c-ink);
  min-width: 0;
}

.filter-range-wrap input::placeholder {
  color: #a3a3ab;
}

.filter-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 26px auto 0;
  flex-wrap: wrap;
  gap: 16px;
}

.show-more-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  color: var(--c-ink);
  font-weight: 700;
  font-size: 14.5px;
}

.show-more-filters svg { color: var(--c-orange); }

.show-more-filters:hover { color: var(--c-red); }

.filter-search-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--c-charcoal);
  color: var(--c-white);
  border: none;
  padding: 14px 32px;
  border-radius: 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: background 0.2s ease;
}

.filter-search-btn svg { color: var(--c-orange); }

.filter-search-btn:hover {
  background: var(--c-red);
}

.listing-row {
  margin-bottom: 40px;
}

.listing-row-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--c-orange);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.route-badge {
  width: 40px;
  height: 40px;
  border-radius: 50px;
 
  color: var(--c-orange-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.route-badge-new {
  background: var(--c-red);
  color: var(--c-white);
}

.route-badge-search {
  background: var(--c-charcoal);
  color: var(--c-orange);
}

.listing-row-titles {
  flex: 1;
  min-width: 0;
}

.route-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--c-orange-2);
  margin-bottom: 3px;
}

.route-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--c-ink);
  text-transform: uppercase;
}

.route-heading span {
  color: var(--c-red);
}

.view-all-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--c-charcoal);
  color: var(--c-white);
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.view-all-btn:hover { background: var(--c-red); }

.clear-search-btn { background: var(--c-red); }
.clear-search-btn:hover { background: var(--c-charcoal); }

.listing-row-viewport {
  position: relative;
  display: flex;
  align-items: center;
}

.listing-row-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 4px 2px 12px;
  scrollbar-width: thin;
}

.listing-row-track::-webkit-scrollbar {
  height: 6px;
}
.listing-row-track::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.15);
  border-radius: 4px;
}

.row-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--c-charcoal);
  color: var(--c-white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: background 0.2s ease;
}

.row-arrow:hover { background: var(--c-red); }
.row-arrow-left { left: -14px; }
.row-arrow-right { right: -14px; }

.search-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.search-no-results {
  font-size: 14px;
  color: var(--c-ink-muted);
  padding: 20px 4px;
  text-align: center;
}

.vehicle-card {
  position: relative;
  flex: 0 0 260px;
  width: 260px;
  height: 340px;
  perspective: 1400px;
}

.vehicle-card-link {
  display: contents;
}

.results-grid .vehicle-card {
  width: 100%;
  flex: none;
}

.vehicle-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
}

.vehicle-card.flipped .vehicle-card-inner {
  transform: rotateY(180deg);
}

.card-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
}

.card-front {
  background: var(--c-panel);
  border: 1px solid rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}

.card-image-wrap {
  position: relative;
  height: 170px;
  flex-shrink: 0;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-stock-id {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(23,23,28,0.85);
  color: var(--c-white);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 10px;
  border-radius: 5px;
}

.card-brand-logo {
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.card-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.card-fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-ink-muted);
  transition: color 0.2s ease;
}

.card-fav-btn.active,
.card-fav-btn:hover {
  color: var(--c-red);
}

.card-fav-btn svg { fill: none; }
.card-fav-btn.active svg { fill: currentColor; }

.card-origin-tag {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: var(--c-orange);
  color: var(--c-white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
}

.card-body {
  padding: 12px 14px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--c-red);
  margin-bottom: 4px;
}

.card-year-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.card-year {
  font-size: 12.5px;
  color: var(--c-ink-muted);
  font-weight: 600;
}

.card-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--c-ink);
}

.card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: auto;
}

.card-stat {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--c-ink);
  background: var(--c-off-white);
  border-radius: 6px;
  padding: 5px 8px;
}

.card-stat svg { color: var(--c-orange-2); flex-shrink: 0; }

.card-hover-hint {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--c-ink-muted);
  background: var(--c-off-white);
  border-radius: 14px;
  padding: 6px 10px;
}

.card-back {
  background: var(--c-charcoal);
  color: var(--c-white);
  transform: rotateY(180deg);
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--c-orange);
}

.card-back-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
}

.card-back-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-back-brand .brand-logo-chip {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.card-back-brand .brand-logo-chip img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
}

.card-back-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: 4px;
}

.card-back-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--c-white);
}

.card-copy-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--c-orange);
  color: var(--c-white);
  border: none;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 700;
  flex-shrink: 0;
}

.card-spec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  font-size: 12px;
}

.card-spec-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 6px;
}

.card-spec-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.6);
}

.card-spec-label svg { color: var(--c-orange); flex-shrink: 0; }

.card-spec-value {
  font-weight: 700;
  color: var(--c-white);
}

.card-spec-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.card-spec-total-label {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
}

.card-spec-total-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--c-orange);
}

.card-details-btn {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--c-red);
  color: var(--c-white);
  border: none;
  padding: 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: background 0.2s ease;
}

.card-details-btn:hover { background: var(--c-red-dark); color: var(--c-white); }

.testimonial-carousel {
  position: relative;
  height: 380px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--c-black);
  margin-bottom: 14px;
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}

.testimonial-slide.active {
  opacity: 1;
  visibility: visible;
}

.testimonial-video-placeholder {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% 20%, rgba(224,33,39,0.35), transparent 60%),
    linear-gradient(160deg, #1a1a1f 0%, #0b0b0d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.video-caption {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  font-weight: 600;
}

.testimonial-video-promo {
  background:
    radial-gradient(circle at 70% 30%, rgba(229,56,58,0.32), transparent 55%),
    linear-gradient(160deg, #1a1a1f 0%, #0b0b0d 100%);
  flex-direction: column;
  gap: 16px;
}

.promo-badge {
  color: var(--c-orange);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  line-height: 1.4;
}

.promo-badge strong {
  color: var(--c-white);
  font-size: 20px;
}

.play-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.5);
  color: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.play-btn:hover { background: var(--c-red); border-color: var(--c-red); }

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.t-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0,0,0,0.15);
  border: none;
  transition: all 0.2s ease;
}

.t-dot.active {
  background: var(--c-red);
  width: 20px;
  border-radius: 4px;
}

.view-all-outline-btn {
  display: block;
  width: 100%;
  background: transparent;
  border: 1.5px solid var(--c-ink);
  color: var(--c-ink);
  padding: 11px;
  border-radius: 22px;
  font-weight: 700;
  font-size: 13.5px;
  transition: all 0.2s ease;
}

.view-all-outline-btn:hover {
  background: var(--c-charcoal);
  color: var(--c-white);
  border-color: var(--c-charcoal);
}

.about-block {
  margin: 32px 0;
  padding-top: 28px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.about-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--c-ink);
  margin-bottom: 14px;
  line-height: 1.3;
}

.about-text {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--c-ink-muted);
}

.country-block {
  margin-bottom: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.follow-block {
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-charcoal);
  color: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.social-icon:hover { background: var(--c-red); }

.global-floating-btns {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
  transition: transform 0.2s ease;
}

.float-btn:hover { transform: translateY(-2px); }

.float-btn-up {
  background: var(--c-charcoal);
  color: var(--c-white);
  border: 1px solid var(--c-orange);
}

.float-btn-whatsapp {
  background: #25d366;
  color: var(--c-white);
}

.float-btn-chat {
  background: var(--c-red);
  color: var(--c-white);
}

/* ==========================================================
   RESPONSIVE — progressive breakpoints for all devices
   ========================================================== */

@media (max-width: 1300px) {
  .inventory-layout {
    grid-template-columns: 230px minmax(0, 1fr) 270px;
  }
  .results-layout {
    grid-template-columns: 250px minmax(0, 1fr);
  }

  .body{
     overflow-x: hidden;
  }
}

@media (max-width: 1200px) {

   .body{
     overflow-x: hidden;
  }

  .header-top {
    flex-wrap: wrap;
  }
  .search-bar {
    order: 3;
    max-width: 100%;
    width: 100%;
  }
  .hero-content {
    padding: 0 40px 32px;
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {

   .body{
     overflow-x: hidden;
  }

  .inventory-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }
  .filter-fields,
  .filter-more-fields {
    grid-template-columns: 1fr 1fr;
  }

  .results-layout {
    grid-template-columns: 1fr;
  }
  .results-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }
  .results-sidebar-toggle {
    display: flex;
  }
  .results-sidebar-body {
    display: none;
  }
  .results-sidebar-body.open {
    display: block;
  }
}

@media (max-width: 900px) {

   .body{
     overflow-x: hidden;
  }

  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .header-top {
    gap: 16px;
  }
  .header-right {
    width: 100%;
    justify-content: space-between;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .header-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 4px 20px 20px;
  }
  .header-nav.mobile-open {
    display: flex;
  }
  .nav-item,
  .header-nav > .nav-pill {
    width: 100%;
  }
  .nav-pill {
    width: 100%;
    justify-content: flex-start;
  }
  .nav-dropdown {
    position: static;
    box-shadow: none;
    background: var(--c-charcoal-3);
    border: 1px solid var(--c-border);
    margin-top: 4px;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-item.open .nav-dropdown {
    display: flex;
  }
  .nav-dropdown-link {
    color: var(--c-white);
  }
  .nav-dropdown-link:hover {
    background: rgba(229, 56, 58, 0.12);
    color: var(--c-orange);
  }

  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 28px;
    gap: 12px;
  }
  .hero-vehicle {
    width: 100%;
    justify-content: center;
    order: -1;
  }
  .hero-vehicle-img {
    max-height: 240px;
  }
  .hero-flags {
    left: 28px;
    right: 28px;
    bottom: 14px;
  }
  .hero-frame {
    min-height: unset;
  }

  .inventory-main {
    padding: 22px 18px;
  }
  .filter-panel {
    padding: 26px 20px;
  }

  .page-banner-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .results-main {
    padding: 22px 18px;
  }
  .detail-section {
    padding: 22px 18px 40px;
  }
  .detail-summary {
    padding: 20px;
  }
  .detail-panel {
    padding: 20px;
  }
  .detail-contact-panel .detail-cta-block {
    flex-direction: column;
  }
}

@media (max-width: 600px) {

   .body{
     overflow-x: hidden;
  }
  .logo-sub { display: none; }
  .support-block { display: none; }

  .hero-eyebrow { font-size: 16px; }
  .hero-heading { font-size: 24px; }
  .hero-subline { font-size: 12.5px; gap: 10px; }
  .hero-flags { justify-content: center; }
  .flag-chip { width: 36px; height: 26px; }

  .search-dropdown span { display: none; }
  .search-dropdown { padding: 0 10px; }
  .search-input { font-size: 13px; padding: 0 10px; }

  .filter-fields,
  .filter-more-fields {
    grid-template-columns: 1fr;
  }
  .filter-panel { padding: 22px 16px; }
  .filter-tabs { width: 100%; justify-content: flex-start; }
  .filter-tab { padding: 10px 16px; font-size: 12px; }
  .filter-footer { flex-direction: column; align-items: stretch; }
  .filter-footer .filter-search-btn,
  .filter-footer .show-more-filters { justify-content: center; width: 100%; }

  .listing-row-header { flex-wrap: wrap; }
  .route-heading { font-size: 18px; }
  .view-all-btn { padding: 8px 16px; font-size: 12px; }

  .vehicle-card { flex-basis: 220px; width: 220px; height: 320px; }
  .search-results-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .results-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

  .sidebar { padding: 22px 16px; }

  .global-floating-btns { right: 14px; bottom: 14px; }
  .float-btn { width: 40px; height: 40px; }

  .topbar { padding: 8px 14px; }
  .stock-badge { font-size: 13px; }
  .clock-badge { font-size: 11.5px; padding: 5px 12px; }
  .topbar-clocks { gap: 14px; }

  .page-banner-title { font-size: 20px; }
  .back-to-results-btn { width: 100%; justify-content: center; }
  .detail-quickstats { grid-template-columns: 1fr; }
  .detail-price { font-size: 24px; }
  .detail-gallery-thumbs img { width: 68px; height: 52px; }
  .detail-spec-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

@media (max-width: 380px) {
  .vehicle-card { flex-basis: 190px; width: 190px; height: 310px; }
  .card-image-wrap { height: 140px; }
  .hero-heading { font-size: 20px; }
}

/* ==========================================================
   FAQ SECTION
   ========================================================== */

.faq-section {
  background: var(--c-off-white, #f6f4f1);
  padding: 50px 24px 60px;
}

.faq-inner {
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
}

.faq-eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: 8px;
}

.faq-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 36px);
  color: var(--c-ink);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.faq-subtitle {
  font-size: 14px;
  color: var(--c-ink-muted);
  max-width: 640px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.faq-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.faq-tab {
  background: var(--c-panel);
  border: 1.5px solid rgba(0,0,0,0.1);
  color: var(--c-ink-muted);
  padding: 9px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.faq-tab:hover {
  border-color: var(--c-orange);
  color: var(--c-ink);
}

.faq-tab.active {
  background: var(--c-charcoal);
  border-color: var(--c-charcoal);
  color: var(--c-white);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  text-align: left;
}

.faq-item {
  background: var(--c-panel);
  border: 1.5px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.open {
  border-color: var(--c-orange);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: transparent;
  border: none;
  padding: 18px 20px;
  text-align: left;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--c-ink);
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--c-ink-muted);
  transition: transform 0.2s ease, color 0.2s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--c-red);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  padding: 0 20px 18px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--c-ink-muted);
}

/* ==========================================================
   FOOTER
   ========================================================== */

.site-footer {
  background: var(--c-charcoal);
  border-top: 1px solid var(--c-border);
}

.footer-banner {
  position: relative;
  margin: 24px 24px 0;
  max-width: 1800px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  align-items: center;
  border: 1px solid var(--c-border);
}

.footer-banner-bg {
  position: absolute;
  inset: 0;
}

.footer-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.55);
}

.footer-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(11,11,13,0.94) 0%, rgba(160,20,25,0.55) 55%, rgba(11,11,13,0.35) 100%);
}

.footer-banner-content {
  position: relative;
  z-index: 2;
  padding: 34px 40px;
}

.footer-banner-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--c-white);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.footer-banner-text {
  font-size: 14px;
  color: var(--c-text-muted);
  margin-bottom: 18px;
}

.footer-banner-text strong { color: var(--c-white); }

.footer-banner-btn {
  display: inline-flex;
  align-items: center;
  background: var(--c-red);
  color: var(--c-white);
  font-weight: 700;
  font-size: 13.5px;
  padding: 12px 26px;
  border-radius: 24px;
  transition: background 0.2s ease;
}

.footer-banner-btn:hover { background: var(--c-red-dark); }

.footer-columns-wrap {
  max-width: 1800px;
  margin: 0 auto;
  padding: 40px 24px 0;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--c-border);
}

.footer-col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--c-white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.footer-col-icon { font-size: 15px; }

.footer-hq-block {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-hq-block .flag-emoji {
  margin-top: 2px;
}

.footer-hq-block p {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--c-text-muted);
}

.footer-hq-block p strong { color: var(--c-white); }

.footer-make-list,
.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-make-list li a,
.footer-link-list li a {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-text-muted);
  transition: color 0.15s ease;
}

.footer-make-list li a:hover,
.footer-link-list li a:hover {
  color: var(--c-orange);
}

.footer-make-list .footer-make-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  color: var(--c-ink);
}

.footer-make-list .footer-make-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
}

.footer-link-list .flag-emoji {
  font-size: 14px;
  width: auto;
}

.footer-contact-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 28px 0;
}

.footer-contact-title {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: 8px;
}

.footer-contact-text {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--c-white);
}

.footer-contact-text a { transition: color 0.15s ease; }
.footer-contact-text a:hover { color: var(--c-orange); }

.footer-bottom {
  border-top: 1px solid var(--c-border);
  padding: 18px 24px;
  max-width: 1800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 12px;
  color: var(--c-text-dim);
}

.footer-payment-icons {
  display: flex;
  gap: 8px;
}

.payment-chip {
  background: var(--c-charcoal-3);
  border: 1px solid var(--c-border);
  color: var(--c-text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 10px;
  border-radius: 4px;
}

/* ==========================================================
   FAQ + FOOTER RESPONSIVE
   ========================================================== */

@media (max-width: 1200px) {
  .footer-columns {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .footer-col-hq { grid-column: 1 / -1; }
}

@media (max-width: 1100px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .footer-columns {
    grid-template-columns: 1fr 1fr;
  }
  .footer-col-hq { grid-column: 1 / -1; }
  .footer-contact-row {
    grid-template-columns: 1fr 1fr;
  }
  .footer-banner-content {
    padding: 26px 24px;
  }
  .faq-section { padding: 40px 18px 46px; }
  .faq-tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
}

@media (max-width: 600px) {
  .footer-banner {
    margin: 16px 16px 0;
    min-height: 160px;
  }
  .footer-columns-wrap { padding: 28px 16px 0; }
  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .footer-col-hq { grid-column: 1 / -1; }
  .footer-contact-row {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }
  .faq-title { font-size: 22px; }
  .faq-question { font-size: 13.5px; padding: 15px 16px; }
  .faq-answer p { padding: 0 16px 15px; }
}

/* ==========================================================
   VEHICLE DETAIL PAGE — sidebar + gallery + price/inquiry layout
   ========================================================== */

.detail-page-layout {
  max-width: 1800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 0;
  align-items: start;
}

.detail-page-layout[hidden] { display: none; }

.detail-main {
  padding: 0 24px 24px;
  min-width: 0;
}

.detail-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 22px;
}

.detail-share-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.detail-share-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-ink-muted);
  margin-right: 2px;
}

.detail-share-icon {
  width: 28px;
  height: 28px;
}

.detail-share-spacer { flex: 1; }

.detail-download-link {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: var(--c-red);
  font-size: 12.5px;
  font-weight: 700;
}

.detail-download-link:hover { color: var(--c-red-dark); }

.detail-summary-titleblock {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  margin-bottom: 16px;
}

.detail-summary-brand {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--c-off-white);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detail-summary-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.detail-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--c-ink);
  text-transform: uppercase;
  margin-bottom: 3px;
}

.detail-stockid {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--c-ink-muted);
}

.detail-panel-tight {
  padding: 22px;
  margin-bottom: 18px;
}

.detail-description-text {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--c-ink-muted);
}

.key-info-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  overflow: hidden;
}

.key-info-table .detail-spec-item {
  border-bottom: 1px solid rgba(0,0,0,0.07);
  border-right: 1px solid rgba(0,0,0,0.07);
  padding: 13px 16px;
  margin: 0;
}

.key-info-table .detail-spec-item:nth-child(2n) {
  border-right: none;
}

.detail-price-card {
  background: var(--c-panel);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 24px;
  position: sticky;
  top: 16px;
}

.detail-price-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.detail-fob-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--c-ink-muted);
}

.detail-price-card .detail-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  color: var(--c-red);
  margin-bottom: 0;
}

.detail-price-card .detail-cta-block {
  margin-bottom: 22px;
}

.detail-inquiry-wrap {
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.detail-inquiry-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--c-ink);
  margin-bottom: 16px;
}

.detail-inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.detail-form-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--c-ink-muted);
  margin-bottom: 6px;
}

.detail-form-field input,
.detail-form-field textarea {
  width: 100%;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--c-ink);
  background: var(--c-panel);
}

.detail-form-field input:focus,
.detail-form-field textarea:focus {
  outline: none;
  border-color: var(--c-orange);
}

.detail-form-field textarea { resize: vertical; }

.detail-form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.detail-form-note {
  font-size: 12.5px;
  color: var(--c-red);
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

/* ==========================================================
   VEHICLE DETAIL PAGE — RESPONSIVE
   ========================================================== */

@media (max-width: 1300px) {
  .detail-page-layout {
    grid-template-columns: 230px minmax(0, 1fr);
  }
}

@media (max-width: 1100px) {
  .detail-page-layout {
    grid-template-columns: 1fr;
  }
  .detail-page-layout .sidebar {
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }
  .detail-top-grid {
    grid-template-columns: 1fr;
  }
  .detail-price-card {
    position: static;
  }
}

@media (max-width: 900px) {
  .detail-main {
    padding: 0 18px 20px;
  }
  .key-info-table {
    grid-template-columns: 1fr;
  }
  .key-info-table .detail-spec-item {
    border-right: none;
  }
}

@media (max-width: 600px) {
  .detail-form-row {
    grid-template-columns: 1fr;
  }
  .detail-summary-titleblock {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .detail-price-card { padding: 18px; }
  .detail-panel-tight { padding: 16px; }
}

/* ==========================================================
   MOBILE / TABLET RESPONSIVE PASS
   Desktop layout above 1024px is untouched by everything below —
   all rules here live inside max-width media queries so desktop
   keeps its existing header, cards, forms and footer exactly as-is.

   Breakpoints used throughout this file:
     Desktop        : > 1024px  (no override needed)
     Tablet         : 768px – 1024px
     Mobile         : < 768px
     Small mobile   : < 480px
   ========================================================== */

/* Prevents background scroll while the slide-down mobile menu is open. */
body.mobile-menu-locked {
  overflow: hidden;
}

/* ---------- Mobile-only quick-access block inside the hamburger menu ---------- */

.mobile-menu-extra {
  display: none;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--c-border);
}

.mobile-menu-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--c-text-dim);
  padding: 0 4px 8px;
}

.mobile-menu-block {
  border-bottom: 1px solid var(--c-border);
}

.mobile-menu-heading {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  color: var(--c-white);
  padding: 14px 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-align: left;
}

.mobile-menu-chevron {
  flex-shrink: 0;
  width: 16px;
  text-align: center;
  font-size: 15px;
  line-height: 1;
  color: var(--c-text-muted);
  transition: color 0.2s ease;
}

.mobile-menu-heading[aria-expanded="true"] .mobile-menu-chevron {
  color: var(--c-orange);
}

.mobile-make-list,
.mobile-steering-list {
  padding: 2px 2px 14px;
  max-height: 260px;
  overflow-y: auto;
}

.mobile-make-list li,
.mobile-steering-list .steering-item,
.mobile-country-list li {
  color: var(--c-white);
}

.mobile-make-list li:hover,
.mobile-steering-list .steering-item:hover {
  background: rgba(229, 56, 58, 0.14);
}

.mobile-make-list li.active {
  background: rgba(229, 56, 58, 0.18);
  color: var(--c-orange);
}

.mobile-steering-list .steering-item.active {
  background: rgba(229, 56, 58, 0.18);
  border-color: var(--c-orange);
  color: var(--c-white);
}

.mobile-inventory-location {
  padding: 4px 2px 16px;
}

.mobile-inventory-location .location-dropdown {
  background: var(--c-charcoal-3);
  border-color: var(--c-border);
  color: var(--c-white);
}

/* Two-column, compact country grid inside the mobile menu */
.mobile-country-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  max-height: 260px;
  overflow-y: auto;
}

.mobile-country-list li {
  font-size: 13px;
  padding: 8px 8px;
}

.mobile-country-list li:hover,
.mobile-country-list li.active {
  background: rgba(229, 56, 58, 0.14);
}

.mobile-menu-divider {
  height: 1px;
  background: var(--c-border);
  margin: 4px 0 10px;
}

/* ==========================================================
   TABLET (max-width: 1024px)
   ========================================================== */
@media (max-width: 1024px) {
  .inventory-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }
  /* The body's "Search Cars By Make / Search Trucks By Make / Search By
     Steering / Inventory Location" sidebar stays fully intact in the DOM
     and keeps its IDs, data and click handlers — it is only hidden
     visually on mobile/tablet so the page isn't extremely long. The
     exact same data is reachable through the hamburger menu instead. */
  .sidebar-left {
    display: none;
  }
  .filter-fields,
  .filter-more-fields {
    grid-template-columns: 1fr 1fr;
  }
  .detail-page-layout {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   MOBILE + TABLET (max-width: 768px)
   Header rebuild: logo left / hamburger right, login below, search
   below that. Hides desktop nav + world clocks. Total Stock centered.
   ========================================================== */
@media (max-width: 768px) {

  .country-block{
    display: none;
  }

  /* ---- Top info bar ---- */
  .topbar-inner {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .stock-badge {
    justify-content: center;
  }
  /* Per the brief: hide the UAE/Japan live clocks on mobile/tablet. */
  .topbar-clocks {
    display: none;
  }

  /* ---- Header rebuild ---- */
  .header-top {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "logo burger"
      "login login"
      "search search";
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 0;
  }
  .logo { grid-area: logo; }
  .main-logo { height: 56px; }

  .mobile-menu-btn {
    grid-area: burger;
    display: flex;
    margin-left: auto;
  }

  .header-right {
    grid-area: login;
    width: 100%;
    justify-content: center;
  }
  .support-block { display: none; }
  .login-btn {
    width: 100%;
    text-align: center;
  }

  .search-bar {
    grid-area: search;
    order: 0;
    max-width: 100%;
    width: 100%;
  }

  /* ---- Hamburger slide-down menu ---- */
  .mobile-menu-btn { display: flex; }

  .header-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 4px 18px 24px;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }
  .header-nav.mobile-open {
    display: block;
  }
 .mobile-menu-extra {
        display: block;
        /* margin-left: -400px;
        margin-top: 1125px; */
    }
  .nav-item,
  .header-nav > .nav-pill {
    width: 100%;
  }
  .nav-pill {
    width: 100%;
    justify-content: flex-start;
  }
  .nav-dropdown {
    position: static;
    box-shadow: none;
    background: var(--c-charcoal-3);
    border: 1px solid var(--c-border);
    margin-top: 4px;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-item.open .nav-dropdown {
    display: flex;
  }
  .nav-dropdown-link { color: var(--c-white); }
  .nav-dropdown-link:hover {
    background: rgba(229, 56, 58, 0.12);
    color: var(--c-orange);
  }

  .filter-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--c-panel);
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  height: 48px;
  padding: 0 14px;
  width: 95%;
}


  /* ---- Hero ---- */
  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 20px 92px;
    gap: 10px;
  }
  .hero-vehicle {
    width: 100%;
    justify-content: center;
    order: -1;
  }
  .hero-vehicle-img { max-height: 220px; }
  .hero-flags { left: 20px; right: 20px; bottom: 12px; justify-content: center; }
  .hero-frame { min-height: unset; }

  /* ---- Country / inventory sidebar (desktop layout kept, just stacked) ---- */
  .inventory-main { padding: 10px 0px; }
  .filter-panel { padding: 22px 16px; }
  .sidebar { padding: 20px 16px; }

  /* ---- Inventory search form: full-width fields, no overflow ---- */
  .filter-fields,
  .filter-more-fields {
    grid-template-columns: 1fr;
    gap: 14px;
    /* margin-left:-8px; */
  }
  .filter-tabs {
    width: 100%;
    display: flex;
  }
  .filter-tab {
    flex: 1;
    justify-content: center;
    padding: 11px 8px;
    font-size: 12px;
  }
  .filter-range-wrap {
    display: flex;
    gap: 8px;
    width: 95%;
  }
  .filter-range-wrap input {
    min-width: 0;
    font-size: 13px;
    padding: 0 10px;
  }
  .filter-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-footer .show-more-filters,
  .filter-footer .filter-search-btn {
    justify-content: center;
    width: 100%;
  }

  /* ---- Vehicle cards: clean 2-column grid instead of horizontal scroll ---- */
  .listing-row-viewport {
    display: block;
  }
  .listing-row-track {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    overflow: visible;
    padding: 4px 0 4px;
  }
  .listing-row-track .vehicle-card,
  .listing-row-track .vehicle-card-link {
    width: 100%;
  }
  .vehicle-card {
    width: 100%;
    flex-basis: auto;
    height: 300px;
  }
  .card-image-wrap { height: 130px; }
  .row-arrow { display: none; }

  .search-results-grid,
  .results-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .listing-row-header {
    gap: 10px;
  }
  .route-heading { font-size: 17px; }
  .route-label { font-size: 10.5px; }
  .view-all-btn { padding: 8px 14px; font-size: 11.5px; }

  /* ---- Footer: compact + 2-column ---- */
  .footer-banner { margin: 14px 14px 0; min-height: 150px; }
  .footer-banner-content { padding: 20px; }
  .footer-banner-title { font-size: 20px; }
  .footer-columns-wrap { padding: 22px 14px 0; }
  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding-bottom: 20px;
  }
  .footer-col-hq { grid-column: 1 / -1; }
  .footer-hq-block { margin-bottom: 0; }
  .footer-make-list,
  .footer-link-list { gap: 8px; }
  .footer-contact-row {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 18px 0;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px;
    gap: 8px;
  }

  /* ---- FAQ ---- */
  .faq-grid { grid-template-columns: 1fr; }
  .faq-tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
}

/* ==========================================================
   SMALL MOBILE (max-width: 480px)
   ========================================================== */
@media (max-width: 480px) {
  .main-logo { height: 46px; }
  .header-top { padding: 12px 14px; }

  .search-dropdown span { display: none; }
  .search-dropdown { padding: 0 8px; }
  .search-input { font-size: 12.5px; padding: 0 8px; }

  .hero-eyebrow { font-size: 14px; }
  .hero-heading { font-size: 19px; }
  .hero-subline { font-size: 11.5px; gap: 8px; }

  .filter-heading { font-size: 22px; }
  .filter-panel { padding: 18px 12px; }

  .listing-row-track {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .vehicle-card { height: 280px; }
  .card-image-wrap { height: 110px; }
  .card-name { font-size: 13.5px; }
  .card-price { font-size: 13.5px; }
  .card-stats { gap: 4px; }
  .card-stat { font-size: 9.5px; padding: 4px 6px; }
  .card-hover-hint { display: none; }

  .search-results-grid,
  .results-grid { grid-template-columns: 1fr 1fr; gap: 8px; }

  .footer-columns { grid-template-columns: 1fr 1fr; gap: 14px; }
  .footer-col-hq { grid-column: 1 / -1; }
  .footer-contact-row { grid-template-columns: 1fr 1fr; gap: 12px; }

  .mobile-country-list { grid-template-columns: 1fr 1fr; }
}

/* Very small phones (<360px): drop to single-column cards so nothing
   is ever cut off horizontally. */
@media (max-width: 360px) {
  .listing-row-track,
  .search-results-grid,
  .results-grid {
    grid-template-columns: 1fr;
  }
  .vehicle-card { height: 300px; }
}


/* Facebook */
.float-btn-facebook {
  background: #1877F2;
  color: #fff;
}

.float-btn-facebook:hover {
  background: #145DBF;
  color: #fff;
}


/* Instagram */
.float-btn-instagram {
  background: linear-gradient(
    45deg,
    #F58529,
    #DD2A7B,
    #8134AF,
    #515BD4
  );
  color: #fff;
}

.float-btn-instagram:hover {
  opacity: 0.9;
}


.flag-china {
  background-image: url("https://flagcdn.com/w40/cn.png");
}

.flag-australia {
  background-image: url("https://flagcdn.com/w40/au.png");
}


