/* =========================================================
   TOKENS
   ========================================================= */
.dt-page {
    --dt-red: #dc2626;
    --dt-red-dark: #b91c1c;
    --dt-card: rgb(255 255 255 / .045);
    --dt-card-2: rgb(255 255 255 / .07);
    --dt-line: rgb(255 255 255 / .09);
    --dt-text: #f4f4f5;
    --dt-muted: #a1a1aa;
}

body {
    background: #000 !important;
}

.dt-crumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 18px;
    font-size: 13px;
    color: var(--dt-muted)
}

.dt-crumb a {
    color: var(--dt-muted);
    text-decoration: none;
    transition: color .2s
}

.dt-crumb a:hover {
    color: #fff
}

.dt-crumb span {
    color: #fff;
    font-weight: 500;
    max-width: 320px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.dt-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px
}

.dt-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px
}

.dt-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .3px
}

.dt-badge--ok {
    background: rgb(34 197 94 / .15);
    color: #4ade80;
    border: 1px solid rgb(34 197 94 / .35)
}

.dt-badge--pending {
    background: rgb(245 158 11 / .15);
    color: #fbbf24;
    border: 1px solid rgb(245 158 11 / .35)
}

.dt-badge--sold {
    background: rgb(220 38 38 / .18);
    color: #f87171;
    border: 1px solid rgb(220 38 38 / .4)
}

.dt-badge--ghost {
    background: var(--dt-card);
    color: var(--dt-muted);
    border: 1px solid var(--dt-line)
}

.dt-title {
    margin: 0;
    color: #fff;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.3px
}

.dt-views {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 50px;
    background: var(--dt-card);
    border: 1px solid var(--dt-line);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap
}

.dt-views i {
    color: var(--dt-red);
    font-size: 22px
}

.dt-views small {
    color: var(--dt-muted);
    font-size: 12px;
    font-weight: 500
}

/* =========================================================
   CAR GALLERY (main slider + thumbnails)
   ========================================================= */
.swiper-button-next,
.swiper-button-prev {
    color: #fff !important
}

.slide-img {
    width: 100%;
    object-fit: cover
}

.myCarGalleryMain {
    position: relative;
    width: 100%;
    height: 520px;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--dt-line)
}

.myCarGalleryMain .slide-img {
    height: 520px;
    border-radius: 0;
    cursor: zoom-in
}

/* prev / next arrows */
.myCarGalleryMain .swiper-button-next,
.myCarGalleryMain .swiper-button-prev {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgb(0 0 0 / .45);
    backdrop-filter: blur(4px);
    transition: background .2s
}

.myCarGalleryMain .swiper-button-next:hover,
.myCarGalleryMain .swiper-button-prev:hover {
    background: var(--dt-red)
}

.myCarGalleryMain .swiper-button-next::after,
.myCarGalleryMain .swiper-button-prev::after {
    font-size: 16px;
    font-weight: 700
}

.gallery-count,
.gallery-expand {
    position: absolute;
    z-index: 20;
    bottom: 16px;
    background: rgb(0 0 0 / .6);
    backdrop-filter: blur(4px);
    color: #fff;
    border-radius: 50px
}

.gallery-count {
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    pointer-events: none
}

.gallery-expand {
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: background .2s
}

.gallery-expand:hover {
    background: var(--dt-red)
}

.myCarThumbs {
    height: 74px;
    margin-top: 12px
}

/* width fixed + slidesPerView:"auto" (JS), !important lagbe na */
.myCarThumbs .swiper-slide {
    width: 100px;
    height: 70px;
    opacity: .55;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    box-sizing: border-box;
    transition: opacity .2s, border-color .2s
}

.myCarThumbs .swiper-slide:hover {
    opacity: .85
}

.myCarThumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--dt-red)
}

.myCarThumbs .slide-img {
    height: 100%;
    border-radius: 0
}

.sold-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    max-width: 50%;
    z-index: 100;
    pointer-events: none
}

