/* Start custom CSS *//* Custom vehicle slider section wrapper */
.custom-vehicle-slider-section {
    padding: 65px 0;
    overflow: visible;
}

/* Custom vehicle slider layout stage */
.custom-vehicle-slider-stage {
    --active-slide: 520px;
    --small-slide: 95px;
    --slide-height: 300px;

    width: calc(var(--active-slide) + (var(--small-slide) * 4) + 20px);
    max-width: calc(100vw - 180px);
    margin: 0 auto;
    position: relative;
    overflow: visible;
}

/* Swiper container */
.custom-vehicle-slider {
    width: 100%;
    overflow: hidden;
}

/* Align slider items vertically */
.custom-vehicle-slider .swiper-wrapper {
    align-items: center;
}

/* Base slide styles */
.custom-vehicle-slider .swiper-slide,
.custom-vehicle-slider .swiper-slide-active {
    height: var(--slide-height);
    max-height: var(--slide-height);
    border-radius: 10px;
    overflow: hidden;
}

/* Inactive slide styles */
.custom-vehicle-slider .swiper-slide {
    width: var(--small-slide);
    transform: scale(.88);
    opacity: .55;
    transition: width .45s ease, transform .45s ease, opacity .45s ease;
}

/* Active slide styles */
.custom-vehicle-slider .swiper-slide-active {
    width: var(--active-slide);
    transform: scale(1);
    opacity: 1;
    z-index: 5;
}

/* Progressive slide shrinking */
.custom-vehicle-slider .swiper-slide-next {
    transform: scale(.93);
    opacity: .82;
}

.custom-vehicle-slider .swiper-slide-next + .swiper-slide {
    transform: scale(.89);
    opacity: .7;
}

.custom-vehicle-slider .swiper-slide-next + .swiper-slide + .swiper-slide {
    transform: scale(.85);
    opacity: .58;
}

.custom-vehicle-slider .swiper-slide-next + .swiper-slide + .swiper-slide + .swiper-slide {
    transform: scale(.81);
    opacity: .46;
}

/* Vehicle card background and layout */
.vehicle-card {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center center;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
}

/* Vehicle card dark overlay */
.vehicle-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 1;
    transition: opacity .35s ease;
}

/* Hide overlay on active slide */
.swiper-slide-active .vehicle-card::before {
    opacity: 0;
}

