/* ADS DETAIL PAGE - v4 layout utilities */

/* ── Car Specifications Modal (Figma 3818:1200) ─────────────── */

.v4-specs-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(29, 29, 30, 0.95);
    z-index: 1060;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.v4-specs-modal-overlay.open {
    display: flex;
}

.v4-specs-modal {
    background: #fff;
    border-radius: 16px;
    width: 824px;
    max-width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 24px 60px 0px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

/* Header */
.v4-specs-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    height: 64px;
    flex-shrink: 0;
}

.v4-specs-modal__spacer {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.v4-specs-modal__title {
    font-size: 18px;
    color: #1d1d1e;
    text-align: center;
    margin: 0;
    letter-spacing: 0;
}

.v4-specs-modal__close {
    width: 32px;
    height: 32px;
    border-radius: 100px;
    background: #f1f5f9;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s;
}

.v4-specs-modal__close:hover { background: #e2e8f0; }

.v4-specs-modal__header-sep {
    height: 1px;
    background: #f1f5f9;
    flex-shrink: 0;
}

/* Body */
.v4-specs-modal__body {
    padding: 0 24px;
    overflow-y: auto;
    flex: 1;
}

.v4-specs-modal__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    flex-shrink: 0;
}

.v4-specs-modal__label {
    font-size: 14px;
    color: #64748b;
    letter-spacing: 0.16px;
    text-transform: uppercase;
}

.v4-specs-modal__value {
    font-size: 14px;
    color: #1d1d1e;
    letter-spacing: 0.16px;
    text-align: right;
}

.v4-specs-modal__row-sep {
    height: 0;
    border-top: 1px dashed #e2e8f0;
    flex-shrink: 0;
}

/* Mobile: full-screen bottom sheet feel */
@media (max-width: 767px) {
    .v4-specs-modal-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .v4-specs-modal {
        width: 100%;
        max-width: 100%;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        max-height: 80vh;
    }
}

/* Two-column row — zero Bootstrap gutter to keep left edge
   aligned with breadcrumb/gallery above */
.ads-two-col {
    --bs-gutter-x: 0;
}

/* On lg+ screens: side-by-side with 24px gap.
   Use calc() so columns + gap = exactly 100%:
   (66.666% - 16px) + 24px + (33.333% - 8px) = 100% */
@media (min-width: 992px) {
    .ads-two-col {
        flex-wrap: nowrap;
        gap: 24px;
    }

    .ads-two-col > .col-lg-8 {
        flex: 1 1 calc(66.666% - 16px);
        max-width: calc(66.666% - 16px);
        min-width: 0;
    }

    .ads-two-col > .col-lg-4 {
        flex: 0 0 calc(33.333% - 8px);
        max-width: calc(33.333% - 8px);
    }
}

/* Prevents flex children from overflowing their container */
.ads-main-col {
    min-width: 0;
}

/* Fixed-width sidebar */
.ads-sidebar-col {
    width: 400px;
    flex-shrink: 0;
}

/* ── Breadcrumb bar ──────────────────────────────────────────── */
.v4-crumb-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(248, 250, 252, 0.2);
    text-decoration: none;
    flex-shrink: 0;
}

.v4-crumb-action {
    display: flex;
    width: 48px;
    height: 48px;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;
    border-radius: 100px;
    background: rgba(248, 250, 252, 0.20);
}

.v4-breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

.v4-breadcrumb li + li::before {
    content: '/';
    margin: 0 6px;
    color: #1d1d1e;
    font-size: 14px;
}

.v4-breadcrumb li a {
    color: #1d1d1e;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.16px;
}

.v4-breadcrumb li a:hover {
    text-decoration: underline;
}

.v4-breadcrumb__current {
    color: #64748b;
    font-size: 14px;
    letter-spacing: 0.16px;
}

/* ── Gallery v4 ──────────────────────────────────────────────── */
.v4-gallery {
    position: relative;
    display: flex;
    gap: 8px;
    height: 500px;
    border-radius: 24px;
    overflow: hidden;
    background: #f1f5f9;
}

.v4-gallery__main {
    width: 616px;
    flex-shrink: 0;
    overflow: hidden;
    cursor: pointer;
}

.v4-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.v4-gallery__main--full {
    width: 100%;
}

.v4-gallery__thumbs {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
}

.v4-gallery__thumb {
    position: relative;
    background: #f1f5f9;
    overflow: hidden;
    cursor: pointer;
}

.v4-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dynamic span helpers */
.v4-gallery__thumb--span-all  { grid-column: 1 / -1; grid-row: 1 / -1; }
.v4-gallery__thumb--span-rows { grid-row: 1 / -1; }
.v4-gallery__thumb--span-cols { grid-column: 1 / -1; }

/* "N photos" badge overlay */
.v4-gallery__overlay {
    position: absolute;
    inset: 0;
    background: rgba(29, 29, 30, 0.5);
}

.v4-gallery__badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(248, 250, 252, 0.9);
    border-radius: 8px;
    padding: 7px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1e;
    letter-spacing: 0.16px;
    white-space: nowrap;
}

/* 360° / Video tabs */
.v4-gallery__tabs {
    position: absolute;
    bottom: 24px;
    left: 24px;
    display: flex;
    gap: 8px;
}

.v4-gallery__tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 34px;
    padding: 0 12px;
    background: rgba(248, 250, 252, 0.90);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1e;
    letter-spacing: 0.16px;
    cursor: pointer;
    white-space: nowrap;
}

/* ── 360° Viewer overlay ─────────────────────────────────────────── */
.v4-360-viewer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(29,29,30,.95);
    flex-direction: column;
    align-items: center;
}
.v4-360-viewer.active { display: flex; }
.v4-360-viewer__back {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,.15);
    border: none;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    color: #fff;
}
.v4-360-viewer__back:hover { background: rgba(255,255,255,.25); }
.v4-360-viewer__back svg { stroke: #fff; }
.v4-360-viewer__title {
    color: #fff;
    white-space: nowrap;
    margin: 0;
    z-index: 2;
}
.v4-360-viewer__toggle {
    position: absolute;
    top: 99px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 4px;
    z-index: 2;
}
.v4-360-viewer__tab {
    padding: 6px 12px;
    border: none;
    border-radius: 100px;
    background: transparent;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.32px;
    cursor: pointer;
    white-space: nowrap;
}
.v4-360-viewer__tab--active {
    background: #fff;
    color: #1d1d1e;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,.05);
}
.v4-360-viewer__area {
    position: absolute;
    top: 150px;
    bottom: 0;
    left: 0;
    right: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}
.v4-360-viewer__iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
.v4-360-viewer__hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(248,250,252,.9);
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1e;
    letter-spacing: 0.16px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
}
.v4-360-viewer__zoom {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border-radius: 12px;
    overflow: hidden;
    z-index: 2;
}
.v4-360-viewer__zoom-btn {
    width: 64px;
    height: 48px;
    border: none;
    background: transparent;
    font-size: 24px;
    font-weight: 600;
    color: #1d1d1e;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.v4-360-viewer__zoom-btn:hover { background: #e2e8f0; }
.v4-360-viewer__zoom-sep { width: 1px; height: 24px; background: #e2e8f0; flex-shrink: 0; }

/* ── Gallery Lightbox ────────────────────────────────────────────── */
.v4-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: #000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.v4-lightbox.active { display: flex; }

.v4-lightbox__grad-top {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 200px;
    background: linear-gradient(to bottom, rgba(0,0,0,.8), transparent);
    pointer-events: none;
    z-index: 1;
}
.v4-lightbox__grad-bottom {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 240px;
    background: linear-gradient(to top, rgba(0,0,0,.92), transparent);
    pointer-events: none;
    z-index: 1;
}
.v4-lightbox__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.v4-lightbox__video {
    display: none;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: min(900px, 90vw);
    height: min(506px, 50.6vw);
    border-radius: 12px;
    border: none;
    z-index: 2;
    background: #1d1d1e;
}
.v4-lightbox__header {
    position: absolute;
    top: 0; left: 0; right: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    z-index: 3;
}
.v4-lightbox__back {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: rgba(29,29,30,.9);
    border: none;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
}
.v4-lightbox__back:hover { background: rgba(29,29,30,1); }
.v4-lightbox__title {
    flex: 1;
    min-width: 0;
    font-weight: 600;
    color: #fff;
    margin: 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 767px) {
    .v4-lightbox__header { padding: 12px 16px; }
    .v4-lightbox__back { width: 36px; height: 36px; }
}
.v4-lightbox__counter {
    flex-shrink: 0;
    background: rgba(29,29,30,.9);
    border-radius: 20px;
    padding: 7px 14px;
    font-size: 14px;
    color: #fff;
    white-space: nowrap;
}
@media (max-width: 767px) {
    .v4-lightbox__counter {
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
        bottom: 92px;
        z-index: 3;
    }
}
.v4-lightbox__toggle {
    position: absolute;
    top: 75px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    background: rgba(29,29,30,.9);
    border-radius: 12px;
    padding: 4px;
    z-index: 3;
}
.v4-lightbox__toggle-btn {
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.32px;
    cursor: pointer;
    white-space: nowrap;
}
.v4-lightbox__toggle-btn--active {
    background: #fff;
    color: rgba(29,29,30,.9);
    border-radius: 8px;
}
.v4-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(29,29,30,.7);
    border: none;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    flex-shrink: 0;
}
.v4-lightbox__nav:hover { background: rgba(29,29,30,.95); }
.v4-lightbox__nav--prev { left: 96px; }
.v4-lightbox__nav--next { right: 96px; }
.v4-lightbox__nav:disabled { opacity: 0.3; cursor: default; }
@media (max-width: 767px) { .v4-lightbox__nav { display: none; } }
.v4-lightbox__thumbs {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
    max-width: calc(100vw - 192px);
    overflow-x: auto;
    padding-bottom: 4px;
}
.v4-lightbox__thumb {
    width: 135px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    border: 2px solid transparent;
    opacity: 0.7;
    transition: opacity .2s, border-color .2s;
}
.v4-lightbox__thumb--active { border-color: #fff; opacity: 1; }
.v4-lightbox__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 767px) { .v4-lightbox__thumbs { gap: 4px; max-width: calc(100vw - 16px); bottom: 12px; } .v4-lightbox__thumb { width: 72px; height: 48px; } }

.v4-lightbox__colors {
    position: absolute;
    top: 130px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(6px);
    border-radius: 100px;
    z-index: 3;
    overflow-x: auto;
    max-width: 90vw;
    scrollbar-width: none;
    empty-cells: hide;
}
.v4-lightbox__colors:empty { display: none; }
.v4-lightbox__colors::-webkit-scrollbar { display: none; }
.v4-lb-color-dot {
    width: 26px; height: 26px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: border-color .15s;
}
.v4-lb-color-dot__check { display: none; pointer-events: none; }
.v4-lb-color-dot--sel .v4-lb-color-dot__check { display: block; }
@media (max-width: 767px) { .v4-lightbox__colors { top: 130px; } }
/* ── Mobile gallery v4 */
.v4-gallery-mobile {
    position: relative;
    height: 280px;
    background: #f1f5f9;
    overflow: hidden;
}

.v4-gallery-mobile__swiper {
    height: 100%;
}

.v4-gallery-mobile__slide {
    height: 364px;
}

.v4-gallery-mobile__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.v4-gallery-mobile__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(18, 18, 18, 0.22), transparent);
    pointer-events: none;
    z-index: 1;
}

