/*
 * AutoCAD Motors â€” Design System v3
 * Aesthetic: Clean white editorial. Peach-inspired precision.
 * Fonts: Plus Jakarta Sans (all weights) â€” refined, modern, distinctive
 * Philosophy: White space is the design. Every element earns its place.
 */

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

/* â”€â”€ Tokens â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
:root {
  --red:         #E8311A;
  --red-soft:    rgba(232,49,26,.09);
  --red-glow:    rgba(232,49,26,.18);

  --bg:          #FFFFFF;
  --bg-alt:      #F7F7F8;
  --bg-blush:    #FDF0EE;
  --surface:     #FFFFFF;
  --surface-2:   #F4F4F5;

  --ink:         #111111;
  --ink-2:       #444444;
  --ink-3:       #888888;
  --ink-4:       #BBBBBB;

  --line:        #EBEBEB;
  --line-2:      #F0F0F0;

  --shadow-xs:   0 1px 2px rgba(0,0,0,.05);
  --shadow-sm:   0 1px 3px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.06);
  --shadow-md:   0 2px 8px rgba(0,0,0,.06), 0 12px 32px rgba(0,0,0,.08);
  --shadow-lg:   0 8px 24px rgba(0,0,0,.08), 0 24px 64px rgba(0,0,0,.1);

  --r-xs: 6px;
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 20px;
  --r-xl: 28px;

  --ease: cubic-bezier(.4,0,.2,1);
  --max:  1380px;
}

[data-theme="dark"] {
  --bg:         #0C0C0D;
  --bg-alt:     #141415;
  --bg-blush:   #1A1015;
  --surface:    #1C1C1E;
  --surface-2:  #242426;

  --ink:        #F5F5F5;
  --ink-2:      #A0A0A0;
  --ink-3:      #666666;
  --ink-4:      #444444;

  --line:       rgba(255,255,255,.08);
  --line-2:     rgba(255,255,255,.04);

  --shadow-xs:  0 1px 2px rgba(0,0,0,.4);
  --shadow-sm:  0 1px 3px rgba(0,0,0,.4), 0 4px 12px rgba(0,0,0,.4);
  --shadow-md:  0 2px 8px rgba(0,0,0,.5), 0 12px 32px rgba(0,0,0,.5);
  --shadow-lg:  0 8px 24px rgba(0,0,0,.6), 0 24px 64px rgba(0,0,0,.6);
}

/* â”€â”€ Reset â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px; line-height: 1.6;
  background: var(--bg); color: var(--ink);
  -webkit-font-smoothing: antialiased;
  transition: background .25s var(--ease), color .25s var(--ease);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--ink-4); border-radius: 3px; }

/* â”€â”€ Logo swap â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.logo-dark  { display: none; }
.logo-light { display: block; }
[data-theme="dark"] .logo-dark  { display: block; }
[data-theme="dark"] .logo-light { display: none; }

/* Mobile-only / desktop-only */
.mobile-topbar { display: none; }  /* shown only in mobile media query */
.mobile-tabbar  { display: none; } /* shown only in mobile media query */

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   TOP UTILITY BAR (desktop only)
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.topbar {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  height: 38px;
  display: flex; align-items: center;
}
.topbar-inner {
  max-width: var(--max); margin: 0 auto; width: 100%;
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .78rem; color: var(--ink-3);
}
.topbar-left { display: flex; align-items: center; gap: 1.25rem; }
.topbar-right { display: flex; align-items: center; gap: 1.25rem; }
.topbar a {
  display: flex; align-items: center; gap: .38rem;
  color: var(--ink-3); transition: color .18s;
}
.topbar a:hover { color: var(--ink); }
.topbar-divider { color: var(--line); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   NAVBAR
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.navbar {
  position: sticky; top: 0; z-index: 900;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  height: 72px;
  box-shadow: var(--shadow-xs);
  transition: background .25s var(--ease);
}
.navbar-inner {
  max-width: var(--max); margin: 0 auto; height: 100%;
  padding: 0 2rem;
  display: flex; align-items: center; gap: 2rem;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 38px; object-fit: contain; }

.nav-center { display: flex; align-items: center; gap: .25rem; }
.nav-item {
  color: var(--ink-2); font-size: .875rem; font-weight: 500;
  padding: .45rem .85rem; border-radius: var(--r-sm);
  transition: color .18s, background .18s; white-space: nowrap;
}
.nav-item:hover { color: var(--ink); background: var(--bg-alt); }
.nav-item.active { color: var(--red); }

.nav-right { display: flex; align-items: center; gap: .65rem; margin-left: auto; }

/* WA button */
.nav-wa {
  display: flex; align-items: center; gap: .4rem;
  background: #25D366; color: #fff;
  padding: .45rem 1.1rem; border-radius: 100px;
  font-size: .82rem; font-weight: 600;
  transition: all .18s; white-space: nowrap;
}
.nav-wa:hover { background: #1dbc5a; color: #fff; transform: translateY(-1px); }

/* Theme toggle */
.theme-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--bg-alt); color: var(--ink-3);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; transition: all .18s;
}
.theme-btn:hover { border-color: var(--ink-3); color: var(--ink); }
.ic-sun { display: none; }
.ic-moon { display: block; }
[data-theme="dark"] .ic-sun  { display: block; }
[data-theme="dark"] .ic-moon { display: none; }

