/* ============================================================
   Cardiwan — vehicle-details.css
   Tokens: mirrors home.css / all-cars.css (black/white/gray, no gold)
   Font: Inter (body) + Playfair Display (headings)
   CSS prefix: vdt-
   H tags: H1 (vehicle name) → H2 (sections) → H3 (sim card titles)
   ============================================================ */

/* ── TOKENS ───────────────────────────────────────────────── */
:root {
    --black:        #0A0A0A;
    --gray-900:     #111111;
    --gray-800:     #1A1A1A;
    --gray-700:     #2B2B2B;
    --gray-600:     #3D3D3D;
    --gray-500:     #555555;
    --gray-400:     #888888;
    --gray-300:     #AAAAAA;
    --gray-200:     #CCCCCC;
    --gray-100:     #E8E8E8;
    --gray-50:      #F5F5F5;
    --white:        #FFFFFF;
    --border:       #E0E0E0;
    --wa:           #25D366;
    --font-body:    'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
    --ease:         cubic-bezier(.4,0,.2,1);
    --ease-spring:  cubic-bezier(.34,1.56,.64,1);
    --r:            10px;
    --r-lg:         16px;
    --rsm:          6px;
}


/* ── RESET + BASE ─────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box }
html, body { overflow-x: hidden; scroll-behavior: smooth }
body  { font-family: var(--font-body); background: var(--white); color: var(--gray-900); -webkit-font-smoothing: antialiased }
img   { max-width: 100%; height: auto; display: block }
a     { text-decoration: none; color: inherit }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none }

.wrap { max-width: 1380px; margin: 0 auto; padding: 0 32px }


/* ── REVEAL ───────────────────────────────────────────────── */
.vdt-reveal {
    opacity: 0; transform: translateY(24px);
    transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.vdt-reveal.vdt-in { opacity: 1; transform: translateY(0) }

/* Stagger delays for similar cards */
.vdt-d1 { transition-delay: .08s }
.vdt-d2 { transition-delay: .17s }
.vdt-d3 { transition-delay: .26s }
.vdt-d4 { transition-delay: .35s }
.vdt-sim-card.vdt-in { transition-delay: 0s !important }


/* ── SHARED EYEBROW ───────────────────────────────────────── */
.vdt-eyebrow-sm {
    display: block;
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 3px; color: var(--gray-400); margin-bottom: 8px;
}


/* ── SHARED SECTION TITLE ─────────────────────────────────── */
.vdt-section-title {
    font-family: var(--font-display);
    font-size: clamp(18px, 2.2vw, 26px);
    font-weight: 700; color: var(--gray-900); line-height: 1.15;
    margin-bottom: 20px; padding-bottom: 14px;
    border-bottom: 2px solid var(--gray-100);
}
.vdt-section-title--lg {
    font-size: clamp(24px, 3vw, 36px);
    margin-bottom: 10px; padding-bottom: 0; border-bottom: none;
}
.vdt-section-title em { font-style: italic; color: var(--gray-900) }


/* ════════════════════════════════════════════════════════════
   TOPBAR — breadcrumb
════════════════════════════════════════════════════════════ */
.vdt-topbar {
    background: var(--gray-50);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    animation: vdtFadeDown .4s var(--ease) both;
}
@keyframes vdtFadeDown {
    from { opacity: 0; transform: translateY(-8px) }
    to   { opacity: 1; transform: translateY(0) }
}
.vdt-crumb {
    display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
    font-size: 11px; font-weight: 500; color: var(--gray-400);
}
.vdt-crumb a       { color: var(--gray-400); transition: color .2s }
.vdt-crumb a:hover { color: var(--gray-900) }
.vdt-crumb span    { color: var(--gray-300) }
.vdt-crumb span[aria-current] { color: var(--gray-600) }


/* ════════════════════════════════════════════════════════════
   PAGE LAYOUT
════════════════════════════════════════════════════════════ */
.vdt-page    { padding: 40px 0 80px }
.vdt-main-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: flex-start;
}
.vdt-detail-col { min-width: 0 }


/* ════════════════════════════════════════════════════════════
   GALLERY
════════════════════════════════════════════════════════════ */
.vdt-gallery { margin-bottom: 28px }

.vdt-gallery-main {
    position: relative;
    aspect-ratio: 16/10;
    border-radius: var(--r-lg); overflow: hidden;
    background: var(--gray-100);
    border: 1px solid var(--border);
    cursor: zoom-in;
    margin-bottom: 10px;
}
#vdtMainImg {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    transition: opacity .24s var(--ease), transform .24s var(--ease);
    display: block;
}
#vdtMainImg.vdt-fading { opacity: 0; transform: scale(.98) }