.v4-gallery-mobile__tabs {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.v4-gallery-mobile__tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 32px;
    padding: 0 8px;
    background: rgba(248, 250, 252, 0.9);
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #1d1d1e;
    letter-spacing: 0.32px;
    cursor: pointer;
}

.v4-gallery-mobile__counter {
    position: absolute;
    bottom: 20px;
    right: 16px;
    height: 24px;
    padding: 0 8px;
    background: rgba(248, 250, 252, 0.9);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #1d1d1e;
    letter-spacing: 0.32px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    z-index: 2;
}

/* ── Thumbnail strip v4 ────────────────────────────────────────── */
.v4-thumb-strip {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: #fff;
}

.v4-thumb-strip::-webkit-scrollbar { display: none; }

.v4-thumb-strip__thumb {
    width: 72px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f5f9;
    cursor: pointer;
    border: 0.5px solid transparent;
    transition: border-color 0.2s;
}

.v4-thumb-strip__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.v4-thumb-strip__thumb--active { border-color: #1d1d1e; }
.v4-thumb-strip__thumb--fade   { opacity: 0.5; }

/* ── Overview card v4 ────────────────────────────────────────── */
.v4-overview {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    overflow: hidden;
}

.v4-overview__top {
    padding: 15px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.v4-overview__badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Status badge pills */
.v4-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px 4px 8px;
    border-radius: 6px;
    font-size: 14px;
    letter-spacing: 0.16px;
    white-space: nowrap;
}

.v4-badge--inspected {
    background: #e6f7ed;
    color: #00af48;
}

.v4-badge--warrantied {
    background: #fef9e3;
    color: #1d1d1e;
}

.v4-badge--private {
    color: #2B9EBA;
    background: #EAF5F8;
}

.v4-badge--certified,
.v4-badge--franchise {
    background: #ecf5f8;
    color: #2b9eba;
}

/* Dealer name group (logo + text, no badge pill) */
.v4-dealer-name-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.v4-dealer-name-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.v4-dealer-name-row .v4-badge { flex-shrink: 0; }

.v4-dealer-logo {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 4px;
    object-fit: contain;
    flex-shrink: 0;
}

.v4-dealer-name {
    font-size: 12px;
    color: #1d1d1e;
    letter-spacing: 0.32px;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .v4-dealer-name-group {
        flex-shrink: 1;
        min-width: 0;
    }

    .v4-dealer-name-row {
        flex-wrap: nowrap;
        max-width: 100%;
    }

    .v4-dealer-name {
        white-space: normal;
        min-width: 0;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }
}

.v4-badge-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 2px;
    cursor: pointer;
    border-radius: 50%;
}

/* Car title */
.v4-overview__title {
    color: #1D1D1E;
  
    font-size: 28px;
    line-height: normal;
    letter-spacing: -0.16px;
}

/* Divider */
.v4-overview__divider {
    height: 1px;
    background: #f1f5f9;
}

@media (max-width: 767px) {
    .v4-overview { border-radius: 0; }
    .v4-overview__top { padding: 15px 16px 0px 16px; gap: 8px; }
    .v4-overview__title { font-size: 18px; }
    .v4-overview__divider { display: none; }
}

/* Stat pills row */
.v4-overview__stats-scroller {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.v4-overview__stats {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px 24px;
    flex-wrap: nowrap;
}

@media (max-width: 767px) {
    .v4-overview__stats { padding: 12px 16px; }
}

.v4-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 100px;
    border: 1px solid #f1f5f9;
    background: #fff;
    font-size: 14px;
    font-weight: 400;
    color: #1d1d1e;
    white-space: nowrap;
}

/*.v4-stat-pill img {*/
/*    width: 14px;*/
/*    !*height: 14px;*!*/
/*    flex-shrink: 0;*/
/*}*/

.v4-stat-pill--filled {
    background: #f1f5f9;
    padding: 6px 12px;
}

/* ── Car overview card v4 (Figma 4021:1573) ─────────────────── */

.v4-card-sep {
    border: none;
    border-top: 1px solid #f1f5f9;
    margin: 0;
}

@media (max-width: 767px) {
    .v4-card-sep { display: none; }
}

.v4-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    gap: 12px;
}

.v4-card-title {
    font-size: 18px;
    letter-spacing: 0.16px;
    margin: 0;
   
    color: var(--Black, #1D1D1E);
    line-height: normal;
}

/* Pill CTA button */
.v4-cta-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 24px;
    background: #fff;
    border: 2px solid #f1f5f9;
    border-radius: 100px;
    font-size: 14px;
    color: #1d1d1e;
    letter-spacing: 0.16px;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
}

.v4-cta-pill:hover {
    background: #f8fafc;
    color: #1d1d1e;
    text-decoration: none;
}

/* Spec tile row */
.v4-spec-tile-row {
    display: flex;
    gap: 16px;
    padding: 20px 24px;
    flex-wrap: wrap;
}

.v4-spec-tile-row::-webkit-scrollbar { display: none; }

/* Individual spec tile card */
.v4-spec-tile-card {
    flex: 0 0 calc((100% - 32px) / 3);
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
@media (max-width: 1024px) {
    .v4-spec-tile-row { gap: 12px; padding: 16px; flex-wrap: wrap; }
    .v4-spec-tile-card { flex: 0 0 calc(50% - 6px); min-width: unset; padding: 12px; }
}

.v4-spec-tile-card__text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.v4-spec-tile-card__label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.32px;
}

.v4-spec-tile-card__value {
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1e;
    letter-spacing: 0.16px;
    word-break: break-word;
}

.v4-spec-tile-card__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Description block */
.v4-description {
    padding: 20px 24px;
}

.v4-description__text {
    font-size: 14px;
    line-height: 1.65;
    color: #64748b;
    margin: 0;
}

@media (max-width: 767px) {
    .v4-description { padding: 16px; }
}

.v4-mobile-gap-8 { display: none; }
@media (max-width: 767px) {
    .v4-mobile-gap-8 {
        display: block;
        height: 8px;
        background: #F1F5F9;
        width: 100vw;
        margin-left: calc(50% - 50vw);
    }
}

/* ── Car features card (Figma 3773:10526) ────────────────── */

.v4-features-subtitle {
    font-size: 14px;
    font-weight: 400;
    color: #64748b;
    margin: 4px 0 0;
    letter-spacing: 0;
}

.v4-features-subtitle strong {
    font-weight: 600;
    color: #64748b;
}

.v4-features-body {
    display: flex;
    gap: 24px;
    padding: 24px;
    align-items: flex-start;
}

.v4-features-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.v4-features-row {
    cursor: pointer;
}

.v4-features-row__header {
    height: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.v4-features-row__name {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1e;
    letter-spacing: 0.16px;
    min-width: 0;
   

}

.v4-features-badge {
    background: #f1f5f9;
    padding: 4px 8px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 400;
    color: #1d1d1e;
    letter-spacing: 0.16px;
    white-space: nowrap;
    flex-shrink: 0;
}

.v4-features-chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.v4-features-row-sep {
    height: 0;
    border-top: 1px dashed #e2e8f0;
}

@media (max-width: 767px) {
    .v4-features-body {
        flex-direction: column;
        gap: 0;
        padding: 0 16px 16px;
    }
}

/* ── Car features modal (Figma 3824:578) ───────────────────── */

.v4-features-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(29, 29, 30, 0.95);
    z-index: 1060;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.v4-features-modal-overlay.open { display: flex; }

.v4-features-modal {
    background: #fff;
    border-radius: 16px;
    width: 824px;
    max-width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 24px 60px 0px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

/* Category tabs */
.v4-features-modal__tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    height: 52px;
    flex-shrink: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.v4-features-modal__tabs::-webkit-scrollbar { display: none; }

.v4-features-modal__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.32px;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    transition: background 0.15s, color 0.15s;
    flex-shrink: 0;
}

.v4-features-modal__tab--active {
    background: #f1f5f9;
    color: #1d1d1e;
}

.v4-features-modal__tab--inactive {
    background: #fff;
    border: 1px solid #f1f5f9;
    color: #64748b;
}

.v4-features-modal__tab--inactive:hover {
    background: #f8fafc;
}

/* Body */
.v4-features-modal__body {
    flex: 1;
    overflow-y: auto;
    padding: 0 24px 24px;
    min-height: 300px;
}

.v4-features-modal__panel { display: block; }

.v4-features-modal__row {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 50px;
}

.v4-features-modal__check { flex-shrink: 0; }

.v4-features-modal__name {
    font-size: 14px;
    font-weight: 400;
    color: #64748b;
    letter-spacing: 0;
}

.v4-features-modal__row-sep {
    height: 0;
    border-top: 1px dashed #e2e8f0;
}

.v4-features-modal__empty {
    padding: 24px 0;
    font-size: 14px;
    color: #94a3b8;
    text-align: center;
}

/* Mobile: bottom sheet (desktop only now — mobile uses full page) */
@media (max-width: 767px) {
    .v4-features-modal-overlay {
        align-items: flex-end;
        padding: 0;
    }
    .v4-features-modal {
        width: 100%;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        max-height: 85vh;
    }
    .v4-features-modal__tabs {
        justify-content: flex-start;
    }
}

/* ── Price panel v4 (Figma 3773:10675) (Figma 3773:10675) ────────────────────────── */

.v4-price-panel {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Demand notice */
.v4-price-panel__demand {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #eaf5f8;
    padding: 16px 24px;
    font-size: 14px;
    color: #1d1d1e;
}
.v4-price-panel__demand-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
}
@media (max-width: 767px) {
    .v4-price-panel__demand {
        /*height: 32px;*/
        padding: 8px 12px;
        margin: unset !important;
        background: #EAF5F8;
    }
}

/* Price section */
.v4-price-panel__section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
}

