/* #region Vehicle details - Images */
.vehicle__overview {
    padding: 0.5rem 0;
}

    .vehicle__overview .vehicle__overview-main {
        border-radius: var(--rounded-display);
        background-color: var(--color-surface);
        padding: 1rem;
        padding-bottom: 1rem;
    }

    .vehicle__overview .vehicle__images-nav {
        display: none;
    }

.vehicle__overview-main .vehicle__images-slider {
    width: 100%;
    aspect-ratio: 1/1;
    margin-bottom: 2rem;
}

.vehicle__images-slider .vehicle__image-slide img {
    height: 100%;
    object-fit: contain;
    display: flex;
    margin: 0 auto;
}

.vehicle__images-slider .vehicle__tags {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 1;
}

.vehicle__overview-main .vehicle__name {
    font-weight: 600;
    font-size: 2.25rem;
    line-height: 1.3;
    letter-spacing: -1%;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.vehicle__overview-main .vehicle__price {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 2rem;
}

.vehicle__price .price--discount {
    margin-bottom: 0.25rem;
}

.vehicle__overview-main .vehicle__extra {
    position: relative;
    display: flex;
    align-items: center;
}

.vehicle__extra .vehicle__images-slider-pagination {
    width: auto;
    padding: 0.563rem 1.156rem;
    background-color: var(--color-bg-neutral);
    border-radius: var(--rounded-md);
    font-weight: 600;
    font-size: 0.75rem;
    line-height: var(--line-height-tight);
    vertical-align: middle;
}

.vehicle__extra .vehicle__colorpicker {
    flex-grow: 1;
}

    .vehicle__extra .vehicle__colorpicker .product__colors-list {
        display: flex;
        gap: 0.5rem;
    }

.vehicle__colorpicker .product__color-item {
    width: 3rem;
    height: auto;
    aspect-ratio: 1/1;
    box-shadow: none;
    padding: 0.25rem;
    cursor: pointer;
}

    .vehicle__colorpicker .product__color-item.color--current {
        padding: 0;
        box-shadow: 0px 0px 0px 1px var(--color-primary);
        -webkit-box-shadow: 0px 0px 0px 1px var(--color-primary);
        -moz-box-shadow: 0px 0px 0px 1px var(--color-primary);
        -o-box-shadow: 0px 0px 0px 1px var(--color-primary);
    }

    .vehicle__colorpicker .product__color-item .product__color-inner {
        background-color: var(--product-color);
        width: 100%;
        aspect-ratio: 1/1;
        border-radius: var(--rounded-full);
        box-shadow: 0px 0px 0px 1px var(--color-border);
        -webkit-box-shadow: 0px 0px 0px 1px var(--color-border);
        -moz-box-shadow: 0px 0px 0px 1px var(--color-border);
        -o-box-shadow: 0px 0px 0px 1px var(--color-border);
    }
    
    
    .vehicle__images-slider .products__slider-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        background: none;
        border: none;
        padding: 0;
        color: #000;
        box-shadow: none;
        min-height: 38px;
    }
    
    .vehicle__images-slider .vehicle-images-prev {
        left: -10px;
    }
    
    .vehicle__images-slider .vehicle-images-next {
        right: -10px;
    }

/* #endregion */

/* #region Vehicle details - Request form */
.vehicle__details .request__form {
    display: none;
}

/* #endregion */

/* #region Vehicle details - Specification Highlight */
.vehicle__specs-highlight {
    padding: 1.5rem 0;
    padding-bottom: 0.5rem;
}

    .vehicle__specs-highlight .specs__highlight-main {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        max-height: 230px;
        overflow: hidden;
    }

        .vehicle__specs-highlight .specs__highlight-main.expanded {
            max-height: 100vh;
        }

    .vehicle__specs-highlight .specs__highlight-expand {
        width: fit-content;
        margin: 1rem auto 1.5rem;
    }

        .vehicle__specs-highlight .specs__highlight-expand .btn {
            gap: 0.5rem;
        }

    .vehicle__specs-highlight:has(.specs__highlight-main.expanded) .specs__highlight-expand {
        opacity: 0;
        pointer-events: none;
    }

.specs__highlight-main .specs__highlight-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.specs__highlight-item .spec__highlight-icon {
    width: 3.5rem;
    padding: 0.656rem;
    aspect-ratio: 1/1;
    flex-shrink: 0;
}

