:root {
  --bg: #f6f8fb;
  --card: #ffffff;
  --text: #0b1220;
  --muted: #5d6b85;
  --border: #e3e9f2;

  --blue: #0a66c2;
  --blue-2: #0b4f93;
  --search-light: #dff0ff;
  --search-dark: #0b4f93;

  --green: #0f7a3f;
  --green-bg: #e5f6ee;

  --shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

/* =========================
   TOP BAR (NOT sticky)
========================= */
.topbar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

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

.brand-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e8f3ff;
  display: grid;
  place-items: center;
  font-size: 16px;
}

.brand-text {
  letter-spacing: 0.2em;
  font-weight: 800;
  font-size: 14px;
}

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

.topnav-link {
  text-decoration: none;
  color: #2b3b55;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topnav-link:hover { background: #f2f6fb; }

.topnav-link.active {
  background: #e8f3ff;
  color: #114a84;
}

.icon { font-size: 14px; }

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 20px;
  color: #0d2b55;
  padding: 8px 10px;
  border-radius: 999px;
}

.icon-btn:hover { background: #f2f6fb; }

.menu-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
}

.user-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  /* background: #f0f4fb; */
  display: inline-block;
}

.menu-lines {
  width: 18px;
  height: 10px;
  display: inline-block;
  background: linear-gradient(
    to bottom,
    #2b3b55 0 2px,
    transparent 2px 4px,
    #2b3b55 4px 6px,
    transparent 6px 8px,
    #2b3b55 8px 10px
  );
}

/* Cart button */
.cart-btn {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 900;
  cursor: pointer;
}
.cart-btn:hover {
  border-color: #cfe0ff;
  background: #f3f7ff;
}

/* =========================
   LAYOUT
========================= */
.layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 18px;
  padding: 18px 18px 60px;
  align-items: start;
}

/* =========================
   SIDEBAR (sticky)
========================= */
.sidebar {
  position: sticky;
  top: 14px;
  height: calc(100vh - 28px);
  overflow: auto;
  padding-right: 6px;
  scrollbar-gutter: stable;
}

.filters {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  box-shadow: var(--shadow);
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  color: #20314c;
}

.filter-group {
  border-bottom: 1px solid var(--border);
  padding: 10px 6px;
}

.filter-group:last-child { border-bottom: none; }

.filter-group summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  color: #20314c;
  padding: 8px 6px;
}

.filter-group summary::-webkit-details-marker { display: none; }

.chev { color: #7a8aa6; font-size: 14px; }

.group-body {
  padding: 10px 6px 6px;
  display: grid;
  gap: 10px;
}

.group-body.two { grid-template-columns: 1fr 1fr; }

.field label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 800;
}

.field input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  outline: none;
  background: #fff;
}

.field input:focus {
  border-color: #9cc8ff;
  box-shadow: 0 0 0 4px rgba(156, 200, 255, 0.35);
}

.check {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
  color: #243957;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 8px 10px;
  font-weight: 800;
  cursor: pointer;
  color: #274062;
}

.chip:hover {
  background: #f3f7ff;
  border-color: #cfe0ff;
}

