/* Car Showcase Slider (Swiper) — front-page.php */

.car-swiper {
    padding: 10px 10px 50px;
}

.car-swiper .modern-car-card {
    transition: all 0.3s ease;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    background: #fff;
}

.car-swiper .modern-car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Swiper Navigation */
.car-swiper .swiper-button-next,
.car-swiper .swiper-button-prev {
    background-color: var(--color-primary, #cf1b24);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.car-swiper .swiper-button-next::after,
.car-swiper .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

.car-swiper .swiper-button-next:hover,
.car-swiper .swiper-button-prev:hover {
    background-color: #000;
}

/* Swiper Pagination */
.car-swiper .swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
}

.car-swiper .swiper-pagination-bullet-active {
    background: var(--color-primary, #cf1b24);
}

/* Prevent fade-card animation from hiding slider cards */
.car-swiper .modern-car-card {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Responsive */
@media (max-width: 767px) {
    .car-swiper {
        padding: 5px 5px 40px;
    }

    .car-swiper .swiper-button-next,
    .car-swiper .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
}