.specs__highlight-item .spec__highlight-content .spec__highlight-title {
    font-family: Open Sans;
    font-size: 20px;
    line-height: 140%;
    letter-spacing: -1%;
    margin-bottom: 0.188rem;
}
.vehicle__specs-details .specs__details-main {
        position: relative;
        overflow: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none; 
    }
    .specs__details-main .specs__details{
        scrollbar-width: none;
        -ms-overflow-style: none; 
         /* height: 650px; */
    }
.specs__table-wrapper {
        height: 550px;    
        width: 100%;
        overflow-y: auto;    
        overflow-x: auto;    
        border: 1px solid var(--color-border);
        border-radius: var(--rounded-sm);
        scrollbar-width: none;
        -ms-overflow-style: none; 
    }
    .specs__table-wrapper {
      -webkit-overflow-scrolling: touch; 
      scroll-behavior: smooth;  
      overflow-x: auto;
        overflow-y: auto;
    }

    .specs__table {
        width: 100%;
        min-width: 1408px;
        border-collapse: collapse;
    }
    .specs__table thead th {
        position: sticky;
        top: 0;
        z-index: 2;
        background: var(--color-secondary);
    }

   .specs__table-wrapper::-webkit-scrollbar {
        display: none;
    }
    .specs__table-wrapper::after {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 13%;
        background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
        color: #000;
        font-size: 16px;
        text-align: center;
        padding-top: 20px;
        opacity: 0;
        transform: translateY(100%);
        transition: all 0.4s ease;
        pointer-events: none;
        content: attr(data-text);
    }

    .specs__table-wrapper.show-overlay::after {
        opacity: 0;
        transform: translateY(0);
    }

    .specs__table-wrapper.scrolled::after {
    opacity: 0;
    transform: translateY(0);
    }


/* #endregion */

/* #region Class highlight section */
.vehicle__class-highlight {
    padding-top: 0.5rem;
    background-color: var(--color-surface);
    border-top-left-radius: var(--rounded-display);
    border-top-right-radius: var(--rounded-display);
}

.class__highlight-main {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background-color: var(--color-white);
    border-radius: var(--rounded-display);
}

.class__highlight-content .class__highlight-title {
    margin-bottom: 1.5rem;
}

.class__highlight-content .class__highlight-details {
    font-weight: 600;
    font-size: var(--font-size-lg);
    line-height: 1.4;
}

    .class__highlight-content .class__highlight-details p:not(:last-child) {
        margin-bottom: 1.575rem;
    }