/* switch */
.switch { position: relative; width: 44px; height: 24px; }
.switch input { display: none; }
.slider {
  position: absolute;
  inset: 0;
  background: #d6deea;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s;
}
.slider::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: white;
  border-radius: 50%;
  transition: 0.2s;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
}
.switch input:checked + .slider { background: #89c2ff; }
.switch input:checked + .slider::before { transform: translateX(20px); }

/* =========================
   MAIN
========================= */
.main { min-width: 0; }

.page-title {
  font-weight: 900;
  color: #1f3352;
  margin: 6px 2px 10px;
}

/* =========================
   STICKY SEARCH (stays at top)
========================= */
.search-sticky {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 10px 0 12px;
  background: transparent;
}

.search-wrap {
  border-radius: 10px;
  background: var(--search-light);
  padding: 18px 18px;
  border: 1px solid #cfe4ff;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.search-sticky.scrolled .search-wrap {
  background: var(--search-dark);
  border-color: rgba(255, 255, 255, 0.18);
}

.search-box {
  background: #fff;
  border: 1px solid #99b5d9;
  border-radius: 10px;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  max-width: 920px;
  position: relative;
  z-index: 60;
}

.search-ico { color: #375a86; font-size: 16px; }

.search-box input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 16px;
  background: transparent;
  color: #152845;
}

.search-box input::placeholder { color: #7c8dad; font-weight: 600; }

.search-box:focus-within {
  border-color: #5aa9ff;
  box-shadow: 0 0 0 4px rgba(90, 169, 255, 0.22);
}

/* =========================
   META ROW
========================= */
.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 6px 2px 14px;
  color: var(--muted);
  font-weight: 800;
}

.meta-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.zip { display: inline-flex; align-items: center; gap: 6px; color: #36557f; }

.sort { display: inline-flex; align-items: center; gap: 8px; }
.sort-label { color: var(--muted); }
.sort select {
  border: none;
  background: transparent;
  font-weight: 900;
  color: var(--blue);
  cursor: pointer;
  outline: none;
}

.save-search {
  border: none;
  background: transparent;
  font-weight: 900;
  color: #7a8aa6;
  cursor: pointer;
}
.save-search .heart { color: #0d2b55; }

/* =========================
   GRID + CAR CARD
========================= */
.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* hover highlight */
.car-card {
  background: var(--card);
  border: 1px solid #e6edf5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: border 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
  cursor: pointer;
}

.car-card:hover {
  border: 1.5px solid #0a5fd8;
  box-shadow: 0 10px 28px rgba(10, 95, 216, 0.15);
  transform: translateY(-2px);
}

.media { position: relative; background: #f1f4f8; }
.media img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.fav {
  position: absolute;
  right: 12px;
  top: 10px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: 18px;
  color: #0d2b55;
  z-index: 5;
}
.fav:hover { background: rgba(255, 255, 255, 1); }

.dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.dot { width: 6px; height: 6px; border-radius: 999px; background: rgba(15, 23, 42, 0.25); }
.dot.active { background: #0d2b55; }

.body { padding: 12px 14px 14px; }

.badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }

.badge {
  font-weight: 900;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.badge-blue { background: #0b4f93; color: #fff; }
.badge-green { background: var(--green-bg); color: var(--green); border: 1px solid #bfead2; }

.body h3 { margin: 0; font-size: 18px; color: #122543; letter-spacing: -0.01em; }

.sub { margin-top: 6px; font-weight: 800; color: #6a7b98; font-size: 13px; }

.price-row { margin-top: 12px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }

.price { font-weight: 900; font-size: 26px; color: #0f1f39; }
.price-green { color: var(--green); }
.down { font-size: 14px; margin-right: 6px; }

.was {
  font-weight: 900;
  color: #7a8aa6;
  font-size: 13px;
  text-decoration: line-through;
}

/* line under price */
.divider {
  margin-top: 12px;
  height: 1px;
  background: #e8eef7;
  width: 100%;
}

.ship { margin-top: 12px; font-weight: 900; color: var(--green); font-size: 14px; }


/* ===== Toast ===== */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 99999;
  display: grid;
  gap: 10px;
}

.toast {
  background: #0b4f93;
  color: white;
  padding: 14px 18px;
  border-radius: 10px;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  opacity: 0;
  transform: translateY(-10px);
  animation: toastIn 0.3s forwards;
}

.toast.success { background: #0f7a3f; }
.toast.info { background: #0a5fd8; }
.toast.warn {
    background: #8a5a00;
}

/* Make sure the menu-pill is clickable */
.menu-pill {
    cursor: pointer;
}
@keyframes toastIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Auth Modal ===== */
.auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.45);
  display: none;
  place-items: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.auth-overlay.show {
    opacity: 1;
     display: grid; }

.auth-modal {
  background: white;
  padding: 24px;
  border-radius: 16px;
  width: 320px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
  position: relative;
}

.auth-modal h3 {
  margin: 0 0 10px;
}

.auth-modal input {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #dbe4f2;
}

.auth-primary {
  width: 100%;
  background: #0a5fd8;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-weight: 900;
  cursor: pointer;
}

.auth-secondary {
  width: 100%;
  margin-top: 8px;
  background: #f2f6fb;
  border: none;
  padding: 10px;
  border-radius: 10px;
  font-weight: 900;
  cursor: pointer;
}

.auth-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
}

/* ===== Image Click Zones ===== */
.media {
  position: relative;
}

.media::before,
.media::after {
  content: "";
  position: absolute;
  top: 0;
  width: 35%;
  height: 100%;
  z-index: 3;
}

.media::before { left: 0; }
.media::after { right: 0; cursor: pointer; }

/* =========================
   CART UI
========================= */
.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 9999;
}
.cart-overlay.show { display: block; }

.cart-panel {
  position: fixed;
  top: 0;
  right: -420px;
  width: 380px;
  max-width: 92vw;
  height: 100vh;
  background: #fff;
  z-index: 10000;
  border-left: 1px solid #e3e9f2;
  padding: 16px;
  overflow: auto;
  transition: right 0.25s ease;
}
.cart-panel.show { right: 0; }

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.cart-head h3 { margin: 0; }

.cart-close {
  border: none;
  background: #f2f6fb;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 900;
}

.cart-items { display: grid; gap: 10px; }

.cart-item {
  border: 1px solid #e3e9f2;
  border-radius: 12px;
  padding: 10px;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 10px;
}
.cart-item img {
  width: 70px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
  background: #f1f4f8;
}
.cart-item-title { font-weight: 900; color: #122543; font-size: 13px; }
.cart-item-price { margin-top: 4px; font-weight: 900; color: #0f1f39; }

.remove-btn {
  margin-top: 8px;
  border: none;
  background: #f2f6fb;
  padding: 6px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 900;
}
.remove-btn:hover { background: #eaf1ff; }

.cart-footer {
  margin-top: 14px;
  border-top: 1px solid #e8eef7;
  padding-top: 12px;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-weight: 900;
  color: #122543;
}

.checkout-btn, .paystack-btn {
  margin-top: 12px;
  width: 100%;
  border: none;
  font-weight: 900;
  padding: 12px 14px;
  border-radius: 12px;
  cursor: pointer;
}

.checkout-btn {
  background: #0a5fd8;
  color: #fff;
}
.checkout-btn:hover { background: #084fb3; }

.paystack-btn {
  background: #00c46a;
  color: #052113;
}
.paystack-btn:hover { background: #00a85b; }

.cart-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: #5d6b85;
}

/* =========================
   SCROLLBARS (optional polish)
========================= */
.sidebar::-webkit-scrollbar,
.cart-panel::-webkit-scrollbar {
  width: 10px;
}
.sidebar::-webkit-scrollbar-track,
.cart-panel::-webkit-scrollbar-track {
  background: transparent;
}
.sidebar::-webkit-scrollbar-thumb,
.cart-panel::-webkit-scrollbar-thumb {
  background: #d7e0ee;
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: content-box;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1200px) {
  .layout { grid-template-columns: 270px 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar {
    position: relative;
    top: auto;
    height: auto;
    overflow: visible;
  }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topnav { display: none; }
}

@media (max-width: 600px) {
  .topbar { padding: 0 14px; }
  .grid { grid-template-columns: 1fr; }
  .search-box { height: 50px; }
  .media img { height: 175px; }
  .price { font-size: 24px; }
  .meta-row { flex-direction: column; align-items: flex-start; }
}

.car-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    }

.img-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    cursor: pointer;
    display: grid;
    place-items: center;
    z-index: 5;
}
.img-nav:hover {
    background: rgba(0, 0, 0, 0.6);
}
.img-prev {
        left: 10px;
}
.img-next {
        right: 10px;
}

/* =========================
   SELL / TRADE PAGE
========================= */
.sell-page .layout { display: none; } /* you don't want sidebar/grid on sell page */

.sell-hero {
  background: linear-gradient(180deg, #0b4f93 0%, #0a3e75 100%);
  padding: 44px 18px 54px;
}

.sell-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 22px;
  align-items: start;
}

.sell-hero-left h1 {
  margin: 0;
  color: #fff;
  font-weight: 950;
  letter-spacing: -0.02em;
  line-height: 0.95;
  font-size: clamp(38px, 4.4vw, 62px);
}

.sell-hero-sub {
  margin: 16px 0 0;
  color: rgba(255,255,255,0.9);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
}

.offer-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 30px 60px rgba(0,0,0,0.25);
  overflow: hidden;
}

.offer-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #e6edf5;
}

.offer-tab {
  border: none;
  background: #fff;
  padding: 16px 14px;
  font-weight: 900;
  cursor: pointer;
  color: #35527b;
  border-bottom: 3px solid transparent;
}

.offer-tab.active {
  color: #0b4f93;
  border-bottom-color: #0b4f93;
}

.offer-form {
  padding: 18px;
}

.offer-fields {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 10px;
  margin-bottom: 14px;
}

.offer-fields.hidden { display: none; }

.offer-input,
.offer-select {
  width: 100%;
  border: 1px solid #d8e2f0;
  border-radius: 10px;
  padding: 12px 12px;
  font-weight: 800;
  outline: none;
  background: #fff;
  color: #122543;
}

.offer-input:focus,
.offer-select:focus {
  border-color: #9cc8ff;
  box-shadow: 0 0 0 4px rgba(156, 200, 255, 0.35);
}

.offer-help {
  grid-column: 1 / -1;
  color: #5d6b85;
  font-weight: 700;
  font-size: 12px;
  margin-top: -4px;
}

.offer-btn {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 14px 16px;
  font-weight: 950;
  cursor: pointer;
  background: #0a5fd8;
  color: #fff;
}

.offer-btn:hover { background: #084fb3; }

.offer-fineprint {
  margin-top: 12px;
  color: #6a7b98;
  font-size: 12px;
  font-weight: 700;
}

/* Value card */
.sell-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 18px;
}

.value-card {
  background: #fff;
  border: 1px solid #e6edf5;
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.value-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  color: #1f3352;
}

.value-mark {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #e8f3ff;
  color: #0b4f93;
  font-weight: 950;
}

.value-title {
  margin-top: 8px;
  font-weight: 950;
  color: #122543;
  font-size: 20px;
}

.value-sub {
  margin-top: 6px;
  color: #5d6b85;
  font-weight: 700;
  font-size: 13px;
}

.value-link { color: #0a5fd8; text-decoration: none; font-weight: 900; }

.value-btn {
  border: 2px solid #0b4f93;
  background: #fff;
  color: #0b4f93;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 950;
  cursor: pointer;
  white-space: nowrap;
}

.value-btn:hover { background: #f3f7ff; }

/* How it works */
.sell-h2 {
  margin: 0;
  font-weight: 950;
  color: #122543;
  font-size: 28px;
}

.sell-p {
  margin: 10px 0 0;
  color: #5d6b85;
  font-weight: 700;
}

.how-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.how-item {
  background: #fff;
  border: 1px solid #e6edf5;
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.how-ico {
  font-size: 26px;
  margin-bottom: 10px;
}

.how-item h3 {
  margin: 0;
  font-weight: 950;
  color: #122543;
}

.how-item p {
  margin: 10px 0 0;
  color: #5d6b85;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 900px) {
  .sell-hero-inner { grid-template-columns: 1fr; }
  .offer-fields { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .value-card { flex-direction: column; align-items: flex-start; }
}

/* =========================
   FINANCING PAGE
========================= */
.finance-page .layout { display: none; } /* hide search page layout on this page */

.finance-hero {
  background: linear-gradient(135deg, #0b4f93 0%, #0a3e75 55%, #0b2f57 100%);
  padding: 34px 18px 24px;
}

.finance-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 22px;
  align-items: center;
}

.finance-left {
  position: relative;
  min-height: 320px;
}

.finance-car-wrap {
  width: 100%;
  min-height: 240px;
  display: grid;
  place-items: center;
}

.finance-car {
  width: min(520px, 100%);
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,0.25));
}

.finance-car-fallback {
  width: min(520px, 100%);
  height: 240px;
  border-radius: 16px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 14px;
}
.finance-car-fallback small { opacity: 0.85; font-weight: 700; }

.payment-bubble {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-10%);
  background: rgba(12, 58, 107, 0.75);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 14px;
  padding: 14px 16px;
  color: #fff;
  backdrop-filter: blur(6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.22);
  min-width: 240px;
}

.pay-top {
  font-weight: 900;
  opacity: 0.95;
  margin-bottom: 8px;
}

.pay-amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 950;
}

.pay-amount .money {
  font-size: 44px;
  letter-spacing: -0.03em;
  line-height: 1;
}
.pay-amount .per {
  font-size: 18px;
  opacity: 0.95;
  font-weight: 900;
}
.pay-amount .lock { font-size: 18px; opacity: 0.95; }

.finance-note {
  margin-top: 14px;
  color: rgba(255,255,255,0.85);
  font-weight: 800;
  font-size: 12px;
}

.finance-right {
  display: grid;
  justify-items: end;
}

.finance-card {
  width: min(560px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.18);
}

.finance-card h1 {
  margin: 0;
  font-weight: 950;
  color: #0b1220;
  letter-spacing: -0.02em;
  font-size: clamp(26px, 3vw, 40px);
}

.finance-card p {
  margin: 10px 0 18px;
  color: #2b3b55;
  font-weight: 750;
  line-height: 1.5;
}

.finance-cta {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 14px 16px;
  font-weight: 950;
  cursor: pointer;
  background: #0a5fd8;
  color: #fff;
}
.finance-cta:hover { background: #084fb3; }

.finance-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 18px 60px;
  text-align: center;
}

.finance-h2 {
  margin: 0;
  font-weight: 950;
  color: #122543;
  font-size: clamp(26px, 3.4vw, 44px);
  letter-spacing: -0.02em;
}

.finance-sub {
  margin: 10px auto 0;
  max-width: 760px;
  color: #5d6b85;
  font-weight: 750;
  line-height: 1.6;
}

.finance-cards {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  text-align: left;
}

.finance-mini {
  background: #fff;
  border: 1px solid #e6edf5;
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.mini-ico {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 2px solid #0a5fd8;
  color: #0a5fd8;
  display: grid;
  place-items: center;
  font-weight: 950;
  margin-bottom: 12px;
}

.finance-mini h3 {
  margin: 0;
  font-weight: 950;
  color: #122543;
}

.finance-mini p {
  margin: 10px 0 0;
  color: #5d6b85;
  font-weight: 750;
  line-height: 1.6;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 900px) {
  .finance-hero-inner { grid-template-columns: 1fr; }
  .finance-right { justify-items: stretch; }
  .payment-bubble { position: static; transform: none; margin: 12px 0 0; }
  .finance-cards { grid-template-columns: 1fr; }
  .finance-left { min-height: auto; }
}

.auth-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e6edf5;
}

.profile-avatar,
.profile-avatar-fallback {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #f2f6fb;
  border: 1px solid #e3e9f2;
}

.profile-avatar {
  object-fit: cover;
  display: block;
}

.profile-avatar-fallback {
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 900;
  color: #274062;
}

.auth-profile-meta {
  display: grid;
  gap: 4px;
}

.auth-who {
  font-weight: 950;
  color: #122543;
}

.auth-mini {
  font-size: 12px;
  font-weight: 800;
  color: #5d6b85;
}

.auth-logout {
  margin-top: 6px;
  width: fit-content;
  border: none;
  background: #f2f6fb;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 900;
}
.auth-logout:hover { background: #eaf1ff; }

.fav-btn {
  position: relative;
}

.fav-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ff3b3b;
  color: white;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.3);
  pointer-events: none;
}

/* ===== Car fav button state ===== */
.fav.is-fav {
  background: rgba(255, 255, 255, 1);
  color: #0a5fd8;
  box-shadow: 0 10px 20px rgba(10, 95, 216, 0.12);
}

/* ===== Empty-state ===== */
.empty-state {
  grid-column: 1 / -1;
  background: #fff;
  border: 1px dashed #cfe0ff;
  border-radius: 16px;
  padding: 22px;
  text-align: center;
  color: #5d6b85;
  font-weight: 900;
}

.use-location {
  margin-left: 10px;
  border: 1px solid #cfe0ff;
  background: #f3f7ff;
  color: #0a5fd8;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
}

.use-location:hover {
  background: #eaf1ff;
  border-color: #bcd6ff;
}

.use-location:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.use-location.secondary {
  background: #fff;
  border-color: #e3e9f2;
  color: #2b3b55;
}

.use-location.secondary:hover {
  background: #f2f6fb;
}

/* Inline ZIP form */
.zip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.zip-inline-form {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}

.zip-inline-form input {
  width: 200px;
  max-width: 60vw;
  border: 1px solid #dbe4f2;
  border-radius: 10px;
  padding: 8px 10px;
  outline: none;
  font-weight: 700;
}

.zip-inline-form input:focus {
  border-color: #9cc8ff;
  box-shadow: 0 0 0 4px rgba(156, 200, 255, 0.25);
}

/* =========================
   ✅ SIDEBAR FIXES / POLISH (ADD AT BOTTOM)
========================= */

/* 1) ✅ Selected chip state (your JS toggles .selected) */
.chip.selected {
  background: #e8f3ff;
  border-color: #89c2ff;
  color: #114a84;
  box-shadow: 0 8px 18px rgba(10, 95, 216, 0.10);
}

/* Optional: keyboard focus for chips */
.chip:focus {
  outline: none;
  border-color: #9cc8ff;
  box-shadow: 0 0 0 4px rgba(156, 200, 255, 0.35);
}

/* 2) ✅ Style <select> fields same as inputs (APR + Term) */
.field select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  outline: none;
  background: #fff;
  font-weight: 800;
  color: #152845;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Nice dropdown arrow */
.field {
  position: relative;
}
.field select {
  padding-right: 36px;
}
.field::after {
  content: "⌄";
  position: absolute;
  right: 12px;
  top: 34px; /* aligns under the label */
  color: #7a8aa6;
  pointer-events: none;
  font-weight: 900;
}

.field select:focus {
  border-color: #9cc8ff;
  box-shadow: 0 0 0 4px rgba(156, 200, 255, 0.35);
}

/* 3) ✅ Make checkbox taps nicer */
.check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #0a5fd8;
}

/* 4) ✅ Ensure your image click-zones DO NOT block nav buttons */
.media::before,
.media::after {
  pointer-events: none; /* zones won't steal clicks */
}

/* But allow the image itself + nav buttons to work */
.media img,
.img-nav,
.fav {
  pointer-events: auto;
}

/* 5) ✅ Small improvement: sidebar scrollbar area on mobile */
@media (max-width: 900px) {
  .sidebar {
    padding-right: 0;
  }
}



.gallery-title {
  font-weight: 950;
  color: #122543;
}

.gallery-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.gallery-tab {
  border: 1px solid #e3e9f2;
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 950;
  cursor: pointer;
  color: #274062;
}
.gallery-tab.active {
  background: #f3f7ff;
  border-color: #cfe0ff;
  color: #0a5fd8;
}

.gallery-close {
  border: none;
  background: #f2f6fb;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 950;
}
.gallery-close:hover { background: #eaf1ff; }

.gallery-stage {
  position: relative;
  background: #0b1220;
  display: grid;
  place-items: center;
  min-height: 420px;
}




.gallery-hint {
  padding: 10px 14px 14px;
  font-size: 12px;
  color: #5d6b85;
  font-weight: 800;
  background: #fff;
}

.spin-controls {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.spin-label { font-weight: 950; }
.spin-controls input[type="range"] { width: 100%; }

/* =========================
   CARD OVERLAY BUTTONS
========================= */
.media-pill {
  position: absolute;
  left: 12px;
  bottom: 12px;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(11,18,32,0.55);
  color: #fff;
  border-radius: 999px;
  padding: 8px 10px;
  font-weight: 950;
  cursor: pointer;
  z-index: 6;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.media-pill:hover { background: rgba(11,18,32,0.70); }

.media-pill.two {
  left: auto;
  right: 12px;
  bottom: 12px;
}
    

/* ===================== FULLSCREEN GALLERY (CLEAN + FIXED) ===================== */
#galleryOverlay.gallery-overlay{
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.60);
  display: none;
  place-items: center;
  z-index: 99999;
  padding: 10px;
}
#galleryOverlay.gallery-overlay.show{ display: grid; }

/* Modal almost full screen */
#galleryOverlay .gallery-modal{
  width: min(1400px, 98vw);
  height: 96vh;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.35);
  border: 1px solid rgba(227,233,242,1);
  overflow: hidden;
  position: relative;

  display: grid;
  grid-template-rows: auto 1fr auto auto; /* top, image, meta, thumbs */
  min-height: 0;
}

/* Top bar */
#galleryOverlay .gallery-top{
  display: flex;
  justify-content: space-between;
  align-items: center; /* ✅ valid */
  gap: 12px;
  padding: 14px 14px 10px;
  border-bottom: 1px solid #eef3fb;
  padding-right: 70px;
}

#galleryOverlay .gallery-actions{ display: inline-flex; gap: 8px; align-items: center; }

#galleryOverlay .g-btn{
  border: 1px solid #e3e9f2;
  background: #ffffff;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 900;
  cursor: pointer;
}
#galleryOverlay .g-btn:hover{ background: #f3f7ff; border-color: #cfe0ff; }

#galleryOverlay .g-close{
  position: absolute;
  top: 10px;
  right: 10px;
  border-radius: 10px;
  padding: 8px 10px;
}

/* Image row */
#galleryOverlay .gallery-main{
  display: grid;
  grid-template-columns: 54px 1fr 54px;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: #f6f8fb;
  min-height: 0;
}

/* The frame (taller) */
#galleryOverlay .gallery-image-wrap{
  position: relative;
  width: 100%;
  height: min(48vh, 800px);
  min-height: 0;
  border-radius: 14px;
  /* overflow: hidden; */
  background: #0b1220;
  border: 1px solid #e3e9f2;
  display: grid;
  place-items: center;
}

/* ✅ IMPORTANT: show FULL car, no crop */
#galleryOverlay #galleryImage.gallery-image{
  width: 100%;
  height: min(41vh, 500px);
  object-fit: contain;         /* ✅ full image */
  object-position: center;
  background: #0b1220;
  cursor: zoom-in;
  user-select: none;
  transform-origin: center center;
  transition: transform 0.15s ease;
}