.v4-price-panel__price-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.v4-price-panel__price-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

/* Drop badge */
.v4-price-drop-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid #ffeceb;
    border-radius: 20px;
    padding: 2px 8px 2px 4px;
    font-size: 12px;
    font-weight: 600;
    color: #e60000;
    letter-spacing: 0.32px;
    width: fit-content;
}

.v4-price-drop-badge--sm {
    font-size: 10px;
    padding: 1px 6px 1px 3px;
    gap: 3px;
    letter-spacing: 0.16px;
}

.v4-price-drop-badge--sm svg { width: 10px; height: 10px; }

/* Price value row */
.v4-price-panel__price-value {
    display: flex;
    align-items: center;
    gap: 16px;
}

.v4-price-panel__price-main {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.v4-price-panel__from-label {
    font-size: 11px;
    color: #64748b;
    margin-inline-end: 2px;
    letter-spacing: 0.32px;
}

.v4-price-panel__amount {
    font-size: 28px;
    color: #1d1d1e;
    letter-spacing: -0.16px;
    line-height: 1;
}

.v4-price-panel__currency {
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1e;
    letter-spacing: 0.16px;
}

/* Track price bell button */
.v4-price-panel__track-btn {
    width: 32px;
    height: 32px;
    border-radius: 100px;
    background: #ebf3fe;
    border: 1px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s;
}

.v4-price-panel__track-btn:hover { background: #dbeafe; }

/* Strikethrough old price */
.v4-price-panel__old-price {
    font-size: 14px;
    font-weight: 400;
    color: #64748b;
    text-decoration: line-through;
    margin: 0;
}

/* Make offer button */
.v4-price-panel__make-offer {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    color: #003356;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s;
}

.v4-price-panel__make-offer:hover {
    background: #f8fafc;
    color: #003356;
    text-decoration: none;
}

/* Dashed separator */
.v4-price-sep--dashed {
    height: 0;
    border-top: 1px dashed #e2e8f0;
    flex-shrink: 0;
}

/* Finance estimate row */
.v4-price-panel__finance-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 24px;
}

.v4-price-panel__finance-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.v4-price-panel__finance-text {
    font-size: 14px;
    font-weight: 400;
    color: #1d1d1e;
    display: flex;
    align-items: baseline;
    gap: 2px;
    flex-wrap: wrap;
}

.v4-price-panel__finance-text strong {
    font-weight: 600;
    letter-spacing: 0.16px;
}

.v4-price-panel__preapprove {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    color: #3b82f6;
    letter-spacing: 0.16px;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.v4-price-panel__preapprove:hover { color: #2563eb; text-decoration: none; }

/* 4px thick separator between price and CTA */
.v4-price-panel__thick-sep {
    height: 4px;
    background: #f8fafc;
    flex-shrink: 0;
}

/* CTA section */
.v4-price-panel__cta-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
}

/* Primary CTA (green book car viewing / contact) */
.v4-cta-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px;
    background: #00af48;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s;
    text-align: center;
    box-sizing: border-box;
}

.v4-cta-primary:hover { background: #009940; color: #fff; text-decoration: none; }

.v4-cta-primary--navy { background: #003356; }
.v4-cta-primary--navy:hover { background: #004a7c; }

.v4-cta-primary--disabled {
    background: #f1f5f9;
    color: #94a3b8;
    cursor: default;
}

.v4-cta-primary--disabled:hover { background: #f1f5f9; color: #94a3b8; }

/* Call / Chat buttons */
.v4-price-panel__contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.v4-price-panel__contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1e;
    background: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    box-sizing: border-box;
}

.v4-price-panel__contact-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1d1d1e;
    text-decoration: none;
}

/* Sold state */
.v4-price-panel__sold-box {
    padding: 32px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.v4-price-panel__sold-box img { width: 48px; }
.v4-price-panel__sold-box p { font-size: 16px; font-weight: 600; color: #1d1d1e; margin: 0; }
.v4-price-panel__sold-box span { font-size: 14px; color: #64748b; }
.v4-price-panel__sold-box a { font-size: 14px; font-weight: 600; color: #003356; }

/* ── Trade-in banner (Figma 3785:13682) ───────────────────── */

.v4-tradein-card {
    border-radius: 16px;
    background: linear-gradient(180deg, #EAF5F8 100%, #FFF 100%);
    padding: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    overflow: hidden;
    gap: 12px;
}

.v4-tradein-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.v4-tradein-title {
    font-size: 18px;
    color: #1d1d1e;
    margin: 0 0 8px;
    line-height: 1.2;
}

.v4-tradein-title--red { color: #e60000; }

.v4-tradein-subtitle {
    font-size: 12px;
    font-weight: 400;
    color: #64748b;
    letter-spacing: 0.16px;
    margin: 0;
    line-height: 1.5;
}

.v4-tradein-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fff;
    border: none;
    border-radius: 100px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #003356;
    letter-spacing: 0.16px;
    text-decoration: none;
    cursor: pointer;
    width: fit-content;
    white-space: nowrap;
    transition: background 0.15s;
}

.v4-tradein-btn:hover {
    background: #f0f9ff;
    color: #003356;
    text-decoration: none;
}

/* Car illustration area */
.v4-tradein-cars {
    flex-shrink: 0;
    align-self: flex-end;
    display: flex;
    align-items: flex-end;
}

/*@media (max-width: 767px) {*/
/*    .v4-tradein-cars img { width: 100px; height: auto; }*/
/*}*/

/* ── Sticky nav bar ─────────────────────────────────────────── */
.v4-sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
    z-index: 1030;
    transform: translateY(-100%);
    transition: transform 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.v4-sticky-nav--visible { transform: translateY(0); }
.v4-sticky-nav__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    border-bottom: 1px solid #f1f5f9;
}
.v4-sticky-nav__back {
    width: 40px; height: 40px;
    background: #f1f5f9;
    border: none;
    border-radius: 100px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    color: #1d1d1e;
}
.v4-sticky-nav__back:hover { background: #e2e8f0; }
.v4-sticky-nav__center {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding: 0 12px;
}
.v4-sticky-nav__title {
    font-size: 16px;
    color: #1d1d1e;
    margin: 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    letter-spacing: 0.16px;
}
.v4-sticky-nav__price {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}
.v4-sticky-nav__price-current {
    font-size: 13px;
    font-weight: 600;
    color: #1d1d1e;
    letter-spacing: 0.16px;
}
.v4-sticky-nav__price-old {
    font-size: 12px;
    font-weight: 400;
    color: #94a3b8;
    text-decoration: line-through;
}
.v4-sticky-nav__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    flex-shrink: 0;
}
.v4-sticky-nav__action {
    width: 40px; height: 40px;
    background: none;
    border: none;
    border-radius: 100px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: #1d1d1e;
    padding: 0;
}
.v4-sticky-nav__action:hover { background: #f1f5f9; }
.v4-sticky-nav__tabs {
    display: flex;
    align-items: center;
    height: 56px;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}
.v4-sticky-nav__tabs::-webkit-scrollbar { display: none; }
.v4-sticky-tab {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 16px;
    border-radius: 8px;
    border: 1px solid var(--color-border, #F1F5F9);
    background: var(--elevation-surface, #FFF);
    color: var(--color-text-subtle, #64748B);
  
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.16px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.v4-sticky-tab:hover { color: #1d1d1e; text-decoration: none; }
.v4-sticky-tab--active {
    border-radius: 8px;
    background: var(--color-border, #F1F5F9);
    border-color: var(--color-border, #F1F5F9);
    color: var(--color-semantic-action-primary, var(--color-background-neutral-bold, #1D1D1E));
}
.navbar.sticky-top { transition: opacity 0.25s ease; }
.v4-sticky-active .navbar.sticky-top { opacity: 0; pointer-events: none; }

/* ── Responsive: spec tiles on mobile ───────────────────────── */
.v4-spec-cta-mobile { display: none; }

@media (max-width: 767px) {
    .v4-spec-tile-row {
        gap: 12px;
        padding: 16px;
        flex-wrap: wrap;
        overflow-x: unset;
    }

    .v4-spec-tile-card {
        flex: 0 0 calc(50% - 6px);
        min-width: unset;
        padding: 12px;
    }

    .v4-sticky-nav__top { position: relative; padding: 0 16px; }
    .v4-sticky-nav__back { width: 32px; height: 32px; }
    .v4-sticky-nav__action { width: 32px; height: 32px; }
    .v4-sticky-nav__center {
        position: static;
        align-items: flex-start;
        padding: 0 0 0 12px;
        width: auto;
    }
    .v4-sticky-nav__title { text-align: start; }

    .v4-card-header {
        padding: 16px;
        flex-wrap: wrap;
    }

    /* hide the inline header pill; show the full-width mobile CTA instead */
    .v4-card-header .v4-cta-pill { display: none; }

    .v4-spec-cta-mobile {
        display: block;
        padding: 0 16px 16px;
    }
}

.v4-cta-pill-full {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    padding: 0 24px;
    background: #fff;
    border: 2px solid #f1f5f9;
    border-radius: 100px;
    font-size: 14px;
    color: #1d1d1e;
    letter-spacing: 0.16px;
    white-space: nowrap;
    cursor: pointer;
}
.v4-cta-pill-full:hover { background: #f8fafc; }

/* ── Ask-for-price states ──────────────────────────────────── */
.v4-ask-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}
.v4-ask-price-row__label {
  
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.16px;
    color: var(--Gray-500, #64748B);
}
.v4-ask-price-row__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 20px;
    border-radius: 8px;
    border: 1px solid var(--Gray-200, #E2E8F0);
    background: var(--White, #FFF);
  
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.16px;
    color: var(--Navy-500, #003356);
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}
.v4-ask-price-row__btn:hover { background: #f8fafc; color: var(--Navy-500, #003356); text-decoration: none; }
.v4-ask-price-sent {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 24px;
    background: var(--Gray-100, #F1F5F9);
    border: none;
    border-radius: 8px;
  
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.16px;
    color: var(--Gray-500, #64748B);
    text-align: center;
    cursor: default;
}

/* ── Section column gap ─────────────────────────────────────── */
.v4-section-col {
    gap: 16px;
    background: transparent;
}

.ads-two-col + .row {
    margin-top: 16px;
}

@media (max-width: 991px) {
    .v4-section-col {
        gap: 8px;
        background: #F1F5F9;
    }

    .ads-two-col + .row {
        margin-top: 8px;
    }

    section.container-xxl {
        background: #F1F5F9;
    }
}

/* ── Mobile price panel (mobiview-only) ─────────────────────── */
.v4-mobile-price {
    background: #fff;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid #f1f5f9;
}

.v4-mobile-price__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.v4-mobile-price__price-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.v4-mobile-price__drop {
    margin-bottom: 2px;
}

.v4-mobile-price__price-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
}

.v4-mobile-price__from {
    display: block;
    font-size: 11px;
    color: #64748b;
    letter-spacing: 0.32px;
    margin-bottom: 2px;
}

.v4-mobile-price__amount {
    font-size: 24px;
    color: #1d1d1e;
    letter-spacing: -0.16px;
    line-height: 1;
}

.v4-mobile-price__currency {
    font-size: 12px;
    font-weight: 600;
    color: #1d1d1e;
    letter-spacing: 0.16px;
}

.v4-mobile-price__old-price {
    font-size: 12px;
    font-weight: 400;
    color: #64748b;
    text-decoration: line-through;
    letter-spacing: 0.16px;
}

.v4-mobile-price__offer {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #003356;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s;
}

.v4-mobile-price__offer:hover { background: #f8fafc; color: #003356; text-decoration: none; }

.v4-mobile-price__finance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.v4-mobile-price__finance-left {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.v4-mobile-price__finance-text {
    font-size: 11px;
    font-weight: 400;
    color: #1d1d1e;
    display: flex;
    align-items: baseline;
    gap: 2px;
    flex-wrap: wrap;
}

.v4-mobile-price__finance-text strong {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16px;
}

.v4-mobile-price__preapprove {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 12px;
    font-weight: 600;
    color: #3b82f6;
    letter-spacing: 0.32px;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.v4-mobile-price__preapprove:hover { color: #2563eb; text-decoration: none; }

/* ── Merged from cardetailspage_v3.css ──────────────────────── */

/* ==========================================================
   Car Details Page — V3 (new design)
   LTR stylesheet
   ========================================================== */

/* Re-use the same CSS variables from v2 */
:root {
    --v3-primary:       #003356;
    --v3-primary-hover: #004a7c;
    --v3-green:         #00af48;
    --v3-border:        #EAEAEA;
    --v3-text-title:    #1D1D1E;
    --v3-text-sub:      #667085;
    --v3-text-link:     #003356;
    --v3-bg-card:       #FFFFFF;
    --v3-bg-page:       #F8F9FA;
    --v3-radius-card:   16px;
    --v3-radius-btn:    10px;
    --v3-shadow-card:   0 1px 3px rgba(0,0,0,.06);
    --Gray-500: #64748B;
    --Black: #1D1D1E;
    --Green: #00AF48;
    --Yellow: #F59E0B;
    --Gray-50: #F8FAFC;
}

/* ── Reset ───────────────────────────────────────────────── */
.v3-page * { box-sizing: border-box; }

/* ── Breadcrumb bar ──────────────────────────────────────── */
.v3-breadcrumb-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 96px;
    height: 64px;
    border-bottom: 1px solid var(--v3-border);
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
}

.v3-breadcrumb-bar__back {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.v3-breadcrumb-back-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--v3-border);
    color: var(--v3-text-title);
    flex-shrink: 0;
}

.v3-breadcrumb-back-btn:hover { background: #f5f5f5; }

.v3-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--v3-text-sub);
    flex-wrap: wrap;
}

.v3-breadcrumb a { color: var(--v3-text-sub); }
.v3-breadcrumb a:hover { color: var(--v3-primary); }
.v3-breadcrumb .sep { color: #CBD5E1; font-size: 12px; }

.v3-breadcrumb-bar__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.v3-icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--v3-border);
    cursor: pointer;
    color: var(--v3-text-title);
    background: #fff;
}

.v3-icon-btn:hover { background: #f5f5f5; }
.v3-icon-btn img { width: 20px; height: 20px; }

/* ── Gallery ─────────────────────────────────────────────── */
.v3-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;   /* 616 | 308 | 308 */
    grid-template-rows: 246px 246px;
    gap: 8px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    background: #f1f5f9;
}

.v3-gallery__main {
    grid-column: 1;
    grid-row: 1 / 3;   /* spans both rows → 246+8+246 = 500px tall */
    overflow: hidden;
    cursor: pointer;
    background: #f1f5f9;
    position: relative;
}

.v3-gallery__main img,
.v3-gallery__cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .25s ease;
}

.v3-gallery__main:hover img,
.v3-gallery__cell:hover img { transform: scale(1.03); }

.v3-gallery__cell {
    overflow: hidden;
    cursor: pointer;
    background: #f1f5f9;
    position: relative;
}

/* Dark overlay on the last cell */
.v3-gallery__cell--more::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.50);
    z-index: 1;
    pointer-events: none;
}

/* "N photos" badge — bottom-right of the last cell */
.v3-gallery__count {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 2;
    background: rgba(248,250,252,0.9);
    border-radius: 8px;
    padding: 7px 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1e;
    letter-spacing: 0.16px;
    white-space: nowrap;
}

/* View tabs (360° / Video) — bottom-left of the gallery container */
.v3-gallery__view-tabs {
    position: absolute;
    bottom: 24px;
    left: 24px;
    display: flex;
    gap: 8px;
    z-index: 5;
}

.v3-view-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 34px;
    padding: 0 12px;
    background: rgba(248, 250, 252, 0.90);
    color: #1d1d1e;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    letter-spacing: 0.16px;
    white-space: nowrap;
}

.v3-view-tab:hover { background: rgba(248, 250, 252, 1); }

/* ── Overview strip ──────────────────────────────────────── */
.v3-overview-strip {
    padding: 20px 0 0;
}

.v3-overview-strip__dealer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.v3-dealer-logo {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    object-fit: contain;
    border: 1px solid var(--v3-border);
}

.v3-dealer-name {
    font-size: 14px;
    color: var(--v3-text-sub);
}

.v3-dealer-name a { color: var(--v3-text-sub); }
.v3-dealer-name a:hover { color: var(--v3-primary); }

.v3-overview-strip__title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}

.v3-car-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--v3-text-title);
    line-height: 1.25;
}

.v3-price-group { text-align: end; flex-shrink: 0; }

.v3-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--v3-text-title);
    white-space: nowrap;
}

.v3-old-price {
    font-size: 14px;
    color: var(--v3-text-sub);
    text-decoration: line-through;
    margin-inline-end: 6px;
}

.v3-installment {
    font-size: 13px;
    color: var(--v3-text-sub);
    margin-top: 2px;
}

.v3-price-badge {
    display: inline-block;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 20px;
    background: #ECFDF5;
    color: #027A48;
    font-weight: 500;
    margin-top: 4px;
}

.v3-price-drop-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 20px;
    background: #FFF1F3;
    color: #C01048;
    font-weight: 500;
}

.v3-demand-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #B42318;
    background: #FEF3F2;
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 12px;
}

/* badges row */
.v3-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--v3-border);
}

.v3-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--v3-text-title);
    background: #F8F9FA;
    border: 1px solid var(--v3-border);
    border-radius: 20px;
    padding: 4px 12px;
}

.v3-badge-pill img { width: 16px; height: 16px; object-fit: contain; }

/* ── Two-column layout ───────────────────────────────────── */
.v3-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 24px 96px 48px;
    max-width: 1440px;
    margin: 0 auto;
}

.v3-layout__main { flex: 1; min-width: 0; }

.v3-layout__sidebar {
    width: 400px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 72px;
}

/* ── Card base ───────────────────────────────────────────── */
.v3-card {
    background: var(--v3-bg-card);
    border: 1px solid var(--v3-border);
    border-radius: var(--v3-radius-card);
    overflow: hidden;
}

.v3-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
}

.v3-card__header h3 {
    font-size: 18px;
    color: var(--v3-text-title);
    margin: 0;
}

.v3-card__header-sub {
    font-size: 13px;
    color: var(--v3-text-sub);
    margin-top: 2px;
}

.v3-insp-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ebf3fe;
    color: #3b82f6;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    padding: 0 24px;
    height: 48px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}
.v3-insp-download-btn:hover { background: #dbeafe; color: #2563eb; text-decoration: none; }

.v3-card__cta {
    font-size: 14px;
    color: var(--v3-primary);
    font-weight: 500;
    white-space: nowrap;
}

.v3-card__cta:hover { color: var(--v3-primary-hover); }

.v3-card__sep { border: none; border-top: 1px solid var(--v3-border); margin: 0; }
@media (max-width: 767px) {
    .v3-card__sep { display: none; }
}

/* ── Spec tiles ──────────────────────────────────────────── */
.v3-spec-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 8px 0;
}

.v3-spec-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px;
    border-right: 1px solid var(--v3-border);
    position: relative;
}

.v3-spec-tile:last-child { border-right: none; }

.v3-spec-tile__icon {
    width: 24px;
    height: 24px;
    margin-bottom: 10px;
    color: var(--v3-text-sub);
}

.v3-spec-tile__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    color: var(--v3-text-sub);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.v3-spec-tile__value {
    font-size: 16px;
    font-weight: 600;
    color: var(--v3-text-title);
}

/* ── Description ─────────────────────────────────────────── */
.v3-description { padding: 20px 24px; }

.v3-description__text {
    font-size: 15px;
    line-height: 1.65;
    color: #48535b;
}

.v3-description__text.truncated {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.v3-see-more {
    font-size: 14px;
    color: var(--v3-primary);
    cursor: pointer;
    display: inline-block;
    margin-top: 6px;
    font-weight: 500;
}

/* Full spec table */
.v3-full-specs { padding: 0 24px 20px; }

.v3-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--v3-border);
    font-size: 14px;
}

.v3-spec-row:last-child { border-bottom: none; }
.v3-spec-row span:first-child { color: var(--v3-text-sub); }
.v3-spec-row span:last-child  { color: var(--v3-text-title); font-weight: 500; }

/* ── Features list ───────────────────────────────────────── */
.v3-features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 8px 0 16px;
}

.v3-features-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    border-bottom: 1px solid var(--v3-border);
    cursor: pointer;
    transition: background .15s;
}

