/* Styles pour le carousel dans la page collection */
.carousel-container {
    position: relative;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
}


/* Slider avec chevrons et transitions smoothes */
.carousel-slides {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.carousel-slide:first-child {
    position: relative;
}

.carousel-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    z-index: 2;
}

.carousel-slide.slide-out-left {
    opacity: 0;
    transform: translateX(-30px);
    z-index: 1;
}

.carousel-slide.slide-out-right {
    opacity: 0;
    transform: translateX(30px);
    z-index: 1;
}

.carousel-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: left center;
}

.carousel-slide a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.carousel-nav {
    display: none !important;
}