/* Optional zoom (still works with contain) */
#galleryOverlay .gallery-image-wrap.zoomed #galleryImage{
  transform: scale(2.2);
  cursor: zoom-out;
}

#galleryOverlay .zoom-hint{
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(227,233,242,1);
  border-radius: 10px;
  font-weight: 900;
  font-size: 12px;
  color: #2b3b55;
  display: none;
}
#galleryOverlay .gallery-image-wrap.zoomed .zoom-hint{ display: block; }

/* Nav buttons */
#galleryOverlay .g-nav{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background: rgba(11,18,32,0.25);
  color: #fff;
  cursor: pointer;
  font-size: 26px;
  display: grid;
  place-items: center;
}
#galleryOverlay .g-nav:hover{ background: rgba(11,18,32,0.45); }

/* Meta row under image */
#galleryOverlay .gallery-meta{
  padding: 30px;
  border-top: 1px solid #eef3fb;
  background: #fff;
  max-height: 28vh;   /* ✅ ensures it shows */
  overflow: auto;
}


/* Thumbs */
#galleryOverlay .gallery-thumbs{
  display: flex;
  gap: 10px;
  padding: 12px;
  overflow: auto;
  border-top: 1px solid #eef3fb;
  background: #fff;
}

#galleryOverlay .g-thumb{
  width: 92px;
  height: 64px;
  border-radius: 12px;
  border: 2px solid transparent;
  background: #f1f4f8;
  overflow: hidden;
  cursor: pointer;
  flex: 0 0 auto;
}
#galleryOverlay .g-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#galleryOverlay .g-thumb.active{ border-color: #0a5fd8; }
/* ===================== 360 overlay ===================== */
.viewer360-overlay{
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.65);
  display: none;
  place-items: center;
  z-index: 100000;
}
.viewer360-overlay.show{ display: grid; }