.v3-features-row:hover { background: #FAFAFA; }

.v3-features-row:nth-last-child(1),
.v3-features-row:nth-last-child(2) { border-bottom: none; }

.v3-features-row__name {
    font-size: 15px;
    color: var(--v3-text-title);
}

.v3-features-row__right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.v3-features-badge {
    background: #F1F5F9;
    color: var(--v3-text-title);
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
}

.v3-features-caret {
    color: var(--v3-text-sub);
    font-size: 18px;
    line-height: 1;
}

/* ── Inspection section ──────────────────────────────────── */
.v3-inspection-header { padding: 20px 24px 0; }
.v3-inspection-header h3 { font-size: 18px; font-weight: 600; color: var(--v3-text-title); margin: 0 0 4px; }
.v3-inspection-date { font-size: 13px; color: var(--v3-text-sub); }
.v3-inspection-disclaimer {
    margin: 16px 24px;
    background: #FEF8E0;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    color: var(--v3-text-title);
}

/* ── Sidebar panels ──────────────────────────────────────── */
.v3-sidebar-panel {
    background: var(--v3-bg-card);
    border: 1px solid var(--v3-border);
    border-radius: var(--v3-radius-card);
    padding: 20px;
}

.v3-sidebar-sep {
    border: none;
    border-top: 1px solid var(--v3-border);
    margin: 16px 0;
}

/* CTA buttons */
.v3-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--v3-radius-btn);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: background .2s, box-shadow .2s;
}

