/* ==========================================================================
   vehicles.css — Vehicle listing + detail page.
   ========================================================================== */

/* Generic listing UI (filter chips / results head / empty) */
.filter-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-chip { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; border: 1px solid var(--line-2); border-radius: var(--pill); font-family: var(--font-display); font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .02em; color: var(--ink-2); background: var(--bg-2); transition: border-color .2s, color .2s, background .2s; }
.filter-chip:hover, .filter-chip.is-active { border-color: var(--accent); color: #fff; background: var(--accent-soft); }
.filter-chip .ic { width: 17px; height: 17px; color: var(--accent-300); }

.listing-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 1.6rem 0 1.4rem; }
.listing-count { font-family: var(--font-mono); font-size: .82rem; color: var(--ink-2); letter-spacing: .03em; }
.listing-count b { color: #fff; }
.listing-sort { display: flex; align-items: center; gap: .5rem; }
.listing-sort label { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); white-space: nowrap; }
.listing-sort .select { width: auto; padding: .55rem 2.2rem .55rem .8rem; }
.listing-empty { text-align: center; padding: 3.2rem 1.5rem; border: 1px dashed var(--line-2); border-radius: var(--radius-lg); background: var(--bg-2); }
.listing-empty__icon { width: 56px; height: 56px; margin: 0 auto 1.1rem; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); border: 1px solid rgba(225,6,0,.25); color: var(--accent-300); }
.listing-empty__icon .ic { width: 28px; height: 28px; }

/* ----------------------------------------------------- Detail page */
.vd-loading { padding: 4rem 0; text-align: center; color: var(--ink-3); font-family: var(--font-mono); letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; }

.vd-top { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(1.4rem, 3vw, 2.6rem); align-items: start; }
@media (max-width: 940px){ .vd-top { grid-template-columns: 1fr; } }

.vd-gallery__main { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/10; background: var(--bg-3); }
.vd-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.vd-gallery__chip { position: absolute; top: 14px; left: 14px; z-index: 2; }
.vd-thumbs { display: flex; gap: .6rem; margin-top: .7rem; flex-wrap: wrap; }
.vd-thumb { width: 88px; height: 62px; border-radius: 9px; overflow: hidden; border: 1px solid var(--line-2); cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s; flex-shrink: 0; padding: 0; }
.vd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vd-thumb.is-active, .vd-thumb:hover { opacity: 1; border-color: var(--accent); }

.vd-summary__year { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .14em; color: var(--accent-300); text-transform: uppercase; }
.vd-summary h1 { font-size: var(--step-3); margin: .4rem 0 .2rem; }
.vd-summary__trim { color: var(--ink-2); }
.vd-price { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.1rem, 4vw, 2.9rem); color: #fff; margin: .8rem 0 .2rem; letter-spacing: -.01em; }
.vd-price small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.vd-quickspecs { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: 1.3rem 0; }
.vd-quickspec { display: flex; gap: .65rem; align-items: center; padding: .75rem .85rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: 11px; }
.vd-quickspec .ic { color: var(--accent-300); width: 20px; height: 20px; flex-shrink: 0; }
.vd-quickspec b { display: block; font-size: .92rem; color: #fff; }
.vd-quickspec span { font-family: var(--font-mono); font-size: .62rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .1em; }
.vd-cta { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.1rem; }
.vd-assure { margin-top: 1.3rem; padding-top: 1.3rem; border-top: 1px solid var(--line); display: grid; gap: .6rem; }
.vd-assure-item { display: flex; gap: .6rem; align-items: center; font-size: .88rem; color: var(--ink-2); }
.vd-assure-item .ic { width: 17px; height: 17px; color: var(--accent-300); }

.vd-section { margin-top: clamp(2.6rem, 5vw, 4rem); }
.vd-section > h2 { font-size: var(--step-2); margin-bottom: 1.3rem; }
.vd-blurb { color: var(--ink-2); max-width: 70ch; font-size: var(--step-1); }

.vd-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.vd-spec { background: var(--bg-2); padding: 1.05rem 1.2rem; }
.vd-spec span { font-family: var(--font-mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); }
.vd-spec b { display: block; margin-top: .3rem; font-size: 1.02rem; color: #fff; font-weight: 500; }

.vd-features { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .7rem; }
.vd-feature { display: flex; gap: .6rem; align-items: center; color: var(--ink-2); font-size: .94rem; }
.vd-feature .ic { color: #69DB7C; width: 18px; height: 18px; flex-shrink: 0; }