.viewer360-modal{
  width: min(1100px, 94vw);
  height: min(720px, 90vh);
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e3e9f2;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 70px rgba(0,0,0,0.35);
}
.viewer360-modal iframe{
  width: 100%;
  height: 100%;
  display: block;
}

/* ===== Gallery Meta (Better UI) ===== */
.gallery-meta{
  padding: 18px 18px 20px;
  border-top: 1px solid #eef3fb;
  background: #fff;
  overflow: auto;
  max-height: 30vh;

}

.g-meta-wrap{
  display: grid;
  gap: 10px;
}

.g-meta-title{
  font-weight: 950;
  color:#122543;
  font-size:20px;
  letter-spacing: -0.02em;
}

.g-meta-price{
  font-weight: 950;
  font-size: 22px;
  color: #0b1220;
}

.g-meta-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  padding-top: 10px;
  border-top: 1px solid #eef3fb;
}

.g-meta-grid > div{
  background: #f6f8fb;
  border: 1px solid #e6edf5;
  border-radius: 12px;
  padding: 10px 10px;
}

.g-meta-grid .k{
  display:block;
  font-size: 12px;
  color:#5d6b85;
  font-weight: 900;
}

.g-meta-grid .v{
  display:block;
  margin-top: 4px;
  font-weight: 950;
  color: #122543;
}