.v3-cta-btn--primary {
    background: var(--v3-primary);
    color: #fff;
}

.v3-cta-btn--primary:hover {
    background: var(--v3-primary-hover);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,51,86,.25);
}

.v3-cta-btn--secondary {
    background: #fff;
    color: var(--v3-primary);
    border: 2px solid var(--v3-border);
}

.v3-cta-btn--secondary:hover { background: #F8F9FA; color: var(--v3-primary); }

.v3-cta-btn--disabled {
    background: #F1F5F9;
    color: #94A3B8;
    cursor: default;
}

.v3-cta-btn--disabled:hover { background: #F1F5F9; color: #94A3B8; box-shadow: none; }

/* ── Finance Calculator Card ─────────────────────────────── */
.v3-fin-calc__header-sub {
    font-size: 14px;
    color: #64748B;
    margin: 8px 0 0;
}

.v3-fin-calc__body {
    display: flex;
    gap: 24px;
    padding: 24px;
}

.v3-fin-calc__left {
    width: 400px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.v3-fin-calc__right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.v3-fin-calc__section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.v3-fin-calc__section + .v3-fin-calc__section {
    padding-top: 16px;
}

.v3-fin-calc__mobile-sep {
    display: none;
    width: 100%;
    height: 1px;
    border-top: 1px dashed var(--Gray-200, #E2E8F0);
}

.v3-fin-calc__label {
    font-size: 14px;
    color: #1D1D1E;
    letter-spacing: 0.16px;
}

/* Input box */
.v3-fin-calc__input-box {
    position: relative;
    height: 44px;
    border: 1px solid #F1F5F9;
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.v3-fin-calc__input-val {
  
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.16px;
    color: #64748B;
}

.v3-fin-calc__kwd-badge {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: #F8FAFC;
    border-radius: 6px;
    width: 52px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #64748B;
    letter-spacing: 0.32px;
}

/* Custom range slider */
.v3-fin-calc__slider-wrap {
    position: relative;
    height: 36px;
    display: flex;
    align-items: center;
}

.v3-fin-calc__slider-track {
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: var(--Gray-100, #F1F5F9);
    position: relative;
}

.v3-fin-calc__slider-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    border-radius: 2px;
    background: #2B9EBA;
    width: 0%;
    pointer-events: none;
}

.v3-fin-calc__slider-thumb {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    width: 36px;
    height: 36px;
}

/* Transparent native input overlays the wrapper for interaction */
.v3-fin-calc__slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    margin: 0;
    padding: 0;
    z-index: 1;
}

.v3-fin-calc__range-labels {
    display: flex;
    justify-content: space-between;
  
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.16px;
    color: #64748B;
}

/* Loan term pills */
.v3-fin-calc__pills {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    height: 40px;
}

.v3-fin-calc__pill {
    flex: 1;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #F1F5F9;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: #64748B;
    letter-spacing: 0.16px;
    cursor: pointer;
    transition: background .15s, color .15s;
}

.v3-fin-calc__pill.active {
    background: #F1F5F9;
    color: #1D1D1E;
    border-color: #F1F5F9;
}

.v3-fin-calc__pill:not(.active):hover { background: #F8FAFC; }

/* Monthly payment result panel */
.v3-fin-calc__result {
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    background: url(/images/Finance/finance_bg_12cs.gif) lightgray -72.303px -10.926px / 136.152% 115.721% no-repeat;
    flex: 1;
}

.v3-fin-calc__result-label {
    font-size: 14px;
    font-weight: 600;
    color: #64748B;
    letter-spacing: 0.16px;
}

.v3-fin-calc__amount {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.v3-fin-calc__amount-val {
    font-size: 28px;
    color: #1D1D1E;
    letter-spacing: -0.16px;
    line-height: 1;
}

.v3-fin-calc__amount-cur {
    font-size: 16px;
    font-weight: 600;
    color: #1D1D1E;
    letter-spacing: 0.16px;
}

.v3-fin-calc__result-term {
    font-size: 14px;
    font-weight: 600;
    color: #1D1D1E;
    letter-spacing: 0.16px;
    min-height: 1em;
}

/* Total loan cost row */
.v3-fin-calc__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.v3-fin-calc__total-lbl {
    font-size: 12px;
    font-weight: 600;
    color: #64748B;
    letter-spacing: 0.32px;
}

.v3-fin-calc__total-val {
    display: flex;
    align-items: baseline;
    gap: 2px;
    font-size: 14px;
    font-weight: 600;
    color: #1D1D1E;
    letter-spacing: 0.16px;
}

.v3-fin-calc__total-cur {
    font-size: 12px;
    font-weight: 600;
    color: #1D1D1E;
    letter-spacing: 0.32px;
}

/* CTA */
.v3-fin-calc__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    border-radius: 12px;
    background: #EBF3FE;
    font-size: 14px;
    font-weight: 600;
    color: #3B82F6;
    transition: background .15s;
}

/* Footer */
.v3-fin-calc__footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
}

.v3-fin-calc__disclaimer {
    font-size: 12px;
    color: #64748B;
    letter-spacing: 0.16px;
    margin: 0;
}

.v3-fin-calc__disclaimer a { color: #3B82F6; }

/* Responsive */
@media (max-width: 900px) {
    .v3-fin-calc__body { flex-direction: column; }
    .v3-fin-calc__left { width: 100%; }
}

/* Finance row */
.v3-finance-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
}

.v3-finance-row__est { color: var(--v3-text-sub); }

.v3-finance-row__link {
    color: var(--v3-primary);
    font-weight: 500;
    cursor: pointer;
}

/* Contact buttons */
.v3-contact-buttons {
    display: flex;
    gap: 10px;
}

.v3-contact-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: var(--v3-radius-btn);
    border: 2px solid var(--v3-border);
    font-size: 15px;
    font-weight: 600;
    color: var(--v3-text-title);
    background: #fff;
    cursor: pointer;
    transition: border-color .2s;
}

.v3-contact-btn:hover { border-color: var(--v3-primary); color: var(--v3-primary); }
.v3-contact-btn img { width: 20px; height: 20px; }

.v3-unread-badge {
    background: #E53E3E;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 100px;
    padding: 1px 7px;
}

/* Sold box */
.v3-sold-box {
    text-align: center;
    padding: 8px 0;
}

.v3-sold-box img { width: 48px; margin-bottom: 12px; }
.v3-sold-box p { font-size: 16px; font-weight: 600; color: var(--v3-text-title); margin-bottom: 6px; }
.v3-sold-box span { font-size: 14px; color: var(--v3-text-sub); }
.v3-sold-box a {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 24px;
    background: var(--v3-primary);
    color: #fff;
    border-radius: var(--v3-radius-btn);
    font-weight: 600;
    font-size: 14px;
}

/* ── Why motorgy ─────────────────────────────────────────── */
.v3-why-motorgy h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--v3-text-title);
    margin-bottom: 20px;
}

.v3-why-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.v3-why-row:last-child { margin-bottom: 0; }

.v3-why-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.v3-why-icon--green  { background: #ECFDF5; }
.v3-why-icon--yellow { background: #FFFBEB; }
.v3-why-icon--blue   { background: #EFF6FF; }

.v3-why-icon img { width: 24px; height: 24px; }

.v3-why-text strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--v3-text-title);
    margin-bottom: 4px;
}

.v3-why-text p {
    font-size: 13px;
    color: var(--v3-text-sub);
    line-height: 1.55;
    margin: 0;
}

/* ── Lazy section skeleton ───────────────────────────────── */
.v3-lazy-section { margin-bottom: 24px; }

@keyframes v3-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: .45; }
}

.v3-skeleton {
    background: #E2E8F0;
    border-radius: 12px;
    animation: v3-pulse 1.6s ease-in-out infinite;
}

