/*
 Carousel modernization layer (native fallback for Owl).
*/

.native-carousel {
    position: relative;
}

.native-carousel-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    padding-bottom: 6px;
    scroll-behavior: smooth;
}

.native-carousel-item {
    flex: 0 0 min(100%, 320px);
    scroll-snap-align: start;
}

.native-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.native-carousel-prev {
    left: 8px;
}

.native-carousel-next {
    right: 8px;
}

@media (max-width: 767px) {
    .native-carousel-item {
        flex-basis: 90%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .native-carousel-track {
        scroll-behavior: auto;
    }
}