/* Description with long-text support */
.g-meta-desc{
  margin-top: 10px;
  color:#2b3b55;
  font-weight: 750;
  line-height: 1.55;
  max-height: none;      /* collapsed */
  overflow: visible;
  padding-top: 10px;
  border-top: 1px solid #eef3fb;
}

.g-meta-desc.is-open{
  max-height: 260px;     /* expanded */
}

/* Read more button */
.g-meta-more{
  margin-top: 8px;
  width: fit-content;
  border: 1px solid #e3e9f2;
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 950;
  cursor: pointer;
  color: #0a5fd8;
}
.g-meta-more:hover{
  background: #f3f7ff;
  border-color: #cfe0ff;
}

/* Mobile: make grid 1 column */
@media (max-width: 720px){
  .g-meta-grid{ grid-template-columns: 1fr; }
}

/* Buy button style */
.g-buy{
  color:black;
  border:1px solid #00c46a;
  border-radius:999px;
  padding:10px 16px;
  font-weight:900;
  cursor:pointer;
  transition:all .25s ease;
  box-shadow:0 6px 18px rgba(22,163,74,0.25);
  letter-spacing: .3px;
  background: #00c46a;
  letter-spacing:.3px;
}
  
/* hover */
.g-buy:hover{
  background: #00a85b;
  box-shadow:0 10px 26px rgba(22,163,74,0.35);
  transform: translateY(-1px);
}

