.dtl-detail-sections .dtl-tabs {
    gap: 42px;
    margin-bottom: 50px;
}
.dtl-main-media-wrap {
    position: relative;
}
.dtl-gallery-nav {
    align-items: center;
    background: rgba(17, 24, 39, .72);
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: flex;
    height: 48px;
    justify-content: center;
    padding: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background .18s ease, opacity .18s ease;
    width: 48px;
    z-index: 2;
}
.dtl-gallery-nav:hover,
.dtl-gallery-nav:focus-visible {
    background: rgba(193, 18, 31, .92);
    opacity: 1;
}
.dtl-gallery-nav-prev {
    left: 16px;
}
.dtl-gallery-nav-next {
    right: 16px;
}
.dtl-gallery-nav span {
    font-size: 34px;
}

.dtl-detail-sections .dtl-loan {
    background-color: #111827;
    background-position: center;
    background-size: cover;
    border-radius: 18px;
    box-shadow: 0 24px 54px rgba(17, 24, 39, .16);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
    gap: 38px;
    margin: 0 0 34px;
    overflow: hidden;
    padding: 46px;
    position: relative;
}

.dtl-detail-sections .dtl-loan::before {
    background: rgba(8, 13, 18, .78);
    content: "";
    inset: 0;
    position: absolute;
}

.dtl-loan-copy,
.dtl-loan-result-card {
    position: relative;
    z-index: 1;
}

.dtl-loan-copy h2 {
    color: #fff;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.15;
    margin: 28px 0 10px;
}

.dtl-loan-copy > p {
    color: rgba(255, 255, 255, .82);
    font-size: 15px;
    line-height: 1.55;
    margin: 0 0 34px;
}

.dtl-loan-form {
    display: grid;
    gap: 22px 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 480px;
}

.dtl-loan-form label {
    color: rgba(255, 255, 255, .62);
    display: grid;
    font-size: 12px;
    font-weight: 900;
    gap: 8px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dtl-loan-form input,
.dtl-loan-form select {
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 10px;
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    height: 50px;
    outline: none;
    padding: 0 16px;
    width: 100%;
}

.dtl-loan-form input::placeholder {
    color: rgba(255, 255, 255, .36);
}

.dtl-loan-form select option {
    color: #111827;
}

.dtl-loan-calc-btn {
    background: #c9003d;
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 900;
    height: 54px;
    letter-spacing: .08em;
    margin-top: 30px;
    padding: 0 36px;
    text-transform: uppercase;
}

.dtl-loan-result-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    padding: 30px;
}

.dtl-loan-result-card::after {
    background: #faedf2;
    border-radius: 0 0 0 100%;
    content: "";
    height: 72px;
    position: absolute;
    right: 0;
    top: 0;
    width: 72px;
}