.myCarGalleryMain .desktop-img,
.myCarThumbs .desktop-img {
    display: block
}

.myCarGalleryMain .mobile-img,
.myCarThumbs .mobile-img {
    display: none
}

/* =========================================================
   CAR POPUP (Magnific Popup)
   ========================================================= */
.mfp-bg,
.mfp-wrap {
    z-index: 99999
}

.car-popup.mfp-bg {
    background: #000;
    opacity: .92
}

.car-popup .mfp-img {
    border-radius: 10px
}

.car-popup .mfp-counter,
.car-popup .mfp-close {
    color: #fff
}

/* =========================================================
   HIGHLIGHTS STRIP
   ========================================================= */
.dt-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 18px 0
}

.dt-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--dt-card);
    border: 1px solid var(--dt-line);
    min-width: 0
}

.dt-highlight>i {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgb(220 38 38 / .15);
    color: #f87171;
    font-size: 20px
}

.dt-highlight span {
    display: block;
    color: var(--dt-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .8px
}

.dt-highlight strong {
    display: block;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

/* =========================================================
   CARDS (overview / features)
   ========================================================= */
.dt-card {
    margin-bottom: 18px;
    padding: 20px;
    border-radius: 20px;
    background: var(--dt-card);
    border: 1px solid var(--dt-line)
}

.dt-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px
}

.dt-card-title i {
    color: var(--dt-red);
    font-size: 22px
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none
}

.spec-grid-location {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none
}

.spec-grid-price {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 14px;
    background: var(--dt-card);
    border: 1px solid var(--dt-line);
    min-width: 0;
    transition: border-color .2s, background .2s
}

.spec-item:hover {
    border-color: rgb(220 38 38 / .5);
    background: var(--dt-card-2)
}

.spec-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--dt-red);
    color: #fff;
    font-size: 20px
}

.spec-info {
    min-width: 0
}

.spec-info span {
    display: block;
    color: var(--dt-muted);
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
}

.spec-info h6 {
    margin: 2px 0 0;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-transform: uppercase;
}

/* =========================================================
   FEATURE TABS
   ========================================================= */
.feature-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 22px;
    padding: 5px;
    border-radius: 14px;
    background: rgb(0 0 0 / .35);
    overflow-x: auto;
    scrollbar-width: none
}

.feature-tabs::-webkit-scrollbar {
    display: none
}

.feature-tab-btn {
    flex: 1 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    background: transparent;
    color: var(--dt-muted);
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    white-space: nowrap;
    transition: all .25s ease
}

.feature-tab-btn em {
    font-style: normal;
    min-width: 22px;
    padding: 1px 7px;
    border-radius: 50px;
    background: rgb(255 255 255 / .1);
    font-size: 11px
}

.feature-tab-btn:hover {
    color: #fff
}

.feature-tab-btn.active {
    background: var(--dt-red);
    color: #fff !important;
    box-shadow: 0 8px 20px -8px rgb(220 38 38 / .8)
}

.feature-tab-btn.active em {
    background: rgb(255 255 255 / .25)
}

.feature-tab-content {
    display: none
}

.feature-tab-content.active {
    display: block;
    animation: dtFade .3s ease
}