.vdt-img-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.22) 0%, transparent 38%);
    pointer-events: none;
}

/* Deal badge on main image */
.vdt-gallery-badge {
    position: absolute; top: 14px; left: 14px; z-index: 2;
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 13px; border-radius: 20px;
    font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
}
.vdt-gallery-badge--deal { background: var(--black); color: var(--white) }
.vdt-gallery-badge svg { width: 11px; height: 11px }

/* Image counter */
.vdt-img-counter {
    position: absolute; bottom: 14px; right: 14px; z-index: 2;
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 12px; border-radius: 20px;
    background: rgba(0,0,0,.68); border: 1px solid rgba(255,255,255,.15);
    font-size: 11px; font-weight: 600; color: var(--white);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.vdt-img-counter svg { width: 13px; height: 13px }

/* Nav arrows — light circles on image */
.vdt-gallery-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%; z-index: 3;
    background: rgba(255,255,255,.88); border: 1px solid rgba(0,0,0,.08);
    display: flex; align-items: center; justify-content: center;
    color: var(--black);
    opacity: 0;
    transition: opacity .2s, background .2s, transform .2s var(--ease-spring);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.vdt-gallery-nav svg { width: 18px; height: 18px }
.vdt-gallery-nav--prev { left: 14px }
.vdt-gallery-nav--next { right: 14px }
.vdt-gallery-main:hover .vdt-gallery-nav { opacity: 1 }
.vdt-gallery-nav:hover {
    background: var(--white); border-color: rgba(0,0,0,.15);
    transform: translateY(-50%) scale(1.06);
}

/* Zoom button */
.vdt-zoom-btn {
    position: absolute; top: 14px; right: 14px; z-index: 3;
    width: 38px; height: 38px; border-radius: var(--rsm);
    background: rgba(255,255,255,.88); border: 1px solid rgba(0,0,0,.08);
    display: flex; align-items: center; justify-content: center; color: var(--black);
    opacity: 0; transition: opacity .2s, background .2s;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.vdt-zoom-btn svg { width: 15px; height: 15px }
.vdt-gallery-main:hover .vdt-zoom-btn { opacity: 1 }
.vdt-zoom-btn:hover { background: var(--white); border-color: rgba(0,0,0,.18) }

/* Thumbnail strip */
.vdt-thumbs {
    display: flex; gap: 8px;
    overflow-x: auto; padding: 4px 0 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--gray-300) transparent;
}
.vdt-thumbs::-webkit-scrollbar { height: 3px }
.vdt-thumbs::-webkit-scrollbar-track { background: transparent }
.vdt-thumbs::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px }

.vdt-thumb {
    flex-shrink: 0; width: 84px; height: 58px;
    border-radius: var(--rsm); overflow: hidden;
    border: 2px solid transparent; background: var(--gray-100);
    padding: 0; cursor: pointer;
    transition: border-color .2s, transform .2s var(--ease-spring), box-shadow .2s;
}
.vdt-thumb img { width: 100%; height: 100%; object-fit: cover; pointer-events: none }
.vdt-thumb:hover:not(.active) { border-color: var(--gray-400); transform: translateY(-2px) }
.vdt-thumb.active {
    border-color: var(--gray-900);
    box-shadow: 0 0 0 3px rgba(0,0,0,.10);
    transform: translateY(-2px);
}


/* ════════════════════════════════════════════════════════════
   VEHICLE IDENTITY
════════════════════════════════════════════════════════════ */
.vdt-identity { margin-bottom: 32px }

.vdt-identity-meta {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
    margin-bottom: 14px;
    animation: vdtFadeUp .6s .1s var(--ease) both;
}
@keyframes vdtFadeUp {
    from { opacity: 0; transform: translateY(12px) }
    to   { opacity: 1; transform: translateY(0) }
}

.vdt-brand-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 12px 5px 8px; border-radius: 20px;
    background: var(--white); border: 1px solid var(--border);
    font-size: 11px; font-weight: 600; color: var(--gray-700);
    transition: border-color .2s;
}
.vdt-brand-pill:hover { border-color: var(--gray-400) }
.vdt-brand-pill img { width: 22px; height: 22px; object-fit: contain }