/* click press effect */
.g-buy:active{
  transform: translateY(1px);
  box-shadow:0 4px 12px rgba(22,163,74,0.25);
  background: #00a85b;
}

/* optional icon spacing */
.g-buy::before{
  margin-right:6px;
}

.paystack-btn.is-loading {
  opacity: 0.75;
  cursor: not-allowed;
}

/* Stripe-like checkout button */
.checkout-btn {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.2px;
  cursor: pointer;

  color: #fff;
  background: #635bff; /* Stripe-ish purple */
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.checkout-btn:hover {
  filter: brightness(1.05);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.22);
  transform: translateY(-1px);
}

.checkout-btn:active {
  transform: translateY(0);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
  filter: brightness(0.98);
}

.checkout-btn:focus-visible {
  outline: 3px solid rgba(99, 91, 255, 0.35);
  outline-offset: 3px;
}

/* Loading state (optional) */
.checkout-btn.is-loading {
  opacity: 0.85;
  cursor: progress;
}

/* Disabled state */
.checkout-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ===== Right-side dropdown panel (Carvana-style) ===== */
.user-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* panel container */
.user-dropdown {
  position: fixed;
  top: 0;
  right: 0;
  width: 360px;
  height: 100vh;
  background: #fff;
  box-shadow: -12px 0 35px rgba(0, 0, 0, 0.15);
  padding: 22px;
  z-index: 9999;

  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

/* show state */
.user-dropdown.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* menu items */
.user-dd-item {
  display: block;
  padding: 12px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: #243957;
  font-weight: 600;
}

.user-dd-item:hover {
  background: #f3f6fb;
}

/* hamburger button */
.hamburger-btn {
  font-size: 20px;
  line-height: 1;
}

/* =========================
   ✅ PRETTY RIGHT SIDE MENU
========================= */

.user-dropdown.user-dropdown--pretty{
  width: 380px;
  max-width: 92vw;
  padding: 18px;
  border-left: 1px solid #e6edf5;
  background: #fff;
}

/* Top bar */
.dd-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eef3fb;
}

