/* =============================================================
   EliteDrive Auto Inventory — Public Stylesheet v1.0.0
   Aesthetic: Luxury Dark / Liquid Glass / Bento Grid
   Fonts: Syne (headings) + Outfit (body)
   ============================================================= */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  --ed-bg:          #0a0b0e;
  --ed-surface:     #111318;
  --ed-surface-2:   #181c24;
  --ed-border:      rgba(255,255,255,0.07);
  --ed-border-glow: rgba(255,255,255,0.14);
  --ed-accent:      #c8a96e;
  --ed-accent-2:    #e8c98a;
  --ed-accent-rgb:  200, 169, 110;
  --ed-green:       #22c55e;
  --ed-red:         #ef4444;
  --ed-text:        #e8e9ed;
  --ed-text-muted:  #6b7280;
  --ed-text-dim:    #9ca3af;
  --ed-radius:      16px;
  --ed-radius-sm:   10px;
  --ed-radius-lg:   24px;
  --ed-shadow:      0 4px 32px rgba(0,0,0,.45);
  --ed-shadow-glow: 0 0 40px rgba(200,169,110,.12);
  --ed-glass-bg:    rgba(255,255,255,0.035);
  --ed-glass-blur:  blur(20px);
  --ed-font-head:   'Syne', sans-serif;
  --ed-font-body:   'Outfit', sans-serif;
  --ed-transition:  all .25s cubic-bezier(.4,0,.2,1);
}

/* ── Base Reset ─────────────────────────────────────────────── */
.ed-wrap, .ed-wrap * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.ed-wrap {
  font-family: var(--ed-font-body);
  font-size: 15px;
  color: var(--ed-text);
  background: var(--ed-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.ed-wrap a { color: var(--ed-accent); text-decoration: none; }
.ed-wrap a:hover { color: var(--ed-accent-2); }
.ed-wrap img { max-width: 100%; height: auto; display: block; }

/* ── Page Header ────────────────────────────────────────────── */
.ed-page-header {
  background: linear-gradient(135deg, #0d0f14 0%, #161a24 100%);
  border-bottom: 1px solid var(--ed-border);
  padding: 72px 40px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ed-page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(200,169,110,.08) 0%, transparent 70%);
  pointer-events: none;
}
.ed-page-header__eyebrow {
  font-family: var(--ed-font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--ed-accent);
  margin-bottom: 12px;
}
.ed-page-header__title {
  font-family: var(--ed-font-head);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--ed-text);
  margin-bottom: 16px;
}
.ed-page-header__sub {
  color: var(--ed-text-muted);
  font-size: 16px;
  max-width: 480px;
  margin: 0 auto;
}

/* ── Layout ─────────────────────────────────────────────────── */
.ed-inventory-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  min-height: 80vh;
}

/* ── Sidebar ─────────────────────────────────────────────────── */
.ed-sidebar {
  background: var(--ed-surface);
  border-right: 1px solid var(--ed-border);
  padding: 28px 20px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--ed-border) transparent;
}
.ed-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ed-border);
}
.ed-sidebar__title {
  font-family: var(--ed-font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--ed-text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ed-sidebar__reset {
  background: none;
  border: none;
  color: var(--ed-accent);
  font-size: 12px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: var(--ed-transition);
  font-family: var(--ed-font-body);
}
.ed-sidebar__reset:hover { background: rgba(200,169,110,.1); }

.ed-filter-group {
  margin-bottom: 24px;
}
.ed-filter-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ed-text-muted);
  margin-bottom: 10px;
}
.ed-filter-select {
  width: 100%;
  background: var(--ed-surface-2);
  border: 1px solid var(--ed-border);
  color: var(--ed-text);
  padding: 10px 14px;
  border-radius: var(--ed-radius-sm);
  font-size: 14px;
  font-family: var(--ed-font-body);
  cursor: pointer;
  transition: var(--ed-transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.ed-filter-select:focus { outline: none; border-color: var(--ed-accent); box-shadow: 0 0 0 3px rgba(200,169,110,.15); }

/* Price Range */
.ed-price-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.ed-price-input-wrap {
  position: relative;
  flex: 1;
}
.ed-currency {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ed-text-muted);
  font-size: 13px;
}
.ed-price-input-wrap input {
  width: 100%;
  background: var(--ed-surface-2);
  border: 1px solid var(--ed-border);
  color: var(--ed-text);
  padding: 9px 10px 9px 24px;
  border-radius: var(--ed-radius-sm);
  font-size: 13px;
  font-family: var(--ed-font-body);
  transition: var(--ed-transition);
}
.ed-price-input-wrap input:focus { outline: none; border-color: var(--ed-accent); }
.ed-range-sep { color: var(--ed-text-muted); font-size: 13px; }

.ed-price-presets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.ed-price-preset {
  background: var(--ed-surface-2);
  border: 1px solid var(--ed-border);
  color: var(--ed-text-dim);
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 11px;
  cursor: pointer;
  transition: var(--ed-transition);
  font-family: var(--ed-font-body);
  text-align: center;
}
.ed-price-preset:hover, .ed-price-preset.active {
  border-color: var(--ed-accent);
  color: var(--ed-accent);
  background: rgba(200,169,110,.08);
}

/* Body Type Grid */
.ed-body-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.ed-body-type-btn {
  display: block;
  cursor: pointer;
}
.ed-body-type-btn input { display: none; }
.ed-body-type-btn span {
  display: block;
  text-align: center;
  padding: 8px 6px;
  border: 1px solid var(--ed-border);
  border-radius: 8px;
  font-size: 12px;
  color: var(--ed-text-dim);
  transition: var(--ed-transition);
  background: var(--ed-surface-2);
}
.ed-body-type-btn input:checked + span {
  border-color: var(--ed-accent);
  color: var(--ed-accent);
  background: rgba(200,169,110,.08);
}

/* Condition Pills */
.ed-condition-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.ed-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--ed-border);
  font-size: 12px;
  color: var(--ed-text-dim);
  cursor: pointer;
  transition: var(--ed-transition);
  background: var(--ed-surface-2);
}
.ed-pill input { display: none; }
.ed-pill:has(input:checked), .ed-pill.active {
  border-color: var(--ed-accent);
  color: var(--ed-accent);
  background: rgba(200,169,110,.1);
}

/* ── Toolbar ─────────────────────────────────────────────────── */
.ed-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid var(--ed-border);
}
.ed-result-count {
  font-size: 14px;
  color: var(--ed-text-muted);
}
.ed-result-count #ed-count-num {
  font-weight: 700;
  color: var(--ed-text);
  font-size: 18px;
  font-family: var(--ed-font-head);
}
.ed-mobile-filter-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  background: var(--ed-surface-2);
  border: 1px solid var(--ed-border);
  color: var(--ed-text);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  font-family: var(--ed-font-body);
}

/* ── Layout: sidebar right + no sidebar ─────────────────────── */
.ed-layout--sidebar-right {
  grid-template-columns: 1fr 280px;
}
.ed-layout--sidebar-right .ed-sidebar {
  order: 2;
  border-right: none;
  border-left: 1px solid var(--ed-border);
}
.ed-layout--sidebar-right .ed-inventory-main {
  order: 1;
}
/* When sidebar is hidden, inventory takes full width */
.ed-inventory-layout:has(.ed-inventory-main:only-child) {
  grid-template-columns: 1fr;
}
/* Fallback for browsers without :has() */
.ed-inventory-layout--no-sidebar {
  grid-template-columns: 1fr;
}

/* ── Inventory Main ────────────────────────────────────────── */
.ed-inventory-main {
  background: var(--ed-bg);
  position: relative;
}

/* ── Bento Grid ─────────────────────────────────────────────── */
.ed-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 28px;
}

/* Featured card: gold glow border instead of column span */
.ed-card--featured {
  border-color: rgba(200,169,110,.35);
  box-shadow: 0 0 0 1px rgba(200,169,110,.15), 0 4px 24px rgba(200,169,110,.08);
}

/* ── Vehicle Card ────────────────────────────────────────────── */
.ed-card {
  background: var(--ed-surface);
  border: 1px solid var(--ed-border);
  border-radius: var(--ed-radius-lg);
  overflow: hidden;
  transition: var(--ed-transition);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.ed-card:hover {
  border-color: var(--ed-border-glow);
  transform: translateY(-2px);
  box-shadow: var(--ed-shadow), var(--ed-shadow-glow);
}
.ed-card--featured:hover {
  border-color: rgba(200,169,110,.6);
  box-shadow: 0 0 0 1px rgba(200,169,110,.25), var(--ed-shadow), 0 0 32px rgba(200,169,110,.15);
}
.ed-card__img-wrap {
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  position: relative;
  background: var(--ed-surface-2);
}
.ed-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: var(--ed-surface-2);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.ed-card:hover .ed-card__img { transform: scale(1.02); }

.ed-card__body {
  padding: 16px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.ed-card__meta-top {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ed-card__make {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ed-accent);
}
.ed-card__year {
  font-size: 11px;
  color: var(--ed-text-muted);
  background: var(--ed-surface-2);
  padding: 2px 8px;
  border-radius: 100px;
  border: 1px solid var(--ed-border);
}
.ed-card__title {
  font-family: var(--ed-font-head);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ed-text);
}
.ed-card__title a { color: inherit; }
.ed-card__title a:hover { color: var(--ed-accent); }

.ed-card__price {
  font-family: var(--ed-font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--ed-accent);
  letter-spacing: -0.5px;
}

.ed-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.ed-spec {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--ed-text-muted);
  background: var(--ed-surface-2);
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid var(--ed-border);
}

.ed-card__actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  flex-wrap: wrap;
}

/* ── Compare Button (on cards) ──────────────────────────────── */
.ed-compare-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  padding: 7px 12px;
  margin: 6px 18px 14px;
  width: calc(100% - 36px);
  border: 1px dashed rgba(255,255,255,.15);
  border-radius: 8px;
  background: transparent;
  color: var(--ed-text-muted);
  font-family: var(--ed-font-body);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--ed-transition);
  letter-spacing: .3px;
}
.ed-compare-btn:hover {
  border-color: var(--ed-accent);
  color: var(--ed-accent);
  background: rgba(200,169,110,.06);
  border-style: solid;
}
.ed-compare-btn.added {
  border-color: var(--ed-accent);
  border-style: solid;
  color: var(--ed-accent);
  background: rgba(200,169,110,.1);
}
.ed-compare-btn svg { flex-shrink: 0; }

/* ── Badges ─────────────────────────────────────────────────── */
.ed-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  backdrop-filter: var(--ed-glass-blur);
  -webkit-backdrop-filter: var(--ed-glass-blur);
}
.ed-badge--price-drop {
  background: rgba(220,38,38,.88);
  color: #fff;
  border: 1px solid rgba(220,38,38,.9);
  position: absolute;
  bottom: 10px;
  left: 10px;
  top: auto;
  right: auto;
  font-weight: 700;
  animation: ed-pulse 2s ease-in-out infinite;
  box-shadow: 0 2px 8px rgba(220,38,38,.35);
}
@keyframes ed-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,.3); }
  50%       { box-shadow: 0 0 0 6px rgba(239,68,68,0); }
}
.ed-badge--new     { background: rgba(34,197,94,.15); color: #22c55e; border: 1px solid rgba(34,197,94,.3); }
.ed-badge--used    { background: rgba(107,114,128,.15); color: #9ca3af; border: 1px solid rgba(107,114,128,.3); }
.ed-badge--featured { background: rgba(200,169,110,.15); color: var(--ed-accent); border: 1px solid rgba(200,169,110,.3); top: 12px; left: auto; right: 12px; }
/* ── Price Block (single vehicle page) ─────────────────────── */
.ed-price-block {
  margin-bottom: 20px;
}
.ed-price-block__row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.ed-price-block__sub {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
}
.ed-price-block__was {
  font-size: 14px;
  color: var(--ed-text-muted, #6b7280);
  text-decoration: line-through;
}
.ed-price-block__save {
  font-size: 13px;
  font-weight: 700;
  color: #22c55e;
  letter-spacing: .2px;
}

/* ── Price Drop Pill — prominent badge ─────────────────────── */
.ed-price-drop-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  color: #fff;
  border-radius: 10px;
  padding: 7px 16px;
  font-family: var(--ed-font-head, 'Syne', sans-serif);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -.2px;
  box-shadow:
    0 4px 16px rgba(220,38,38,.4),
    0 1px 0 rgba(255,255,255,.15) inset;
  position: relative;
  overflow: hidden;
  animation: ed-pulse-red 2.5s ease-in-out infinite;
}

/* Shine sweep animation */
.ed-price-drop-pill::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  animation: ed-shine 3s ease-in-out infinite;
}

@keyframes ed-shine {
  0%   { left: -80%; }
  50%  { left: 120%; }
  100% { left: 120%; }
}

@keyframes ed-pulse-red {
  0%, 100% { box-shadow: 0 4px 16px rgba(220,38,38,.4); }
  50%       { box-shadow: 0 6px 24px rgba(220,38,38,.65), 0 0 0 4px rgba(220,38,38,.12); }
}

.ed-price-drop-pill__icon {
  font-size: 13px;
  opacity: .9;
}
.ed-price-drop-pill__text {
  display: flex;
  align-items: baseline;
  gap: 5px;
  line-height: 1;
}
.ed-price-drop-pill__pct {
  font-size: 12px;
  font-weight: 700;
  opacity: .85;
  background: rgba(0,0,0,.15);
  padding: 2px 6px;
  border-radius: 4px;
}

.ed-card__was-price {
  font-size: 13px;
  color: var(--ed-text-muted, #6b7280);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 6px;
}

.ed-badge--body    { background: var(--ed-surface-2); color: var(--ed-text-dim); border: 1px solid var(--ed-border); position: static; }

/* ── Buttons ─────────────────────────────────────────────────── */
.ed-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--ed-font-body);
  border: none;
  cursor: pointer;
  transition: var(--ed-transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.ed-btn--primary {
  background: linear-gradient(135deg, var(--ed-accent) 0%, var(--ed-accent-2) 100%);
  color: var(--ed-btn-text, #0a0b0e);
  font-weight: 700;
}
.ed-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(200,169,110,.35);
  color: var(--ed-btn-text, #0a0b0e);
}
/* Ensure anchor tags inside primary buttons also get the color */
a.ed-btn--primary,
a.ed-btn--primary:hover,
a.ed-btn--primary:visited,
a.ed-btn--primary:active {
  color: var(--ed-btn-text, #0a0b0e) !important;
}
.ed-btn--ghost {
  background: var(--ed-glass-bg);
  border: 1px solid var(--ed-border);
  color: var(--ed-text);
  backdrop-filter: var(--ed-glass-blur);
}
.ed-btn--ghost:hover { border-color: var(--ed-accent); color: var(--ed-accent); }
.ed-btn--outline {
  background: transparent;
  border: 1px solid var(--ed-border);
  color: var(--ed-text-dim);
}
.ed-btn--outline:hover { border-color: var(--ed-text); color: var(--ed-text); }
.ed-btn--whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
}
.ed-btn--whatsapp:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(37,211,102,.3); color: #fff; }
.ed-btn--lg { padding: 14px 28px; font-size: 15px; border-radius: 12px; }
.ed-btn--full { width: 100%; }

/* ── Loading + No Results ────────────────────────────────────── */
.ed-loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,11,14,.75);
  backdrop-filter: var(--ed-glass-blur);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: var(--ed-radius);
}
.ed-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: var(--ed-text-muted);
  font-size: 14px;
}
.ed-loader__ring {
  width: 40px;
  height: 40px;
  border: 3px solid var(--ed-border);
  border-top-color: var(--ed-accent);
  border-radius: 50%;
  animation: ed-spin 0.8s linear infinite;
}
@keyframes ed-spin { to { transform: rotate(360deg); } }

.ed-no-results {
  padding: 80px 40px;
  text-align: center;
  color: var(--ed-text-muted);
}
.ed-no-results-icon { font-size: 48px; margin-bottom: 16px; }
.ed-no-results h3 { font-family: var(--ed-font-head); font-size: 22px; color: var(--ed-text); margin-bottom: 8px; }

/* ── Pagination ─────────────────────────────────────────────── */
.ed-pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  padding: 24px;
}
.ed-page-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--ed-border);
  background: var(--ed-surface);
  color: var(--ed-text-muted);
  font-size: 13px;
  cursor: pointer;
  transition: var(--ed-transition);
  font-family: var(--ed-font-body);
}
.ed-page-btn:hover, .ed-page-btn.active {
  border-color: var(--ed-accent);
  color: var(--ed-accent);
  background: rgba(200,169,110,.08);
}

/* ── Breadcrumb ─────────────────────────────────────────────── */
.ed-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  font-size: 13px;
  color: var(--ed-text-muted);
  border-bottom: 1px solid var(--ed-border);
  background: var(--ed-surface);
}
.ed-breadcrumb a { color: var(--ed-text-muted); transition: var(--ed-transition); }
.ed-breadcrumb a:hover { color: var(--ed-accent); }
.ed-breadcrumb span:last-child { color: var(--ed-text-dim); }