/* ── Mobile gallery (Swiper passthrough) ─────────────────── */
@media (max-width: 768px) {
    .v3-breadcrumb-bar { padding: 0 16px; }
    .v3-breadcrumb { display: none; }

    .v3-gallery { display: none; }

    .v3-layout {
        flex-direction: column;
        padding: 12px 16px 80px;
        gap: 0;
    }

    section.container-xxl { padding-bottom: 96px; }

    .v3-layout__sidebar {
        width: 100%;
        position: static;
    }

    .v3-spec-tiles {
        grid-template-columns: repeat(2, 1fr);
    }

    .v3-spec-tile:nth-child(2) { border-right: none; }
    .v3-spec-tile:nth-child(3) { border-right: 1px solid var(--v3-border); }

    .v3-features-list { grid-template-columns: 1fr; }

    .v3-features-row:nth-last-child(1),
    .v3-features-row:nth-last-child(2) { border-bottom: 1px solid var(--v3-border); }

    .v3-features-row:last-child { border-bottom: none; }

    .v3-car-title { font-size: 20px; }
    .v3-price     { font-size: 20px; }

    .v3-overview-strip__title-row {
        flex-direction: column;
        gap: 8px;
    }

    .v3-price-group { text-align: start; }

    .v3-mobile-sticky-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.9);
        border-top: 1px solid #f1f5f9;
        display: flex;
        gap: 12px;
        padding: 16px;
        z-index: 100;
        box-shadow: 0 -2px 12px rgba(0,0,0,.08);
    }

    .v3-sticky__contact {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        height: 48px;
        background: #f1f5f9;
        border: none;
        border-radius: 12px;
        font-weight: 600;
        font-size: 14px;
        color: #1d1d1e;
        cursor: pointer;
    }

    .v3-sticky__book {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 166px;
        height: 48px;
        background: #00af48;
        border: none;
        border-radius: 12px;
        font-weight: 600;
        font-size: 14px;
        color: #fff;
        cursor: pointer;
        text-decoration: none;
        flex-shrink: 0;
    }

    .v3-sticky__external {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        height: 48px;
        background: #003356;
        border: none;
        border-radius: 12px;
        font-weight: 600;
        font-size: 14px;
        color: #fff;
        cursor: pointer;
    }
    .v3-sticky__external:hover { background: #004a7c; color: #fff; }

    .v3-layout__sidebar .v3-sidebar-panel--desktop-only { display: none; }

    .v3-card__header h3 {
      
        font-size: 16px;
        line-height: normal;
        letter-spacing: 0.16px;
        color: #1D1D1E;
    }

    .v3-card__header { padding: 16px 16px 1px 16px }

    .v3-insp-download-btn { height: 36px; padding: 0 16px; font-size: 14px; }

    .v3-card__header-sub {
      
        font-size: 12px;
        font-weight: 400;
        font-style: normal;
        line-height: normal;
        letter-spacing: 0.16px;
        color: #64748B;
    }

    .v3-fin-calc__label {
      
        font-size: 12px;
        line-height: normal;
        letter-spacing: 0.32px;
        color: #1D1D1E;
    }

    .v3-fin-calc__input-val {
      
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
        letter-spacing: 0.16px;
        color: var(--Premium-navy, #112A45);
        text-align: center;
    }

    .v3-fin-calc__range-labels {
      
        font-size: 11px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        letter-spacing: 0.32px;
        color: var(--Gray-500, #64748B);
    }

    .v3-fin-calc__mobile-sep { display: block; }

    .v3-fin-calc__section + .v3-fin-calc__section {
        border-top: 1px dashed var(--Gray-200, #E2E8F0);
    }

    .v3-fin-calc__total {
        border-bottom: 1px solid var(--Gray-100, #F1F5F9);
        padding-bottom: 16px;
    }

    .v3-fin-calc__result-label,
    .v3-fin-calc__result-term {
        margin-bottom: 0;
    }

    .v3-fin-calc__result {
        padding: 16px 16px;
    }
}

@media (min-width: 769px) {
    .v3-mobile-sticky-bar { display: none; }
    .v3-mobile-gallery    { display: none; }
    .v3-mobile-header-bar { display: none; }
}

/* ── Contact action sheet ────────────────────────────────── */
.v3-contact-sheet-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 20000;
}
.v3-contact-sheet-overlay.open { display: block; }

.v3-contact-sheet {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20001;
    background: #fff;
    border-radius: 20px 20px 0 0;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.v3-contact-sheet__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
}

.v3-contact-sheet__title {
    font-weight: 600;
    font-size: 16px;
    color: #1d1d1e;
}

.v3-contact-sheet__close {
    width: 32px;
    height: 32px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    border-radius: 20px;
    background: #94A3B8;
}
.v3-contact-sheet__close svg {
    width: 24px;
    height: 24px;
}

.v3-contact-sheet__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 52px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    font-weight: 500;
    font-size: 16px;
    color: #1d1d1e;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
}

.v3-contact-sheet__book {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    background: #00af48;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
}

/* ==========================================================
   Below-fold lazy sections
   ========================================================== */

/* ── Section wrapper headers ─────────────────────────────── */
.v3-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.v3-section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--v3-text-title);
}

.v3-section-cta {
    font-size: 14px;
    color: var(--v3-primary);
    font-weight: 500;
    white-space: nowrap;
}

/* ── Similar cars ────────────────────────────────────────── */
.v3-similar-section { padding: 32px 0; }

.v3-similar-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}
.v3-similar-scroll::-webkit-scrollbar { display: none; }

.v3-sim-card {
    flex-shrink: 0;
    width: 260px;
    background: #fff;
    border: 1px solid var(--v3-border);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow .2s;
    position: relative;
    color: inherit;
}
.v3-sim-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.1);
    color: inherit;
    text-decoration: none;
}

.v3-sim-card__image-wrap {
    position: relative;
    height: 175px;
    background: #f1f5f9;
    overflow: hidden;
}
.v3-sim-card__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}
.v3-sim-card:hover .v3-sim-card__image-wrap img { transform: scale(1.04); }

.v3-sim-card__fav {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    font-size: 16px;
    z-index: 2;
}

.v3-sim-card__badges {
    position: absolute;
    bottom: 8px;
    left: 8px;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    z-index: 2;
}

.v3-sim-card__badge {
    background: rgba(255,255,255,.92);
    border-radius: 20px;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--v3-text-title);
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.v3-sim-card__badge img { width: 12px; height: 12px; }

.v3-sim-card__body { padding: 12px 14px 14px; }

.v3-sim-card__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--v3-text-title);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.v3-sim-card__meta {
    font-size: 13px;
    color: var(--v3-text-sub);
    margin-bottom: 10px;
}

.v3-sim-card__price-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
}

.v3-sim-card__price {
    font-size: 16px;
    font-weight: 700;
    color: var(--v3-text-title);
    line-height: 1.2;
}

.v3-sim-card__installment {
    font-size: 12px;
    color: var(--v3-text-sub);
    margin-top: 2px;
}

.v3-sim-card__price-badge {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 20px;
    background: #ECFDF5;
    color: #027A48;
    font-weight: 600;
    white-space: nowrap;
    align-self: flex-start;
}

/* ── Testimonials / Reviews ──────────────────────────────── */
.v3-reviews-section { padding: 32px 0; }

.v3-reviews-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}
.v3-reviews-scroll::-webkit-scrollbar { display: none; }

.v3-review-card {
    flex-shrink: 0;
    width: 340px;
    background: #fff;
    border: 1px solid var(--v3-border);
    border-radius: 16px;
    padding: 20px;
}

.v3-review-card__stars {
    display: flex;
    gap: 2px;
    margin-bottom: 6px;
}
.v3-review-card__star { color: #F79009; font-size: 16px; }

.v3-review-card__type {
    font-size: 12px;
    color: var(--v3-text-sub);
    margin-bottom: 10px;
}

.v3-review-card__text {
    font-size: 14px;
    color: var(--v3-text-title);
    line-height: 1.65;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.v3-review-card__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--v3-text-title);
}

.v3-review-card__car {
    font-size: 12px;
    color: var(--v3-text-sub);
    margin-top: 2px;
}

/* ── FAQs ────────────────────────────────────────────────── */
.v3-faq-section { padding: 32px 0; }

.v3-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: start;
}

.v3-faq-item {
    background: #fff;
    border: 1px solid var(--v3-border);
    border-radius: 12px;
    overflow: hidden;
}

.v3-faq-item__q {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--v3-text-title);
    cursor: pointer;
    user-select: none;
    line-height: 1.45;
}

.v3-faq-icon { transition: transform .2s; flex-shrink: 0; margin-top: 2px; }
.v3-faq-item--open .v3-faq-icon { transform: rotate(180deg); }

.v3-faq-item__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
    font-size: 14px;
    color: var(--v3-text-sub);
    line-height: 1.65;
    padding: 0 20px;
}
.v3-faq-item--open .v3-faq-item__a {
    max-height: 600px;
    padding: 0 20px 16px;
}
.v3-faq-item__a p { margin: 0 0 8px; }
.v3-faq-item__a p:last-child { margin-bottom: 0; }

/* ── App download banner ─────────────────────────────────── */
.v3-app-download {
    background: #1D1D1E;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 40px;
    margin: 24px 0 40px;
    overflow: hidden;
}

.v3-app-download__phone { flex-shrink: 0; width: 160px; }
.v3-app-download__phone img { width: 100%; display: block; }

.v3-app-download__content { flex: 1; color: #fff; }

.v3-app-download__title {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.v3-app-download__sub {
    font-size: 15px;
    color: rgba(255,255,255,.65);
    margin-bottom: 20px;
}

.v3-app-download__badges {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}
.v3-app-download__badges a img { height: 38px; display: block; }

.v3-app-download__qr {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: rgba(255,255,255,.08);
    border-radius: 16px;
}
.v3-app-download__qr img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    background: #fff;
}
.v3-app-download__qr span {
    font-size: 11px;
    color: rgba(255,255,255,.55);
    text-align: center;
    max-width: 88px;
}

/* ── Dealer panel (inside sidebar CTA panel) ─────────────── */
.v3-dealer-panel {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 24px 24px 24px;
}

.v3-dealer-panel__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.v3-dealer-panel__left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    overflow: hidden;
}

.v3-dealer-panel__logo {
    width: 32px;
    height: 32px;
    border-radius: 100px;
    object-fit: cover;
    background: #fff;
    flex-shrink: 0;
}

.v3-dealer-panel__name {
    font-size: 14px;
    color: #1d1d1e;
    letter-spacing: 0.16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.v3-dealer-panel__view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border: 2px solid #ebf3fe;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.32px;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
}
.v3-dealer-panel__view-btn:hover { border-color: #bfdbfe; color: #475569; text-decoration: none; }

.v3-dealer-panel__sep {
    width: 100%;
    height: 1px;
    border: none;
    border-top: 1px dashed #e2e8f0;
}

.v3-dealer-panel__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-start;
}

.v3-dealer-panel__stat-tag {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 11px;
    color: #1d1d1e;
    letter-spacing: 0.32px;
    line-height: normal;
}

@media (max-width: 767px) {
    .v3-dealer-panel--mobile {
        margin: 0;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        padding: 12px 16px;
    }
}

/* ── Inspection locked card ──────────────────────────────── */
.v3-inspection-locked {
    border-radius: 16px;
    background: linear-gradient(160deg, #EFF6FF 0%, #DBEAFE 100%);
    padding: 36px 24px;
    text-align: center;
    margin-bottom: 16px;
}

.v3-inspection-locked__icon {
    width: 56px;
    height: 56px;
    background: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.v3-inspection-locked__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--v3-text-title);
    margin-bottom: 6px;
}