.vdt-cat-tag {
    display: inline-flex; align-items: center;
    padding: 5px 12px; border-radius: 20px;
    background: var(--gray-100); border: 1px solid var(--border);
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; color: var(--gray-700);
    transition: background .2s, border-color .2s;
}
.vdt-cat-tag:hover { background: var(--gray-200); border-color: var(--gray-400) }

.vdt-year-tag {
    display: inline-flex; align-items: center;
    padding: 5px 12px; border-radius: 20px;
    background: var(--gray-100); border: 1px solid var(--border);
    font-size: 10px; font-weight: 600; color: var(--gray-500);
}

.vdt-vehicle-title {
    font-family: var(--font-display);
    font-size: clamp(26px, 4vw, 52px);
    font-weight: 700; color: var(--gray-900); line-height: 1.1;
    animation: vdtFadeUp .7s .18s var(--ease) both;
}


/* ════════════════════════════════════════════════════════════
   SPECS GRID
════════════════════════════════════════════════════════════ */
.vdt-specs-section { margin-bottom: 36px }

.vdt-specs-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}

.vdt-spec-item {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; padding: 20px 12px;
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--r);
    transition: border-color .24s, transform .24s var(--ease-spring), box-shadow .24s;
}
.vdt-spec-item:hover {
    border-color: var(--gray-400); transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.vdt-spec-icon {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--gray-100); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-700); margin-bottom: 10px; flex-shrink: 0;
    transition: background .24s, transform .24s var(--ease-spring);
}
.vdt-spec-icon svg { width: 18px; height: 18px }
.vdt-spec-item:hover .vdt-spec-icon { background: var(--gray-200); transform: scale(1.08) }
.vdt-spec-val { font-size: 13px; font-weight: 700; color: var(--gray-900); margin-bottom: 3px }
.vdt-spec-key { font-size: 10px; font-weight: 600; color: var(--gray-400); text-transform: uppercase; letter-spacing: 1px }


/* ════════════════════════════════════════════════════════════
   DESCRIPTION
════════════════════════════════════════════════════════════ */
.vdt-desc-section { margin-bottom: 36px }
.vdt-desc-body {
    font-size: 14px; font-weight: 400; color: var(--gray-600);
    line-height: 1.85;
}


/* ════════════════════════════════════════════════════════════
   TRUST SECTION
════════════════════════════════════════════════════════════ */
.vdt-trust-section { margin-bottom: 36px }
.vdt-trust-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.vdt-trust-item {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 14px; border-radius: var(--rsm);
    background: var(--gray-50); border: 1px solid var(--border);
    font-size: 12px; font-weight: 500; color: var(--gray-700);
    transition: border-color .2s;
}
.vdt-trust-item:hover { border-color: var(--gray-400) }
.vdt-trust-item svg { width: 15px; height: 15px; color: var(--gray-700); flex-shrink: 0 }


/* ════════════════════════════════════════════════════════════
   BOOKING CARD
════════════════════════════════════════════════════════════ */
.vdt-book-card {
    position: sticky; top: 88px;
    background: var(--white);
    border: 1.5px solid var(--gray-100);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(0,0,0,.12);
    animation: vdtCardIn .6s .25s var(--ease) both;
}
@keyframes vdtCardIn {
    from { opacity: 0; transform: translateY(20px) }
    to   { opacity: 1; transform: translateY(0) }
}