@keyframes dtFade {
    from {
        opacity: 0;
        transform: translateY(6px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--dt-card);
    border: 1px solid var(--dt-line);
    height: 100%
}

.feature-item i {
    color: #22c55e;
    font-size: 19px
}

.feature-item span {
    color: #fff;
    font-size: 14px;
    font-weight: 500
}

.dt-empty {
    margin: 0;
    padding: 20px;
    text-align: center;
    color: var(--dt-muted);
    font-size: 14px
}

.dt-desc {
    color: #e4e4e7;
    font-size: 15px;
    line-height: 1.8
}

.dt-desc p {
    margin-bottom: 12px
}

.dt-desc ul,
.dt-desc ol {
    padding-left: 20px
}

.dt-desc li {
    color: #e4e4e7;
    line-height: 1.8
}

.dt-desc * {
    color: inherit
}

/* =========================================================
   SIDEBAR
   ========================================================= */
.dt-side {
    display: flex;
    flex-direction: column;
    gap: 18px
}

@media (min-width:992px) and (min-height:900px) {
    .dt-side {
        position: sticky;
        top: 130px
    }
}

.dt-price-card {
    padding: 20px;
    border-radius: 20px;
    background: linear-gradient(160deg, rgb(220 38 38 / .22), rgb(255 255 255 / .04) 55%);
    border: 1px solid rgb(220 38 38 / .35);
    box-shadow: 0 24px 50px -28px rgb(0 0 0 / .8)
}


.dt-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-top: 4px
}

.dt-price {
    color: #fff;
    font-size: 30px;
    font-weight: 900;
}

.dt-price-old {
    color: #71717a;
    font-size: 20px
}

.dt-price-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 6px;
    color: var(--dt-muted);
    margin-bottom: 15px;
}

.dt-save {
    padding: 3px 12px;
    border-radius: 50px;
    background: rgb(34 197 94 / .15);
    border: 1px solid rgb(34 197 94 / .35);
    color: #4ade80;
    font-size: 12px;
    font-weight: 700
}

.dt-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 22px
}

.dt-actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.dt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1.5px solid transparent;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s
}

.dt-btn i {
    font-size: 18px
}

.dt-btn:hover {
    transform: translateY(-2px)
}

.dt-btn--wa {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    box-shadow: 0 12px 26px -12px rgb(37 211 102 / .8)
}

.dt-btn--wa:hover {
    color: #fff;
    box-shadow: 0 16px 30px -12px rgb(37 211 102 / .9)
}

.dt-btn--call {
    background: #fff;
    color: #111
}

.dt-btn--call:hover {
    background: #f4f4f5;
    color: #111
}

.dt-btn--test {
    background: var(--dt-red);
    color: #fff;
    box-shadow: 0 12px 26px -12px rgb(220 38 38 / .9)
}

.dt-btn--test:hover {
    background: var(--dt-red-dark);
    color: #fff
}

.dt-btn--fin {
    background: transparent;
    color: #fff;
    border-color: rgb(255 255 255 / .3)
}

.dt-btn--fin:hover {
    background: #fff;
    color: #111;
    border-color: #fff
}

.dt-share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--dt-line)
}

.dt-share>span {
    color: var(--dt-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px
}

#st-1 .st-total {
    color: #fff !important
}

.dt-trust {
    display: grid;
    gap: 8px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none
}

.dt-trust li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d4d4d8;
    font-size: 13px
}

.dt-trust i {
    color: var(--dt-red);
    font-size: 18px
}

.dt-map {
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid var(--dt-line);
    background: #fff
}

.dt-map iframe {
    display: block;
    width: 100%;
    height: 220px;
    border: 0
}

/* =========================================================
   DEALER CARD
   ========================================================= */
.dealer-card {
    background: #111;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / .06);
    box-shadow: 0 10px 30px rgb(0 0 0 / .25)
}

.dealer-header {
    padding: 30px 25px;
    text-align: center;
    background: linear-gradient(135deg, #dc2626, #7f1d1d)
}

.dealer-logo {
    width: 84px;
    height: 84px;
    margin: auto;
    margin-bottom: 14px;
    border-radius: 50%;
    padding: 5px;
    background: #fff
}

.dealer-logo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover
}

.dealer-header h4 {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 6px
}

.dealer-header p {
    color: rgb(255 255 255 / .8);
    margin: 0;
    font-size: 14px
}

.dealer-contact {
    padding: 18px
}

.dealer-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 16px;
    background: #181818;
    margin-bottom: 12px;
    text-decoration: none;
    border: 1px solid rgb(255 255 255 / .05);
    transition: .3s ease
}