.dd-brand{
  display:flex;
  align-items:center;
  gap: 10px;
}

.dd-badge{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  background: #e8f3ff;
  color: #0b4f93;
  font-weight: 950;
}

.dd-title{
  font-weight: 950;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: #122543;
}

.dd-subtitle{
  margin-top: 2px;
  font-weight: 800;
  font-size: 12px;
  color: #5d6b85;
}

.dd-close{
  border: 1px solid #e3e9f2;
  background: #fff;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  cursor:pointer;
  font-weight: 950;
}
.dd-close:hover{
  background: #f3f7ff;
  border-color:#cfe0ff;
}

/* Profile mini-card */
.dd-profile{
  margin-top: 14px;
  background: #f6f8fb;
  border: 1px solid #e6edf5;
  border-radius: 16px;
  padding: 12px;
  display:flex;
  gap: 10px;
  align-items:center;
}

.dd-avatar{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  background: #ffffff;
  border: 1px solid #e3e9f2;
  font-size: 18px;
}

.dd-profile-meta{
  display:grid;
  gap: 3px;
}

.dd-who{
  font-weight: 950;
  color:#122543;
}

.dd-mini{
  font-size: 12px;
  font-weight: 800;
  color:#5d6b85;
}

/* Links */
.dd-links{
  margin-top: 14px;
  display:grid;
  gap: 10px;
}

