/* IMG */
.img-carousel {
    width: 13rem !important;
    transition: 0.3s !important;
}

.img-carousel:hover {
    border-color: black !important;
}



/* CAROUSEL */
.carousel-container {
    overflow: hidden;
}

.img-carousel {
    width: 208px;
    height: 104px;
}

.promo-carousel::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
}

.promo-carousel {
    transition: transform 0.5s ease-in-out;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.item {
    flex: 0 0 calc(100%/2); 
    scroll-snap-align: start;
}

@media screen and (min-width: 768px) {
    .item {
        flex: 0 0 calc(100%/3); /* 20% pour 5 éléments visibles à la fois */
        scroll-snap-align: start;
    }
}

@media screen and (min-width: 992px) {
    .item {
        flex: 0 0 calc(100%/5); /* 20% pour 5 éléments visibles à la fois */
        scroll-snap-align: start;
    }
}
  
.prev-button,
.next-button {
    transform: translateY(-50%);
    color: rgb(191, 191, 191) !important;
    transition: 0.3s !important;
}

.prev-button:hover,
.next-button:hover {
    color: black !important;
}

.carousel-link {
    text-decoration: none !important;
}


/* CATEGORY */
@media screen and (min-width: 768px) {
    .flex-column-reverse {
        flex-direction: row !important;
    }
}


/* BUTTON */
@media screen and (min-width: 768px) {
    .custom-btn {
        width: 55% !important;
    }
}