.v3-inspection-locked__sub {
    font-size: 14px;
    color: var(--v3-text-sub);
    margin-bottom: 20px;
    line-height: 1.5;
}

.v3-inspection-locked__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: var(--v3-green);
    color: #fff;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background .2s;
}
.v3-inspection-locked__btn:hover { background: #009940; color: #fff; }

.v3-inspection-locked__note {
    font-size: 12px;
    color: var(--v3-text-sub);
    margin-top: 10px;
}

/* ── Inspection V2 card (Figma node 3773:10828) ─────────── */
.v3-insp-card { overflow: hidden; }

/* Header row */
.v3-insp-hdr {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px 24px 16px;
}
.v3-insp-hdr__left { display: flex; flex-direction: column; gap: 4px; }
.v3-insp-hdr__title {
    font-size: 18px;
    color: var(--v3-text-title);
    margin: 0;
}
@media (max-width: 767px) {
    .v3-insp-hdr__title { color: #1d1d1e; font-size: 16px; line-height: normal; letter-spacing: 0.16px; }
}
.v3-insp-hdr__date { font-size: 13px; color: var(--v3-text-sub); }

/* Legend (pass / remarks / not-checked indicators) */
.ir-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 8px 16px;
}
.ir-legend__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--v3-text-sub, #64748b);
    white-space: nowrap;
}
.ir-legend__item svg { flex-shrink: 0; }

@media (max-width: 767px) {
    .v3-insp-hdr {
        padding: 16px 16px 12px;
    }
    .ir-legend {
        gap: 6px 12px;
    }
    .ir-legend__item { font-size: 12px; }
}

/* Score badge */
.v3-insp-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.v3-insp-score__circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #E6F9EE;
    border: 2px solid #00A651;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #00A651;
}
.v3-insp-score__label {
    font-size: 12px;
    font-weight: 600;
    color: var(--v3-text-title);
}

/* Statement badge */
.v3-insp-statement {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 24px 12px;
    padding: 10px 16px;
    background: #E6F9EE;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: #1d1d1e;
    width: fit-content;
    max-width: calc(100% - 48px);
}
.v3-insp-statement svg { flex-shrink: 0; }

/* Notes text */
.v3-insp-notes {
    color: #1D1D1E;
  
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding: 20px 24px 16px;
}

/* Two-column body: hotspot + categories */
.v3-insp-body {
    display: flex;
    gap: 24px;
    padding: 24px;
}
.v3-insp-body--no-hotspot .v3-insp-cats {
    padding-left: 0;
}

/* Hotspot panel (left) */
.v3-insp-hotspot { display: flex; flex-direction: column; gap: 16px; flex: 400 1 0; }
.v3-insp-hotspot__stage {
    position: relative;
    background: #F1F5F9;
    border-radius: 12px;
    overflow: hidden;
    flex: 1;
    min-height: 200px;
}
.v3-insp-hotspot__stage--hidden { display: none; }
.v3-insp-hotspot__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.v3-insp-hotspot__markers { position: absolute; inset: 0; pointer-events: none; }
.v3-insp-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: all;
    cursor: pointer;
    z-index: 2;
}
.v3-insp-marker::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #F6A623;
    box-shadow: 0 0 0 4px rgba(246,166,35,.3);
    transition: box-shadow .2s;
}
.v3-insp-marker:hover::before { box-shadow: 0 0 0 6px rgba(246,166,35,.4); }

/* Marker detail overlay */
.v3-insp-hotspot__detail {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,.96);
    border-top: 1px solid var(--v3-border);
    display: none;
    padding: 12px;
    z-index: 3;
}
.v3-insp-hotspot__detail.active { display: block; }
.v3-insp-detail__img {
    position: relative;
    text-align: center;
    margin-bottom: 8px;
}
.v3-insp-detail__img img { max-height: 120px; object-fit: cover; border-radius: 8px; }
.v3-insp-detail__close {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    font-size: 18px;
    color: var(--v3-text-sub);
    line-height: 1;
    padding: 4px;
}
.v3-insp-detail__text h6 {
    margin: 0;
    font-size: 13px;
    color: var(--v3-text-title);
    text-align: center;
}

/* Hotspot tabs */
.v3-insp-hotspot__tabs {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    flex-shrink: 0;
}
.v3-insp-tab {
    flex: 1;
    min-width: 0;
    height: 40px;
    border: 1.5px solid #f1f5f9;
    border-radius: 8px;
    background: #fff;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.32px;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color .2s, color .2s, background .2s;
    text-align: center;
}
.v3-insp-tab--active,
.v3-insp-tab:hover {
    border-color: #f1f5f9;
    background: #f1f5f9;
    color: #1d1d1e;
}

/* Category rows (right panel) */
.v3-insp-cats {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 352 1 0;
}
.v3-insp-cat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--v3-border);
}
.v3-insp-cat-row:last-of-type { border-bottom: none; }

.v3-insp-cat-row__name
{
    color: #1D1D1E;
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.16px;
}