.dealer-item:last-child {
    margin-bottom: 0
}

.dealer-item:hover {
    background: #202020;
    border-color: #dc2626;
    transform: translateY(-2px)
}

.dealer-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 14px;
    background: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px
}

.dealer-text span {
    display: block;
    color: #999;
    font-size: 12px;
    margin-bottom: 3px
}

.dealer-text h6 {
    color: #fff;
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5
}

/* =========================================================
   TEST DRIVE MODAL
   ========================================================= */
.testdrive-modal {
    background: #111;
    border-radius: 20px;
    border: 1px solid rgb(255 255 255 / .06);
    padding: 10px
}

.modal-title {
    color: #fff;
    font-size: 24px;
    font-weight: 500
}

.modal-title i {
    color: #dc2626
}

.custom-form-control {
    height: 54px;
    background: #1a1a1a;
    border: 1px solid rgb(255 255 255 / .08);
    border-radius: 14px;
    color: #fff;
    padding: 12px 16px;
    font-size: 15px;
    box-shadow: none !important
}

.custom-form-control:focus {
    background: #1a1a1a;
    border-color: #dc2626;
    color: #fff
}

.custom-form-control::placeholder {
    color: #888
}

.submit-testdrive-btn {
    height: 54px;
    border: none;
    border-radius: 14px;
    background: #dc2626;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    transition: .3s ease
}

.submit-testdrive-btn:hover {
    background: #b91c1c;
    color: #fff
}

.error-text {
    font-size: 12px;
    margin-top: 4px;
    display: block
}

.accordion-header {
    margin-bottom: 5px !important
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:991.98px) {
    .dt-title {
        font-size: 28px
    }

    .spec-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:767.98px) {
    .dt-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px
    }

    .dt-title {
        font-size: 23px
    }

    .dt-views {
        font-size: 16px;
        padding: 7px 14px
    }

    .dt-crumb span {
        max-width: 160px
    }

    .myCarGalleryMain {
        height: 320px;
        border-radius: 16px
    }

    .myCarGalleryMain .slide-img {
        height: 320px
    }

    .myCarGalleryMain .swiper-button-next,
    .myCarGalleryMain .swiper-button-prev {
        width: 36px;
        height: 36px
    }

    .myCarThumbs {
        height: 60px
    }

    .myCarThumbs .swiper-slide {
        width: 78px;
        height: 56px
    }

    .sold-overlay {
        width: 140px;
        max-width: 60%
    }

    .myCarGalleryMain .desktop-img,
    .myCarThumbs .desktop-img {
        display: none
    }

    .myCarGalleryMain .mobile-img,
    .myCarThumbs .mobile-img {
        display: block
    }

    .dt-highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px
    }

    .dt-highlight {
        padding: 12px
    }

    .dt-highlight>i {
        width: 36px;
        height: 36px;
        font-size: 18px
    }

    .dt-card {
        padding: 12px;
        border-radius: 16px
    }

    .spec-item {
        padding: 12px;
        gap: 10px
    }

    .spec-icon {
        width: 36px;
        height: 36px;
        font-size: 17px
    }

    .spec-info h6 {
        font-size: 14px
    }

    .dt-price-card {
        padding: 12px
    }

    .dt-price {
        font-size: 25px
    }

    .dealer-header {
        padding: 26px 18px
    }

    .dealer-logo {
        width: 72px;
        height: 72px
    }

    .dealer-header h4 {
        font-size: 20px
    }

    .dealer-contact {
        padding: 14px
    }

    .dealer-item {
        padding: 12px;
        gap: 12px
    }

    .dealer-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 20px
    }

    .dealer-text h6 {
        font-size: 14px
    }

    .modal-title {
        font-size: 20px
    }

    .custom-form-control {
        height: 50px;
        font-size: 14px
    }

    .submit-testdrive-btn {
        height: 50px
    }
}

@media (max-width:420px) {
    .spec-grid {
        grid-template-columns: 1fr
    }
}