.dtl-loan-result-head {
    align-items: center;
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.dtl-loan-result-head .material-symbols-outlined {
    align-items: center;
    background: #f9d8e2;
    border-radius: 8px;
    color: #c9003d;
    display: inline-flex;
    font-size: 22px;
    height: 40px;
    justify-content: center;
    width: 40px;
}

.dtl-loan-result-head h3 {
    color: #3f2a2f;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .12em;
    margin: 0;
    text-transform: uppercase;
}

.dtl-loan-result-label {
    color: #475569;
    display: block;
    font-size: 13px;
    margin-bottom: 8px;
}

.dtl-loan-result-card > strong {
    border-bottom: 1px solid #e5e7eb;
    color: #c9003d;
    display: block;
    font-size: 42px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.05;
    margin-bottom: 28px;
    padding-bottom: 30px;
}

.dtl-loan-result-lines {
    display: grid;
    gap: 18px;
    margin-bottom: 28px;
}

.dtl-loan-result-lines p {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 0;
}

.dtl-loan-result-lines span {
    color: #475569;
    font-size: 15px;
}

.dtl-loan-result-lines b {
    color: #020617;
    font-size: 15px;
    font-weight: 900;
    white-space: nowrap;
}

.dtl-loan-result-card em {
    background: #f3f4f6;
    border-radius: 14px;
    color: #64748b;
    display: block;
    font-size: 12px;
    line-height: 1.6;
    padding: 18px 20px;
}

@media (max-width: 980px) {
    .dtl-detail-sections .dtl-loan {
        grid-template-columns: 1fr;
        padding: 38px;
    }

    .dtl-loan-form {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .dtl-gallery-nav {
        height: 40px;
        width: 40px;
    }
    .dtl-gallery-nav-prev {
        left: 10px;
    }
    .dtl-gallery-nav-next {
        right: 10px;
    }
    .dtl-gallery-nav span {
        font-size: 30px;
    }
    .dtl-detail-sections .dtl-loan {
        border-radius: 16px;
        padding: 24px;
    }

    .dtl-loan-copy h2 {
        font-size: 28px;
        margin-top: 8px;
    }

    .dtl-loan-form {
        grid-template-columns: 1fr;
    }

    .dtl-loan-result-card {
        padding: 26px;
    }

    .dtl-loan-result-card > strong {
        font-size: 36px;
    }

    .dtl-detail-sections .dtl-tabs {
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .dtl-detail-sections .dtl-tabs::-webkit-scrollbar {
        display: none;
    }

    .dtl-detail-sections .dtl-tabs a {
        flex: 0 0 auto;
        white-space: nowrap;
    }
}

.dtl-detail-sections .dtl-tabs a {
    color: #334155;
    font-size: 18px;
    font-weight: 700;
    padding: 0 10px 20px;
}

.dtl-spec-highlight-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    margin: 0 0 50px;
}

.dtl-spec-highlight {
    background: #f6f7f9;
    border: 1px solid transparent;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 112px;
    padding: 24px 82px 24px 26px;
    position: relative;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.dtl-spec-highlight:hover {
    border-color: #efb3c0;
    box-shadow: 0 18px 34px rgba(17, 24, 39, .1);
    transform: translateY(-3px);
}

.dtl-spec-highlight .material-symbols-outlined {
    color: #c1123d;
    font-size: 36px;
    margin: 0;
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
}

.dtl-spec-highlight small {
    color: #334155;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.dtl-spec-highlight strong {
    color: #020617;
    font-size: 20px;
    font-weight: 800;
    margin-top: 2px;
}

.dtl-overview-panel {
    display: block;
    margin-bottom: 28px;
}

.dtl-overview-copy {
    border-color: #efb3c0;
    border-radius: 18px;
    box-shadow: none;
    padding: 36px 38px;
}

.dtl-overview-copy h2 {
    align-items: center;
    display: flex;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 32px;
}

.dtl-overview-copy h2::before {
    background: #c1123d;
    border-radius: 999px;
    content: "";
    display: inline-block;
    height: 38px;
    margin-right: 14px;
    width: 7px;
}

.dtl-lead,
.dtl-overview-copy .dtl-content {
    color: #4b1f1f;
    font-size: 20px;
    line-height: 1.55;
}

.dtl-quality-commitment {
    align-items: center;
    background: #fff5f8;
    border: 1px solid #efb3c0;
    border-radius: 12px;
    display: flex;
    gap: 20px;
    margin-top: 30px;
    padding: 26px 28px;
}

.dtl-quality-icon.material-symbols-outlined {
    align-items: center;
    background: #f9d8e2;
    border-radius: 8px;
    color: #c1123d;
    display: inline-flex;
    flex: 0 0 54px;
    font-size: 30px;
    height: 54px;
    justify-content: center;
    width: 54px;
}

.dtl-quality-commitment h3 {
    color: #020617;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 6px;
}

.dtl-quality-commitment p {
    color: #475569;
    font-size: 16px;
    font-style: italic;
    font-weight: 700;
    line-height: 1.55;
    margin: 0;
}

.dtl-featured-specs {
    border-color: #efb3c0;
    border-radius: 18px;
    box-shadow: none;
    padding: 36px 38px;
}

.dtl-featured-specs h2 {
    align-items: center;
    display: flex;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 32px;
}

.dtl-featured-specs h2::before {
    background: #c1123d;
    border-radius: 999px;
    content: "";
    display: inline-block;
    height: 38px;
    margin-right: 14px;
    width: 7px;
}

.dtl-featured-spec-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 80px;
    row-gap: 24px;
}

.dtl-featured-spec-list div {
    align-items: center;
    display: flex;
    gap: 14px;
    min-width: 0;
}

.dtl-featured-spec-list .material-symbols-outlined {
    background: #c1123d;
    border-radius: 999px;
    color: #fff;
    flex: 0 0 20px;
    font-size: 20px;
    height: 20px;
    line-height: 1;
    width: 20px;
}

.dtl-featured-spec-list p {
    color: #4b1f1f;
    font-size: 20px;
    line-height: 1.35;
    margin: 0;
}

.dtl-related-head {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 18px;
}

.dtl-related-head h2 {
    margin: 0;
}

.dtl-related-carousel {
    position: relative;
}

.dtl-related-carousel.has-related-nav {
    padding-inline: 0;
}

.dtl-related-actions {
    align-items: center;
    display: flex;
    inset: 0 -14px 18px;
    justify-content: space-between;
    pointer-events: none;
    position: absolute;
    z-index: 4;
}

.dtl-related-actions button {
    align-items: center;
    background: #fff;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 10px 26px rgba(17, 24, 39, .14);
    color: #e11d48;
    cursor: pointer;
    display: inline-flex;
    height: 46px;
    justify-content: center;
    pointer-events: auto;
    transition: color .2s, transform .2s, box-shadow .2s;
    width: 46px;
}

.dtl-related-actions button:hover {
    color: #c1123d;
    box-shadow: 0 14px 34px rgba(17, 24, 39, .18);
    transform: scale(1.04);
}

.dtl-related-actions button .material-symbols-outlined {
    font-size: 24px;
}

.dtl-related-carousel.has-related-nav .dtl-related-track {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding: 2px 0 18px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.dtl-related-carousel.has-related-nav .dtl-related-track::-webkit-scrollbar {
    display: none;
}

.dtl-related-carousel.has-related-nav .dtl-related-track .dtl-car-card {
    flex: 0 0 calc((100% - 44px) / 3);
    scroll-snap-align: start;
}

.dtl-related-carousel.has-related-nav .dtl-related-track .dtl-empty {
    flex: 1 1 100%;
}

@media (max-width: 980px) {
    .dtl-spec-highlight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        margin-bottom: 50px;
    }

    .dtl-detail-sections .dtl-tabs {
        margin-bottom: 50px;
    }

    .dtl-related-carousel.has-related-nav .dtl-related-track .dtl-car-card {
        flex-basis: calc((100% - 22px) / 2);
    }
}

@media (max-width: 640px) {
    .dtl-related-head {
        align-items: center;
        flex-direction: row;
    }

    .dtl-related-carousel.has-related-nav {
        padding-inline: 0;
    }

    .dtl-related-actions {
        inset-inline: -8px;
    }

    .dtl-related-actions button {
        height: 40px;
        width: 40px;
    }

    .dtl-related-actions button .material-symbols-outlined {
        font-size: 22px;
    }

    .dtl-related-carousel.has-related-nav .dtl-related-track {
        gap: 14px;
    }

    .dtl-related-carousel.has-related-nav .dtl-related-track .dtl-car-card {
        flex-basis: calc((100% - 14px) / 2);
    }

    .dtl-related-carousel.has-related-nav .dtl-related-track .dtl-car-card .dtl-card-image {
        height: 132px;
    }

    .dtl-related-carousel.has-related-nav .dtl-related-track .dtl-car-card .dtl-card-body {
        padding: 14px;
    }

    .dtl-related-carousel.has-related-nav .dtl-related-track .dtl-car-card .dtl-card-type {
        font-size: 11px;
        line-height: 1.3;
        margin-bottom: 6px;
    }

    .dtl-related-carousel.has-related-nav .dtl-related-track .dtl-car-card .dtl-card-body h3 {
        display: -webkit-box;
        font-size: 16px;
        line-height: 1.3;
        margin: 0 0 10px;
        min-height: 2.6em;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .dtl-related-carousel.has-related-nav .dtl-related-track .dtl-car-card .dtl-card-specs {
        gap: 8px;
        margin: 0 0 12px;
        white-space: normal;
    }

    .dtl-related-carousel.has-related-nav .dtl-related-track .dtl-car-card .dtl-card-specs span {
        font-size: 11px;
        gap: 3px;
    }

    .dtl-related-carousel.has-related-nav .dtl-related-track .dtl-car-card .dtl-card-specs i {
        font-size: 14px;
    }

    .dtl-related-carousel.has-related-nav .dtl-related-track .dtl-car-card .dtl-card-price {
        display: block;
        margin: 0 0 12px;
    }

    .dtl-related-carousel.has-related-nav .dtl-related-track .dtl-car-card .dtl-card-price strong {
        display: block;
        font-size: 18px;
        line-height: 1.15;
    }

    .dtl-related-carousel.has-related-nav .dtl-related-track .dtl-car-card .dtl-card-price del {
        display: block;
        font-size: 11px;
        margin-top: 4px;
    }

    .dtl-related-carousel.has-related-nav .dtl-related-track .dtl-car-card .dtl-card-actions {
        gap: 8px;
    }

    .dtl-related-carousel.has-related-nav .dtl-related-track .dtl-car-card .dtl-card-actions a {
        font-size: 13px;
        height: 40px;
        padding: 0 8px;
    }

    .dtl-related-carousel.has-related-nav .dtl-related-track .dtl-car-card .dtl-badge {
        font-size: 9px;
        padding: 6px 8px;
    }

    .dtl-related-carousel.has-related-nav .dtl-related-track .dtl-car-card .dtl-card-badges {
        gap: 5px;
        left: 10px;
        top: 10px;
    }

    .dtl-related-carousel.has-related-nav .dtl-related-track .dtl-car-card .dtl-year-badge {
        font-size: 11px;
        right: 10px;
        top: 10px;
    }

    .dtl-detail-sections .dtl-tabs a {
        font-size: 16px;
        padding-bottom: 14px;
    }

    .dtl-detail-sections .dtl-tabs {
        margin-bottom: 12px;
    }

    .dtl-spec-highlight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-bottom: 24px;
    }

    .dtl-spec-highlight {
        min-height: 104px;
        padding: 18px 54px 18px 16px;
    }

    .dtl-spec-highlight .material-symbols-outlined {
        font-size: 28px;
        right: 16px;
    }

    .dtl-spec-highlight small {
        font-size: 12px;
    }

    .dtl-spec-highlight strong {
        font-size: 16px;
        line-height: 1.25;
    }

    .dtl-overview-copy {
        padding: 24px;
    }

    .dtl-lead,
    .dtl-overview-copy .dtl-content {
        font-size: 16px;
    }

    .dtl-quality-commitment {
        align-items: flex-start;
        gap: 14px;
        padding: 18px;
    }

    .dtl-quality-icon.material-symbols-outlined {
        flex-basis: 48px;
        font-size: 26px;
        height: 48px;
        width: 48px;
    }

    .dtl-featured-specs {
        padding: 24px;
    }

    .dtl-featured-spec-list {
        grid-template-columns: 1fr;
        row-gap: 18px;
    }

    .dtl-featured-spec-list p {
        font-size: 16px;
    }
}