.dd-link{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 14px;
  text-decoration:none;
  border: 1px solid #e6edf5;
  background: #fff;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}

.dd-link:hover{
  border-color:#cfe0ff;
  background:#f7fbff;
  box-shadow: 0 10px 22px rgba(10,95,216,0.10);
  transform: translateY(-1px);
}

.dd-ico{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  background: #e8f3ff;
  color:#0b4f93;
  font-size: 16px;
}

.dd-text{
  display:grid;
  gap: 2px;
  min-width: 0;
}

.dd-main{
  font-weight: 950;
  color:#122543;
  line-height: 1.1;
}

.dd-desc{
  font-size: 12px;
  font-weight: 800;
  color:#5d6b85;
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
  max-width: 240px;
}

.dd-arrow{
  margin-left:auto;
  font-size: 22px;
  color:#7a8aa6;
  font-weight: 900;
}

/* Footer */
.dd-footer{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #eef3fb;
  display:grid;
  gap: 10px;
}

.dd-cta{
  width:100%;
  border:none;
  border-radius: 999px;
  padding: 12px 14px;
  cursor:pointer;
  font-weight: 950;
  background: #0a5fd8;
  color:#fff;
}
.dd-cta:hover{
  background:#084fb3;
}

.dd-fine{
  font-size: 12px;
  font-weight: 800;
  color:#5d6b85;
  text-align:center;
}

/* ✅ Make divider + shipping line up across all cards */
.car-card .price-row {
  min-height: 36px;        /* enough for one line */
  align-items: center;
}

/* Price-drop cards have 2 items -> reserve more height */
.car-card .price-row:has(.was) {
  min-height: 44px;        /* adjust 40–48px to taste */
}