/* ── Single Layout ───────────────────────────────────────────── */
.ed-single-page {
  width: 100%;
  overflow-x: hidden;
}
.ed-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 32px;
  padding: 32px 40px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  align-items: start;
  box-sizing: border-box;
}

/* ── Image Slider ────────────────────────────────────────────── */
.ed-slider-wrap {
  position: relative;
  border-radius: var(--ed-radius-lg);
  overflow: hidden;
  background: var(--ed-surface);
  border: 1px solid var(--ed-border);
  aspect-ratio: 16/9;
  width: 100%;
}
.ed-slider-track { width: 100%; height: 100%; }
.ed-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .4s ease;
}
.ed-slide.active { opacity: 1; z-index: 2; }
.ed-slide__img { width: 100%; height: 100%; object-fit: cover; }

.ed-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: var(--ed-glass-bg);
  backdrop-filter: var(--ed-glass-blur);
  -webkit-backdrop-filter: var(--ed-glass-blur);
  border: 1px solid var(--ed-border-glow);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--ed-transition);
}
.ed-slider-btn:hover { background: rgba(200,169,110,.2); border-color: var(--ed-accent); }
.ed-slider-prev { left: 14px; }
.ed-slider-next { right: 14px; }

.ed-slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}
.ed-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  padding: 0;
  transition: var(--ed-transition);
}
.ed-dot.active { background: var(--ed-accent); width: 20px; border-radius: 100px; }

.ed-slider-fullscreen {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  background: var(--ed-glass-bg);
  backdrop-filter: var(--ed-glass-blur);
  border: 1px solid var(--ed-border-glow);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--ed-transition);
}
.ed-slider-fullscreen:hover { background: rgba(200,169,110,.2); }

.ed-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.ed-thumbs::-webkit-scrollbar { display: none; }
.ed-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 54px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--ed-border);
  cursor: pointer;
  transition: var(--ed-transition);
  padding: 0;
  background: none;
}
.ed-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ed-thumb.active, .ed-thumb:hover { border-color: var(--ed-accent); }

/* ── Single Info Panel ────────────────────────────────────────── */
.ed-single-info { display: flex; flex-direction: column; gap: 20px; }

.ed-single-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.ed-single-badges .ed-badge { position: static; }

.ed-single-title {
  font-family: var(--ed-font-head);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--ed-text);
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.ed-single-price {
  font-family: var(--ed-font-head);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--ed-accent);
  letter-spacing: -1px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.ed-price-currency { font-size: 1.4rem; }
.ed-price-note { font-size: 12px; color: var(--ed-text-muted); font-weight: 400; font-family: var(--ed-font-body); letter-spacing: 0; }
.ed-price-call { font-size: 1.8rem; color: var(--ed-text-dim); }

/* Quick Specs */
.ed-quick-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ed-quick-spec {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--ed-glass-bg);
  border: 1px solid var(--ed-border);
  border-radius: var(--ed-radius-sm);
  backdrop-filter: var(--ed-glass-blur);
  transition: var(--ed-transition);
}
.ed-quick-spec:hover { border-color: var(--ed-border-glow); }
.ed-spec-icon { font-size: 18px; }
.ed-spec-label { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: var(--ed-text-muted); }
.ed-spec-value { font-size: 14px; font-weight: 600; color: var(--ed-text); }

/* VIN */
.ed-vin-display {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--ed-surface-2);
  border: 1px solid var(--ed-border);
  border-radius: var(--ed-radius-sm);
  font-size: 13px;
}
.ed-vin-label { color: var(--ed-text-muted); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; flex-shrink: 0; }
.ed-vin-code { color: var(--ed-accent); font-size: 13px; letter-spacing: 1.5px; font-family: 'Courier New', monospace; }

.ed-single-ctas { display: flex; flex-direction: column; gap: 10px; }

/* ── Description Section ─────────────────────────────────────── */
.ed-description-section, .ed-similar-section {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 40px 0;
  box-sizing: border-box;
}
.ed-section-title {
  font-family: var(--ed-font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ed-text);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ed-border);
  letter-spacing: -0.3px;
}
.ed-description-content {
  color: var(--ed-text-dim);
  line-height: 1.8;
  font-size: 15px;
}
.ed-similar-section { padding-bottom: 60px; }

/* ── EMI Calculator ──────────────────────────────────────────── */
.ed-emi-section {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 40px;
  box-sizing: border-box;
}
.ed-emi-header { margin-bottom: 28px; }
.ed-emi-title {
  font-family: var(--ed-font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ed-text);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.ed-emi-subtitle { color: var(--ed-text-muted); font-size: 14px; }

.ed-emi-calculator {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

.ed-emi-inputs {
  background: var(--ed-surface);
  border: 1px solid var(--ed-border);
  border-radius: var(--ed-radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ed-emi-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ed-text-muted);
  margin-bottom: 10px;
}
.ed-emi-input-wrap {
  position: relative;
}
.ed-emi-symbol {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ed-accent);
  font-weight: 600;
}
.ed-emi-input-wrap input {
  width: 100%;
  background: var(--ed-surface-2);
  border: 1px solid var(--ed-border);
  color: var(--ed-text);
  padding: 12px 14px 12px 30px;
  border-radius: var(--ed-radius-sm);
  font-size: 16px;
  font-weight: 600;
  font-family: var(--ed-font-head);
  transition: var(--ed-transition);
}
.ed-emi-input-wrap input:focus { outline: none; border-color: var(--ed-accent); box-shadow: 0 0 0 3px rgba(200,169,110,.12); }

.ed-emi-slider-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ed-emi-slider-wrap input[type="number"] {
  width: 80px;
  flex-shrink: 0;
  background: var(--ed-surface-2);
  border: 1px solid var(--ed-border);
  color: var(--ed-text);
  padding: 10px;
  border-radius: var(--ed-radius-sm);
  font-size: 14px;
  font-family: var(--ed-font-body);
  text-align: center;
}
.ed-emi-slider-wrap input[type="number"]:focus { outline: none; border-color: var(--ed-accent); }

.ed-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--ed-accent) 0%, var(--ed-accent) var(--pct,24%), var(--ed-surface-2) var(--pct,24%), var(--ed-surface-2) 100%);
  outline: none;
}
.ed-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ed-accent);
  border: 2px solid var(--ed-bg);
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(200,169,110,.2);
}

.ed-term-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.ed-term-tab {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--ed-border);
  background: var(--ed-surface-2);
  color: var(--ed-text-muted);
  font-size: 13px;
  cursor: pointer;
  font-family: var(--ed-font-body);
  transition: var(--ed-transition);
}
.ed-term-tab.active {
  border-color: var(--ed-accent);
  color: var(--ed-accent);
  background: rgba(200,169,110,.08);
}

/* EMI Result Panel */
.ed-emi-result {
  background: linear-gradient(145deg, var(--ed-surface) 0%, #141720 100%);
  border: 1px solid var(--ed-border);
  border-radius: var(--ed-radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.ed-emi-result__glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(200,169,110,.12) 0%, transparent 70%);
  pointer-events: none;
}
.ed-emi-monthly-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ed-text-muted);
  margin-bottom: 8px;
}
.ed-emi-monthly-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 24px;
}
.ed-emi-currency { font-family: var(--ed-font-head); font-size: 1.5rem; color: var(--ed-accent); }
#emi-monthly {
  font-family: var(--ed-font-head);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--ed-accent);
  letter-spacing: -2px;
}

.ed-emi-breakdown { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.ed-emi-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: var(--ed-glass-bg);
  border: 1px solid var(--ed-border);
  border-radius: 8px;
}
.ed-emi-stat__label { font-size: 12px; color: var(--ed-text-muted); }
.ed-emi-stat__value { font-size: 14px; font-weight: 700; color: var(--ed-text); font-family: var(--ed-font-head); }

#emi-chart { max-width: 160px; margin: 0 auto 16px; }

.ed-emi-disclaimer { font-size: 11px; color: var(--ed-text-muted); font-style: italic; }

/* ── Modal / Popup ────────────────────────────────────────────── */
.ed-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.ed-modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}
.ed-modal {
  background: linear-gradient(145deg, #14171f, #0e1118);
  border: 1px solid var(--ed-border-glow);
  border-radius: var(--ed-radius-lg);
  padding: 36px;
  max-width: 520px;
  width: 100%;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,.5), var(--ed-shadow-glow);
  transform: translateY(20px) scale(.97);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.ed-modal-overlay.is-open .ed-modal { transform: translateY(0) scale(1); }

.ed-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--ed-surface-2);
  border: 1px solid var(--ed-border);
  color: var(--ed-text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--ed-transition);
}
.ed-modal__close:hover { border-color: var(--ed-accent); color: var(--ed-text); }

.ed-modal__header { text-align: center; margin-bottom: 28px; }
.ed-modal__icon { font-size: 40px; margin-bottom: 12px; }
.ed-modal__title {
  font-family: var(--ed-font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ed-text);
  margin-bottom: 6px;
}
.ed-modal__subtitle { color: var(--ed-accent); font-size: 14px; }

.ed-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.ed-form-group { display: flex; flex-direction: column; gap: 6px; }
.ed-form-group--full { grid-column: span 2; }
.ed-form-group label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--ed-text-muted); font-weight: 600; }
.ed-req { color: var(--ed-accent); }

.ed-form-group input, .ed-form-group textarea {
  background: var(--ed-surface-2);
  border: 1px solid var(--ed-border);
  color: var(--ed-text);
  padding: 11px 14px;
  border-radius: var(--ed-radius-sm);
  font-size: 14px;
  font-family: var(--ed-font-body);
  transition: var(--ed-transition);
  resize: vertical;
}
.ed-form-group input:focus, .ed-form-group textarea:focus {
  outline: none;
  border-color: var(--ed-accent);
  box-shadow: 0 0 0 3px rgba(200,169,110,.12);
}
.ed-form-group input::placeholder, .ed-form-group textarea::placeholder { color: var(--ed-text-muted); }

.ed-modal__footer { margin-top: 20px; }
.ed-form-msg {
  margin-bottom: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  display: none;
}
.ed-form-msg.is-success { display: block; background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.3); color: var(--ed-green); }
.ed-form-msg.is-error   { display: block; background: rgba(239,68,68,.1);  border: 1px solid rgba(239,68,68,.3);  color: var(--ed-red); }

.ed-spinner { animation: ed-spin .8s linear infinite; }

/* ══════════════════════════════════════════════════════════════
   ELITEDRIVE SEARCH BAR  —  Luxury Dark Aesthetic
══════════════════════════════════════════════════════════════ */

/* ── Outer wrapper ─────────────────────────────────────────── */
.ed-search-wrap {
  position: relative;
}

/* ── Section title ─────────────────────────────────────────── */
.ed-search-title {
  font-family: var(--ed-font-head, 'Syne', sans-serif);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--ed-text, #e8e9ed);
  margin: 0 0 20px;
  letter-spacing: -0.3px;
}
.ed-search-title span {
  color: var(--ed-accent, #c8a96e);
}

/* ── Glass card container ──────────────────────────────────── */
.ed-search-bar {
  background: linear-gradient(135deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.02) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 28px 28px 24px;
  box-shadow:
    0 8px 32px rgba(0,0,0,.35),
    0 1px 0 rgba(255,255,255,.08) inset;
  position: relative;
  overflow: hidden;
}

/* Subtle top accent glow */
.ed-search-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--ed-accent, #c8a96e) 50%,
    transparent 100%);
  opacity: .6;
}

/* ── Fields row ────────────────────────────────────────────── */
.ed-search-fields {
  align-items: flex-end !important;
  gap: 14px !important;
}

/* ── Individual field group ────────────────────────────────── */
.ed-search-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

/* ── Label ─────────────────────────────────────────────────── */
.ed-search-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--ed-font-label, 'Syne', sans-serif);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ed-accent, #c8a96e);
}