/* Vehicle info panel */
.vehicle-info {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 72px;
    padding: 12px 16px;
    background: #9a9b91;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

/* Show vehicle info on active slide */
.swiper-slide-active .vehicle-info {
    opacity: 1;
    visibility: visible;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Vehicle meta text wrapper */
.vehicle-meta {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

/* Vehicle title */
.vehicle-info h3 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.1;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Vehicle details text */
.vehicle-info p {
    margin: 0;
    color: #fff;
    font-size: 13px;
    line-height: 1.2;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Vehicle meta separators */
.vehicle-meta p span {
    margin: 0 6px;
}

/* Vehicle card button */
.vehicle-btn {
    flex: 0 0 auto;
    min-width: 105px;
    width: 105px;
    text-align: center;
    border: 1px solid #fff;
    border-radius: 30px;
    padding: 8px 0;
    color: #fff;
    font-size: 15px;
    line-height: 1;
    white-space: nowrap;
    box-sizing: border-box;
}

/* Slider navigation arrows */
.custom-vehicle-prev,
.custom-vehicle-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 78px;
    background: #9a9b91;
    border-radius: 10px;
    color: #fff;
    font-size: 62px;
    line-height: 72px;
    font-weight: 200;
    text-align: center;
    cursor: pointer;
    z-index: 999;
    user-select: none;
}

/* Previous arrow position */
.custom-vehicle-prev {
    left: -85px;
}

/* Next arrow position */
.custom-vehicle-next {
    right: -85px;
}

/* Slider pagination hidden by default */
.custom-vehicle-pagination {
    display: none;
}

/* Shop by make section */
.sync-shop-by-make {
    background: #333;
    border-radius: 10px;
    padding: 60px 40px;
    text-align: center;
}

/* Shop by make title */
.sync-shop-by-make-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 40px;
    line-height: 1;
}

/* Shop by make grid */
.sync-shop-by-make-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px 10px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Shop by make item */
.sync-shop-by-make-item {
    display: block;
    color: #cfcfcf;
    text-decoration: none;
    font-size: 24px;
    line-height: 1.5;
    transition: all 0.3s ease;
    font-size: 1.25rem;
}

/* Shop by make hover state */
.sync-shop-by-make-item:hover {
    color: #fff;
    transform: translateY(-2px);
}

/* Make count text */
.make-count {
    opacity: 0.8;
}

/* Shop by make tablet layout */
@media (max-width: 991px) {

    .sync-shop-by-make-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px 40px;
    }

    .sync-shop-by-make-title {
        font-size: 42px;
    }

    .sync-shop-by-make-item {
        font-size: 20px;
    }
}

/* Vehicle slider tablet layout */
@media (max-width: 1024px) and (min-width: 768px) {

    .custom-vehicle-slider-section {
        padding: 50px 0;
    }

    .custom-vehicle-slider-stage {
        --active-slide: 46vw;
        --small-slide: 9vw;
        --slide-height: 280px;
        max-width: calc(100vw - 120px);
    }

    .custom-vehicle-prev,
    .custom-vehicle-next {
        width: 42px;
        height: 60px;
        font-size: 46px;
        line-height: 54px;
    }

    .custom-vehicle-prev {
        left: -52px;
    }

    .custom-vehicle-next {
        right: -52px;
    }
}

/* Mobile layout */
@media (max-width: 767px) {

    .sync-shop-by-make {
        padding: 20px 30px;
    }

    .sync-shop-by-make-grid {
        grid-template-columns: 1fr;
    }

    .sync-shop-by-make-title {
        font-size: 34px;
    }

    .sync-shop-by-make-item {
        font-size: 18px;
    }

    .custom-vehicle-pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin-top: 26px;
    }

    .custom-vehicle-pagination .swiper-pagination-bullet {
        width: 14px;
        height: 14px;
        margin: 0 !important;
        background: #4a4a4a;
        opacity: 1;
        border-radius: 50%;
    }

    .custom-vehicle-pagination .swiper-pagination-bullet-active {
        background: #9a9b91;
    }

    .custom-vehicle-slider-section {
        padding: 30px 0;
        overflow: hidden;
    }

    .custom-vehicle-slider-stage {
        --active-slide: calc(100vw - 42px);
        --small-slide: calc(100vw - 42px);
        --slide-height: 278px;
        width: var(--active-slide);
        max-width: var(--active-slide);
        overflow: hidden;
    }

    .custom-vehicle-slider .swiper-slide,
    .custom-vehicle-slider .swiper-slide-active,
    .custom-vehicle-slider .swiper-slide-next,
    .custom-vehicle-slider .swiper-slide-next + .swiper-slide,
    .custom-vehicle-slider .swiper-slide-next + .swiper-slide + .swiper-slide,
    .custom-vehicle-slider .swiper-slide-next + .swiper-slide + .swiper-slide + .swiper-slide {
        width: var(--active-slide);
        height: var(--slide-height);
        max-height: var(--slide-height);
        transform: scale(1);
        opacity: 1;
    }

    .vehicle-info {
        opacity: 1;
        visibility: visible;
        min-height: 74px;
        padding: 10px 12px;
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .vehicle-info h3 {
        font-size: 16px;
        margin-bottom: 0;
    }

    .vehicle-info p {
        display: none;
    }

    .vehicle-btn {
        width: auto;
        min-width: auto;
        font-size: 14px;
        padding: 6px 14px;
    }

    .vehicle-card::before {
        opacity: 0;
    }

    .custom-vehicle-prev,
    .custom-vehicle-next {
        display: none;
    }
}/* End custom CSS */