.class__highlight-main .class__highlight-images {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.class__highlight-images img {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: var(--rounded-card-lg);
}

/* #endregion */

/* #region Vehicle details - Specification details */
.vehicle__specs-details {
    background-color: var(--color-surface);
    padding: 2rem 0;
}

    .vehicle__specs-details .specs__details-tabs {
        margin-bottom: 3rem;
        position: relative;
    }

        .vehicle__specs-details .specs__details-tabs .tablist__nav-group {
            top: 14%;
        }

    .vehicle__specs-details .specs__details-main {
        position: relative;
        overflow: hidden;
    }

.specs__details-main .specs__details {
    background-color: var(--color-white);
    border-radius: var(--rounded-display);
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
}

    .specs__details-main .specs__details.active {
        opacity: 1;
        pointer-events: auto;
    }

    .specs__details-main .specs__details:has(.specs__table) {
        overflow-x: scroll;
    }

.specs__details .specs__details-img {
    width: 100%;
    height: 300px;
    border-radius: var(--rounded-card-lg);
    overflow: hidden;
}

    .specs__details .specs__details-img img {
        width: 100%;
        height: 100%;
    }

.specs__details .specs__details-content {
    padding: 1rem 0.5rem;
}

.specs__details-content .specs__details-tab {
    margin-bottom: 2rem;
}

.specs__details-content .specs__details-title {
    font-weight: 600;
    font-size: 2.25rem;
    line-height: 1.3;
    letter-spacing: -1%;
    margin-bottom: 1.5rem;
}

.specs__details-content .specs__details-description {
    font-weight: 500;
    font-size: var(--font-size-lg);
    line-height: 1.4;
}

/* #endregion */

/* #region Vehicle details - Gallery */
.vehicle__gallery {
    padding: 1rem 0;
    background-color: var(--color-surface);
}

    .vehicle__gallery .vehicle__gallery-main {
        display: grid;
        /*grid-template-rows: repeat(5, minmax(0, 346px));*/
        gap: 0.5rem;
        place-items: center;
    }

.vehicle__gallery-main img {
    height: 100%;
    border-radius: var(--rounded-display);
    object-fit: fill;
}

    .vehicle__gallery-main img:nth-child(2) {
        grid-row: 2 / span 2;
    }

/* #endregion */

/* #region Offer */
.offers {
    background-color: var(--color-surface);
    padding-bottom: 1rem;
    border-bottom-left-radius: var(--rounded-display);
    border-bottom-right-radius: var(--rounded-display);
}

    .offers .offers__inner {
        margin-bottom: 0.5rem;
    }

/* #endregion */

/* #region Related Cars */
.related-cars {
    padding-top: 2rem;
}

    .related-cars .section-title {
        margin-left: 1rem;
        margin-bottom: 0.75rem;
    }

/* #endregion */
.cta-group .cta:only-child {
    padding: 2rem 1rem;
    align-items: end;
    border-radius: var(--rounded-card);
    aspect-ratio: unset;
    flex-direction: unset;
}
.vehicle__specs-highlight .specs__highlight-expand .btn {
    gap: 0.5rem;
    min-height: 40px;
}
@media only screen and (min-width: 1280px) {

    /* #region Vehicle Overview section */
    .vehicle__overview {
        display: inline-block;
        width: calc(50% - 0.25rem);
        padding-top: 1rem;
    }

        .vehicle__overview .vehicle__overview-main {
            display: flex;
            flex-direction: column;
            padding: 1.5rem 2rem;
            margin-bottom: 0.25rem;
        }

        .vehicle__overview .vehicle__images-nav {
            display: block;
        }

    .vehicle__overview-main .vehicle__extra,
    .vehicle__overview-main .vehicle__images-slider {
        order: 0;
    }

    .vehicle__overview-main .vehicle__name,
    .vehicle__overview-main .vehicle__price {
        order: 1;
    }

    .vehicle__overview-main .vehicle__images-slider {
        max-height: 527px;
    }
    .vehicle__images-slider {
        position: relative;
    }
    
    .vehicle__images-slider .products__slider-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        background: none;
        border:1px solid #000;
        padding: 0;
        color: #000;
        box-shadow: none;
        min-height: 56px;
    }
    
    .vehicle__images-slider .vehicle-images-prev {
        left: 10px;
    }
    
    .vehicle__images-slider .vehicle-images-next {
        right: 10px;
    }

    .vehicle__overview-main .vehicle__extra {
        margin-bottom: 2rem;
    }

    .vehicle__overview-main .vehicle__price {
        margin-bottom: 0;
        max-height: 38px;
    }

        .vehicle__overview-main .vehicle__price .price--from {
            margin-top: 0.75rem;
            font-size: 1.375rem;
        }

        .vehicle__overview-main .vehicle__price .price-right {
            flex-grow: 1;
            display: flex;
            flex-wrap: wrap;
            gap: 0.25rem;
        }

            .vehicle__overview-main .vehicle__price .price-right .price--discount,
            .vehicle__overview-main .vehicle__price .price-right .price--listed {
                white-space: nowrap;
                font-size: 2rem;
            }

                .vehicle__overview-main .vehicle__price .price-right .price--discount + .price--listed {
                    flex-basis: auto;
                    margin-top: 0.75rem;
                    font-size: 1.375rem;
                }

    .vehicle__extra .vehicle__images-slider-pagination {
        display: none;
    }

    .vehicle__images-nav {
        display: block;
        padding: 1.375rem 2rem;
        border-radius: var(--rounded-display);
        background-color: var(--color-surface);
    }

        .vehicle__images-nav .vehicle__images-nav-slider .vehicle__images-nav-slide {
            width: 192px;
            height: 192px;
            aspect-ratio: 1/1;
            border-radius: var(--rounded-xl);
            overflow: hidden;
            margin: 2px 0px;
        }

    .vehicle__images-nav-slider .vehicle__images-nav-slide img {
        height: 100%;
        aspect-ratio: 1/1;
        object-fit: contain;
    }

    .vehicle__images-nav-slider .vehicle__images-nav-slide.swiper-slide-thumb-active {
        padding: 0 10px;
        box-shadow: inset 0px 0px 0px 4px var(--color-primary);
        -webkit-box-shadow: inset 0px 0px 0px 4px var(--color-primary);
        -moz-box-shadow: inset 0px 0px 0px 4px var(--color-primary);
        -o-box-shadow: inset 0px 0px 0px 4px var(--color-primary);
    }

    /* #endregion */

    /* #region Vehicle details - Request form */
    .vehicle__details .request__form {
        display: inline-block;
        width: calc(50% - 0.25rem);
        padding-top: 1rem;
        vertical-align: top;
    }

    /* #endregion */

    /* #region Vehicle details - Specification Highlight */
    .vehicle__specs-highlight .specs__highlight-expand {
        display: none;
    }

    .vehicle__specs-highlight {
        padding: 0.5rem 0;
    }

        .vehicle__specs-highlight .specs__highlight-main {
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(3, 1fr);
            grid-auto-flow: column;
            padding: 3rem 4rem;
            max-height: none;
        }

    /* #endregion */

    .specs__ctas {
        display: none;
    }

    /* #region Vehicle details - Class highlight */
    .class__highlight-main {
        align-items: center;
        flex-direction: row;
    }

        .class__highlight-main .class__highlight-content {
            flex-basis: 54.05%;
            flex-shrink: 0;
        }

        .class__highlight-main .class__highlight-images {
            flex-direction: row;
        }

        .class__highlight-main .class__highlight-content {
            padding-left: 2rem;
        }

    .class__highlight-images {
        max-height: 300px;
    }

    .class__highlight-content .class__highlight-title {
        font-weight: 600;
        font-size: 2.25rem;
        line-height: 1.3;
        letter-spacing: -1%;
    }

    /* #endregion */

    /* #region Vehicle details - Specs details */
    .specs__details-main .specs__details {
        flex-direction: row;
        align-items: center;
    }

    .specs__details .specs__details-img {
        flex-basis: 50%;
        flex-shrink: 0;
        height: 600px;
    }

    .specs__details .specs__details-content {
        padding-left: 2rem;
        padding-right: 1.25rem;
    }

    .specs__details-content .specs__details-tab {
        font-weight: 600;
        font-size: var(--font-size-h2);
        line-height: var(--line-height-tight);
        letter-spacing: -1%;
    }
    .vehicle__specs-details .specs__details-main {
        position: relative;
        overflow: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none; 
    }
    .specs__details-main .specs__details{
        scrollbar-width: none;
        -ms-overflow-style: none; 
         /* height: 650px; */
    }
.specs__table-wrapper {
        height: 550px;    
        width: 100%;
        min-width: 1408px;   
        overflow-y: auto;    
        overflow-x: auto;    
        border: 1px solid var(--color-border);
        border-radius: var(--rounded-sm);
        scrollbar-width: none;
        -ms-overflow-style: none; 
    }

    .specs__table {
        width: 100%;
        min-width: 1408px;
        border-collapse: collapse;
    }
    .specs__table thead th {
        position: sticky;
        top: 0;
        z-index: 2;
        background: var(--color-secondary);
    }

   .specs__table-wrapper::-webkit-scrollbar {
        display: none;
    }
    .specs__table-wrapper::after {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 13%;
        background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
        color: #000;
        font-size: 16px;
        text-align: center;
        padding-top: 20px;
        opacity: 0;
        transform: translateY(100%);
        transition: all 0.4s ease;
        pointer-events: none;
        content: attr(data-text);
    }

    .specs__table-wrapper.show-overlay::after {
        opacity: 1;
        transform: translateY(0);
    }

    .specs__table-wrapper.scrolled::after {
    opacity: 0;
    transform: translateY(0);
    }
    
    

    /* #endregion */

    /* #region Vehicle details - Gallery */
    /*.vehicle__gallery .vehicle__gallery-main {*/
    /*    grid-template-rows: repeat(3, minmax(0, 346px));*/
        /*grid-template-columns: repeat(2, minmax(0, 1fr));*/
    /*    grid-template-columns: repeat(3, minmax(0, 1fr));*/
    /*}*/
    .vehicle__gallery .vehicle__gallery-main {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        place-items: unset;
    }
    .vehicle__gallery-main img {
        width:100%;
        height: 100%;
        border-radius: var(--rounded-display);
        object-position: center center;
        display: block;
        margin: 0 auto;
        object-fit: contain;
    }

        .vehicle__gallery-main img:first-child {
            grid-column: 1 / span 2;
            grid-row: 1 / span 2;
        }

        .vehicle__gallery-main img:nth-child(2) {
            grid-column: 1 / span 1;
            grid-row: 3 / span 2;
        }

    /* #endregion */

    /* #region Related Cars */
    .related-cars .section-title {
        margin-top: 1rem;
        margin-bottom: 2rem;
        text-align: center;
    }

/*    .related-cars .product__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }*/
    .related-cars__slider .swiper-wrapper {
        display: flex;
    }

    .related-cars__slider .swiper-slide {
        width: auto;
        flex-shrink: �0;
    }

    /* #endregion */
}
.car-model_select {
    pointer-events: none; 
    border: none; 
    appearance: none;
}