/* ── Input / Select fields ─────────────────────────────────── */
.ed-search-field {
  width: 100%;
  height: 46px;
  background: rgba(255,255,255,.055);
  border: 1.5px solid rgba(255,255,255,.1);
  color: var(--ed-text, #e8e9ed);
  padding: 0 16px;
  border-radius: 10px;
  font-size: 14px;
  font-family: var(--ed-font-body, 'Outfit', sans-serif);
  font-weight: 400;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  appearance: none;
  -webkit-appearance: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ed-search-field:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
}

.ed-search-field:focus {
  outline: none;
  background: rgba(255,255,255,.09);
  border-color: var(--ed-accent, #c8a96e);
  box-shadow: 0 0 0 3px rgba(200,169,110,.18), 0 2px 8px rgba(0,0,0,.2);
  color: var(--ed-text, #e8e9ed);
}

.ed-search-field::placeholder {
  color: rgba(255,255,255,.3);
  font-weight: 300;
}

/* Select custom arrow */
select.ed-search-field {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23c8a96e' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: rgba(255,255,255,.055);
  padding-right: 38px;
  cursor: pointer;
}
select.ed-search-field option {
  background: #111318;
  color: #e8e9ed;
}

/* Number input — hide spinners for cleaner look */
input[type="number"].ed-search-field::-webkit-outer-spin-button,
input[type="number"].ed-search-field::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"].ed-search-field { -moz-appearance: textfield; }

/* ── Price range special inputs ─────────────────────────────── */
.ed-search-price-range .ed-search-field {
  padding-left: 26px;
}
.ed-search-price-symbol {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ed-accent, #c8a96e);
  font-size: 13px;
  font-weight: 600;
  pointer-events: none;
  z-index: 1;
}
.ed-search-price-sep {
  color: rgba(255,255,255,.25);
  font-size: 16px;
  line-height: 46px;
  flex-shrink: 0;
}

/* ── Submit button ─────────────────────────────────────────── */
.ed-search-btn-wrap {
  flex-shrink: 0;
}
.ed-search-submit {
  height: 46px;
  padding: 0 24px;
  background: linear-gradient(135deg, var(--ed-accent, #c8a96e) 0%, var(--ed-accent-2, #e8c98a) 100%);
  color: #0a0b0e;
  border: none;
  border-radius: 10px;
  font-family: var(--ed-font-body, 'Outfit', sans-serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 4px 16px rgba(200,169,110,.3);
}
.ed-search-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(200,169,110,.45);
}
.ed-search-submit:active { transform: translateY(0); }
.ed-search-submit svg { flex-shrink: 0; }

/* ── Divider between fields (optional separator line) ─────── */
.ed-search-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,.1);
  align-self: flex-end;
  margin-bottom: 7px;
  flex-shrink: 0;
}

/* ── Results area ──────────────────────────────────────────── */
.ed-search-results {
  margin-top: 28px;
  animation: ed-fade-in .35s ease;
}
.ed-search-results .ed-bento-grid { padding: 0; }
@keyframes ed-fade-in { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .ed-search-bar { padding: 20px 18px 18px; border-radius: 14px; }
  .ed-search-fields { flex-direction: column !important; }
  .ed-search-group { width: 100% !important; min-width: 0 !important; flex: none !important; }
  .ed-search-btn-wrap { width: 100% !important; }
  .ed-search-submit { width: 100% !important; justify-content: center; }
}

/* ── Price Drop Alert — Compact Inline Widget ──────────────── */
.ed-alert-inline {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, rgba(200,169,110,.08), rgba(200,169,110,.03));
  border: 1.5px solid rgba(200,169,110,.22);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 14px 0 20px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.ed-alert-inline::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(200,169,110,.5), transparent);
}
.ed-alert-inline__left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.ed-alert-inline__bell {
  font-size: 22px;
  animation: ed-bell-ring 4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes ed-bell-ring {
  0%, 80%, 100% { transform: rotate(0); }
  83% { transform: rotate(-18deg); }
  87% { transform: rotate(18deg); }
  91% { transform: rotate(-12deg); }
  94% { transform: rotate(10deg); }
  97% { transform: rotate(-5deg); }
}
.ed-alert-inline__copy { display: flex; flex-direction: column; gap: 1px; }
.ed-alert-inline__copy strong {
  font-family: var(--ed-font-head, 'Syne', sans-serif);
  font-size: 13px;
  font-weight: 700;
  color: var(--ed-text, #e8e9ed);
  white-space: nowrap;
}
.ed-alert-inline__copy span {
  font-size: 11px;
  color: var(--ed-text-muted, #6b7280);
  white-space: nowrap;
}
.ed-alert-inline__form {
  display: flex;
  gap: 8px;
  flex: 1;
  min-width: 220px;
}
.ed-alert-inline__email {
  flex: 1;
  padding: 9px 14px;
  background: var(--ed-surface-2, #181c24);
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: 8px;
  color: var(--ed-text, #e8e9ed);
  font-family: var(--ed-font-body, 'Outfit', sans-serif);
  font-size: 13px;
  min-width: 0;
  transition: border-color .2s, box-shadow .2s;
}
.ed-alert-inline__email:focus {
  outline: none;
  border-color: var(--ed-accent, #c8a96e);
  box-shadow: 0 0 0 3px rgba(200,169,110,.15);
}
.ed-alert-inline__email::placeholder { color: var(--ed-text-muted, #6b7280); }
.ed-alert-inline__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: linear-gradient(135deg, var(--ed-accent, #c8a96e), var(--ed-accent-2, #e8c98a));
  color: #0a0b0e;
  border: none;
  border-radius: 8px;
  font-family: var(--ed-font-body, 'Outfit', sans-serif);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(200,169,110,.3);
}
.ed-alert-inline__btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(200,169,110,.45); }
.ed-alert-inline__btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.ed-alert-inline__success {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #22c55e;
}
@media (max-width: 680px) {
  .ed-alert-inline { flex-direction: column; align-items: flex-start; }
  .ed-alert-inline__form { width: 100%; }
  .ed-alert-inline__copy span { white-space: normal; }
}

/* ── Responsive ──────────────────────────────────────────────── */
@media ( max-width: 1200px ) {
  .ed-single-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; padding: 28px 28px; }
}

@media ( max-width: 1100px ) {
  .ed-inventory-layout { grid-template-columns: 240px 1fr; }
  .ed-single-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; padding: 24px 24px; }
  .ed-bento-grid { grid-template-columns: repeat(2,1fr); padding: 20px; gap: 16px; }
  .ed-emi-calculator { grid-template-columns: 1fr; }
}

@media ( max-width: 768px ) {
  .ed-inventory-layout { grid-template-columns: 1fr; }
  .ed-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    width: 300px;
    box-shadow: 4px 0 40px rgba(0,0,0,.5);
  }
  .ed-sidebar.is-open { transform: translateX(0); }
  .ed-mobile-filter-toggle { display: flex; }
  .ed-bento-grid { grid-template-columns: 1fr; gap: 14px; padding: 16px; }

  .ed-single-layout {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 20px;
  }
  .ed-quick-specs { grid-template-columns: 1fr 1fr; }
  .ed-single-ctas .ed-btn { width: 100%; }

  .ed-description-section, .ed-similar-section, .ed-emi-section { padding: 24px 20px; }
  .ed-breadcrumb { padding: 12px 20px; }
  .ed-page-header { padding: 48px 20px 36px; }
  .ed-form-grid { grid-template-columns: 1fr; }
  .ed-form-group--full { grid-column: span 1; }
}

@media ( max-width: 480px ) {
  .ed-modal { padding: 24px 20px; }
  .ed-modal__title { font-size: 1.3rem; }
  .ed-single-price { font-size: 1.8rem; }
  #emi-monthly { font-size: 2.4rem; }
}

/* ================================================================
   TRADE-IN REQUEST FORM
   ================================================================ */

.ed-trade-in-wrap { max-width: 780px; margin: 0 auto; }

/* Card */
.ed-ti-form-card {
  background: var(--ed-surface, #111318);
  border: 1px solid var(--ed-border, rgba(255,255,255,.07));
  border-radius: 20px;
  overflow: hidden;
}

/* Header */
.ed-ti-header {
  background: linear-gradient(135deg, #0f1219 0%, #1a2035 100%);
  padding: 28px 32px 24px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.ed-ti-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ed-font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--ed-text, #e8e9ed);
  margin: 0 0 8px;
}
.ed-ti-subtitle {
  font-size: 14px;
  color: var(--ed-text-muted, #6b7280);
  margin: 0;
  line-height: 1.5;
}

/* Step indicators */
.ed-ti-steps {
  display: flex;
  align-items: center;
  padding: 20px 32px;
  border-bottom: 1px solid var(--ed-border, rgba(255,255,255,.07));
  background: rgba(255,255,255,.02);
}
.ed-ti-step {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: .4;
  transition: opacity .3s;
}
.ed-ti-step.active { opacity: 1; }
.ed-ti-step.done   { opacity: .7; }
.ed-ti-step__num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--ed-surface-2, #181c24);
  border: 2px solid var(--ed-border, rgba(255,255,255,.1));
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
  color: var(--ed-text-muted, #6b7280);
  transition: all .3s;
}
.ed-ti-step.active .ed-ti-step__num {
  background: var(--ed-accent, #c8a96e);
  border-color: var(--ed-accent, #c8a96e);
  color: #0a0b0e;
}
.ed-ti-step.done .ed-ti-step__num {
  background: #22c55e; border-color: #22c55e; color: #fff;
}
.ed-ti-step.done .ed-ti-step__num::before { content: '✓'; }
.ed-ti-step.done .ed-ti-step__num span { display: none; }
.ed-ti-step__label { font-size: 13px; font-weight: 600; color: var(--ed-text, #e8e9ed); }
.ed-ti-step-line {
  flex: 1;
  height: 2px;
  background: var(--ed-border, rgba(255,255,255,.07));
  margin: 0 12px;
}

/* Panels */
.ed-ti-panel { display: none; padding: 28px 32px; }
.ed-ti-panel.active { display: block; animation: ed-fadein .25s ease; }

/* Grids */
.ed-ti-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 16px; }
.ed-ti-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }

/* Fields */
.ed-ti-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.ed-ti-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: var(--ed-text-muted, #6b7280);
}
.ed-required { color: var(--ed-accent, #c8a96e); }
.ed-ti-input, .ed-ti-select, .ed-ti-textarea {
  padding: 10px 14px;
  background: var(--ed-surface-2, #181c24);
  border: 1.5px solid var(--ed-border, rgba(255,255,255,.1));
  border-radius: 9px;
  color: var(--ed-text, #e8e9ed);
  font-family: var(--ed-font-body, 'Outfit', sans-serif);
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color .2s, box-shadow .2s;
}
.ed-ti-input:focus, .ed-ti-select:focus, .ed-ti-textarea:focus {
  outline: none;
  border-color: var(--ed-accent, #c8a96e);
  box-shadow: 0 0 0 3px rgba(200,169,110,.12);
}
.ed-ti-input.ed-ti-error { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,.12); }
.ed-ti-input::placeholder, .ed-ti-textarea::placeholder { color: var(--ed-text-muted, #6b7280); opacity: .7; }
.ed-ti-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; cursor: pointer; }
.ed-ti-input-wrap { position: relative; }
.ed-ti-suffix { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 13px; color: var(--ed-text-muted); pointer-events: none; }
.ed-ti-textarea { resize: vertical; min-height: 80px; }

/* Condition pills */
.ed-ti-condition-pills { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.ed-ti-pill { cursor: pointer; }
.ed-ti-pill input { display: none; }
.ed-ti-pill span {
  display: block;
  padding: 9px 10px;
  border: 1.5px solid var(--ed-border, rgba(255,255,255,.1));
  border-radius: 9px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: var(--ed-text-muted);
  transition: all .2s;
  background: var(--ed-surface-2);
}
.ed-ti-pill input:checked + span {
  border-color: var(--ed-accent, #c8a96e);
  color: var(--ed-accent, #c8a96e);
  background: rgba(200,169,110,.08);
  box-shadow: 0 0 0 3px rgba(200,169,110,.1);
}
.ed-ti-pill:hover span { border-color: var(--ed-accent, #c8a96e); }

/* Checkbox */
.ed-ti-check-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--ed-text-muted);
  margin-bottom: 16px;
}
.ed-ti-check-label input { width: 16px; height: 16px; accent-color: var(--ed-accent); }

/* Live estimate box */
.ed-ti-estimate {
  background: linear-gradient(135deg, rgba(34,197,94,.07), rgba(34,197,94,.03));
  border: 1.5px solid rgba(34,197,94,.2);
  border-radius: 12px;
  padding: 18px 22px;
  text-align: center;
  margin: 8px 0 20px;
}
.ed-ti-estimate__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #22c55e;
  margin-bottom: 8px;
}
.ed-ti-estimate__range {
  font-family: var(--ed-font-head);
  font-size: 28px;
  font-weight: 800;
  color: #22c55e;
  margin-bottom: 4px;
}
.ed-ti-estimate__note { font-size: 11px; color: var(--ed-text-muted); }

/* Step 3 summary */
.ed-ti-summary {
  background: var(--ed-surface-2);
  border: 1px solid var(--ed-border);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 20px;
}
.ed-ti-summary__vehicle { font-size: 16px; font-weight: 700; color: var(--ed-text); margin-bottom: 4px; }
.ed-ti-summary__details { font-size: 13px; color: var(--ed-text-muted); margin-bottom: 6px; }
.ed-ti-summary__est { font-size: 14px; color: var(--ed-text); }
.ed-ti-summary__est strong { color: #22c55e; }

/* Navigation */
.ed-ti-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--ed-border);
}

/* Form message */
.ed-ti-form-msg {
  margin-top: 12px;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 8px;
  display: none;
}
.ed-ti-form-msg.error {
  display: block;
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.3);
  color: #ef4444;
}

/* Success state */
.ed-ti-success {
  padding: 60px 32px;
  text-align: center;
}
.ed-ti-success__icon { font-size: 56px; margin-bottom: 16px; }
.ed-ti-success h3 {
  font-family: var(--ed-font-head);
  font-size: 24px;
  font-weight: 800;
  color: var(--ed-text);
  margin: 0 0 10px;
}
.ed-ti-success p { font-size: 14px; color: var(--ed-text-muted); margin: 0 0 16px; }
.ed-ti-success__est {
  display: inline-block;
  background: linear-gradient(135deg, rgba(34,197,94,.1), rgba(34,197,94,.05));
  border: 1.5px solid rgba(34,197,94,.3);
  border-radius: 12px;
  padding: 14px 28px;
  font-family: var(--ed-font-head);
  font-size: 20px;
  font-weight: 800;
  color: #22c55e;
  margin: 10px 0 16px;
}
.ed-ti-success__note { font-size: 12px; color: var(--ed-text-muted); opacity: .7; }

/* Responsive */
@media (max-width: 640px) {
  .ed-ti-header, .ed-ti-panel { padding: 20px 20px; }
  .ed-ti-steps { padding: 16px 20px; }
  .ed-ti-grid-3 { grid-template-columns: 1fr; gap: 0; }
  .ed-ti-grid-2 { grid-template-columns: 1fr; }
  .ed-ti-condition-pills { grid-template-columns: repeat(2,1fr); }
  .ed-ti-step__label { display: none; }
}

/* ================================================================
   SALESPERSON CARD (single vehicle page)
   ================================================================ */
.ed-sp-card {
  background: var(--ed-surface, #111318);
  border: 1px solid var(--ed-border, rgba(255,255,255,.08));
  border-radius: 16px;
  overflow: hidden;
  margin: 28px 0;
  position: relative;
}
.ed-sp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--ed-accent,#c8a96e), transparent);
}
.ed-sp-card__badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--ed-accent, #c8a96e);
  padding: 14px 20px 0;
}
.ed-sp-card__inner {
  display: flex;
  gap: 18px;
  padding: 14px 20px 18px;
  align-items: flex-start;
}
.ed-sp-card__photo-wrap { position: relative; flex-shrink: 0; }
.ed-sp-card__photo {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(200,169,110,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
}
.ed-sp-card__photo--placeholder {
  background: var(--ed-surface-2, #181c24);
}
.ed-sp-card__status-dot {
  position: absolute;
  bottom: 3px; right: 3px;
  width: 14px; height: 14px;
  background: #22c55e;
  border-radius: 50%;
  border: 2px solid var(--ed-surface, #111318);
  box-shadow: 0 0 0 0 rgba(34,197,94,.4);
  animation: ed-dot-pulse 2s ease-in-out infinite;
}
@keyframes ed-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,.4); }
  50%       { box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}
.ed-sp-card__info { flex: 1; min-width: 0; }
.ed-sp-card__name {
  font-family: var(--ed-font-head, 'Syne', sans-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--ed-text, #e8e9ed);
  margin: 0 0 2px;
}
.ed-sp-card__title {
  font-size: 12px;
  color: var(--ed-accent, #c8a96e);
  font-weight: 600;
  margin: 0 0 4px;
}
.ed-sp-card__years {
  font-size: 12px;
  color: var(--ed-text-muted, #6b7280);
  margin: 0 0 6px;
}
.ed-sp-card__bio {
  font-size: 13px;
  color: var(--ed-text-muted, #6b7280);
  line-height: 1.55;
  margin: 0 0 8px;
}
.ed-sp-card__specialties { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 6px; }
.ed-sp-pill {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(200,169,110,.1);
  border: 1px solid rgba(200,169,110,.2);
  color: var(--ed-accent, #c8a96e);
}
.ed-sp-pill--sm { padding: 2px 7px; font-size: 10px; }
.ed-sp-card__langs { font-size: 12px; color: var(--ed-text-muted); margin: 0; }

/* Action buttons */
.ed-sp-card__actions {
  display: flex;
  gap: 8px;
  padding: 0 20px 18px;
  flex-wrap: wrap;
}
.ed-sp-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 9px;
  font-family: var(--ed-font-body, 'Outfit', sans-serif);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  flex: 1;
  justify-content: center;
}
.ed-sp-btn:hover { transform: translateY(-1px); }
.ed-sp-btn--phone {
  background: var(--ed-accent, #c8a96e);
  color: #0a0b0e;
  box-shadow: 0 2px 10px rgba(200,169,110,.3);
}
.ed-sp-btn--phone:hover { box-shadow: 0 4px 16px rgba(200,169,110,.5); }
.ed-sp-btn--whatsapp {
  background: #22c55e;
  color: #fff;
  box-shadow: 0 2px 10px rgba(34,197,94,.25);
}
.ed-sp-btn--whatsapp:hover { box-shadow: 0 4px 16px rgba(34,197,94,.4); }
.ed-sp-btn--email {
  background: var(--ed-surface-2, #181c24);
  color: var(--ed-text, #e8e9ed);
  border: 1.5px solid var(--ed-border);
}
.ed-sp-btn--email:hover { border-color: var(--ed-accent); color: var(--ed-accent); }

/* ================================================================
   STAFF DIRECTORY (shortcode [elitedrive_staff])
   ================================================================ */
.ed-staff-directory {
  display: grid;
  grid-template-columns: repeat(var(--ed-staff-cols, 3), 1fr);
  gap: 24px;
}
.ed-staff-dir-card {
  background: var(--ed-surface, #111318);
  border: 1px solid var(--ed-border, rgba(255,255,255,.08));
  border-radius: 16px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.ed-staff-dir-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
}
.ed-staff-dir-card__top {
  background: linear-gradient(135deg,#0f1219 0%,#1a2035 100%);
  padding: 28px 20px 50px;
  text-align: center;
  position: relative;
}
.ed-staff-dir-card__photo {
  width: 90px; height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(200,169,110,.4);
  position: absolute;
  bottom: -45px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
}
.ed-staff-dir-card__photo--empty {
  background: var(--ed-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}
.ed-staff-dir-card__online {
  position: absolute;
  bottom: -34px;
  left: calc(50% + 28px);
  width: 16px; height: 16px;
  background: #22c55e;
  border-radius: 50%;
  border: 2px solid #0f1219;
}
.ed-staff-dir-card__body { padding: 56px 20px 22px; text-align: center; }
.ed-staff-dir-card__name {
  font-family: var(--ed-font-head, 'Syne', sans-serif);
  font-size: 17px; font-weight: 700;
  color: var(--ed-text, #e8e9ed);
  margin: 0 0 3px;
}
.ed-staff-dir-card__title {
  font-size: 12px;
  color: var(--ed-accent, #c8a96e);
  font-weight: 600;
  margin: 0 0 6px;
}
.ed-staff-dir-card__dept {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 100px;
  background: rgba(200,169,110,.1);
  border: 1px solid rgba(200,169,110,.2);
  font-size: 11px;
  font-weight: 600;
  color: var(--ed-text-muted);
  margin-bottom: 12px;
}
.ed-staff-dir-card__bio {
  font-size: 13px;
  color: var(--ed-text-muted);
  line-height: 1.55;
  margin: 0 0 10px;
  text-align: left;
}
.ed-staff-dir-card__specs { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; margin-bottom: 10px; }
.ed-staff-dir-card__stats {
  display: flex;
  justify-content: center;
  gap: 14px;
  font-size: 12px;
  color: var(--ed-text-muted);
  margin-bottom: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--ed-border);
  border-bottom: 1px solid var(--ed-border);
}
.ed-staff-dir-card__btns { display: flex; gap: 8px; justify-content: center; }

@media (max-width: 768px) {
  .ed-staff-directory { grid-template-columns: 1fr 1fr; }
  .ed-sp-card__inner { flex-direction: column; align-items: center; text-align: center; }
  .ed-sp-card__specialties { justify-content: center; }
}
@media (max-width: 480px) {
  .ed-staff-directory { grid-template-columns: 1fr; }
  .ed-sp-card__actions { flex-direction: column; }
}

/* ================================================================
   SALESPERSON STRIP — compact horizontal above specs
   ================================================================ */
.ed-sp-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(135deg, rgba(200,169,110,.1) 0%, rgba(200,169,110,.04) 100%);
  border: 1.5px solid rgba(200,169,110,.2);
  border-radius: 14px;
  padding: 12px 16px;
  margin: 16px 0 20px;
  position: relative;
  overflow: hidden;
  flex-wrap: wrap;
}
.ed-sp-strip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--ed-accent, #c8a96e), transparent);
}
.ed-sp-strip__left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.ed-sp-strip__photo-wrap {
  position: relative;
  flex-shrink: 0;
}
.ed-sp-strip__photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(200,169,110,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: var(--ed-surface-2, #181c24);
}
.ed-sp-strip__dot {
  position: absolute;
  bottom: 1px; right: 1px;
  width: 12px; height: 12px;
  background: #22c55e;
  border-radius: 50%;
  border: 2px solid var(--ed-surface, #111318);
  animation: ed-dot-pulse 2s ease-in-out infinite;
}
.ed-sp-strip__info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.ed-sp-strip__label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ed-accent, #c8a96e);
}
.ed-sp-strip__name {
  font-family: var(--ed-font-head, 'Syne', sans-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--ed-text, #e8e9ed);
  line-height: 1.2;
}
.ed-sp-strip__title {
  font-size: 12px;
  color: var(--ed-text-muted, #6b7280);
}
.ed-sp-strip__years {
  font-size: 11px;
  color: var(--ed-text-muted, #6b7280);
}
.ed-sp-strip__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ed-sp-strip__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-family: var(--ed-font-body, 'Outfit', sans-serif);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.ed-sp-strip__btn:hover { transform: translateY(-1px); }
.ed-sp-strip__btn--call {
  background: var(--ed-accent, #c8a96e);
  color: #0a0b0e;
  box-shadow: 0 2px 8px rgba(200,169,110,.3);
}
.ed-sp-strip__btn--call:hover { box-shadow: 0 4px 16px rgba(200,169,110,.5); }
.ed-sp-strip__btn--wa {
  background: #22c55e;
  color: #fff;
  box-shadow: 0 2px 8px rgba(34,197,94,.25);
}
.ed-sp-strip__btn--wa:hover { box-shadow: 0 4px 16px rgba(34,197,94,.4); }
.ed-sp-strip__btn--email {
  background: var(--ed-surface-2, #181c24);
  color: var(--ed-text-muted, #e8e9ed);
  border: 1.5px solid var(--ed-border, rgba(255,255,255,.1));
}
.ed-sp-strip__btn--email:hover { border-color: var(--ed-accent); color: var(--ed-accent); }

@media (max-width: 600px) {
  .ed-sp-strip { flex-direction: column; align-items: flex-start; }
  .ed-sp-strip__actions { width: 100%; }
  .ed-sp-strip__btn { flex: 1; justify-content: center; }
}

/* ================================================================
   DEAL CALCULATOR (frontend shortcode)
   ================================================================ */
.ed-deal-calc {
  background: var(--ed-surface, #111318);
  border: 1px solid var(--ed-border, rgba(255,255,255,.08));
  border-radius: 16px;
  overflow: hidden;
  margin: 20px 0;
}
.ed-deal-calc__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--ed-border);
  background: rgba(255,255,255,.02);
}
.ed-deal-calc__header h3 {
  margin: 0;
  font-family: var(--ed-font-head, 'Syne', sans-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--ed-text, #e8e9ed);
}
.ed-deal-type-row {
  display: flex;
  gap: 6px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--ed-border);
}
.ed-deal-type-opt { cursor: pointer; }
.ed-deal-type-opt input { display: none; }
.ed-deal-type-opt span {
  display: block;
  padding: 6px 14px;
  border: 1.5px solid var(--ed-border, rgba(255,255,255,.1));
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ed-text-muted, #6b7280);
  transition: all .2s;
}
.ed-deal-type-opt.active span {
  border-color: var(--ed-accent, #c8a96e);
  background: rgba(200,169,110,.1);
  color: var(--ed-accent, #c8a96e);
}
.ed-deal-fields { padding: 16px 20px; }
.ed-deal-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.ed-deal-field { display: flex; flex-direction: column; gap: 5px; }
.ed-deal-field label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--ed-text-muted, #6b7280);
}
.ed-deal-input {
  padding: 9px 12px;
  background: var(--ed-surface-2, #181c24);
  border: 1.5px solid var(--ed-border, rgba(255,255,255,.1));
  border-radius: 8px;
  color: var(--ed-text, #e8e9ed);
  font-family: var(--ed-font-body, 'Outfit', sans-serif);
  font-size: 13px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color .2s;
}
.ed-deal-input:focus { outline: none; border-color: var(--ed-accent, #c8a96e); box-shadow: 0 0 0 3px rgba(200,169,110,.1); }
.ed-deal-input-wrap { position: relative; display: flex; align-items: center; }
.ed-deal-input-wrap > span { position: absolute; left: 10px; font-size: 13px; color: var(--ed-text-muted); pointer-events: none; z-index: 1; }
.ed-deal-input-wrap .ed-deal-input { padding-left: 22px; }
.ed-deal-finance-section { padding-top: 4px; }
.ed-deal-terms { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.ed-deal-term { cursor: pointer; }
.ed-deal-term input { display: none; }
.ed-deal-term {
  padding: 5px 12px;
  border: 1.5px solid var(--ed-border, rgba(255,255,255,.1));
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ed-text-muted, #6b7280);
  transition: all .2s;
  cursor: pointer;
}
.ed-deal-term.active,
.ed-deal-term input:checked ~ * {
  border-color: var(--ed-accent, #c8a96e);
  color: var(--ed-accent, #c8a96e);
  background: rgba(200,169,110,.08);
}
/* Result */
.ed-deal-result {
  margin: 0 20px 16px;
  background: linear-gradient(135deg, rgba(200,169,110,.12), rgba(200,169,110,.05));
  border: 1.5px solid rgba(200,169,110,.2);
  border-radius: 12px;
  padding: 18px 20px;
}
.ed-deal-result__payment {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(200,169,110,.15);
}
.ed-deal-result__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ed-text-muted, #6b7280);
}
.ed-deal-result__amount {
  font-family: var(--ed-font-head, 'Syne', sans-serif);
  font-size: 24px;
  font-weight: 800;
  color: var(--ed-accent, #c8a96e);
}
.ed-deal-result__meta {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
  font-size: 12px;
}
.ed-deal-result__meta > div { display: flex; flex-direction: column; gap: 2px; }
.ed-deal-result__meta span { color: var(--ed-text-muted); }
.ed-deal-result__meta strong { color: var(--ed-text, #e8e9ed); font-size: 13px; }
.ed-deal-disclaimer {
  font-size: 11px;
  color: var(--ed-text-muted, #6b7280);
  padding: 0 20px 14px;
  margin: 0;
  opacity: .7;
  line-height: 1.5;
}
@media (max-width: 480px) {
  .ed-deal-field-row { grid-template-columns: 1fr; }
  .ed-deal-result__meta { grid-template-columns: 1fr 1fr; }
}

/* ================================================================
   VEHICLE HISTORY BADGE — Cards
   ================================================================ */
.ed-history-badge-row {
  padding: 0 0 10px;
}
.ed-history-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .3px;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.ed-history-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}

/* ================================================================
   VEHICLE HISTORY PANEL — Single Vehicle Page
   ================================================================ */
.ed-history-panel {
  border-radius: 14px;
  overflow: hidden;
  margin: 16px 0 20px;
  border: 1px solid var(--ed-border, rgba(255,255,255,.08));
}

/* Headline badge */
.ed-history-panel__headline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 12px 12px 0 0;
}
.ed-history-panel__icon { font-size: 22px; flex-shrink: 0; }
.ed-history-panel__text { flex: 1; }
.ed-history-panel__text strong { display: block; font-size: 14px; font-weight: 700; }
.ed-history-panel__text span { font-size: 12px; opacity: .8; color: var(--ed-text-muted, #6b7280); }
.ed-history-panel__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: opacity .2s, transform .15s;
  flex-shrink: 0;
}
.ed-history-panel__btn:hover { opacity: .9; transform: translateY(-1px); }

/* Report buttons */
.ed-history-panel__reports {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--ed-border, rgba(255,255,255,.06));
}
.ed-history-report-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--ed-surface, #111318);
  text-decoration: none;
  transition: background .15s;
}
.ed-history-report-btn:first-child { border-radius: 0; }
.ed-history-report-btn:last-child { border-radius: 0 0 12px 12px; }
.ed-history-panel:not(:has(.ed-history-panel__headline)) .ed-history-report-btn:first-child {
  border-radius: 12px 12px 0 0;
}
.ed-history-report-btn:only-child { border-radius: 12px; }
.ed-history-report-btn:hover { background: rgba(255,255,255,.03); }
.ed-history-report-btn__logo { flex-shrink: 0; }
.ed-history-report-btn__text { flex: 1; }
.ed-history-report-btn__text strong { display: block; font-size: 13px; font-weight: 700; color: var(--ed-text, #e8e9ed); }
.ed-history-report-btn__text span { font-size: 11px; color: var(--ed-text-muted, #6b7280); }
.ed-history-report-btn svg { flex-shrink: 0; color: var(--ed-text-muted, #6b7280); }
.ed-history-report-btn:hover svg { color: var(--ed-text, #e8e9ed); }

/* ================================================================
   CARD LAYOUT PRESETS
   ================================================================ */

/* ── Shared CTA styles ─────────────────────────────────────── */
.ed-card-cta__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  background: var(--ed-accent, #c8a96e);
  color: var(--ed-btn-text, #0a0b0e);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity .2s, transform .15s;
}
.ed-card-cta__link:hover { opacity: .85; transform: translateY(-1px); }
.ed-card-cta__book {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border: 1.5px solid var(--ed-border, rgba(255,255,255,.1));
  background: transparent;
  color: var(--ed-text-muted, #6b7280);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.ed-card-cta__book:hover { border-color: var(--ed-accent, #c8a96e); color: var(--ed-accent, #c8a96e); }

/* ================================================================
   PRESET 1 — CLASSIC
   ================================================================ */
.ed-card--classic {
  background: #1a1f2e !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  transition: transform .25s, box-shadow .25s;
  display: block !important;
}
.ed-card--classic:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.4); }

.ed-card--classic .ed-card__img-wrap {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16/10;
  overflow: hidden !important;
  line-height: 0;
}
.ed-card--classic .ed-card__img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform .4s ease;
}
.ed-card--classic:hover .ed-card__img { transform: scale(1.04); }

.ed-classic-price-bar {
  position: absolute !important;
  bottom: 0 !important; left: 0 !important; right: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(150, 15, 15, .88) !important;
  backdrop-filter: blur(4px);
}
.ed-classic-price-bar__old { color: rgba(255,255,255,.65) !important; font-size: 13px; text-decoration: line-through !important; }
.ed-classic-price-bar__now { color: #fff !important; font-size: 20px !important; font-weight: 800 !important; }

.ed-classic-body { padding: 16px 18px 14px; background: #1a1f2e; }
.ed-classic-cat {
  display: block !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 1.2px;
  color: #c8a96e !important;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.ed-classic-title { font-size: 16px !important; font-weight: 700 !important; color: #e8e9ed !important; margin: 0 0 14px !important; }
.ed-classic-title a { color: #e8e9ed !important; text-decoration: none !important; }

.ed-classic-specs {
  display: flex !important;
  gap: 0 !important;
  border-top: 1px solid rgba(255,255,255,.07) !important;
  padding-top: 12px;
  margin-bottom: 14px;
}
.ed-classic-spec { flex: 1; display: flex !important; flex-direction: column !important; gap: 3px; padding-right: 12px; border-right: 1px solid rgba(255,255,255,.07); margin-right: 12px; }
.ed-classic-spec:last-child { border-right: none !important; margin-right: 0 !important; padding-right: 0 !important; }
.ed-classic-spec > span { font-size: 10px !important; color: #6b7280 !important; font-weight: 600; }
.ed-classic-spec > strong { font-size: 12px !important; color: #e8e9ed !important; }
.ed-card--classic .ed-card__actions { display: flex !important; gap: 8px; flex-wrap: wrap; margin-top: 4px; }

/* ================================================================
   PRESET 2 — HERO
   ================================================================ */
.ed-card--hero {
  background: #111318 !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  display: block !important;
  transition: transform .25s, box-shadow .25s;
}
.ed-card--hero:hover { transform: translateY(-4px); box-shadow: 0 20px 56px rgba(0,0,0,.5); }

.ed-hero-img-wrap {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  aspect-ratio: 4/3;
  overflow: hidden !important;
  line-height: 0;
}
.ed-hero-img-wrap .ed-card__img { display: block !important; width: 100% !important; height: 100% !important; object-fit: cover !important; transition: transform .5s ease; }
.ed-card--hero:hover .ed-card__img { transform: scale(1.06); }

.ed-hero-price {
  position: absolute !important;
  top: 14px !important; left: 14px !important;
  background: rgba(255,255,255,.95) !important;
  border-radius: 10px;
  padding: 8px 12px;
  line-height: 1.3;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
  z-index: 2;
}
.ed-hero-price s { font-size: 11px !important; color: #888 !important; display: block !important; text-decoration: line-through !important; }
.ed-hero-price strong { font-size: 16px !important; font-weight: 800 !important; color: #16a34a !important; }

.ed-hero-badges { position: absolute !important; top: 14px !important; right: 14px !important; display: flex !important; flex-direction: column !important; gap: 6px; align-items: flex-end; z-index: 2; }
.ed-hero-badge { padding: 5px 12px !important; border-radius: 100px !important; font-size: 11px !important; font-weight: 800 !important; }
.ed-hero-badge--feat { background: #e85a1a !important; color: #fff !important; }
.ed-hero-badge--drop { background: rgba(220,38,38,.9) !important; color: #fff !important; }

.ed-hero-counters { position: absolute !important; bottom: 14px !important; left: 14px !important; display: flex !important; gap: 6px; z-index: 2; }
.ed-hero-counter { display: flex !important; align-items: center !important; gap: 5px; background: rgba(0,0,0,.65) !important; color: #fff !important; padding: 4px 9px; border-radius: 100px; font-size: 11px; }

.ed-hero-panel { padding: 16px 20px 18px; text-align: center; }
.ed-hero-title { font-size: 18px !important; font-weight: 800 !important; color: #e8e9ed !important; margin: 0 0 10px !important; }
.ed-hero-title a { color: #e8e9ed !important; text-decoration: none !important; }
.ed-hero-specs { display: flex !important; justify-content: center; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.ed-hero-specs > span { display: flex !important; align-items: center !important; gap: 5px; font-size: 13px; color: #6b7280 !important; }
.ed-hero-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 11px 32px !important;
  background: #c8a96e !important;
  color: #0a0b0e !important;
  border-radius: 100px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  transition: opacity .2s, transform .15s;
  box-shadow: 0 4px 16px rgba(200,169,110,.4);
}
.ed-hero-cta:hover { opacity: .9; transform: translateY(-1px); }

/* ================================================================
   PRESET 3 — COMPACT
   ================================================================ */
.ed-card--compact {
  background: #fff !important;
  border: 1px solid #e2e4e7 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  display: block !important;
  transition: transform .2s, box-shadow .2s;
}
.ed-card--compact:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,.12); }

.ed-compact-img-wrap {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16/10;
  overflow: hidden !important;
  line-height: 0;
}
.ed-compact-img-wrap .ed-card__img { display: block !important; width: 100% !important; height: 100% !important; object-fit: cover !important; transition: transform .35s; }
.ed-card--compact:hover .ed-card__img { transform: scale(1.03); }

.ed-compact-dots { position: absolute !important; bottom: 10px !important; left: 50% !important; transform: translateX(-50%) !important; display: flex !important; gap: 5px; z-index: 2; }
.ed-compact-dot { width: 6px !important; height: 6px !important; border-radius: 50%; background: rgba(255,255,255,.5) !important; transition: all .2s; }
.ed-compact-dot.active { background: #fff !important; width: 16px !important; border-radius: 3px; }

.ed-compact-cond {
  position: absolute !important;
  bottom: 0 !important; left: 0 !important;
  background: #c8a96e !important;
  color: #0a0b0e !important;
  padding: 5px 14px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .8px;
  z-index: 2;
}

.ed-compact-body { padding: 14px 16px !important; }
.ed-compact-title { font-size: 15px !important; font-weight: 700 !important; color: #1d2327 !important; margin: 0 0 6px !important; }
.ed-compact-title a { color: #1d2327 !important; text-decoration: none !important; }
.ed-compact-price { display: flex !important; align-items: center !important; gap: 8px; margin-bottom: 10px; }
.ed-compact-price s { font-size: 13px !important; color: #9ca3af !important; text-decoration: line-through !important; }
.ed-compact-price strong { font-size: 18px !important; font-weight: 800 !important; color: #ef4444 !important; }
.ed-compact-specs { display: flex !important; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid #f0f0f1 !important; }
.ed-compact-specs > span { display: flex !important; align-items: center !important; gap: 5px; font-size: 12px; color: #6b7280 !important; }
.ed-compact-actions { display: flex !important; gap: 8px; flex-wrap: wrap; margin-top: 6px; }

/* Compact light-mode CTA overrides */
.ed-card--compact .ed-card-cta__link { background: #c8a96e !important; color: #0a0b0e !important; }
.ed-card--compact .ed-card-cta__book { border-color: #ddd !important; color: #555 !important; }

/* ================================================================
   PRESET 4 — HORIZONTAL  (theme-proof, all !important)
   ================================================================ */
.ed-card--horizontal {
  display: flex !important;
  flex-direction: row !important;
  background: #0d1424 !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  min-height: 160px !important;
  transition: transform .25s, box-shadow .25s;
}
.ed-card--horizontal:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,.5); }

/* Image — fixed 38% */
.ed-horiz-img-wrap {
  width: 38% !important;
  flex: 0 0 38% !important;
  flex-shrink: 0 !important;
  position: relative !important;
  overflow: hidden !important;
  display: block !important;
  line-height: 0;
  text-decoration: none;
}
.ed-horiz-img-wrap .ed-card__img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform .4s ease;
}
.ed-card--horizontal:hover .ed-card__img { transform: scale(1.05); }
.ed-horiz-year {
  position: absolute !important; top: 8px !important; left: 8px !important;
  background: rgba(0,0,0,.65) !important; color: #fff !important;
  padding: 3px 8px !important; border-radius: 5px !important;
  font-size: 11px !important; font-weight: 700 !important; z-index: 2;
}
.ed-horiz-feat {
  position: absolute !important; top: 8px !important; right: 8px !important;
  background: #c8a96e !important; color: #0a0b0e !important;
  padding: 3px 10px !important; border-radius: 100px !important;
  font-size: 10px !important; font-weight: 800 !important; z-index: 2;
}

/* Body — right column, takes remaining space */
.ed-horiz-body {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  padding: 12px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  background: transparent !important;
  overflow: hidden !important;
}
.ed-horiz-cat {
  font-size: 10px !important; font-weight: 800 !important;
  letter-spacing: 1px !important; color: #ef4444 !important;
  display: block !important; line-height: 1 !important; text-transform: uppercase;
}
.ed-horiz-title {
  font-size: 13px !important; font-weight: 700 !important;
  color: #fff !important; margin: 0 !important; line-height: 1.3 !important;
}
.ed-horiz-title a { color: #fff !important; text-decoration: none !important; }

.ed-horiz-specs {
  display: flex !important; flex-wrap: wrap !important;
  gap: 4px !important; margin: 2px 0 !important;
}
.ed-horiz-spec {
  display: inline-flex !important; align-items: center !important;
  gap: 3px !important; background: rgba(255,255,255,.07) !important;
  color: rgba(255,255,255,.7) !important; padding: 3px 7px !important;
  border-radius: 4px !important; font-size: 10px !important;
  white-space: nowrap !important;
}
.ed-horiz-spec div { display: none !important; }
.ed-horiz-spec > svg { opacity: .7; flex-shrink: 0; }
.ed-horiz-spec > strong,
.ed-horiz-spec strong { color: rgba(255,255,255,.85) !important; font-size: 10px !important; display: inline !important; }

.ed-horiz-price {
  display: flex !important; align-items: center !important;
  gap: 6px !important; flex-wrap: wrap; margin-top: 2px !important;
}
.ed-horiz-price__now { font-size: 17px !important; font-weight: 800 !important; color: #ef4444 !important; line-height: 1; }
.ed-horiz-price__old { font-size: 11px !important; color: rgba(255,255,255,.3) !important; text-decoration: line-through !important; }

.ed-horiz-actions {
  display: flex !important; align-items: center !important;
  gap: 6px !important; margin-top: 4px !important;
}
.ed-horiz-actions .ed-card-cta__link {
  display: inline-flex !important; align-items: center !important;
  padding: 6px 14px !important; background: #c8a96e !important;
  color: #0a0b0e !important; border-radius: 7px !important;
  font-size: 11px !important; font-weight: 700 !important;
  text-decoration: none !important; white-space: nowrap !important;
  border: none !important;
}
.ed-horiz-actions .ed-card-cta__book {
  display: inline-flex !important; align-items: center !important;
  padding: 6px 10px !important; border: 1.5px solid rgba(255,255,255,.2) !important;
  background: transparent !important; border-radius: 7px !important;
  color: rgba(255,255,255,.6) !important; font-size: 11px !important;
  cursor: pointer !important; white-space: nowrap !important;
}

/* Compare — small link inside body, NOT a 3rd flex column */
.ed-horiz-compare-row { margin-top: 2px; }
.ed-horiz-compare-row .ed-compare-btn,
.ed-horiz-compare-row .ed-horiz-compare {
  display: inline-flex !important; align-items: center !important;
  gap: 4px !important; font-size: 10px !important;
  color: rgba(255,255,255,.35) !important; background: transparent !important;
  border: none !important; padding: 0 !important; cursor: pointer !important;
  white-space: nowrap !important;
}
.ed-horiz-compare-row .ed-compare-btn svg,
.ed-horiz-compare-row .ed-horiz-compare svg { opacity: .4; }

@media (max-width: 600px) {
  .ed-card--horizontal { flex-direction: column !important; }
  .ed-horiz-img-wrap { width: 100% !important; height: 180px !important; flex: none !important; }
}
  .ed-horiz-img-wrap { width: 100% !important; height: 180px !important; flex-shrink: unset !important; }
}

/* ================================================================
   PREMIUM CARD PRESETS  —  edc-*
   ================================================================ */

/* Shared utilities */
.edc-badge-pill {
  display: inline-flex !important;
  align-items: center;
  padding: 3px 9px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .4px;
  color: #fff !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.edc-compare-link {
  display: block;
  width: 100%;
  padding: 6px 0;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  background: transparent;
  border: none;
  border-top: 1px solid rgba(0,0,0,.06);
  cursor: pointer;
  transition: color .2s;
}
.edc-compare-link:hover { color: #374151; }
.edc-featured { ring: 2px; }

/* ── PRESET 1: PRESTIGE ──────────────────────────────────── */
.edc-prestige {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 1px 3px rgba(0,0,0,.07), 0 4px 16px rgba(0,0,0,.06);
  transition: box-shadow .3s, transform .3s;
  display: flex;
  flex-direction: column;
}
.edc-prestige:hover { box-shadow: 0 8px 32px rgba(0,0,0,.14); transform: translateY(-4px); }

.edc-prestige__img-wrap {
  display: block;
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.edc-prestige__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.edc-prestige:hover .edc-prestige__img { transform: scale(1.04); }

.edc-prestige__top {
  position: absolute; top: 12px; left: 12px;
  display: flex; gap: 6px; flex-wrap: wrap;
}
.edc-prestige__year {
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 3px 9px; border-radius: 6px;
  backdrop-filter: blur(4px);
}
.edc-prestige__feat {
  background: #f59e0b; color: #fff;
  font-size: 10px; font-weight: 800;
  padding: 3px 9px; border-radius: 6px;
}
.edc-prestige__cond {
  background: rgba(255,255,255,.2);
  color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 3px 9px; border-radius: 6px;
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(4px);
}

.edc-prestige__price-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, transparent 100%);
  padding: 24px 14px 12px;
  display: flex; align-items: flex-end; justify-content: space-between;
}
.edc-prestige__price-inner { display: flex; align-items: center; gap: 8px; }
.edc-prestige__price-old { color: rgba(255,255,255,.55); font-size: 12px; text-decoration: line-through; }
.edc-prestige__price-now { color: #fff; font-size: 22px; font-weight: 900; letter-spacing: -.5px; }
.edc-prestige__drop { background: #dc2626; color: #fff; font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 5px; }

.edc-prestige__body { padding: 14px 16px 4px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.edc-prestige__cat { font-size: 10px; font-weight: 800; letter-spacing: 1.2px; }
.edc-prestige__title { font-size: 15px; font-weight: 700; color: #111; margin: 0; }
.edc-prestige__title a { color: #111; text-decoration: none; }
.edc-prestige__specs { display: flex; gap: 12px; flex-wrap: wrap; }
.edc-prestige__specs span { display: flex; align-items: center; gap: 4px; font-size: 11px; color: #6b7280; }
.edc-prestige__footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 4px; }
.edc-prestige__cta {
  display: inline-flex; align-items: center; padding: 8px 18px;
  border-radius: 8px; font-size: 12px; font-weight: 800;
  color: #0a0b0e !important; text-decoration: none !important;
  transition: opacity .2s;
}
.edc-prestige__cta:hover { opacity: .85; }

/* ── PRESET 2: SPOTLIGHT ─────────────────────────────────── */
.edc-spotlight {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #0c0c0f;
  aspect-ratio: 4/5;
  display: flex;
  flex-direction: column;
  transition: transform .3s;
}
.edc-spotlight:hover { transform: translateY(-4px); }

.edc-spotlight__wrap {
  display: block;
  position: absolute; inset: 0;
  text-decoration: none;
}
.edc-spotlight__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
  filter: brightness(.75);
}
.edc-spotlight:hover .edc-spotlight__img { transform: scale(1.06); filter: brightness(.85); }

.edc-spotlight__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.0) 40%, rgba(0,0,0,.7) 70%, rgba(0,0,0,.95) 100%);
}

.edc-spotlight__top {
  position: absolute; top: 14px; left: 14px; right: 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.edc-spotlight__badges { display: flex; gap: 6px; }
.edc-spotlight__pill {
  background: rgba(255,255,255,.18);
  color: #fff; font-size: 10px; font-weight: 700;
  padding: 4px 10px; border-radius: 100px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.2);
}
.edc-spotlight__pill--gold { font-weight: 800; }
.edc-spotlight__year { color: rgba(255,255,255,.6); font-size: 12px; font-weight: 600; }

.edc-spotlight__content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 16px 16px;
}
.edc-spotlight__cat { display: block; font-size: 10px; font-weight: 800; letter-spacing: 1.2px; margin-bottom: 4px; }
.edc-spotlight__title { font-size: 18px; font-weight: 800; color: #fff; margin: 0 0 10px; line-height: 1.2; }
.edc-spotlight__row { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 12px; gap: 8px; }
.edc-spotlight__price { display: flex; align-items: center; gap: 6px; }
.edc-spotlight__price s { font-size: 11px; color: rgba(255,255,255,.4); text-decoration: line-through; }
.edc-spotlight__price strong { font-size: 22px; font-weight: 900; letter-spacing: -.5px; }
.edc-spotlight__specs { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.edc-spotlight__specs span { font-size: 11px; color: rgba(255,255,255,.55); }
.edc-spotlight__cta {
  display: inline-block;
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,.7);
  letter-spacing: .5px; text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.3);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
}
.edc-spotlight:hover .edc-spotlight__cta { color: #fff; border-color: #fff; }
.edc-spotlight + .edc-compare-link { position: absolute; bottom: 0; left: 0; right: 0; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.35); }

/* ── PRESET 3: STREET ────────────────────────────────────── */
.edc-street {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow .25s, transform .25s;
}
.edc-street:hover { box-shadow: 0 8px 28px rgba(0,0,0,.1); transform: translateY(-3px); }

.edc-street__accent {
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 4px; z-index: 2;
}
.edc-street__img-wrap {
  display: block;
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
  margin-left: 4px;
}
.edc-street__img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.edc-street:hover .edc-street__img { transform: scale(1.04); }

.edc-street__feat-dot {
  position: absolute; top: 10px; right: 10px;
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
}
.edc-street__drop-badge {
  position: absolute; top: 10px; left: 10px;
  background: #dc2626; color: #fff;
  font-size: 10px; font-weight: 900;
  padding: 3px 8px; border-radius: 5px;
}

.edc-street__body { padding: 13px 14px 4px 18px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.edc-street__header { display: flex; align-items: center; justify-content: space-between; }
.edc-street__cat { font-size: 10px; font-weight: 800; letter-spacing: 1px; color: #6b7280; }
.edc-street__year-pill { background: #f3f4f6; color: #374151; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 5px; }
.edc-street__title { font-size: 15px; font-weight: 700; color: #111; margin: 0; }
.edc-street__title a { color: #111; text-decoration: none; }
.edc-street__price-row { display: flex; align-items: center; gap: 8px; }
.edc-street__price { font-size: 20px; font-weight: 900; letter-spacing: -.5px; }
.edc-street__orig { font-size: 12px; color: #9ca3af; text-decoration: line-through; }
.edc-street__chips { display: flex; gap: 5px; flex-wrap: wrap; }
.edc-street__chip { display: inline-flex; align-items: center; gap: 4px; background: #f9fafb; border: 1px solid #e5e7eb; color: #374151; font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 6px; }
.edc-street__cta {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; padding: 9px;
  border: 2px solid; border-radius: 8px;
  font-size: 13px; font-weight: 800;
  text-decoration: none !important; background: transparent;
  transition: all .2s;
}
.edc-street__cta:hover { color: #fff !important; }

/* ── PRESET 4: ESTATE ────────────────────────────────────── */
.edc-estate {
  display: flex !important;
  flex-direction: row !important;
  background: #0d1424;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,.06);
  min-height: 180px;
  transition: transform .25s, box-shadow .25s;
}
.edc-estate:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,0,0,.45); }

.edc-estate__img-wrap {
  width: 45% !important; flex: 0 0 45% !important;
  position: relative; overflow: hidden; display: block;
}
.edc-estate__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.edc-estate:hover .edc-estate__img { transform: scale(1.05); }

.edc-estate__year {
  position: absolute; top: 10px; left: 10px;
  background: rgba(0,0,0,.6); color: #fff;
  font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 6px;
}
.edc-estate__feat {
  position: absolute; bottom: 10px; left: 10px;
  font-size: 10px; font-weight: 800; padding: 3px 9px; border-radius: 5px;
}
.edc-estate__report-badge {
  position: absolute; bottom: 10px; right: 10px;
  font-size: 10px; font-weight: 800; color: #fff !important;
  text-decoration: none !important; padding: 3px 9px; border-radius: 5px;
}

.edc-estate__body {
  flex: 1 !important; min-width: 0; padding: 16px 16px 10px;
  display: flex; flex-direction: column; gap: 8px;
}
.edc-estate__top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.edc-estate__cat { font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.edc-estate__drop-pill { background: rgba(220,38,38,.2); color: #f87171; font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 5px; white-space: nowrap; }

.edc-estate__title { font-size: 14px; font-weight: 800; color: #fff; margin: 0; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.edc-estate__title a { color: #fff; text-decoration: none; }

.edc-estate__specs {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6px 8px;
  padding: 8px; background: rgba(255,255,255,.04); border-radius: 8px;
}
.edc-estate__spec { display: flex; flex-direction: column; gap: 1px; }
.edc-estate__spec span { font-size: 9px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: rgba(255,255,255,.3); }
.edc-estate__spec strong { font-size: 12px; font-weight: 700; color: rgba(255,255,255,.85); }

.edc-estate__price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; }
.edc-estate__orig { display: block; font-size: 11px; color: rgba(255,255,255,.3); text-decoration: line-through; }
.edc-estate__price { font-size: 20px; font-weight: 900; letter-spacing: -.5px; line-height: 1; }
.edc-estate__cta {
  display: inline-flex; align-items: center; padding: 7px 14px;
  border-radius: 8px; font-size: 12px; font-weight: 800;
  color: #0a0b0e !important; text-decoration: none !important; white-space: nowrap;
  transition: opacity .2s;
}
.edc-estate__cta:hover { opacity: .85; }
.edc-estate .edc-compare-link { border-top-color: rgba(255,255,255,.06); color: rgba(255,255,255,.25); margin-top: 4px; }
.edc-estate .edc-compare-link:hover { color: rgba(255,255,255,.55); }

@media (max-width: 600px) {
  .edc-estate { flex-direction: column !important; }
  .edc-estate__img-wrap { width: 100% !important; flex: none !important; height: 180px; }
  .edc-spotlight { aspect-ratio: 3/4; }
}

/* ================================================================
   STUDIO — Single Vehicle Page
   Professional · Minimal scroll · Eye-friendly
   ================================================================ */
.edv-studio {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 60px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  box-sizing: border-box;
}

/* ── Breadcrumb ──────────────────────────────────────── */
.edv-bc {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: #9ca3af;
  padding: 18px 0 14px;
  flex-wrap: wrap;
}
.edv-bc a { color: #6b7280; text-decoration: none; }
.edv-bc a:hover { color: #111; }
.edv-bc span { color: #d1d5db; }

/* ── Hero 2-column ───────────────────────────────────── */
.edv-hero {
  display: flex !important;
  gap: 28px !important;
  align-items: flex-start !important;
  margin-bottom: 0;
}
.edv-gallery { flex: 1 1 0% !important; min-width: 0 !important; }
.edv-panel   { flex: 0 0 380px !important; width: 380px !important; min-width: 0 !important; box-sizing: border-box !important; }

/* ── Gallery ─────────────────────────────────────────── */
.edv-slider {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #f5f5f5;
  line-height: 0;
}
.edv-slide { display: none; }
.edv-slide.is-active { display: block; }
.edv-slide__img {
  width: 100% !important;
  height: auto !important;
  max-height: 480px !important;
  object-fit: cover !important;
  display: block !important;
}
.edv-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.9); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.15); z-index: 5;
  transition: background .2s;
}
.edv-arrow:hover { background: #fff; }
.edv-arrow--l { left: 12px; }
.edv-arrow--r { right: 12px; }
.edv-counter {
  position: absolute; bottom: 12px; right: 14px;
  background: rgba(0,0,0,.55); color: #fff; font-size: 11px;
  font-weight: 600; padding: 3px 9px; border-radius: 100px;
  backdrop-filter: blur(4px);
}

.edv-thumbs {
  display: flex !important;
  gap: 8px; margin-top: 10px;
  overflow-x: auto; scrollbar-width: none;
  flex-wrap: nowrap !important;
}
.edv-thumbs::-webkit-scrollbar { display: none; }
.edv-thumb {
  flex: 0 0 72px !important; width: 72px; height: 54px;
  border-radius: 7px; overflow: hidden;
  border: 2px solid #e5e7eb; cursor: pointer;
  padding: 0; background: #f5f5f5; transition: border-color .2s;
}
.edv-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.edv-thumb.is-active, .edv-thumb:hover { border-color: #c8a96e; }

/* ── Purchase Panel ──────────────────────────────────── */
.edv-panel {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 22px 22px 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Badges */
.edv-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.edv-badge {
  display: inline-block;
  padding: 4px 12px;
  background: #1d2327; color: #fff;
  border-radius: 100px; font-size: 10px; font-weight: 800;
  letter-spacing: .8px; text-decoration: none;
}
.edv-badge--report { font-size: 10px; }

/* Title */
.edv-title {
  font-size: 26px !important; font-weight: 900 !important;
  color: #111 !important; line-height: 1.1 !important; margin: 0 !important;
  letter-spacing: -.5px;
}

/* Price */
.edv-price-block { border-bottom: 1px solid #f3f4f6; padding-bottom: 14px; }
.edv-price-row { display: flex; align-items: center; gap: 12px; }
.edv-price-main { display: flex; align-items: flex-start; gap: 3px; }
.edv-price-sym { font-size: 20px; font-weight: 700; margin-top: 6px; }
.edv-price-num { font-size: 40px; font-weight: 900; letter-spacing: -1.5px; line-height: 1; }
.edv-drop-chip {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(220,38,38,.1); color: #dc2626;
  border: 1px solid rgba(220,38,38,.2);
  font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 100px;
  white-space: nowrap;
}
.edv-was-row { display: flex; align-items: center; gap: 10px; margin-top: 5px; flex-wrap: wrap; }
.edv-was-price { font-size: 13px; color: #9ca3af; text-decoration: line-through; }
.edv-save-label { font-size: 12px; font-weight: 700; }

/* Key spec chips */
.edv-chips {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.edv-chip {
  display: flex; align-items: center; gap: 8px;
  background: #f9fafb; border: 1px solid #e5e7eb;
  border-radius: 8px; padding: 8px 10px;
}
.edv-chip svg { flex-shrink: 0; color: #9ca3af; }
.edv-chip div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.edv-chip div span { font-size: 9px; text-transform: uppercase; letter-spacing: .8px; color: #9ca3af; font-weight: 700; }
.edv-chip div strong { font-size: 12px; font-weight: 700; color: #111; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Alert */
.edv-alert { border: 1px solid #e5e7eb; border-radius: 10px; padding: 10px 12px; background: #fafafa; }
.edv-alert__inner { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.edv-alert__inner > svg { flex-shrink: 0; color: #f59e0b; }
.edv-alert__inner > span { font-size: 12px; color: #374151; font-weight: 600; flex-shrink: 0; }
.edv-alert__email {
  flex: 1; min-width: 100px; padding: 7px 10px;
  border: 1px solid #d1d5db; border-radius: 7px; font-size: 12px;
  outline: none;
}
.edv-alert__email:focus { border-color: #c8a96e; }
.edv-alert__btn {
  padding: 7px 14px; border: none; border-radius: 7px;
  color: #fff !important; font-size: 12px; font-weight: 700; cursor: pointer;
  white-space: nowrap; transition: opacity .2s;
}
.edv-alert__btn:hover { opacity: .85; }

/* CTA buttons */
.edv-ctas { display: flex; flex-direction: column; gap: 8px; }
.edv-cta-primary {
  display: flex !important; align-items: center !important; justify-content: center !important;
  gap: 8px; width: 100% !important; padding: 14px 20px !important;
  border: none !important; border-radius: 10px !important;
  color: #0a0b0e !important; font-size: 14px !important; font-weight: 800 !important;
  cursor: pointer !important; box-shadow: 0 4px 16px rgba(0,0,0,.12) !important;
  transition: opacity .2s !important; letter-spacing: .3px;
}
.edv-cta-primary:hover { opacity: .9 !important; }
.edv-cta-wa {
  display: flex !important; align-items: center !important; justify-content: center !important;
  gap: 8px; width: 100% !important; padding: 13px 20px !important;
  background: #22c55e !important; color: #fff !important;
  border-radius: 10px !important; font-size: 14px !important; font-weight: 800 !important;
  text-decoration: none !important; box-sizing: border-box !important;
  transition: opacity .2s !important;
}
.edv-cta-wa:hover { opacity: .9 !important; }
.edv-cta-call {
  display: flex !important; align-items: center !important; justify-content: center !important;
  gap: 7px; padding: 11px !important; width: 100% !important;
  color: #374151 !important; font-size: 13px !important; font-weight: 600 !important;
  text-decoration: none !important; border: 1.5px solid #e5e7eb !important;
  border-radius: 10px !important; background: transparent !important;
  transition: all .2s !important; box-sizing: border-box !important;
}
.edv-cta-call:hover { border-color: #c8a96e !important; color: #c8a96e !important; }

/* Salesperson card */
.edv-sp {
  background: #f4f5f7; border-radius: 12px;
  padding: 14px; border: 1px solid #e5e7eb;
}
.edv-sp__tag {
  display: block; font-size: 9px; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: #c8a96e; margin-bottom: 10px;
}
.edv-sp__row { display: flex; align-items: center; gap: 10px; }
.edv-sp__av-wrap { position: relative; flex-shrink: 0; width: 48px; height: 48px; }
.edv-sp__av { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.1); display: block; }
.edv-sp__av--empty { background: #e0dfda; display: flex; align-items: center; justify-content: center; font-size: 22px; border-radius: 50%; }
.edv-sp__dot { position: absolute; bottom: 1px; right: 1px; width: 12px; height: 12px; background: #22c55e; border-radius: 50%; border: 2px solid #f4f5f7; display: block; }
.edv-sp__info { flex: 1; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.edv-sp__info strong { font-size: 13px; font-weight: 800; color: #111; }
.edv-sp__info span { font-size: 11px; color: #6b7280; }
.edv-sp__info em { font-size: 11px; color: #374151; font-style: normal; }
.edv-sp__btns { display: flex; flex-direction: column; gap: 4px; }
.edv-sp__btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 10px; border-radius: 6px; font-size: 11px; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer; white-space: nowrap;
  transition: opacity .2s;
}
.edv-sp__btn:hover { opacity: .8; }
.edv-sp__btn--call  { background: #e5e7eb; color: #374151; }
.edv-sp__btn--wa    { background: #22c55e; color: #fff; }
.edv-sp__btn--email { background: #e5e7eb; color: #374151; }

/* ── VIN Bar (full width) ────────────────────────────── */
.edv-vin-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; margin-top: 20px;
  background: #f9fafb; border: 1px solid #e5e7eb;
  border-radius: 10px; flex-wrap: wrap;
}
.edv-vin-bar__label {
  font-size: 10px; font-weight: 800; letter-spacing: 1.5px;
  background: #374151; color: #fff; padding: 3px 8px; border-radius: 4px; flex-shrink: 0;
}
.edv-vin-bar__code { font-family: 'Courier New', monospace; font-size: 14px; font-weight: 700; color: #111; letter-spacing: 1px; flex: 1; }
.edv-vin-bar__copy { padding: 5px 14px; border: 1.5px solid; border-radius: 6px; background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: all .2s; }
.edv-vin-bar__copy:hover { opacity: .7; }
.edv-vin-bar__decode { font-size: 12px; color: #6b7280; text-decoration: none; white-space: nowrap; }
.edv-vin-bar__decode:hover { color: #c8a96e; }

/* ── Full Specs Grid ─────────────────────────────────── */
.edv-specs { margin-top: 28px; }
.edv-specs__heading {
  font-size: 18px; font-weight: 800; color: #111; margin: 0 0 16px;
  display: flex; align-items: center; gap: 10px;
}
.edv-specs__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: #e5e7eb; border-radius: 12px; overflow: hidden;
}
.edv-specs__item {
  background: #fff; padding: 14px 16px;
  display: flex; flex-direction: column; gap: 4px;
  transition: background .15s;
}
.edv-specs__item:hover { background: #fafafa; }
.edv-specs__label { font-size: 10px; text-transform: uppercase; letter-spacing: .8px; color: #9ca3af; font-weight: 700; }
.edv-specs__value { font-size: 14px; font-weight: 700; color: #111; }

/* ── Description ─────────────────────────────────────── */
.edv-desc { margin-top: 28px; }
.edv-desc__heading { font-size: 18px; font-weight: 800; color: #111; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.edv-desc__body { font-size: 14px; color: #4b5563; line-height: 1.8; max-width: 800px; }

/* ── Similar Vehicles ────────────────────────────────── */
.edv-similar { margin-top: 40px; }
.edv-similar__heading { font-size: 18px; font-weight: 800; color: #111; margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 920px) {
  .edv-hero { flex-direction: column !important; }
  .edv-panel { flex: none !important; width: 100% !important; max-width: 100% !important; }
  .edv-gallery { width: 100% !important; }
  .edv-specs__grid { grid-template-columns: repeat(2, 1fr); }
  .edv-price-num { font-size: 32px; }
}
@media (max-width: 480px) {
  .edv-chips { grid-template-columns: 1fr; }
  .edv-specs__grid { grid-template-columns: repeat(2, 1fr); }
  .edv-studio { padding: 0 14px 40px; }
}

/* ================================================================
   FILTER SIDEBAR — UX Polish Edition
   eds-* prefix · Range sliders · Chips · Skeleton · Mobile drawer
   ================================================================ */

/* ── Mobile drawer mechanics ─────────────────────────── */
body.eds-no-scroll { overflow: hidden; }
.eds-backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 998;
  backdrop-filter: blur(2px);
}
@media (max-width: 768px) {
  .eds-sidebar {
    position: fixed !important;
    top: 0 !important; left: -100% !important; bottom: 0 !important;
    width: min(340px, 90vw) !important;
    z-index: 999 !important;
    transition: left .3s cubic-bezier(.4,0,.2,1) !important;
    overflow-y: auto !important;
    box-shadow: 4px 0 32px rgba(0,0,0,.2) !important;
    flex: none !important;
  }
  .eds-sidebar.eds-open { left: 0 !important; }
  .eds-sidebar.eds-open + .eds-backdrop,
  .eds-backdrop { display: block; }
}

/* ── Panel structure ──────────────────────────────────── */
.eds-panel { padding: 0; }
.eds-panel__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px 12px;
  border-bottom: 1px solid #f0f0f1;
  margin-bottom: 4px;
}
.eds-panel__title { font-size: 14px; font-weight: 800; color: #1d2327; display: flex; align-items: center; gap: 7px; }
.eds-panel__close {
  display: none;
  width: 28px; height: 28px; border-radius: 50%;
  background: #f0f0f1; border: none; cursor: pointer;
  font-size: 13px; line-height: 1; color: #555;
  align-items: center; justify-content: center;
}
@media (max-width: 768px) { .eds-panel__close { display: flex; } }

/* ── Groups ───────────────────────────────────────────── */
.eds-form { padding: 0 14px; }
.eds-group { padding: 14px 0; border-bottom: 1px solid #f3f4f6; }
.eds-group:last-child { border-bottom: none; }
.eds-group__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.eds-label { display: block; font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: #6b7280; margin-bottom: 8px; }
.eds-group__head .eds-label { margin-bottom: 0; }

/* ── Keyword search ───────────────────────────────────── */
.eds-search-wrap { position: relative; }
.eds-search-icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: #9ca3af; pointer-events: none; }
.eds-search-input {
  width: 100%; padding: 9px 32px 9px 32px;
  border: 1.5px solid #e5e7eb; border-radius: 9px;
  font-size: 13px; outline: none; box-sizing: border-box;
  transition: border-color .2s;
}
.eds-search-input:focus { border-color: var(--ed-accent, #c8a96e); }
.eds-search-clear {
  display: none; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; border-radius: 50%; background: #e5e7eb; border: none;
  cursor: pointer; font-size: 11px; color: #6b7280;
  align-items: center; justify-content: center;
}

/* ── Selects ──────────────────────────────────────────── */
.eds-select {
  width: 100%; padding: 9px 10px; border: 1.5px solid #e5e7eb;
  border-radius: 9px; font-size: 13px; background: #fff;
  cursor: pointer; outline: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
  padding-right: 30px;
}
.eds-select:focus { border-color: var(--ed-accent, #c8a96e); }

/* ── Dual-handle range slider ─────────────────────────── */
.eds-range-display { font-size: 12px; font-weight: 700; color: #374151; }
.eds-range-track {
  position: relative; height: 6px; background: #e5e7eb;
  border-radius: 100px; margin: 18px 8px 8px;
  user-select: none;
}
.eds-range-fill {
  position: absolute; height: 100%; background: var(--ed-accent, #c8a96e);
  border-radius: 100px; pointer-events: none;
}
.eds-range-thumb {
  position: absolute; top: 50%; transform: translate(-50%, -50%);
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 2.5px solid var(--ed-accent, #c8a96e);
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  cursor: grab; touch-action: none; z-index: 2;
  transition: box-shadow .15s, transform .1s;
}
.eds-range-thumb:active { cursor: grabbing; transform: translate(-50%, -50%) scale(1.2); box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.eds-range-thumb:focus { outline: 2px solid var(--ed-accent, #c8a96e); outline-offset: 2px; }

/* ── Price presets ────────────────────────────────────── */
.eds-price-presets { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.eds-preset {
  padding: 4px 10px; border: 1.5px solid #e5e7eb; border-radius: 100px;
  font-size: 11px; font-weight: 600; background: #fff; cursor: pointer;
  color: #374151; transition: all .2s;
}
.eds-preset:hover, .eds-preset.active {
  border-color: var(--ed-accent, #c8a96e); color: var(--ed-accent, #c8a96e); background: #fdfaf5;
}

/* ── Year pills ───────────────────────────────────────── */
.eds-pill-row { display: flex; flex-wrap: wrap; gap: 5px; }
.eds-pill {
  display: inline-block; padding: 5px 11px;
  border: 1.5px solid #e5e7eb; border-radius: 100px;
  font-size: 12px; font-weight: 600; cursor: pointer;
  background: #fff; color: #374151; transition: all .2s;
}
.eds-pill input { display: none; }
.eds-pill--active { border-color: var(--ed-accent, #c8a96e); background: var(--ed-accent, #c8a96e); color: #fff; }
.eds-pill:hover:not(.eds-pill--active) { border-color: var(--ed-accent, #c8a96e); color: var(--ed-accent, #c8a96e); }

/* ── Body type grid ───────────────────────────────────── */
.eds-body-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.eds-body-btn {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 4px; border: 1.5px solid #e5e7eb; border-radius: 10px;
  cursor: pointer; background: #fff; transition: all .2s; text-align: center;
}
.eds-body-btn input { display: none; }
.eds-body-btn__icon { font-size: 18px; line-height: 1; }
.eds-body-btn__label { font-size: 10px; font-weight: 700; color: #374151; letter-spacing: .3px; }
.eds-body-btn--active { border-color: var(--ed-accent, #c8a96e); background: #fdfaf5; }
.eds-body-btn--active .eds-body-btn__label { color: var(--ed-accent, #c8a96e); }
.eds-body-btn:hover:not(.eds-body-btn--active) { border-color: #d1d5db; }

/* ── Reset button ─────────────────────────────────────── */
.eds-reset {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: calc(100% - 28px); margin: 8px 14px 16px;
  padding: 10px; border: 1.5px solid #e5e7eb;
  border-radius: 9px; font-size: 12px; font-weight: 700;
  color: #6b7280; background: #fff; cursor: pointer;
  transition: all .2s;
}
.eds-reset:hover { border-color: #ef4444; color: #ef4444; }

/* ── Active chips bar (above results) ─────────────────── */
.eds-active-bar {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 10px 0 8px; min-height: 36px;
}
.eds-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 100px;
  background: #f3f4f6; color: #374151;
  font-size: 12px; font-weight: 600; cursor: pointer;
  border: 1.5px solid #e5e7eb; transition: all .2s;
}
.eds-chip:hover { border-color: var(--ed-accent, #c8a96e); }
.eds-chip--clear { background: #fff; color: #ef4444; border-color: #fecaca; }
.eds-chip--clear:hover { background: #fef2f2; }

/* ── Mobile filter button ─────────────────────────────── */
.eds-mobile-btn, .ed-mobile-filter-toggle {
  display: none;
  align-items: center; gap: 6px; padding: 8px 14px;
  background: var(--ed-accent, #c8a96e); color: #0a0b0e !important;
  border: none; border-radius: 8px; font-size: 13px; font-weight: 800;
  cursor: pointer;
}
.eds-filter-count {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: #0a0b0e; color: var(--ed-accent, #c8a96e);
  font-size: 10px; font-weight: 900;
}
@media (max-width: 768px) { .eds-mobile-btn, .ed-mobile-filter-toggle { display: flex !important; } }
.eds-toolbar-right { display: flex; align-items: center; gap: 8px; }

/* ── Skeleton loader ──────────────────────────────────── */
.eds-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  padding: 4px 0;
}
.eds-skeleton-card {
  border-radius: 14px; overflow: hidden;
  background: #fff; border: 1px solid #f0f0f1;
  animation: eds-shimmer 1.4s ease infinite;
}
.eds-sk-img { height: 200px; background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%); background-size: 400% 100%; animation: eds-shimmer-bg 1.4s ease infinite; }
.eds-sk-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.eds-sk-line { height: 12px; border-radius: 6px; background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%); background-size: 400% 100%; animation: eds-shimmer-bg 1.4s ease infinite; }
.eds-sk-title { width: 75%; height: 16px; }
.eds-sk-short { width: 50%; }
.eds-sk-price { width: 40%; height: 20px; }
@keyframes eds-shimmer-bg { 0%{background-position:100% 0} 100%{background-position:-100% 0} }

/* ================================================================
   WISHLIST — Saved Vehicles
   ================================================================ */

/* ── Save button on cards — stylized pill ────────── */
.edw-heart {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 100px;
  border: none;
  background: rgba(10,11,14,.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255,255,255,.95);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.3);
  transition: background .2s, transform .15s;
  white-space: nowrap;
  line-height: 1;
}
.edw-heart:hover {
  background: rgba(10,11,14,.82);
  transform: translateY(-1px);
}
/* Hidden state spans */
.edw-heart__unsaved {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.edw-heart__is-saved {
  display: none;
  align-items: center;
  gap: 4px;
}
/* Saved: gold pill */
.edw-heart--saved {
  background: var(--ed-accent, #c8a96e);
  color: #0a0b0e;
}
.edw-heart--saved:hover { opacity: .88; }
.edw-heart--saved .edw-heart__unsaved { display: none !important; }
.edw-heart--saved .edw-heart__is-saved { display: inline-flex !important; }

@keyframes edw-pulse {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.2) translateY(-1px); }
  70%  { transform: scale(.95); }
  100% { transform: scale(1); }
}
.edw-heart--pulse { animation: edw-pulse .4s cubic-bezier(.36,.07,.19,.97) !important; }

/* ── Saved trigger button (bottom-right) ─────────── */
body.edw-no-scroll { overflow: hidden !important; }

.edw-trigger {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 9990;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: #111318;
  color: #fff;
  border: none; border-radius: 100px;
  font-size: 13px; font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0,0,0,.35);
  transition: transform .2s, box-shadow .2s;
  animation: edw-bounce-in .4s cubic-bezier(.34,1.56,.64,1);
}
.edw-trigger svg { color: #ef4444; flex-shrink: 0; }
.edw-trigger:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(0,0,0,.4); }
.edw-trigger-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px; padding: 0 6px;
  background: var(--ed-accent, #c8a96e); color: #0a0b0e;
  border-radius: 100px; font-size: 11px; font-weight: 900;
}
@keyframes edw-bounce-in {
  0%   { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0);    opacity: 1; }
}

/* ── Overlay ──────────────────────────────────────── */
.edw-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(3px);
  z-index: 9991;
}
.edw-overlay--on { display: block; animation: edw-fade-in .25s ease; }
@keyframes edw-fade-in { from { opacity:0; } to { opacity:1; } }

/* ── Drawer ───────────────────────────────────────── */
.edw-drawer {
  position: fixed;
  top: 0; right: -420px; bottom: 0;
  width: min(420px, 95vw);
  background: #fff;
  z-index: 9992;
  display: flex; flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,.18);
  transition: right .32s cubic-bezier(.4,0,.2,1);
}
.edw-drawer--open { right: 0; }

/* Drawer header */
.edw-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #f0f0f1;
  flex-shrink: 0;
}
.edw-drawer-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 800; color: #111;
}
.edw-drawer-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 24px; height: 24px; padding: 0 7px;
  background: #f3f4f6; border-radius: 100px;
  font-size: 12px; font-weight: 800; color: #374151;
}
.edw-drawer-close {
  width: 32px; height: 32px; border-radius: 50%;
  background: #f3f4f6; border: none;
  font-size: 18px; line-height: 1; color: #374151;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.edw-drawer-close:hover { background: #e5e7eb; }

/* Drawer scrollable body */
.edw-drawer-body {
  flex: 1; overflow-y: auto;
  padding: 8px 0;
  scrollbar-width: thin;
  scrollbar-color: #e5e7eb transparent;
}

/* Vehicle list */
.edw-list { list-style: none; margin: 0; padding: 0; }
.edw-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid #f9fafb;
  transition: background .15s;
}
.edw-item:hover { background: #fafafa; }

.edw-item__img-wrap { flex-shrink: 0; display: block; }
.edw-item__img {
  width: 72px; height: 54px;
  border-radius: 8px; object-fit: cover;
  display: block; border: 1px solid #e5e7eb;
}
.edw-item__img-ph {
  width: 72px; height: 54px; border-radius: 8px;
  background: #f3f4f6; border: 1px solid #e5e7eb;
}

.edw-item__info { flex: 1; min-width: 0; }
.edw-item__title {
  display: block; font-size: 13px; font-weight: 700; color: #111;
  text-decoration: none; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 4px;
}
.edw-item__title:hover { color: var(--ed-accent,#c8a96e); }
.edw-item__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.edw-item__price {
  font-size: 14px; font-weight: 800;
  color: var(--ed-accent, #c8a96e);
}
.edw-item__mile { font-size: 11px; color: #9ca3af; }

.edw-item__actions { display: flex; flex-direction: column; gap: 5px; align-items: flex-end; flex-shrink: 0; }
.edw-item__view {
  display: inline-block; padding: 5px 12px;
  background: var(--ed-accent,#c8a96e); color: #0a0b0e !important;
  border-radius: 6px; font-size: 11px; font-weight: 800;
  text-decoration: none !important; white-space: nowrap;
  transition: opacity .15s;
}
.edw-item__view:hover { opacity: .85; }
.edw-item__remove {
  width: 26px; height: 26px; border-radius: 50%;
  background: #f3f4f6; border: none; color: #9ca3af;
  font-size: 15px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
.edw-item__remove:hover { background: #fef2f2; color: #ef4444; }

/* Loading spinner */
.edw-drawer-loading {
  display: flex; align-items: center; justify-content: center;
  padding: 48px 20px;
}
.edw-spin {
  width: 32px; height: 32px; border-radius: 50%;
  border: 3px solid #f0f0f1;
  border-top-color: var(--ed-accent,#c8a96e);
  animation: edw-spin .7s linear infinite;
}
@keyframes edw-spin { to { transform: rotate(360deg); } }

/* Empty state */
.edw-drawer-empty {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; padding: 48px 20px; text-align: center;
  color: #9ca3af; font-size: 13px; line-height: 1.6;
}
.edw-drawer-empty strong { color: #374151; }

/* Drawer footer */
.edw-drawer-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 14px 20px;
  border-top: 1px solid #f0f0f1;
  flex-shrink: 0;
}
.edw-drawer-share {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: #374151;
  text-decoration: none; padding: 7px 14px;
  border: 1.5px solid #e5e7eb; border-radius: 8px;
  transition: all .2s;
}
.edw-drawer-share:hover { border-color: var(--ed-accent,#c8a96e); color: var(--ed-accent,#c8a96e); }
.edw-drawer-clear {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: #9ca3af;
  background: transparent; border: 1.5px solid #e5e7eb;
  border-radius: 8px; padding: 7px 14px; cursor: pointer;
  transition: all .2s;
}
.edw-drawer-clear:hover { border-color: #ef4444; color: #ef4444; }

/* Wishlist dedicated page (for shared links) */
.edw-page { max-width: 1200px; margin: 0 auto; padding: 0 20px 60px; }
.edw-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 28px 0 20px; flex-wrap: wrap; border-bottom: 1px solid #f0f0f1; margin-bottom: 24px; }
.edw-title { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 800; color: #111; margin: 0 0 6px; }
.edw-title svg { color: #ef4444; }
.edw-count { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; padding: 0 8px; background: #f3f4f6; border-radius: 100px; font-size: 14px; font-weight: 800; color: #374151; }
.edw-subtitle { color: #6b7280; font-size: 14px; margin: 0; }
.edw-header__actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.edw-share-btn, .edw-clear-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 8px; font-size: 12px; font-weight: 700; cursor: pointer; border: 1.5px solid #e5e7eb; background: #fff; transition: all .2s; color: #374151; }
.edw-share-btn:hover { border-color: var(--ed-accent,#c8a96e); color: var(--ed-accent,#c8a96e); }
.edw-clear-btn:hover { border-color: #ef4444; color: #ef4444; }
.edw-grid .ed-bento-grid { grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); }
.edw-empty { text-align: center; padding: 60px 20px; }
.edw-empty__icon { width: 100px; height: 100px; border-radius: 50%; background: #fef2f2; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.edw-empty__icon svg { color: #fca5a5; }
.edw-empty h3 { font-size: 18px; font-weight: 700; color: #111; margin: 0 0 8px; }
.edw-empty p { font-size: 14px; color: #6b7280; max-width: 360px; margin: 0 auto 24px; }
.edw-browse-btn { display: inline-flex; align-items: center; padding: 12px 28px; background: var(--ed-accent,#c8a96e); color: #0a0b0e !important; border-radius: 10px; font-size: 14px; font-weight: 800; text-decoration: none !important; }
.edw-skeleton { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 20px; }

/* ================================================================
   EDP — VEHICLE CARD PRESETS  (edp-* prefix)
   ================================================================ */

/* ── Shared utilities ─────────────────────────────────── */
.edp {
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.edp-badge-dark {
  display: inline-block; padding: 4px 10px; border-radius: 6px;
  background: rgba(0,0,0,.65); color: #fff;
  font-size: 12px; font-weight: 900;
  backdrop-filter: blur(4px); letter-spacing: .3px; line-height: 1;
}
.edp-badge-gold {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 4px 10px; border-radius: 6px;
  font-size: 11px; font-weight: 900; color: #0a0b0e;
  letter-spacing: .2px; line-height: 1;
  text-shadow: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.edp-badge-outline {
  display: inline-block; padding: 3px 9px; border-radius: 6px;
  background: rgba(255,255,255,.12); color: #fff; font-size: 11px; font-weight: 700;
  border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(4px);
}
.edp-badge-pill {
  display: inline-block; padding: 3px 9px; border-radius: 100px;
  color: #fff !important; font-size: 10px; font-weight: 800;
  text-decoration: none !important; white-space: nowrap;
}
.edp-compare {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  width: 100%; padding: 7px;
  font-size: 11px; font-weight: 600; color: #9ca3af;
  background: transparent; border: none; border-top: 1px solid rgba(0,0,0,.06);
  cursor: pointer; transition: color .2s;
}
.edp-compare:hover { color: #374151; }
/* Dark card compare */
.edp-noir .edp-compare, .edp-boulevard .edp-compare {
  border-top-color: rgba(255,255,255,.07); color: rgba(255,255,255,.25);
}
.edp-noir .edp-compare:hover, .edp-boulevard .edp-compare:hover { color: rgba(255,255,255,.6); }

/* ════════════════════════════════════════════════════════
   PRESET 1 — MARQUEE (FREE)
════════════════════════════════════════════════════════ */
.edp-marquee {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06), 0 4px 20px rgba(0,0,0,.06);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.edp-marquee:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,0,0,.13); }
.edp-marquee__accent { height: 4px; width: 100%; flex-shrink: 0; }

.edp-marquee__img-wrap {
  display: block; position: relative; overflow: hidden; line-height: 0;
  aspect-ratio: 16/10;
}
.edp-marquee__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; display: block; }
.edp-marquee:hover .edp-marquee__img { transform: scale(1.04); }
.edp-marquee__img-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 5px; flex-wrap: wrap; }
.edp-marquee__drop-ribbon {
  position: absolute; bottom: 10px; left: 0;
  background: #dc2626; color: #fff;
  font-size: 12px; font-weight: 900;
  padding: 5px 14px 5px 10px; border-radius: 0 7px 7px 0;
  letter-spacing: .3px; line-height: 1;
  box-shadow: 2px 2px 6px rgba(0,0,0,.25);
}

.edp-marquee__body { padding: 14px 16px 10px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.edp-marquee__meta-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.edp-marquee__cat { font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.edp-marquee__cond { font-size: 10px; font-weight: 700; color: #6b7280; background: #f3f4f6; padding: 2px 8px; border-radius: 5px; }
.edp-marquee__title { font-size: 16px; font-weight: 800; color: #111; margin: 0; line-height: 1.25; }
.edp-marquee__title a { color: #111; text-decoration: none; }
.edp-marquee__price-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.edp-marquee__price { font-size: 24px; font-weight: 900; letter-spacing: -.5px; line-height: 1; }
.edp-marquee__orig { font-size: 13px; color: #9ca3af; text-decoration: line-through; }
.edp-marquee__save-tag { font-size: 11px; font-weight: 700; color: #16a34a; }
.edp-marquee__specs { display: flex; gap: 14px; flex-wrap: wrap; }
.edp-marquee__specs span { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: #6b7280; }
.edp-marquee__history { margin-top: 2px; }
.edp-marquee__cta {
  display: flex; align-items: center; justify-content: center;
  padding: 11px; border-radius: 9px; margin-top: 4px;
  font-size: 13px; font-weight: 800; color: #0a0b0e !important;
  text-decoration: none !important; transition: opacity .2s;
}
.edp-marquee__cta:hover { opacity: .88; }

/* ════════════════════════════════════════════════════════
   PRESET 2 — NOIR (PRO)
════════════════════════════════════════════════════════ */
.edp-noir {
  position: relative; border-radius: 14px; overflow: hidden;
  background: #080b12;
  aspect-ratio: 4/5;
  display: flex; flex-direction: column;
  transition: transform .3s;
}
.edp-noir:hover { transform: translateY(-5px); }

.edp-noir__wrap { display: block; position: absolute; inset: 0; text-decoration: none; }
.edp-noir__img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.72); transition: transform .6s, filter .4s; display: block; }
.edp-noir:hover .edp-noir__img { transform: scale(1.06); filter: brightness(.85); }
.edp-noir__vignette { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.05) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,.75) 70%, rgba(0,0,0,.97) 100%); }
.edp-noir__top { position: absolute; top: 12px; left: 12px; display: flex; gap: 5px; flex-wrap: wrap; }
.edp-noir__foot { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 16px 14px; }
.edp-noir__cat { display: block; font-size: 10px; font-weight: 800; letter-spacing: 1.2px; margin-bottom: 5px; text-transform: uppercase; }
.edp-noir__title { font-size: 20px; font-weight: 900; color: #fff; margin: 0 0 10px; line-height: 1.2; }
.edp-noir__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.edp-noir__price-block { display: flex; flex-direction: column; gap: 2px; }
.edp-noir__orig { font-size: 12px; color: rgba(255,255,255,.35); text-decoration: line-through; }
.edp-noir__price { font-size: 26px; font-weight: 900; letter-spacing: -.5px; line-height: 1; }
.edp-noir__specs { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.edp-noir__specs span { font-size: 11px; color: rgba(255,255,255,.5); }
.edp-noir__cta-line { font-size: 12px; font-weight: 700; color: rgba(255,255,255,.6); letter-spacing: .5px; transition: color .2s; }
.edp-noir:hover .edp-noir__cta-line { color: #fff; }
.edp-noir__hb { position: absolute; top: 12px; right: 12px; }
.edp-noir .edp-compare { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,.4); }

/* ════════════════════════════════════════════════════════
   PRESET 3 — STUDIO (PRO)
════════════════════════════════════════════════════════ */
.edp-studio {
  background: #fff; border-radius: 14px; overflow: hidden;
  border: 1px solid #f0f0f0;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.edp-studio:hover { transform: translateY(-4px); box-shadow: 0 10px 36px rgba(0,0,0,.11); }

.edp-studio__img-wrap { display: block; position: relative; overflow: hidden; aspect-ratio: 1/1; }
.edp-studio__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; display: block; }
.edp-studio:hover .edp-studio__img { transform: scale(1.05); }
.edp-studio__year { position: absolute; top: 10px; left: 10px; background: rgba(255,255,255,.92); color: #111; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 6px; }
.edp-studio__feat { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #0a0b0e; }
.edp-studio__price-badge {
  position: absolute; bottom: -1px; right: 14px;
  padding: 8px 14px 12px; border-radius: 12px 12px 0 0;
  font-size: 18px; font-weight: 900; color: #0a0b0e; letter-spacing: -.3px;
  display: flex; align-items: center; gap: 6px;
}
.edp-studio__price-badge small { font-size: 10px; font-weight: 800; background: rgba(0,0,0,.15); padding: 2px 6px; border-radius: 4px; }

.edp-studio__body { padding: 16px 16px 8px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.edp-studio__top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.edp-studio__cat { font-size: 10px; font-weight: 700; color: #9ca3af; text-transform: uppercase; letter-spacing: .8px; }
.edp-studio__title { font-size: 15px; font-weight: 800; color: #111; margin: 0; line-height: 1.3; }
.edp-studio__title a { color: #111; text-decoration: none; }
.edp-studio__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 8px; }
.edp-studio__spec { display: flex; flex-direction: column; gap: 1px; }
.edp-studio__spec span { font-size: 9px; text-transform: uppercase; letter-spacing: .7px; color: #9ca3af; font-weight: 700; }
.edp-studio__spec strong { font-size: 12px; font-weight: 700; color: #111; }
.edp-studio__cta {
  display: flex; align-items: center; justify-content: center;
  padding: 9px; border: 2px solid; border-radius: 9px;
  font-size: 13px; font-weight: 800; text-decoration: none !important;
  transition: background .2s, color .2s;
}
.edp-studio__cta:hover { color: #fff !important; }

/* ════════════════════════════════════════════════════════
   PRESET 4 — BOULEVARD (PRO)
════════════════════════════════════════════════════════ */
.edp-boulevard {
  display: flex !important; flex-direction: row !important;
  background: #0d1424; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.06); min-height: 190px;
  position: relative;
  transition: transform .25s, box-shadow .25s;
}
.edp-boulevard:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(0,0,0,.5); }

.edp-boulevard__img { width: 42% !important; flex: 0 0 42% !important; position: relative; overflow: hidden; display: block; text-decoration: none; }
.edp-boulevard__photo { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; display: block; }
.edp-boulevard:hover .edp-boulevard__photo { transform: scale(1.05); }
.edp-boulevard__img .edp-badge-dark { position: absolute; top: 10px; left: 10px; }
.edp-boulevard__img .edp-badge-gold { position: absolute; bottom: 10px; left: 10px; }

.edp-boulevard__body { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.edp-boulevard__top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.edp-boulevard__cat { font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.edp-boulevard__title { font-size: 15px; font-weight: 800; color: #fff; margin: 0; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.edp-boulevard__title a { color: #fff; text-decoration: none; }
.edp-boulevard__specs { display: flex; flex-direction: column; gap: 5px; }
.edp-boulevard__spec { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.edp-boulevard__spec-l { font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: rgba(255,255,255,.3); }
.edp-boulevard__spec-r { font-size: 12px; font-weight: 700; color: rgba(255,255,255,.8); }
.edp-boulevard__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; }
.edp-boulevard__orig { font-size: 11px; color: rgba(255,255,255,.25); text-decoration: line-through; margin-bottom: 2px; }
.edp-boulevard__price { font-size: 22px; font-weight: 900; letter-spacing: -.5px; line-height: 1; }
.edp-boulevard__cta { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 8px; font-size: 12px; font-weight: 800; color: #0a0b0e !important; text-decoration: none !important; white-space: nowrap; transition: opacity .2s; }
.edp-boulevard__cta:hover { opacity: .85; }
.edp-boulevard .edp-compare { position: absolute; bottom: 0; right: 0; width: 42%; border-top-color: rgba(255,255,255,.07); color: rgba(255,255,255,.2); padding: 6px; font-size: 10px; }
@media (max-width: 600px) { .edp-boulevard { flex-direction: column !important; } .edp-boulevard__img { width: 100% !important; flex: none !important; height: 180px; } .edp-boulevard .edp-compare { width: 100%; } }

/* ════════════════════════════════════════════════════════
   PRESET 5 — MINIMAL (PRO)
════════════════════════════════════════════════════════ */
.edp-minimal {
  background: #fff; border-radius: 12px; overflow: hidden;
  border: 1px solid #f0f0f1;
  display: flex; flex-direction: column;
  transition: box-shadow .3s, transform .3s;
}
.edp-minimal:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); transform: translateY(-4px); }

.edp-minimal__img-wrap { display: block; position: relative; overflow: hidden; aspect-ratio: 16/10; }
.edp-minimal__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; display: block; }
.edp-minimal:hover .edp-minimal__img { transform: scale(1.04); }
.edp-minimal__feat-dot { position: absolute; top: 10px; left: 10px; width: 10px; height: 10px; border-radius: 50%; display: block; box-shadow: 0 0 0 3px rgba(255,255,255,.4); }
.edp-minimal__hover-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,.72);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  opacity: 0; transition: opacity .3s ease;
}
.edp-minimal:hover .edp-minimal__hover-overlay { opacity: 1; }
.edp-minimal__hover-specs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.edp-minimal__hover-specs span { background: rgba(255,255,255,.12); color: rgba(255,255,255,.9); font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 6px; border: 1px solid rgba(255,255,255,.2); }
.edp-minimal__hover-cta { color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .5px; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 1px; }

.edp-minimal__body { padding: 14px 16px 8px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.edp-minimal__row1 { display: flex; align-items: center; justify-content: space-between; }
.edp-minimal__cat { font-size: 10px; font-weight: 700; color: #9ca3af; text-transform: uppercase; letter-spacing: .8px; }
.edp-minimal__year { font-size: 11px; font-weight: 700; color: #374151; background: #f3f4f6; padding: 2px 8px; border-radius: 5px; }
.edp-minimal__title { font-size: 16px; font-weight: 800; color: #111; margin: 0; }
.edp-minimal__title a { color: #111; text-decoration: none; }
.edp-minimal__price-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.edp-minimal__price { font-size: 22px; font-weight: 900; letter-spacing: -.5px; }
.edp-minimal__orig { font-size: 12px; color: #9ca3af; text-decoration: line-through; }
.edp-minimal__hb { margin-left: auto; }

/* ════════════════════════════════════════════════════════
   PRESET 6 — APEX (PRO)
════════════════════════════════════════════════════════ */
.edp-apex {
  background: #fff; border-radius: 12px; overflow: hidden;
  border: 1px solid #e5e7eb;
  display: flex; flex-direction: column;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
  transition: transform .25s, box-shadow .25s;
}
.edp-apex:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.12); }

.edp-apex__img-wrap { display: block; position: relative; overflow: hidden; aspect-ratio: 16/10; }
.edp-apex__img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; display: block; }
.edp-apex:hover .edp-apex__img { transform: scale(1.04); }
.edp-apex__slash {
  position: absolute; bottom: -2px; left: 0; right: 0; height: 6px;
  clip-path: polygon(0 100%, 100% 0%, 100% 100%);
}
.edp-apex__img-top { position: absolute; top: 10px; left: 10px; display: flex; gap: 5px; flex-wrap: wrap; }
.edp-apex__year { background: #111; color: #fff; font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 5px; }
.edp-apex__cond { background: rgba(255,255,255,.85); color: #374151; font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 5px; }
.edp-apex__feat { font-size: 10px; font-weight: 800; padding: 3px 9px; border-radius: 5px; color: #0a0b0e; }

.edp-apex__body { padding: 14px 16px 8px; flex: 1; display: flex; flex-direction: column; gap: 9px; }
.edp-apex__cat { font-size: 10px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.edp-apex__title { font-size: 16px; font-weight: 800; color: #111; margin: 0; }
.edp-apex__title a { color: #111; text-decoration: none; }
.edp-apex__price-tag { display: flex; align-items: center; justify-content: space-between; }
.edp-apex__price-inner { display: flex; flex-direction: column; gap: 1px; }
.edp-apex__orig { font-size: 11px; color: #9ca3af; text-decoration: line-through; }
.edp-apex__price { font-size: 24px; font-weight: 900; letter-spacing: -.5px; color: #111; }
.edp-apex__drop { background: #dc2626; color: #fff; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 7px; }
.edp-apex__chips { display: flex; gap: 5px; flex-wrap: wrap; }
.edp-apex__chip { background: #f3f4f6; border: 1px solid #e5e7eb; color: #374151; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 6px; }
.edp-apex__cta {
  display: flex; align-items: center; justify-content: center;
  padding: 10px; border-radius: 9px; font-size: 13px; font-weight: 800;
  color: #0a0b0e !important; text-decoration: none !important;
  transition: opacity .2s; margin-top: 2px;
}
.edp-apex__cta:hover { opacity: .88; }

/* ── Card typography fixes — bolder, more readable ── */
.edp-marquee__cat    { font-size: 10px !important; font-weight: 900 !important; letter-spacing: 1.2px !important; }
.edp-marquee__cond   { font-size: 11px !important; font-weight: 700 !important; color: #374151 !important; background: #f0f0f0 !important; }
.edp-marquee__title  { font-size: 17px !important; font-weight: 900 !important; }
.edp-marquee__price  { font-size: 26px !important; font-weight: 900 !important; }
.edp-marquee__specs span { font-size: 13px !important; font-weight: 600 !important; color: #4b5563 !important; gap: 5px !important; }
.edp-marquee__specs svg  { width: 14px !important; height: 14px !important; }
.edp-marquee__save-tag   { font-size: 12px !important; font-weight: 800 !important; }
.edp-marquee__orig       { font-size: 14px !important; }
.edp-marquee__cta        { font-size: 14px !important; font-weight: 900 !important; padding: 13px !important; letter-spacing: .3px !important; }

.edp-noir__cat   { font-size: 10px !important; font-weight: 900 !important; }
.edp-noir__title { font-size: 22px !important; font-weight: 900 !important; }
.edp-noir__price { font-size: 28px !important; font-weight: 900 !important; }

.edp-studio__cat   { font-size: 10px !important; font-weight: 800 !important; color: #6b7280 !important; }
.edp-studio__title { font-size: 16px !important; font-weight: 900 !important; }
.edp-studio__spec span  { font-size: 10px !important; font-weight: 700 !important; }
.edp-studio__spec strong{ font-size: 13px !important; font-weight: 800 !important; }
.edp-studio__cta   { font-size: 14px !important; font-weight: 900 !important; padding: 11px !important; }

.edp-boulevard__cat  { font-size: 10px !important; font-weight: 900 !important; }
.edp-boulevard__title{ font-size: 15px !important; font-weight: 900 !important; }
.edp-boulevard__spec-l { font-size: 10px !important; font-weight: 800 !important; }
.edp-boulevard__spec-r { font-size: 13px !important; font-weight: 800 !important; }
.edp-boulevard__price  { font-size: 24px !important; font-weight: 900 !important; }
.edp-boulevard__cta    { font-size: 13px !important; font-weight: 900 !important; padding: 9px 16px !important; }

.edp-minimal__cat   { font-size: 10px !important; font-weight: 800 !important; }
.edp-minimal__year  { font-size: 12px !important; font-weight: 800 !important; }
.edp-minimal__title { font-size: 17px !important; font-weight: 900 !important; }
.edp-minimal__price { font-size: 24px !important; font-weight: 900 !important; }
.edp-minimal__hover-specs span { font-size: 12px !important; font-weight: 700 !important; }

.edp-apex__cat   { font-size: 10px !important; font-weight: 900 !important; }
.edp-apex__title { font-size: 17px !important; font-weight: 900 !important; }
.edp-apex__price { font-size: 26px !important; font-weight: 900 !important; color: #111 !important; }
.edp-apex__chip  { font-size: 12px !important; font-weight: 700 !important; padding: 5px 11px !important; }
.edp-apex__cta   { font-size: 14px !important; font-weight: 900 !important; padding: 12px !important; }
.edp-apex__drop  { font-size: 12px !important; font-weight: 900 !important; padding: 5px 12px !important; border-radius: 8px !important; }

/* ================================================================
   MOBILE QA — Comprehensive responsive fixes
   ================================================================ */

/* ── Inventory page ───────────────────────────────── */
@media (max-width: 768px) {
  /* Layout: stack sidebar above results */
  .ed-inventory-layout {
    flex-direction: column !important;
    gap: 0 !important;
  }
  .ed-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,.1) !important;
  }
  .ed-inventory-main { width: 100% !important; }

  /* Grid: 1 column on small screens */
  .ed-bento-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* Filter sidebar hidden by default on mobile — shown via drawer */
  .ed-sidebar { display: none !important; }
  .eds-sidebar.eds-open { display: block !important; }

  /* Toolbar */
  .ed-toolbar { flex-wrap: wrap; gap: 8px; padding: 10px 14px; }
  .ed-result-count { font-size: 13px; }

  /* Preset cards — all full-width */
  .edp-marquee, .edp-studio, .edp-minimal, .edp-apex { max-width: 100%; }
  .edp-noir  { aspect-ratio: 16/10; }
}

@media (max-width: 480px) {
  /* Very small screens */
  .ed-bento-grid { gap: 10px !important; }
  .edp-marquee__price { font-size: 22px !important; }
  .edp-marquee__title { font-size: 15px !important; }
  .edp-apex__price { font-size: 20px !important; }
}

/* ── Vehicle detail page ──────────────────────────── */
@media (max-width: 920px) {
  .edv-hero {
    flex-direction: column !important;
    gap: 16px !important;
  }
  .edv-panel {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 12px !important;
    padding: 18px !important;
  }
  .edv-gallery { width: 100% !important; }
  .edv-title { font-size: 22px !important; }
  .edv-price-num { font-size: 32px !important; }
  .edv-chips { grid-template-columns: 1fr 1fr !important; }
  .edv-specs__grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 480px) {
  .edv-studio { padding: 0 12px 40px !important; }
  .edv-title { font-size: 20px !important; }
  .edv-price-num { font-size: 28px !important; }
  .edv-chips { grid-template-columns: 1fr !important; }
  .edv-specs__grid { grid-template-columns: 1fr 1fr !important; }
  .edv-cta-primary, .edv-cta-wa, .edv-cta-call { font-size: 13px !important; padding: 12px !important; }

  /* SP card on mobile */
  .edv-sp__row { flex-wrap: wrap; }
  .edv-sp__btns { flex-direction: row !important; width: 100%; }
  .edv-sp__btn  { flex: 1; justify-content: center; }
}

/* ── Filter drawer — full screen on very small ──── */
@media (max-width: 420px) {
  .eds-sidebar, .eds-panel { width: 100vw !important; max-width: 100vw !important; }
}

/* ── Wishlist drawer ─────────────────────────────── */
@media (max-width: 480px) {
  .edw-drawer { width: 100vw !important; right: -100vw !important; }
  .edw-drawer--open { right: 0 !important; }
  .edw-trigger { bottom: 16px !important; right: 16px !important; padding: 10px 16px !important; font-size: 12px !important; }
}

/* ── CRM admin page ─────────────────────────────── */
@media (max-width: 782px) {
  .ed-crm-table { display: block; overflow-x: auto; }
  .ed-lead-actions { flex-direction: column !important; gap: 4px; }
}

/* ── Settings page ─────────────────────────────── */
@media (max-width: 960px) {
  .ed-settings-grid { grid-template-columns: 1fr !important; }
  .ed-admin-tabs { flex-wrap: wrap !important; }
  .ed-tab-btn { font-size: 11px !important; padding: 6px 10px !important; }
}

/* ── Preset cards — boulevard stacks on mobile ─── */
@media (max-width: 600px) {
  .edp-boulevard {
    flex-direction: column !important;
    min-height: auto !important;
  }
  .edp-boulevard__img {
    width: 100% !important;
    flex: none !important;
    height: 200px !important;
  }
  .edp-boulevard .edp-compare { width: 100% !important; }
}

/* ── Touch-friendly tap targets ─────────────────── */
@media (max-width: 768px) {
  .edp-marquee__cta,
  .edp-studio__cta,
  .edp-apex__cta   { padding: 14px !important; font-size: 14px !important; }
  .edp-boulevard__cta { padding: 10px 16px !important; }
  .edw-heart { padding: 8px 14px !important; font-size: 12px !important; }
  .eds-preset { padding: 6px 12px !important; }
}

/* ── Free tier upgrade banner ────────────────────── */
.ed-free-upgrade-banner {
  grid-column: 1 / -1;
  margin-top: 8px;
}
.ed-fub-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #1a1f2e 0%, #0f1219 100%);
  border-radius: 14px;
  border: 1px solid rgba(200,169,110,.3);
  flex-wrap: wrap;
}
.ed-fub-icon { font-size: 32px; flex-shrink: 0; }
.ed-fub-text {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ed-fub-text strong {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}
.ed-fub-text span {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  line-height: 1.4;
}
.ed-fub-btn {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  background: var(--ed-accent, #c8a96e);
  color: #0a0b0e !important;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none !important;
  white-space: nowrap;
  transition: opacity .2s;
  flex-shrink: 0;
}
.ed-fub-btn:hover { opacity: .88; }

@media (max-width: 600px) {
  .ed-fub-inner { padding: 16px; gap: 12px; }
  .ed-fub-btn   { width: 100%; justify-content: center; }
}

/* ── Shortcode column overrides ─────────────────── */
.ed-bento-grid.ed-cols-1 { grid-template-columns: 1fr !important; max-width: 480px; margin: 0 auto; }
.ed-bento-grid.ed-cols-2 { grid-template-columns: repeat(2, 1fr) !important; }
.ed-bento-grid.ed-cols-3 { grid-template-columns: repeat(3, 1fr) !important; }
.ed-bento-grid.ed-cols-4 { grid-template-columns: repeat(4, 1fr) !important; }
@media (max-width: 900px) {
  .ed-bento-grid.ed-cols-3,
  .ed-bento-grid.ed-cols-4 { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 600px) {
  .ed-bento-grid.ed-cols-2,
  .ed-bento-grid.ed-cols-3,
  .ed-bento-grid.ed-cols-4 { grid-template-columns: 1fr !important; }
}