.v3-insp-cat-row__status {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}
.v3-insp-cat-row__status--passed  
{
    color: var(--Green, #00AF48);
    text-align: right;
  
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.32px;
}

.v3-insp-cat-row__status--remarks 
{
    color: var(--Yellow, #F59E0B);
    text-align: right;
  
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.32px; 
}

.v3-insp-cat-row__status--not-checked
{
    color: var(--Gray-500, #64748B);
    text-align: right;
  
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.32px;
}
@media (max-width: 767px) {
    .v3-insp-cat-row__name { color: #1d1d1e; font-size: 14px; font-style: normal; font-weight: 600; line-height: normal; letter-spacing: 0.16px; }
    .v3-insp-cat-row__status,
    .v3-insp-cat-row__status--passed,
    .v3-insp-cat-row__status--remarks,
    .v3-insp-cat-row__status--not-checked { font-size: 12px; font-style: normal; font-weight: 600; line-height: normal; letter-spacing: 0.32px; }
}

/* "View full inspection report" button */
.v3-insp-view-btn {
    color: var(--Black, #1D1D1E);
    text-align: center;
    display: flex;
    height: 48px;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    background: var(--Gray-50, #F8FAFC);
  
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-top: auto;
}
.v3-insp-view-btn:hover {
    border-color: var(--v3-primary);
    color: var(--v3-primary);
    background: #F0F6FF;
    text-decoration: none;
}

/* ── Marker detail modal ─────────────────────────────── */
.v3-marker-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(29,29,30,.95);
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.v3-marker-modal.active { display: flex; }
.v3-marker-modal__panel {
    background: #fff;
    border-radius: 24px;
    width: min(824px, 95vw);
    overflow: hidden;
    box-shadow: 0 40px 100px 0 rgba(0,0,0,.1), 0 16px 48px -8px rgba(0,0,0,.2);
    display: flex;
    flex-direction: column;
}
.v3-marker-modal__photo {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: #f1f5f9;
    flex-shrink: 0;
}
.v3-marker-modal__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.v3-marker-modal__close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 32px;
    height: 32px;
    background: #f1f5f9;
    border: none;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
    flex-shrink: 0;
}
.v3-marker-modal__close:hover { background: #e2e8f0; }
.v3-marker-modal__info { padding: 16px 24px; }
.v3-marker-modal__info-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.v3-marker-modal__info-text { display: flex; flex-direction: column; gap: 4px; }
.v3-marker-modal__title {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1e;
    letter-spacing: 0.16px;
    margin: 0;
}
.v3-marker-modal__location {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}
.v3-marker-modal__badge {
    background: #fef3c7;
    color: #f59e0b;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.16px;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}
.v3-marker-modal__thumbs {
    display: flex;
    gap: 12px;
    padding: 0 24px 24px;
    overflow-x: auto;
}
.v3-marker-modal__thumb {
    width: 72px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
    border: 2px solid transparent;
    background: #f1f5f9;
}
.v3-marker-modal__thumb--active { border-color: #003356; }
.v3-marker-modal__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Bottom disclaimer */
.v3-insp-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 8px 24px 16px;
    font-size: 12px;
    color: #1D1D1E;
    line-height: 1.5;
}
.v3-insp-disclaimer__link {
    color: #3B82F6;
    text-decoration: underline;
}

/* Responsive: stack at narrow widths */
@media (max-width: 640px) {
    .v3-insp-body {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }
    .v3-insp-hotspot { flex: none; width: 100%; height: auto; }
    .v3-insp-hotspot__stage { min-height: 220px; }
    .v3-insp-cats { flex: none; width: 100%; height: auto; padding-left: 0; }
    .v3-insp-view-btn { margin-top: 12px; }
    .v3-insp-hdr, .v3-insp-statement, .v3-insp-notes, .v3-insp-disclaimer {
        padding-left: 16px;
        padding-right: 16px;
        margin-left: 0;
        margin-right: 0;
    }
    .v3-insp-statement { margin: 0 0 12px; max-width: 100%; }
    .v3-insp-notes { margin: 0 0 16px; }
    .v3-insp-disclaimer { margin: 8px 0 16px; }
}

/* ── Car condition table (self-service) ──────────────────── */
.v3-condition-table { padding: 4px 0 8px; }
@media (max-width: 767px) {
    .v3-condition-table { padding: 0 0 8px; }
}

.v3-condition-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    border-bottom: 1px solid var(--v3-border);
    font-size: 14px;
    font-weight: 600;
}
.v3-condition-row:last-child { border-bottom: none; }
.v3-condition-row span:first-child { color: var(--v3-text-title); }
.v3-condition-row__val { color: #64748b; font-size: 12px; font-weight: 600; }

@media (max-width: 768px) {
    .v3-condition-row { padding: 14px 16px; }
}

/* ── Buy Inspection Report — Locked Card ────────────────── */
.v3-buy-report-card {
    position: relative;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(0deg, rgba(224,242,250,.3) 0%, rgba(245,252,255,.3) 45%, rgba(220,240,248,.3) 100%), #f8fafc;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.v3-buy-report-card__blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.v3-buy-report-card__blob--tr { width: 300px; height: 300px; background: radial-gradient(circle, rgba(162,210,230,.55) 0%, transparent 70%); bottom: -60px; right: -60px; }
.v3-buy-report-card__blob--bl { width: 200px; height: 200px; background: radial-gradient(circle, rgba(162,230,195,.5) 0%, transparent 70%);  bottom: -50px; left: -50px; }
.v3-buy-report-card__blob--tc { width: 160px; height: 160px; background: radial-gradient(circle, rgba(200,225,240,.45) 0%, transparent 70%);  top: -40px; left: calc(50% - 80px); }
.v3-buy-report-card__overlay {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 48px 24px;
    text-align: center;
}
.v3-buy-report-card__lock {
    width: 72px;
    height: 72px;
    background: #003356;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.v3-buy-report-card__title    { font-size: 20px; font-weight: 600; color: #1d1d1e; margin: 0; }
.v3-buy-report-card__subtitle { font-size: 16px; color: #64748b; margin: 0; max-width: 560px; }
.v3-buy-report-card__cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    width: 100%;
}
.v3-buy-report-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e6f7ed;
    color: #00af48;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    padding: 0 64px;
    height: 56px;
    text-decoration: none;
    white-space: nowrap;
}
.v3-buy-report-card__cta:hover { background: #d0f0dc; color: #009940; text-decoration: none; }
.v3-buy-report-card__footnote  { font-size: 12px; color: #94a3b8; margin: 0; letter-spacing: .16px; }

/* ── Features options (expanded) ─────────────────────────── */
.v3-features-options {
    padding: 10px 24px 14px;
    border-top: 1px solid var(--v3-border);
    grid-column: 1 / -1;
}
.v3-features-options ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.v3-features-options ul li {
    font-size: 13px;
    color: var(--v3-text-title);
    background: #F1F5F9;
    border-radius: 20px;
    padding: 4px 12px;
}

/* ── Mobile overrides for new sections ───────────────────── */
@media (max-width: 768px) {
    .v3-faq-grid { grid-template-columns: 1fr; }

    .v3-app-download {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
        gap: 16px;
    }
    .v3-app-download__phone { width: 110px; order: -1; }
    .v3-app-download__title { font-size: 20px; }
    .v3-app-download__badges { justify-content: center; }
    .v3-app-download__qr { display: none; }

    .v3-similar-section,
    .v3-reviews-section,
    .v3-faq-section { padding: 20px 0; }

    .v3-section-title { font-size: 18px; }
    .v3-review-card { width: 280px; }
    .v3-sim-card { width: 220px; }

    .car-gallery {
        padding-left: 16px;
        padding-right: 16px;
        padding-bottom: 16px;
        background: #fff;
    }

    .v4-review {
        padding-left: 16px;
        padding-right: 16px;
        padding-bottom: 16px;
        background: #fff;
    }
    
    .v3-card {
        border-radius: 0;
    }

    .v3-buy-report-card {
        margin: 0 16px;
        min-height: unset;
    }

    .v3-buy-report-card__overlay {
        padding: 32px 24px 24px;
        width: 100%;
        box-sizing: border-box;
    }

    .v3-buy-report-card__lock {
        width: 56px;
        height: 56px;
    }

    .v3-buy-report-card__lock svg {
        width: 32px;
        height: 32px;
    }

    .v3-buy-report-card__cta-group {
        width: 100%;
    }

    .v3-buy-report-card__cta {
        width: 100%;
        box-sizing: border-box;
        padding: 0 24px;
        height: 48px;
        color: #00AF48;
      
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
    }
    
    .v3-buy-report-card__subtitle {
        color: #64748B;
        text-align: center;
      
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        width: 100%;
        max-width: 100%;
    }

    .v3-buy-report-card__title {
        color: #1D1D1E;
        text-align: center;
      
        font-size: 18px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
    }

    .v3-buy-report-card__footnote {
        color: #94A3B8;
        text-align: center;
      
        font-size: 11px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        letter-spacing: 0.16px;
    }
}

.v4-review {
    border-top: 1px solid #eaeaea;
}
.v4-review .customer-review-card {
    height: 154px !important;
}

/* ── Chatbox modal – ported from Pagecss ────────────────── */
.side-box {
    padding: 25px;
    background: #fff;
    border-radius: 15px;
    box-shadow: rgba(149,157,165,0.2) 0 8px 24px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    position: relative;
    z-index: 1;
}
.side-box__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.side-box__row h5 { flex-basis: 0; flex-grow: 1; font-weight: bold; }
.side-box__row .side {
    margin-left: 15px;
    flex-basis: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.side-box__row .side h4 { color: #2b9eba; font-weight: bold; }
.side-box__row .side p { font-size: 12px; }
.side-box__row .side p span { border-bottom: 1px solid #000; }

.car-model { font-size: 13px; font-weight: bold; }
.highlight {
    padding: 5px 8px;
    background: #f2f4f5;
    display: inline-flex;
    border-radius: 10px;
    font-weight: bold;
    font-size: 14px;
    margin-right: 10px;
}
.car-state {
    display: flex;
    padding: 3px 8px;
    border-radius: 25px;
    border: 1px solid #00af48;
    align-items: center;
}
.car-state .icon { width: 18px; height: 18px; }
.car-state .icon svg {
    margin-right: 5px;
    fill: #00af48;
    width: 15px; height: 15px;
    min-width: 15px;
    position: relative;
    top: 1px;
}
.car-state p { color: #00af48; font-size: 13px; font-weight: bold; }

.buttons-holder { display: flex; }
.buttons-holder a {
    margin-right: 15px;
    flex-basis: 0;
    flex-grow: 1;
    align-content: center;
    text-align: center;
    border-radius: 8px;
    padding: 9px;
    justify-content: center;
}
.buttons-holder a:last-of-type { margin: 0; }
.buttons-holder.buttons-holder--vertical {
    display: flex;
    flex-direction: column;
    padding-top: 15px;
    margin-top: 20px;
    border-top: 1px solid #d4d4d4;
    flex-grow: 1;
    padding-bottom: 15px;
}
.buttons-holder.buttons-holder--vertical a { margin-bottom: 15px; margin-right: 0; }
.buttons-holder.buttons-holder--vertical a:last-of-type { margin-bottom: 0; }

.btn--primary { background: #00af48; color: #fff; }
.btn--primary:hover { background: #17c05d; color: #fff; }
.btn--primary2 { background: #e5f7ed; color: #00af48; }
.btn--primary2:hover { background: #d2e8dc; color: #00af48; }
.btn--secondary { background: rgba(0,120,255,0.1); color: #1c87ff; }
.btn--secondary:hover { background: rgba(0,120,255,0.18); color: #1c87ff; }
.btn--block,
.btn--primary,
.btn--primary2,
.btn--secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 12px;
    height: 48px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    padding: 0 16px;
    text-align: center;
    box-sizing: border-box;
    transition: background 0.15s;
    border: none;
}
.btn--block { flex-grow: 1; flex-basis: 0; }

.info-box {
    padding: 25px;
    background: #fff;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    box-shadow: rgba(149,157,165,0.2) 0 8px 24px;
}
.info-box__row { display: flex; align-items: center; }
.info-box .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f6f7f8;
    border-radius: 30%;
    padding: 8px;
}
.info-box .icon svg { width: 20px; height: 20px; }
.info-box__data { font-size: 12px; margin-left: 10px; }
.info-box__data p { font-weight: bold; margin-bottom: 3px; }
.info-box__data div span { border-bottom: 1px solid #000; }

/* ── Chat message bubbles ─────────────────────────── */
#chat-messages { list-style: none; padding-left: 0; margin: 0; }
.chat-message {
    background: #EAF5F8;
    border-radius: 0 32px 32px 32px;
    padding: 10px 25px;
    max-width: 700px;
    word-break: break-all;
}
.chat-message-seller {
    background: #F7F9FA;
    border-radius: 32px 0 32px 32px;
    padding: 10px 25px;
}

@media (max-width: 767px) {
    .chat-message { max-width: 350px !important; }
}

.car-state1 { display: flex; align-items: center; }

/* ── Available Colours Section (Figma 4553:3069) ─────────────── */

.v4-color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 13px 14px;
    padding: 8px 16px 16px;
}

.v4-color-swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    cursor: default;
}

.v4-color-swatch--overflow {
    cursor: pointer;
}

.v4-color-swatch__circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.07);
    flex-shrink: 0;
}

.v4-color-swatch__circle--overflow {
    background: #f1f5f9 !important;
    border-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #64748b;
   
}

.v4-color-swatch--overflow:hover .v4-color-swatch__circle--overflow {
    background: #e2e8f0 !important;
}

.v4-color-swatch__circle {
    position: relative;
}

.v4-color-swatch__check {
    position: absolute;
    inset: 0;
    margin: auto;
    display: none;
    pointer-events: none;
}

.v4-color-swatch--selected .v4-color-swatch__check,
.v4-colors-modal__item.v4-color-swatch--selected .v4-color-swatch__check {
    display: block;
}

/* ── All Colours Popup (Figma 4553:3691) ─────────────────────── */

.v4-colors-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(29, 29, 30, 0.95);
    z-index: 1060;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.v4-colors-modal-overlay.open {
    display: flex;
}

.v4-colors-modal {
    background: #fff;
    border-radius: 16px;
    width: 520px;
    max-width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 16px 60px 0px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.v4-colors-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: #fff;
}

.v4-colors-modal__spacer {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.v4-colors-modal__title {
    font-size: 18px;
    color: #1d1d1e;
    letter-spacing: 0;
    margin: 0;
   
    text-align: center;
}

.v4-colors-modal__close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
}

.v4-colors-modal__close:hover {
    background: #e2e8f0;
}

.v4-colors-modal__body {
    padding: 24px 24px 32px;
    overflow-y: auto;
}

.v4-colors-modal__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px 8px;
}

.v4-colors-modal__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.v4-colors-modal__circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.07);
    flex-shrink: 0;
    position: relative;
}

.v4-colors-modal__label {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    text-align: center;
   
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 64px;
}

/* Items beyond mobile max: hidden on mobile, shown on desktop */
.v4-color-swatch--desktop-only {
    display: flex;
}

/* Mobile overflow badge: hidden on desktop */
.v4-color-swatch--mobile-overflow {
    display: none;
}

@media (max-width: 767px) {
    .v4-color-swatches .v4-color-swatch--desktop-only  { display: none; }
    .v4-color-swatches .v4-color-swatch--mobile-overflow { display: flex; }
    .v4-color-swatch__circle { width: 40px; height: 40px; flex-shrink: 0; }

    /* allow long color names to wrap to 2 lines in the "View all colours" modal */
    .v4-colors-modal__label {
        white-space: normal;
        text-overflow: clip;
        max-width: 72px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 575px) {
    .v4-colors-modal__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px 8px;
    }

    .v4-colors-modal {
        width: 100%;
    }
}