/* Staff login */
.nav-staff-btn {
  display: flex; align-items: center; gap: .4rem;
  color: var(--ink-3); border: 1.5px solid var(--line);
  background: none; border-radius: 100px;
  padding: .42rem .95rem; font-size: .8rem; font-weight: 500;
  transition: all .18s; white-space: nowrap;
}
.nav-staff-btn:hover { color: var(--ink); border-color: var(--ink-3); }

/* Staff avatar */
.nav-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--red); color: #fff;
  font-weight: 700; font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
}

/* Staff dropdown */
.staff-drop {
  display: none; position: absolute;
  top: calc(100% + .6rem); right: 0;
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow-lg);
  min-width: 210px; padding: .4rem; z-index: 200;
}
.staff-drop.open { display: block; }
.staff-drop-header { padding: .65rem .85rem .55rem; border-bottom: 1px solid var(--line); margin-bottom: .3rem; }
.staff-drop-name { font-weight: 700; font-size: .9rem; color: var(--ink); }
.staff-drop-role { font-size: .72rem; color: var(--ink-3); margin-top: .1rem; }
.drop-link {
  display: flex; align-items: center; gap: .55rem;
  padding: .52rem .85rem; border-radius: var(--r-sm);
  font-size: .855rem; color: var(--ink-2); transition: background .15s, color .15s;
}
.drop-link:hover { background: var(--bg-alt); color: var(--ink); }
.drop-link i { color: var(--red); font-size: .85rem; width: 16px; }
.drop-link.danger { color: var(--red); }
.drop-link.danger:hover { background: var(--red-soft); }
.drop-link.danger i { color: var(--red); }
.drop-divider { height: 1px; background: var(--line); margin: .3rem 0; }

/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: .4rem; margin-left: auto;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink-2); border-radius: 2px; transition: all .2s;
}

/* Mobile nav drawer */
.nav-drawer {
  display: none; position: absolute; top: 72px; left: 0; right: 0;
  background: var(--bg); border-bottom: 1.5px solid var(--line);
  padding: .75rem 1.5rem 1.25rem;
  flex-direction: column; gap: .25rem; z-index: 899;
  box-shadow: var(--shadow-md);
}
.nav-drawer.open { display: flex; }
.nav-drawer .nav-item { color: var(--ink-2); padding: .6rem .5rem; border-bottom: 1px solid var(--line-2); border-radius: 0; }
.nav-drawer .nav-item:last-of-type { border-bottom: none; }

@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-center, .nav-right { display: none; }
  .topbar { display: none; }
  .navbar { height: 64px; }
  .navbar-inner { padding: 0 1.25rem; }
  .nav-logo img { height: 34px; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MARKETING CAROUSEL
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.mkt-carousel-wrap {
  padding: 1.5rem 2rem 0;
  background: var(--bg);
}
@media (max-width: 768px) { .mkt-carousel-wrap { padding: .85rem .85rem 0; margin-top: 0; } }

.mkt-swiper { border-radius: var(--r-xl); overflow: hidden; }

.mkt-slide {
  position: relative; overflow: hidden;
  height: 400px;
  background: #1a1a2e;
  display: flex; align-items: center;
}
@media (max-width: 900px) { .mkt-slide { height: 300px; } }
@media (max-width: 600px) { .mkt-slide { height: 220px; } }

.mkt-slide-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}

/* Gradient overlay */
.mkt-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.2) 55%, transparent 100%);
  pointer-events: none;
}
.mkt-slide.dark-text::after {
  background: linear-gradient(90deg, rgba(255,255,255,.5) 0%, rgba(255,255,255,.15) 55%, transparent 100%);
}
.mkt-slide.no-overlay::after { display: none; }

.mkt-slide-bg-fallback {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1a1a2e, #2d1b3d);
}

/* Slide content */
.mkt-slide-content {
  position: relative; z-index: 2;
  max-width: var(--max); margin: 0 auto; width: 100%;
  padding: 2rem 2.5rem;
}
@media (max-width: 600px) { .mkt-slide-content { padding: 1.5rem; } }