/* Dark header */
.vdt-book-header {
    background: var(--gray-900);
    padding: 22px 24px;
}
.vdt-book-eyebrow {
    display: block;
    font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--gray-400);
    margin-bottom: 6px;
}
.vdt-book-htitle {
    font-family: var(--font-display);
    font-size: 17px; font-weight: 700; color: var(--white);
    line-height: 1.35; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.vdt-book-deal-badge {
    display: inline-flex; align-items: center; gap: 4px;
    margin-top: 10px;
    padding: 4px 10px; border-radius: 20px;
    background: rgba(255,255,255,.15); color: var(--white);
    font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    border: 1px solid rgba(255,255,255,.25);
}
.vdt-book-deal-badge svg { width: 9px; height: 9px }

/* Body inner padding */
.vdt-book-body { padding: 22px 24px }

/* Spec grid 2×2 */
.vdt-book-specs {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    margin-bottom: 20px;
}
.vdt-book-spec {
    display: flex; align-items: center; gap: 10px;
    background: var(--gray-50); border: 1px solid var(--gray-100);
    border-radius: 10px; padding: 11px 12px;
}
.vdt-book-spec-ic {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--gray-900); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.vdt-book-spec-ic svg { width: 14px; height: 14px }
.vdt-book-spec-info { display: flex; flex-direction: column; gap: 1px; min-width: 0 }
.vdt-book-spec-label {
    font-size: 9px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .8px; color: var(--gray-400); line-height: 1;
}
.vdt-book-spec-val {
    font-size: 13px; font-weight: 700; color: var(--gray-900);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.vdt-book-divider { height: 1px; background: var(--border); margin-bottom: 18px }

/* CTA buttons */
.vdt-book-ctas { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px }
.vdt-book-cta {
    display: flex; align-items: center; justify-content: center; gap: 9px;
    padding: 14px 20px; border-radius: 8px;
    font-family: var(--font-body); font-size: 13px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .7px;
    transition: opacity .2s, transform .2s var(--ease-spring), box-shadow .2s;
}
.vdt-book-cta svg { width: 16px; height: 16px; flex-shrink: 0 }
.vdt-book-cta--primary { background: var(--black); color: var(--white) }
.vdt-book-cta--primary:hover { opacity: .85; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.18) }
.vdt-book-cta--wa { background: #25D366; color: var(--white) }
.vdt-book-cta--wa:hover { opacity: .9; transform: translateY(-2px) }
.vdt-book-cta--ghost { background: transparent; border: 1.5px solid var(--border); color: var(--gray-700) }
.vdt-book-cta--ghost:hover { border-color: var(--gray-700); color: var(--gray-900); transform: translateY(-2px) }

/* Trust row */
.vdt-book-trust {
    display: flex; justify-content: space-between;
    padding-top: 16px; border-top: 1px solid var(--border);
    gap: 4px;
}
.vdt-book-trust-item {
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    flex: 1; text-align: center;
    font-size: 9px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .5px; color: var(--gray-500); line-height: 1.2;
}
.vdt-book-trust-item svg { width: 15px; height: 15px; color: var(--gray-700) }


/* ════════════════════════════════════════════════════════════
   SIMILAR VEHICLES
════════════════════════════════════════════════════════════ */
.vdt-similar {
    border-top: 1px solid var(--border);
    padding: 64px 0 80px;
    background: var(--white);
}
.vdt-similar-header {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 20px; margin-bottom: 40px; flex-wrap: wrap;
}
.vdt-see-all {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; color: var(--gray-700);
    padding: 8px 20px; border: 1.5px solid var(--border);
    border-radius: var(--rsm);
    transition: border-color .2s, color .2s, gap .2s, transform .2s var(--ease-spring);
    flex-shrink: 0;
}
.vdt-see-all:hover { border-color: var(--gray-400); color: var(--gray-900); gap: 11px; transform: translateY(-1px) }
.vdt-see-all svg   { width: 13px; height: 13px }

/* Grid */
.vdt-sim-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}

/* ── Card — mirrors ac-card / fv-card exactly ── */
.vdt-sim-card {
    border: 2px solid #2a2a2a;
    border-radius: 14px;
    overflow: hidden;
    background: var(--white);
    display: flex; flex-direction: column;
    opacity: 0; transform: translateY(28px);
    transition: opacity .6s var(--ease), transform .6s var(--ease), box-shadow .32s;
}
.vdt-sim-card.vdt-in { opacity: 1; transform: none }
.vdt-sim-card.vdt-in:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,.12) }

/* Image outer 16:9 */
.vdt-sim-img-outer {
    aspect-ratio: 16/9; position: relative; overflow: hidden;
    background: var(--gray-100); flex-shrink: 0;
}
.vdt-sim-img-wrap { position: absolute; inset: 0; display: block }
.vdt-sim-gallery-img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .6s var(--ease), opacity .25s var(--ease);
}
.vdt-sim-card:hover .vdt-sim-gallery-img { transform: scale(1.04) }

/* Deal badge */
.vdt-sim-deal-badge {
    position: absolute; top: 10px; left: 10px; z-index: 2;
    background: var(--black); color: var(--white);
    font-size: 9px; font-weight: 800; text-transform: uppercase;
    letter-spacing: 1.2px; padding: 4px 10px; border-radius: 5px;
}

/* Gallery arrows — same as fv-arr */
.vdt-sim-arr {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(0,0,0,.52); color: var(--white);
    border: none; cursor: pointer;
    opacity: 0; z-index: 5;
    transition: opacity .2s, background .2s;
    display: flex; align-items: center; justify-content: center;
}
.vdt-sim-arr-prev { left: 10px }
.vdt-sim-arr-next { right: 10px }
.vdt-sim-card:hover .vdt-sim-arr { opacity: 1 }
.vdt-sim-arr:hover { background: rgba(0,0,0,.78) }
.vdt-sim-arr svg { width: 14px; height: 14px }
@media (hover: none) { .vdt-sim-arr { opacity: 1 } }

