.carspot-comparateur-section {
    position: fixed;
    left: 0;
    right: 0;
    bottom: -100%;
    z-index: 9999;
    background: #fff;
    transition: all 0.5s ease;
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.15);
    height: 100vh;
    overflow-y: auto;
}

.carspot-comparateur-section.active {
    bottom: 0;
}

.comparateur-close-btn {
    right: 10px;
    top: 10px;
    width: 32px;
    height: 32px;
    background-color: var(--black);
    color: var(--white);
    font-size: 20px;
    border: none;
}

.carspot-comparateur-section .carsport-compare-wrapper {
    padding: 0;
}

.version-card-inner {
    border: 1px solid var(--grey-second);
    border-radius: 8px;
    padding-bottom: 5px;
}

.version-media-preview {
    text-align: center;
}

.version-media-preview img {
    max-width: 350px;
    max-height: 200px;
    width: 100%;
}

.version-card-inner .color-picker-item {
    width: 30px;
    height: 30px;
    padding: 2px;
}

.stock-status {
    font-size: var(--fz);
    font-weight: var(--fw-normal);
}

.car-version-model {
    color: var(--first-color);
    font-size: 20px;
}

.color-varian .ic-engine {
    background: url(../images/engine.svg) no-repeat;
    width: 17px;
    height: 13px;
    display: inline-block;
}

.ic-exterior {
    background: url(../images/ic-exterior.svg) no-repeat;
    width: 19px;
    height: 13px;
    display: inline-block;
}

.ic-interior {
    background: url(../images/ic-interior.svg) no-repeat;
    width: 13px;
    height: 13px;
    display: inline-block;
}

.vehicle-highlights {
    border: 1px solid var(--grey-second);
    border-radius: 4px;
}

.vehicle-highlights p {
    color: var(--first-color);
    margin-bottom: 30px;
}

.vehicle-highlights p:last-child {
    margin-bottom: 0;
}

.carspot-comparateur-section .version-specs-list li {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    gap: 8px;
}

.version-specs-left {
    color: var(--grey);
    font-size: 12px;
    line-height: 1;
    font-family: var(--base-font);
}

.version-specs-right {
    color: var(--second-black);
    font-size: 12px;
    font-weight: var(--fw-semibold);
    text-align: right;
}

.info-dot {
    width: 17px;
    height: 17px;
    cursor: pointer;
    background: url(../images/info-dot.svg) no-repeat;
}

.info-dot-dark {
    background: url(../images/info-dot-dark.svg) no-repeat;
}

.energy-box {
    width: 35px;
    height: 24px;
    background: url(../images/energy.svg) no-repeat;
}

/* new */
.version-info-panel .accordion-button {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 18px 15px !important;
}

.version-info-panel .accordion-item {
    border: none !important;
    border-radius: 0 !important;
    border-top: 1px solid var(--grey-second) !important;
}

.version-info-panel .accordion-button:not(.collapsed) {
    color: var(--first-color);
}

.version-info-panel .acc-title {
    color: var(--first-color);
    font-size: 16px;
    line-height: 1.05;
}

.accordion-button:not(.collapsed)::after {
    background-image: var(--bs-accordion-btn-icon) !important;
}

.comparateur-dropdown {
    border: 1px solid var(--first-color);
    cursor: pointer;
}

.version-comparateur {
    display: flex;
    overflow-x: auto;
    padding-bottom: 10px;
    gap: 15px;
}

.carsport-version-card {
    flex: 0 0 300px;
    /* MOBILE: 2 box side-by-side automatically */
    max-width: 300px;
    /* optional max width */
    /* don’t shrink too much */
}

/* -------- SLIDER GAP -------- */
.carsport-version-card {}

.version-comparateur .slick-list {
    margin: 0 -15px;
}


/* COMPONENT WRAPPER */
.tc-dropdown {

    position: relative;
}

/* TOP SELECTED BAR */
.tc-dropdown-toggle {
    width: 100%;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--first-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    min-height: 71px;
    transition: 0.3s ease;
}

.tc-dropdown-toggle:hover {
    border-color: #000;
}

.tc-top-left {
    width: calc(100% - 12px);
    padding-right: 15px;
}

.tc-top-type {
    font-size: 16px;
    color: var(--first-color);
    display: block;
    text-align: left;
    line-height: 1.4;
}