.mkt-slide-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800; color: #fff; line-height: 1.15;
  margin-bottom: .5rem; letter-spacing: -.02em;
}
.mkt-slide.dark-text .mkt-slide-title { color: #111; }
.mkt-slide-sub { color: rgba(255,255,255,.75); font-size: .9rem; margin-bottom: 1.25rem; }
.mkt-slide.dark-text .mkt-slide-sub { color: rgba(0,0,0,.6); }
.mkt-slide-btns { display: flex; gap: .65rem; flex-wrap: wrap; }

.mkt-btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .7rem 1.4rem; border-radius: var(--r-sm);
  font-weight: 700; font-size: .875rem;
  text-decoration: none; border: none; cursor: pointer;
  transition: all .2s; white-space: nowrap;
}
.mkt-btn-primary { background: var(--red); color: #fff; }
.mkt-btn-primary:hover { background: #C42A14; color: #fff; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(232,49,26,.35); }
.mkt-btn-secondary { background: rgba(255,255,255,.18); backdrop-filter: blur(8px); border: 1.5px solid rgba(255,255,255,.4); color: #fff; }
.mkt-btn-secondary:hover { background: rgba(255,255,255,.28); color: #fff; transform: translateY(-1px); }
.mkt-slide.dark-text .mkt-btn-secondary { background: rgba(0,0,0,.08); border-color: rgba(0,0,0,.2); color: #111; }

/* Swiper nav */
.mkt-prev, .mkt-next {
  background: rgba(255,255,255,.85) !important;
  border: none !important;
  border-radius: 50% !important;
  width: 40px !important; height: 40px !important;
  box-shadow: var(--shadow-sm) !important;
}
.mkt-prev::after, .mkt-next::after { font-size: .78rem !important; color: #111 !important; font-weight: 800 !important; }
.mkt-prev:hover, .mkt-next:hover { background: #fff !important; }

.mkt-pagination { bottom: 14px !important; }
.mkt-pagination .swiper-pagination-bullet { background: rgba(255,255,255,.5); opacity: 1; width: 7px; height: 7px; transition: all .2s; }
.mkt-pagination .swiper-pagination-bullet-active { background: #fff; width: 22px; border-radius: 4px; }

/* Empty state */
.mkt-empty-state {
  height: 220px; background: var(--bg-alt);
  border-radius: var(--r-xl);
  display: flex; align-items: center; justify-content: center;
}
.mkt-empty-inner {
  text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: .5rem; color: var(--ink-3);
}
.mkt-empty-inner i { font-size: 2.5rem; opacity: .3; }
.mkt-empty-inner strong { font-size: .95rem; color: var(--ink); }
.mkt-empty-inner a { color: var(--red); font-weight: 600; }
.mkt-size-hint { display: none; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FILTER SECTION
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.filter-section {
  background: var(--bg-blush);
  padding: 1.5rem 2rem;
  margin-top: 1.5rem;
}
@media (max-width: 768px) { .filter-section { padding: 1rem; margin-top: 1rem; } }

.filter-section-inner {
  max-width: var(--max); margin: 0 auto;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 768px) { .filter-section-inner { padding: 1rem; } }

/* Search bar */
.big-search-bar {
  display: flex; align-items: center;
  background: var(--bg); border: 1.5px solid var(--line);
  border-radius: var(--r-sm); overflow: hidden;
  margin-bottom: 1rem;
  transition: border-color .18s, box-shadow .18s;
}
.big-search-bar:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-glow); }
.big-search-icon { padding: 0 1rem; color: var(--ink-4); font-size: .95rem; flex-shrink: 0; }
.big-search-input {
  flex: 1; border: none; outline: none;
  background: transparent; color: var(--ink);
  font-family: inherit; font-size: .95rem;
  padding: .85rem 0;
}
.big-search-input::placeholder { color: var(--ink-4); }
.big-search-btn {
  background: var(--red); color: #fff; border: none;
  padding: .7rem 1.1rem; font-size: .95rem; cursor: pointer;
  flex-shrink: 0; transition: background .18s;
}
.big-search-btn:hover { background: #C42A14; }

/* Filter chips */
.filter-chips-row {
  display: flex; flex-wrap: wrap; gap: .5rem; align-items: center;
}
.fchip {
  display: flex; align-items: center; gap: .4rem;
  background: var(--bg-alt); border: 1.5px solid var(--line);
  border-radius: 100px; color: var(--ink-2);
  padding: .46rem 1.1rem;
  font-family: inherit; font-size: .825rem; font-weight: 500;
  cursor: pointer; outline: none; transition: all .18s; white-space: nowrap;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .85rem center;
  background-color: var(--bg-alt);
  padding-right: 2.1rem;
}
.fchip:hover, .fchip:focus { border-color: var(--ink-3); color: var(--ink); }
.fchip option { background: var(--surface); color: var(--ink); }
.fchip-price { background-image: none; padding-right: 1.1rem; width: 130px; }
.fchip-price-wrap { display: flex; }
.fchip-clear {
  display: flex; align-items: center; gap: .38rem;
  background: none; border: 1.5px solid var(--line);
  color: var(--ink-3); border-radius: 100px;
  padding: .46rem .95rem; font-family: inherit;
  font-size: .82rem; cursor: pointer; transition: all .18s;
}
.fchip-clear:hover { border-color: var(--red); color: var(--red); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   LISTINGS
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.listings {
  max-width: var(--max); margin: 0 auto;
  padding: 1.75rem 2rem 5rem;
}
@media (max-width: 768px) { .listings { padding: 1.25rem 1rem 5rem; } }

.listings-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.25rem; flex-wrap: wrap; gap: .5rem;
}
.listings-label { font-weight: 700; font-size: 1rem; color: var(--ink); }
.listings-label span { color: var(--red); }

.view-switch {
  display: flex; gap: .2rem;
  background: var(--bg-alt); border: 1.5px solid var(--line);
  border-radius: var(--r-sm); padding: .2rem;
}
.vsw {
  padding: .3rem .6rem; border-radius: var(--r-xs);
  border: none; background: none; color: var(--ink-3);
  font-size: .9rem; cursor: pointer; transition: all .18s;
}
.vsw.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-xs); }

/* â”€â”€ Car Grid â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.25rem;
}
.cars-grid.list { grid-template-columns: 1fr; }

/* â”€â”€ Car Card â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.car-card {
  background: var(--surface);
  border-radius: var(--r);
  border: 1.5px solid var(--line);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .2s;
  animation: fadeUp .3s var(--ease) both;
}
.car-card:nth-child(2) { animation-delay: .05s; }
.car-card:nth-child(3) { animation-delay: .1s; }
.car-card:nth-child(4) { animation-delay: .14s; }
.car-card:nth-child(n+5) { animation-delay: .18s; }
@keyframes fadeUp { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:translateY(0); } }

.car-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line); }

.card-photo {
  position: relative; overflow: hidden;
  height: 205px; background: var(--bg-alt); flex-shrink: 0;
}
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.car-card:hover .card-photo img { transform: scale(1.04); }

/* Badges */
.f-badge {
  position: absolute; top: .75rem; left: .75rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .3px;
  padding: .26rem .7rem; border-radius: 100px;
  text-transform: uppercase;
}
.f-badge.avail  { background: rgba(22,163,74,.9);  color: #fff; }
.f-badge.sold   { background: rgba(220,38,38,.9);  color: #fff; }
.f-badge.booked { background: rgba(217,119,6,.9);  color: #fff; }
.f-badge.feat   {
  position: absolute; top: .75rem; right: .75rem;
  background: rgba(234,179,8,.92); color: #fff;
  font-size: .68rem; font-weight: 700;
  padding: .26rem .7rem; border-radius: 100px;
  display: flex; align-items: center; gap: .25rem;
}

/* Hover quick-actions */
.card-hover-actions {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: .6rem .7rem;
  background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 100%);
  display: flex; gap: .45rem; align-items: flex-end;
  opacity: 0; transform: translateY(4px);
  transition: opacity .2s, transform .2s;
}
.car-card:hover .card-hover-actions { opacity: 1; transform: translateY(0); }
.ha-btn {
  display: flex; align-items: center; gap: .3rem;
  background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25); color: #fff;
  border-radius: 100px; padding: .36rem .85rem;
  font-size: .74rem; font-weight: 600;
  transition: background .15s; white-space: nowrap;
}
.ha-btn:hover { background: var(--red); border-color: var(--red); }
.ha-btn.wa:hover { background: #25D366; border-color: #25D366; }

/* Sold / Booked veils */
.sold-veil, .booked-veil {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.sold-veil   { background: rgba(0,0,0,.45); }
.booked-veil { background: rgba(120,70,0,.42); }
.sold-stamp, .booked-stamp {
  font-weight: 900; font-size: 1.35rem;
  letter-spacing: 5px; color: #fff; text-transform: uppercase;
  border: 2.5px solid rgba(255,255,255,.8);
  padding: .3rem 1.1rem; border-radius: 4px;
  transform: rotate(-9deg);
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

/* Card body */
.card-body { padding: 1rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.card-make { font-size: .68rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--red); margin-bottom: .15rem; }
.card-name { font-weight: 700; font-size: .95rem; color: var(--ink); margin-bottom: .45rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-price { font-weight: 800; font-size: 1.2rem; color: var(--ink); margin-bottom: .65rem; letter-spacing: -.01em; }

.card-pills { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .85rem; }
.pill {
  display: flex; align-items: center; gap: .28rem;
  background: var(--bg-alt); border: 1.5px solid var(--line);
  color: var(--ink-3); border-radius: var(--r-xs);
  padding: .24rem .6rem; font-size: .72rem; font-weight: 500;
}
.pill i { font-size: .68rem; }

.card-inline-specs { display: none; font-size: .78rem; color: var(--ink-3); margin-bottom: .45rem; }

.card-cta {
  display: flex; align-items: center; justify-content: center; gap: .38rem;
  background: var(--ink); color: var(--bg);
  border: none; border-radius: var(--r-sm);
  padding: .65rem; font-family: inherit; font-weight: 600; font-size: .85rem;
  width: 100%; margin-top: auto; cursor: pointer;
  transition: opacity .18s, transform .18s;
  text-decoration: none;
}
.card-cta:hover { opacity: .82; transform: translateY(-1px); color: var(--bg); }
.card-cta i { font-size: .78rem; transition: transform .2s; }
.card-cta:hover i { transform: translateX(3px); }

/* List view */
.cars-grid.list .car-card { flex-direction: row; }
.cars-grid.list .card-photo { width: 230px; height: 160px; flex-shrink: 0; }
.cars-grid.list .card-body { padding: 1.1rem 1.3rem; }
@media (max-width: 580px) {
  .cars-grid.list .car-card { flex-direction: column; }
  .cars-grid.list .card-photo { width: 100%; height: 200px; }
}

/* States */
.state-wrap {
  grid-column: 1/-1; display: flex; flex-direction: column;
  align-items: center; padding: 4rem 0; gap: 1rem; color: var(--ink-3);
}
.state-wrap i { font-size: 3rem; opacity: .25; }
.spinner { width: 34px; height: 34px; border: 3px solid var(--line); border-top-color: var(--red); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Pagination */
.pager-wrap { grid-column: 1/-1; display: flex; justify-content: center; flex-wrap: wrap; gap: .35rem; margin-top: 2rem; }
.pg-btn {
  min-width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm); border: 1.5px solid var(--line);
  background: var(--surface); color: var(--ink-2);
  font-size: .82rem; font-weight: 500; padding: 0 .55rem; cursor: pointer; transition: all .18s;
}
.pg-btn:hover { border-color: var(--red); color: var(--red); }
.pg-btn.on { background: var(--red); border-color: var(--red); color: #fff; }
.pg-meta { grid-column: 1/-1; text-align: center; color: var(--ink-3); font-size: .78rem; margin-top: .4rem; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   CAR DETAIL PAGE
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.detail-wrap { max-width: 1280px; margin: 0 auto; padding: 2rem 2rem 6rem; }
@media (max-width: 768px) { .detail-wrap { padding: 1.25rem 1rem 5rem; } }

.det-topbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.25rem; flex-wrap: wrap; gap: .6rem;
}
.breadcrumb { display: flex; align-items: center; gap: .45rem; font-size: .8rem; color: var(--ink-3); }
.breadcrumb a { color: var(--red); }
.breadcrumb i { font-size: .6rem; }
.det-share-row { display: flex; gap: .5rem; }
.det-share-btn {
  display: flex; align-items: center; gap: .4rem;
  background: var(--surface); border: 1.5px solid var(--line);
  color: var(--ink-2); border-radius: 100px;
  padding: .4rem .95rem; font-size: .8rem; font-weight: 500; cursor: pointer; transition: all .18s;
}
.det-share-btn:hover { border-color: var(--red); color: var(--red); }

/* Gallery */
.gallery-zone {
  display: grid; grid-template-columns: 1fr 106px; gap: .65rem;
  border-radius: var(--r-xl); overflow: hidden; margin-bottom: 0;
}
@media (max-width: 640px) { .gallery-zone { grid-template-columns: 1fr; } .gallery-thumb-strip { display: none; } }

.gallery-main-wrap { position: relative; border-radius: var(--r-xl) 0 0 var(--r-xl); overflow: hidden; background: var(--bg-alt); }
@media (max-width: 640px) { .gallery-main-wrap { border-radius: var(--r-xl); } }

.gallery-main-swiper .swiper-slide img { width: 100%; height: 460px; object-fit: cover; cursor: zoom-in; }
@media (max-width: 900px) { .gallery-main-swiper .swiper-slide img { height: 340px; } }
@media (max-width: 560px) { .gallery-main-swiper .swiper-slide img { height: 240px; } }

.gallery-overlay-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: .65rem .9rem;
  background: linear-gradient(to top, rgba(0,0,0,.5), transparent);
}
.gallery-count-badge {
  background: rgba(0,0,0,.5); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.2); color: #fff;
  border-radius: 100px; padding: .22rem .75rem; font-size: .75rem; font-weight: 600;
}
.fs-trigger {
  background: rgba(0,0,0,.5); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.2); color: #fff;
  border-radius: var(--r-sm); padding: .44rem .75rem;
  font-size: .78rem; cursor: pointer; display: flex; align-items: center; gap: .38rem; transition: background .18s;
}
.fs-trigger:hover { background: rgba(0,0,0,.8); }

.gallery-thumb-strip { background: var(--bg-alt); border-radius: 0 var(--r-xl) var(--r-xl) 0; overflow: hidden; }
.thumb-vert-swiper { height: 460px !important; }
@media (max-width: 900px) { .thumb-vert-swiper { height: 340px !important; } }
.thumb-vert-swiper .swiper-wrapper { flex-direction: column; }
.thumb-vert-swiper .swiper-slide { height: auto !important; min-height: 70px; width: 100% !important; cursor: pointer; opacity: .52; transition: opacity .18s; border: 2px solid transparent; overflow: hidden; }
.thumb-vert-swiper .swiper-slide-thumb-active { opacity: 1; border-color: var(--red); }
.thumb-vert-swiper .swiper-slide img { width: 100%; height: 88px; object-fit: cover; }

/* Swiper arrows */
.swiper-button-prev, .swiper-button-next {
  background: rgba(255,255,255,.9) !important; border: none !important;
  border-radius: 50% !important; width: 38px !important; height: 38px !important; box-shadow: var(--shadow-sm) !important;
}
.swiper-button-prev::after, .swiper-button-next::after { font-size: .78rem !important; color: #111 !important; font-weight: 800 !important; }

/* Lightbox */
.lightbox { display: none; position: fixed; inset: 0; z-index: 9000; background: rgba(0,0,0,.97); backdrop-filter: blur(16px); flex-direction: column; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lb-close { position: absolute; top: 1rem; right: 1.2rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); color: #fff; border-radius: 50%; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; cursor: pointer; transition: all .18s; z-index: 10; }
.lb-close:hover { background: var(--red); border-color: var(--red); }
.lb-counter { position: absolute; top: 1.2rem; left: 1.5rem; color: rgba(255,255,255,.5); font-size: .82rem; }
.lb-swiper { width: 100%; max-width: 1100px; padding: 0 3.5rem; }
.lb-swiper .swiper-slide img { width: 100%; max-height: 82vh; object-fit: contain; border-radius: var(--r); }
.lb-thumbs { width: 100%; max-width: 540px; padding: 0 1rem; margin-top: .8rem; }
.lb-thumbs .swiper-slide { border-radius: 6px; overflow: hidden; cursor: pointer; opacity: .42; transition: opacity .2s; border: 2px solid transparent; }
.lb-thumbs .swiper-slide-thumb-active { opacity: 1; border-color: var(--red); }
.lb-thumbs .swiper-slide img { height: 52px; width: 100%; object-fit: cover; }

/* Trust bar */
.trust-bar {
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem;
  padding: .9rem 0; border-bottom: 1.5px solid var(--line);
  margin: .7rem 0 1.8rem;
}
.trust-item { display: flex; align-items: center; gap: .42rem; font-size: .8rem; color: var(--ink-2); font-weight: 500; }
.trust-item i { color: #16A34A; font-size: .88rem; }

/* No photo */
.no-photo-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 300px; background: var(--bg-alt); border-radius: var(--r-xl); color: var(--ink-3); gap: .8rem; margin-bottom: 1.5rem; }
.no-photo-placeholder i { font-size: 3.5rem; opacity: .25; }

/* Detail layout */
.det-content-grid { display: grid; grid-template-columns: 1fr 320px; gap: 2.5rem; }
@media (max-width: 1050px) { .det-content-grid { grid-template-columns: 1fr; } }

/* Price block */
.det-price-block { margin-bottom: 1.2rem; }
.det-price { font-size: 2.2rem; font-weight: 800; color: var(--red); letter-spacing: -.02em; line-height: 1; margin-bottom: .3rem; }
.det-title { font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 800; color: var(--ink); line-height: 1.15; margin-bottom: .55rem; }
.det-badges { display: flex; flex-wrap: wrap; gap: .4rem; }
.det-badge { display: inline-flex; align-items: center; gap: .28rem; font-size: .72rem; font-weight: 700; padding: .26rem .75rem; border-radius: 100px; }
.db-avail  { background: rgba(22,163,74,.1);  color: #16A34A; border: 1.5px solid rgba(22,163,74,.2); }
.db-sold   { background: rgba(220,38,38,.1);  color: #DC2626; border: 1.5px solid rgba(220,38,38,.2); }
.db-booked { background: rgba(217,119,6,.1);  color: #B45309; border: 1.5px solid rgba(217,119,6,.25); }
.db-feat   { background: rgba(234,179,8,.1);  color: #B45309; border: 1.5px solid rgba(234,179,8,.25); }
[data-theme="dark"] .db-avail  { color: #4ADE80; border-color: rgba(74,222,128,.25); }
[data-theme="dark"] .db-booked { color: #FCD34D; border-color: rgba(252,211,77,.25); }

/* Inline specs bar */
.inline-specs-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0; padding: 1rem 0; border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); margin-bottom: 1.4rem; }
.ispec { display: flex; flex-direction: column; gap: .18rem; padding: .2rem 1rem; flex-shrink: 0; }
.ispec:first-child { padding-left: 0; }
.ispec-lbl { font-size: .66rem; text-transform: uppercase; letter-spacing: .7px; color: var(--ink-3); }
.ispec-val { font-weight: 700; font-size: .9rem; color: var(--ink); white-space: nowrap; }
.ispec-div { width: 1px; height: 28px; background: var(--line); flex-shrink: 0; }

.det-desc, .det-desc-full { color: var(--ink-2); line-height: 1.78; font-size: .9rem; margin-bottom: 1.6rem; }

/* Next step CTAs */
.next-step-block { margin-bottom: 1.8rem; }
.next-step-title { font-weight: 700; font-size: .95rem; color: var(--ink); margin-bottom: .75rem; }
.next-step-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: .65rem; }
.nsc {
  display: flex; align-items: center; gap: .75rem;
  padding: .9rem 1rem; border-radius: var(--r); border: 1.5px solid var(--line);
  background: var(--surface); cursor: pointer; font-family: inherit;
  text-decoration: none; color: var(--ink); transition: all .2s;
}
.nsc:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--red); color: var(--ink); }
.nsc-primary { background: var(--red); border-color: var(--red); color: #fff; }
.nsc-primary:hover { background: #C42A14; border-color: #C42A14; color: #fff; }
.nsc-icon { width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.nsc-primary .nsc-icon { background: rgba(255,255,255,.2); color: #fff; }
.nsc-label { font-weight: 700; font-size: .85rem; line-height: 1.2; }
.nsc-sub   { font-size: .72rem; opacity: .65; margin-top: .1rem; }
.nsc-arrow { margin-left: auto; font-size: .75rem; opacity: .5; flex-shrink: 0; }

/* Tabs */
.tab-switcher { display: flex; gap: .4rem; border-bottom: 2px solid var(--line); margin-bottom: 1.1rem; margin-top: 1.6rem; }
.tab-btn { display: flex; align-items: center; gap: .4rem; padding: .55rem 1rem; border: none; background: none; font-family: inherit; font-size: .84rem; font-weight: 600; color: var(--ink-3); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all .18s; }
.tab-btn:hover { color: var(--ink); }
.tab-btn.active { color: var(--red); border-bottom-color: var(--red); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.feat-chips { display: flex; flex-wrap: wrap; gap: .45rem; padding: .4rem 0; }
.feat-chip {
  display: flex; align-items: center; gap: .32rem;
  background: var(--surface); border: 1.5px solid rgba(22,163,74,.2); color: #16A34A;
  border-radius: 100px; padding: .3rem .9rem; font-size: .8rem; font-weight: 500;
  transition: transform .18s;
}
[data-theme="dark"] .feat-chip { color: #4ADE80; border-color: rgba(74,222,128,.2); }
.feat-chip:hover { transform: translateY(-1px); }
.feat-chip i { font-size: .68rem; }

/* Inquiry form section */
.inq-form-section { margin-top: 2rem; padding-top: 1.5rem; border-top: 1.5px solid var(--line); }
.inq-row { display: grid; grid-template-columns: 1fr 1fr; gap: .62rem; }
@media (max-width: 540px) { .inq-row { grid-template-columns: 1fr; } }
.inq-field { margin-bottom: .62rem; }
.inq-field input, .inq-field textarea {
  width: 100%; background: var(--bg-alt); border: 1.5px solid var(--line);
  border-radius: var(--r-sm); color: var(--ink);
  padding: .7rem .95rem; font-family: inherit; font-size: .875rem;
  outline: none; resize: none; transition: border .18s, box-shadow .18s, background .18s;
}
.inq-field input:focus, .inq-field textarea:focus { border-color: var(--red); background: var(--surface); box-shadow: 0 0 0 3px var(--red-glow); }
.inq-field input::placeholder, .inq-field textarea::placeholder { color: var(--ink-4); }
.btn-send { display: flex; align-items: center; justify-content: center; gap: .45rem; background: var(--ink); color: var(--bg); border: none; border-radius: var(--r-sm); padding: .85rem 2rem; font-family: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; transition: opacity .18s, transform .18s; }
.btn-send:hover { opacity: .8; transform: translateY(-1px); }
.inq-msg { display: none; border-radius: var(--r-sm); padding: .7rem .9rem; font-size: .84rem; margin-bottom: .7rem; }
.inq-msg.show { display: block; }
.inq-msg.ok  { background: rgba(22,163,74,.08); color: #16A34A; border: 1.5px solid rgba(22,163,74,.2); }
.inq-msg.err { background: var(--red-soft); color: var(--red); border: 1.5px solid var(--red-glow); }

/* Sec head */
.sec-head { font-weight: 700; font-size: .95rem; color: var(--ink); margin-bottom: .75rem; display: flex; align-items: center; gap: .55rem; }
.sec-head::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* Sidebar */
.det-right { display: flex; flex-direction: column; gap: .85rem; }
.sidebar-card { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r); padding: 1.2rem; box-shadow: var(--shadow-xs); }
.sidebar-card-title { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--ink-3); margin-bottom: .9rem; }
.sidebar-price-card { position: sticky; top: 84px; }
.spc-price { font-size: 1.9rem; font-weight: 800; color: var(--red); letter-spacing: -.02em; line-height: 1; margin-bottom: .25rem; }
.spc-title { font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: .6rem; line-height: 1.3; }
.spc-status { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 700; padding: .24rem .75rem; border-radius: 100px; margin-bottom: .9rem; }
.spc-status.avail  { background: rgba(22,163,74,.1);  color: #16A34A; border: 1.5px solid rgba(22,163,74,.2); }
.spc-status.sold   { background: rgba(220,38,38,.1);  color: #DC2626; border: 1.5px solid rgba(220,38,38,.2); }
.spc-status.booked { background: rgba(217,119,6,.1);  color: #B45309; border: 1.5px solid rgba(217,119,6,.25); }

.sidebar-wa-btn { display: flex; align-items: center; justify-content: center; gap: .5rem; background: #25D366; color: #fff; text-decoration: none; border: none; border-radius: var(--r-sm); padding: .8rem; font-family: inherit; font-weight: 700; font-size: .9rem; width: 100%; margin-bottom: .55rem; transition: all .18s; }
.sidebar-wa-btn:hover { background: #1dbc5a; color: #fff; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(37,211,102,.3); }
.sidebar-call-btn { display: flex; align-items: center; justify-content: center; gap: .5rem; background: var(--bg-alt); border: 1.5px solid var(--line); color: var(--ink); text-decoration: none; border-radius: var(--r-sm); padding: .7rem; font-family: inherit; font-weight: 600; font-size: .84rem; width: 100%; transition: all .18s; }
.sidebar-call-btn:hover { border-color: var(--red); color: var(--red); }

.qs-list { display: flex; flex-direction: column; }
.qs-row { display: flex; justify-content: space-between; align-items: center; padding: .52rem 0; border-bottom: 1px solid var(--line-2); font-size: .83rem; }
.qs-row:last-child { border-bottom: none; }
.qs-lbl { color: var(--ink-3); }
.qs-val { font-weight: 600; color: var(--ink); text-align: right; }

.sidebar-share-card .share-row { display: flex; gap: .45rem; }
.sh-btn { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--bg-alt); color: var(--ink-2); display: flex; align-items: center; justify-content: center; font-size: .9rem; cursor: pointer; transition: all .18s; }
.sh-btn:hover { transform: translateY(-2px); }
.sh-btn.wa:hover { background: #25D366; border-color: #25D366; color: #fff; }
.sh-btn.fb:hover { background: #1877F2; border-color: #1877F2; color: #fff; }
.sh-btn.cp:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* Related */
.related-block { margin-top: 3.5rem; padding-top: 2rem; border-top: 1.5px solid var(--line); }
.related-title { font-weight: 800; font-size: 1.2rem; color: var(--ink); margin-bottom: 1.1rem; }
.related-scroll { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: .75rem; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.related-scroll::-webkit-scrollbar { height: 3px; }
.related-card { flex-shrink: 0; width: 230px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; scroll-snap-align: start; }
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line); color: var(--ink); }
.rc-photo { height: 145px; overflow: hidden; background: var(--bg-alt); }
.rc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.related-card:hover .rc-photo img { transform: scale(1.05); }
.rc-body { padding: .85rem; }
.rc-make { font-size: .66rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--red); margin-bottom: .15rem; }
.rc-name { font-weight: 700; font-size: .92rem; color: var(--ink); margin-bottom: .28rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-meta { font-size: .72rem; color: var(--ink-3); margin-bottom: .35rem; }
.rc-price { font-weight: 800; font-size: 1rem; color: var(--ink); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FOOTER
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.site-footer { background: #0F0F0F; border-top: 1px solid rgba(255,255,255,.06); padding: 3.5rem 2rem 2rem; margin-top: 0; }
.footer-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo img { height: 32px; margin-bottom: .9rem; }
.footer-tagline { color: rgba(255,255,255,.3); font-size: .84rem; line-height: 1.65; }
.footer-col-title { font-size: .68rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: .85rem; }
.footer-link { display: flex; align-items: center; gap: .45rem; color: rgba(255,255,255,.45); font-size: .84rem; margin-bottom: .45rem; transition: color .18s; }
.footer-link:hover { color: rgba(255,255,255,.85); }
.footer-bottom { max-width: var(--max); margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.06); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.footer-copy { color: rgba(255,255,255,.2); font-size: .76rem; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MOBILE  â‰¤ 768px
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media (max-width: 768px) {

  /* Mobile topbar â€” scrolls away, not sticky */
  .mobile-topbar {
    display: flex; align-items: center; justify-content: space-between;
    background: var(--bg-alt); border-bottom: 1px solid var(--line);
    padding: .42rem 1.1rem; font-size: .76rem;
  }
  .mobile-topbar a { color: var(--ink-2); display: flex; align-items: center; gap: .38rem; }
  .mobile-topbar-right { display: flex; align-items: center; gap: .6rem; }

  /* Navbar â€” fixed height, no extra content inside */
  .navbar { height: 62px; }
  .navbar-inner { padding: 0 1.1rem; gap: .5rem; }
  .nav-logo img { height: 32px; }

  /* Carousel â€” show full image without cropping on mobile */
  .mkt-carousel-wrap { padding: .85rem .85rem 0; }
  .mkt-slide { height: auto; min-height: 140px; }
  .mkt-slide-img {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
  }
  .mkt-swiper .swiper-slide { height: auto !important; }
  .mkt-slide-content { padding: 1.2rem 1.1rem; }
  .mkt-slide-title { font-size: 1.3rem; margin-bottom: .35rem; }
  .mkt-slide-sub { font-size: .76rem; margin-bottom: .9rem; }
  .mkt-btn { padding: .55rem 1rem; font-size: .78rem; }
  .mkt-prev { left: 8px !important; } .mkt-next { right: 8px !important; }
  .mkt-prev, .mkt-next { width: 34px !important; height: 34px !important; }

  /* Filter */
  .filter-section { padding: .85rem .85rem; margin-top: .85rem; }
  .filter-section-inner { padding: .9rem 1rem; border-radius: var(--r); }
  .big-search-bar { border-radius: var(--r-sm); }
  .big-search-input { font-size: .88rem; padding: .75rem 0; }
  .big-search-btn { padding: .65rem .95rem; }

  /* Filter chips â€” horizontal scroll */
  .filter-chips-row {
    display: flex; flex-direction: row; flex-wrap: nowrap;
    overflow-x: auto; gap: .45rem; scrollbar-width: none;
  }
  .filter-chips-row::-webkit-scrollbar { display: none; }
  .fchip { flex-shrink: 0; background-image: none; padding-right: 1rem; border-radius: 100px; font-size: .8rem; width: auto; }
  .fchip-price { width: 110px; }
  .fchip-price-wrap { display: contents; }
  .fchip-clear { flex-shrink: 0; width: auto; }

  /* Listings */
  .listings { padding: 1.1rem .85rem 5rem; }

  /* 2-column grid on mobile */
  .cars-grid { grid-template-columns: 1fr 1fr; gap: .65rem; }

  /* Cards */
  .car-card { border-radius: var(--r-sm); }
  .card-photo { height: 145px; border-radius: var(--r-sm) var(--r-sm) 0 0; }
  .card-hover-actions { display: none; }
  .card-body { padding: .7rem .8rem .85rem; }
  .card-make { font-size: .62rem; }
  .card-name { font-size: .82rem; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .card-pills { display: none; }
  .card-inline-specs { display: block; font-size: .68rem; color: var(--ink-3); margin-bottom: .35rem; line-height: 1.35; }
  .card-price { font-size: 1rem; margin-bottom: .55rem; }
  .card-cta { padding: .52rem .5rem; font-size: .75rem; border-radius: var(--r-xs); }

  /* Bottom tab bar */
  .mobile-tabbar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 800;
    background: var(--bg); border-top: 1.5px solid var(--line);
    padding: .5rem 0 calc(.5rem + env(safe-area-inset-bottom));
    box-shadow: 0 -2px 12px rgba(0,0,0,.06);
  }
  .tab-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .2rem; color: var(--ink-3); font-size: .62rem; font-weight: 500; text-decoration: none; padding: .1rem 0; transition: color .18s; }
  .tab-item i { font-size: 1.22rem; line-height: 1; }
  .tab-item.active, .tab-item:hover { color: var(--red); }

  body { padding-bottom: 62px; }

  /* Footer */
  .site-footer { padding: 2rem 1.2rem 1.5rem; }
}

@media (max-width: 360px) {
  .cars-grid { grid-template-columns: 1fr; }
  .card-photo { height: 200px; }
  .mkt-slide { height: 200px; }
}