/* Dark namebar */
.vdt-sim-namebar {
    background: #111111; padding: 13px 14px; min-height: 64px;
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.vdt-sim-title-link { text-decoration: none; flex: 1; min-width: 0 }
h3.vdt-sim-title {
    font-family: var(--font-body); font-size: 13px; font-weight: 700; color: var(--white);
    text-align: left; line-height: 1.4; margin: 0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vdt-sim-brand-logo {
    width: 36px; height: 36px;
    object-fit: contain; flex-shrink: 0;
    border-radius: 6px; padding: 3px;
    background: rgba(255,255,255,.92);
}

/* Light body */
.vdt-sim-body {
    background: #f7f7f7; padding: 14px;
    display: flex; flex-direction: column; gap: 12px; flex: 1;
}

/* Specs strip — horizontal white pill */
.vdt-sim-specs-strip {
    background: var(--white);
    border-radius: 10px; padding: 9px;
    display: flex; align-items: center; gap: 0;
    box-shadow: 0 1px 6px rgba(0,0,0,.09);
}
.vdt-sim-si {
    flex: 1;
    display: flex; align-items: center; justify-content: center;
    gap: 2px;
    font-size: 8px; font-weight: 700;
    color: var(--gray-900);
    white-space: nowrap; min-width: 0;
}
.vdt-sim-si span { overflow: hidden; text-overflow: ellipsis; }
.vdt-sim-si svg { width: 11px; height: 11px; flex-shrink: 0; color: var(--gray-700) }

/* Action buttons */
.vdt-sim-actions { display: flex; gap: 8px }
.vdt-sim-btn {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 10px 6px; border-radius: 4px;
    font-size: 12px; font-weight: 700; text-decoration: none;
    transition: opacity .2s;
}
.vdt-sim-btn:hover { opacity: .85 }
.vdt-sim-btn-call { background: var(--black); color: var(--white) }
.vdt-sim-btn-wa   { background: #25D366; color: var(--white) }
.vdt-sim-btn svg  { width: 16px; height: 16px; flex-shrink: 0 }


/* ════════════════════════════════════════════════════════════
   LIGHTBOX
════════════════════════════════════════════════════════════ */
.vdt-lightbox {
    position: fixed; inset: 0; z-index: 9000;
    background: rgba(0,0,0,.95);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity .3s var(--ease);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.vdt-lightbox.vdt-lb-open { opacity: 1; pointer-events: all }

.vdt-lb-content {
    position: relative; max-width: 92vw; max-height: 88vh;
    display: flex; align-items: center; justify-content: center;
}
#vdtLbImg {
    max-width: 92vw; max-height: 86vh;
    object-fit: contain; border-radius: var(--rsm);
    box-shadow: 0 24px 80px rgba(0,0,0,.8);
    transition: opacity .22s var(--ease);
}
#vdtLbImg.vdt-fading { opacity: 0 }

.vdt-lb-close {
    position: fixed; top: 20px; right: 20px; z-index: 9001;
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(30,30,30,.90); border: 1px solid rgba(255,255,255,.15);
    display: flex; align-items: center; justify-content: center; color: var(--white);
    transition: background .2s, transform .2s var(--ease-spring);
}
.vdt-lb-close:hover { background: rgba(60,60,60,.95); transform: scale(1.08) }
.vdt-lb-close svg { width: 20px; height: 20px }

.vdt-lb-nav {
    position: fixed; top: 50%; transform: translateY(-50%);
    width: 52px; height: 52px; border-radius: 50%; z-index: 9001;
    background: rgba(30,30,30,.90); border: 1px solid rgba(255,255,255,.15);
    display: flex; align-items: center; justify-content: center; color: var(--white);
    transition: background .2s, transform .2s var(--ease-spring);
}
.vdt-lb-nav:hover { background: rgba(60,60,60,.95); transform: translateY(-50%) scale(1.06) }
.vdt-lb-nav svg { width: 22px; height: 22px }
.vdt-lb-prev { left: 20px }
.vdt-lb-next { right: 20px }

.vdt-lb-counter {
    position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
    font-size: 13px; font-weight: 600; color: rgba(255,255,255,.7);
    background: rgba(0,0,0,.6); padding: 6px 16px; border-radius: 20px;
    border: 1px solid rgba(255,255,255,.10);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}


/* ════════════════════════════════════════════════════════════
   MOBILE STICKY BOOKING BAR
════════════════════════════════════════════════════════════ */
.vdt-mobile-bar {
    display: none;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 800;
    background: var(--white);
    border-top: 2px solid var(--gray-900);
    padding: 10px 16px; gap: 12px;
    align-items: center; justify-content: space-between;
    box-shadow: 0 -4px 20px rgba(0,0,0,.12);
    transform: translateY(100%);
    transition: transform .32s var(--ease);
}
.vdt-mobile-bar--visible { transform: translateY(0) }

.vdt-mobile-bar-price strong { font-size: 18px; font-weight: 800; color: var(--gray-900) }
.vdt-mobile-bar-price span   { font-size: 11px; color: var(--gray-400); margin-left: 2px }

.vdt-mobile-bar-ctas { display: flex; gap: 8px }
.vdt-mb-cta {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 18px; border-radius: var(--rsm);
    font-family: var(--font-body); font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .6px; white-space: nowrap;
    transition: opacity .2s, transform .2s var(--ease-spring);
}
.vdt-mb-cta svg { width: 14px; height: 14px }
.vdt-mb-cta--call { background: var(--black); color: var(--white) }
.vdt-mb-cta--call:hover { opacity: .85; transform: translateY(-1px) }
.vdt-mb-cta--wa { background: #25D366; color: var(--white) }
.vdt-mb-cta--wa:hover { opacity: .9 }


/* ════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */
@media (max-width: 1280px) {
    .vdt-main-grid { grid-template-columns: 1fr 340px; gap: 32px }
    .vdt-sim-grid  { grid-template-columns: repeat(3, 1fr) }
}

@media (max-width: 960px) {
    .wrap { padding: 0 20px }
    .vdt-main-grid { grid-template-columns: 1fr; gap: 28px }
    .vdt-book-card { position: static; top: auto }
    .vdt-book-col  { order: -1 }
    .vdt-mobile-bar { display: flex }
    body { padding-bottom: 72px }
    .vdt-sim-grid { grid-template-columns: repeat(2, 1fr) }
    .vdt-trust-grid { grid-template-columns: repeat(2, 1fr) }
}

@media (max-width: 768px) {
    .vdt-page { padding: 24px 0 60px }
    .vdt-gallery-nav { display: none }
    .vdt-thumb { width: 70px; height: 48px }
    .vdt-specs-grid { grid-template-columns: repeat(2, 1fr) }
    .vdt-book-col { order: unset }
}

@media (max-width: 640px) {
    .vdt-sim-grid { grid-template-columns: 1fr }
    .vdt-trust-grid { grid-template-columns: 1fr }
    .vdt-book-ctas .vdt-book-cta { padding: 12px 16px; font-size: 12px }
    .vdt-lb-nav { width: 42px; height: 42px }
    .vdt-lb-prev { left: 8px }
    .vdt-lb-next { right: 8px }
    .vdt-lb-close { top: 12px; right: 12px }
    .vdt-similar-header { flex-direction: column; align-items: flex-start }
    .vdt-see-all { align-self: flex-start }
}

@media (max-width: 420px) {
    .wrap { padding: 0 14px }
    .vdt-vehicle-title { font-size: clamp(24px, 8vw, 36px) }
    .vdt-specs-grid { grid-template-columns: repeat(2, 1fr); gap: 8px }
    .vdt-spec-item  { padding: 14px 8px }
    .vdt-book-card  { padding: 20px 16px }
    .vdt-thumb      { width: 58px; height: 40px }
    .vdt-mb-cta     { padding: 9px 14px; font-size: 11px }
    .vdt-sim-body   { padding: 12px }
}

@media (max-width: 360px) {
    .wrap { padding: 0 12px }
    .vdt-mobile-bar-ctas { gap: 6px }
    .vdt-mb-cta { padding: 9px 12px }
}


/* ════════════════════════════════════════════════════════════
   REDUCED MOTION
════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .vdt-reveal     { opacity: 1; transform: none; transition: none }
    .vdt-sim-card   { opacity: 1; transform: none; transition: none }
    #vdtMainImg     { transition: opacity .1s }
    .vdt-spec-item,
    .vdt-thumb      { transition: border-color .15s }
    .vdt-lightbox   { transition: opacity .15s }
    .vdt-mobile-bar { transition: transform .15s }
}