.tc-top-title {
    font-size: 20px;

}

.tc-arrow {
    background: url("../images/tr-drop-arrow.svg") no-repeat;
    width: 12px;
    height: 7px;
    transition: 0.3s;
}

.tc-dropdown.open .tc-arrow {
    transform: rotate(180deg);
}

/* DROPDOWN BOX */
.tc-dropdown-menu {
    background-color: var(--white);
    min-height: 330px;
    display: none;
    position: var(--position-absolute);
    width: 100%;
    left: 0;
    top: 99%;
    border-top: 0;
    overflow: hidden;
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid var(--first-color);
    border-top: none;
    z-index: 2;
}

.tc-dropdown.open .tc-dropdown-menu {
    display: block;
}

/* CATEGORY LABEL */
.tc-category {
    font-size: 16px;
    padding: 20px;
}

/* LIST SCROLL AREA */


.tc-list::-webkit-scrollbar {
    width: 6px;
}

.tc-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* ITEM */
.tc-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    cursor: pointer;
    user-select: none;
    border-bottom: 1px solid var(--grey-second);
}

.tc-item img {
    width: 100px;
}

.tc-item:hover {
    background: #f8f8f8;
}

.tc-type {
    font-size: 13px;
    color: #365df0;
    display: block;
}

.tc-name {
    color: var(--first-color);
    font-size: 16px;
    font-family: var(--base-font);

}

.tc-item-arrow {
    margin-left: auto;
    font-size: 22px;
    color: var(--grey);
    font-weight: 400;
}






/* Level 1 */
.tc-list {
    transition: transform .35s ease;
}

/* Level 2 screen hidden by default */
.tc-sublist {
    position: absolute;
    top: 0;
    left: 100%;
    /* right side */
    width: 100%;
    background: #fff;
    height: 100%;
    padding: 10px 0;
    transition: transform .35s ease;
}

/* When sliding to Level 2 */
.tc-dropdown.slide-level2 .tc-list {
    transform: translateX(-100%);
}

.tc-dropdown.slide-level2 .tc-sublist {
    transform: translateX(-100%);
}

/* Back button */
.tc-back-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    font-size: 15px;
    cursor: pointer;
}

.tc-version-list {
    display: none;
}




.v-img {
    width: 100px;
}

.tc-version {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    cursor: pointer;
    user-select: none;
    border-bottom: 1px solid var(--grey-second);
}

.tc-version:hover {
    background: #f8f8f8;
}

.v-type {
    font-size: 13px;
    color: #365df0;
    display: block;
}

.v-name {
    color: var(--first-color);
    font-size: 16px;
    font-family: var(--base-font);
}





.sub-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    margin-bottom: 12px;
    cursor: pointer;
    background: #fff;
}

.sub-item:hover {
    background: #f5f6f7;
}

.sub-img {
    width: 100px;
    height: auto;
}

.sub-mid {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sub-type {
    font-size: 12px;
    color: #0a6bff;
    font-weight: 600;
}

.sub-name {
    font-size: 15px;
    font-weight: 600;
}

.sub-arrow {
    font-size: 20px;
    color: #000;
}


@media (min-width:576px) {
    .carsport-version-card {
        flex: 0 0 350px;
        max-width: 350px;
    }
}

@media (min-width: 768px) {
    .carsport-compare-wrapper {
        padding: 0 20px;
    }

}

@media (min-width:1200px) {
    .carsport-compare-wrapper {
        padding: 0 50px;
    }

    .version-comparateur {
        overflow: visible;
        padding-bottom: 0;
    }

    .carspot-comparateur-section .version-specs-list li {
        flex-direction: row;
    }
}

@media (min-width:1280px) {
    .carsport-compare-wrapper {
        padding: 0 70px;
    }

    .carsport-version-card {
        flex: 0 0 390px;
        max-width: 390px;
        padding: 0 12px;
    }

    .tc-top-type {
        font-size: 17px;
    }
}

@media (min-width:1498px) {
    .carsport-version-card {
        flex: 1 1 calc(50% - 20px);
        max-width: 468px;
        padding: 0 15px;
    }

    .tc-top-type {
        font-size: 20px;
    }

    .tc-dropdown-toggle {
        padding: 15px 20px;
        min-height: 89px;
    }

    .version-media-preview img {
        object-fit: contain;
    }
}