/* GRID SAME RAHEGI */
.container-full {
    max-width: 1920px !important;
}

.crt-section {
    width: 100%;
}

.carspot-list-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
}

.carspot-grid {
    width: 100%;
}

.crt-layout .carspot-grid a {
    border: none;
    padding: 0;
}

.carspot-highlight-range-image img {
    width: 100%;
    max-width: 329px;
    object-fit: cover;
}

.carspot-highlight-range-detail h3 {
    color: #050B20;
    font-size: 20px;
    font-weight: var(--fw-normal);
}

.carspot-highlight-content {
    border-top: 1px solid #C9C9C9;
    padding-top: 12px;
    margin-top: 12px;
}

.carspot-highlight-price {
    color: var(--black);
    font-size: 13px;
}

.carspot-highlight-link {
    color: var(--black);
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.carspot-highlight-link:after {
    content: "";
    background-image: url(../images/btn-arrow-mob.svg);
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    width: 14px;
    height: 14px;
    transition: all 0.3s ease-in;
    filter: invert(19%) sepia(93%) saturate(7485%) hue-rotate(2deg) brightness(97%) contrast(112%);
}

.carspot-highlight-link:hover {
    color: var(--black);
}

.carspot-highlight-link:hover:after {
    transform: translateX(3px);
}

/* --------------------------------------------------
   TABS SYSTEM (PREFIXED -> crt-)
-----------------------------------------------------*/

.crt-layout {
    display: flex;
    gap: 40px;
    padding: 40px 15px;
}

/* LEFT */

.crt-tabs {
    overflow-x: auto;
    padding-bottom: 10px;
}

.crt-tabs .crt-tab {
    font-size: 20px;
    cursor: pointer;
    padding-bottom: 5px;
    position: relative;
    white-space: nowrap;
}

.crt-tabs .crt-tab.active {
    font-weight: 600;
}

.crt-tabs .crt-tab.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 60px;
    height: 2px;
    background: #000;
}

.icon-car-streamline {
    background: url("../images/car-streamline.svg") no-repeat;
    width: 15px;
    height: 15px;
}

.cta-test-drive:hover .icon-car-streamline {
    filter: brightness(0) invert(1);
}

.main-menu li .cta-test-drive {
    border-bottom: 1px solid var(--black);
    padding: 14px 24px 16px 24px;
}

/* RIGHT */


.crt-content {
    display: none;
}

.crt-content.active {
    display: block;
}


/* --------------------------------------------------
   RESPONSIVE
-----------------------------------------------------*/

@media (min-width: 768px) {
    .carspot-list-wrap {
        grid-template-columns: repeat(2, 1fr);
    }

    .carspot-highlight-range-image img {
        max-width: 324px;
    }
}

@media (min-width: 992px) {
    .crt-layout {
        gap: 0;
    }

    .crt-tabs-nav {
        max-width: 280px;
        width: 100%;
        border-right: 1px solid #C9C9C9;
        padding-right: 25px;
        overflow: visible;
    }



    .crt-tabs .crt-tab {
        white-space: normal;
    }

    .crt-right {
        width: calc(100% - 280px);
        padding: 0 30px;
    }

    .mega-menu .crt-right {
        height: auto;
        max-height: calc(80vh - 100px);
        overflow-x: hidden;
        overflow-y: auto;
    }
}

@media (min-width: 1200px) {



    .carspot-list-wrap {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px 30px;
    }
}

@media (min-width: 1280px) {
    .crt-layout {
        padding: 50px 50px 0;
    }

    .crt-tabs-nav {
        max-width: 320px;
    }

    .crt-right {
        width: calc(100% - 320px);

    }

    .mega-menu .crt-right {
        max-height: calc(70vh - 100px);
    }
}

@media (min-width: 1536px) {
    .carspot-grid {
        max-width: 320px;
    }

    .carspot-highlight-range-detail h3 {
        font-size: 24px;
    }

    .carspot-highlight-price {
        font-size: 14px;
    }

    .carspot-highlight-link {
        font-size: 15px;
    }

    .crt-tabs-nav {
        max-width: 509px;
        padding-right: 30px;
    }

    .crt-right {
        width: calc(100% - 510px);
        padding: 0 40px;
    }
}