button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

button {
    border: none;
    cursor: pointer;
    background: none;
    transition: all 0.3s ease-in-out;
    position: relative;
    top: 0;
    right: 0;
}

button.active {
    opacity: 1;
}

button.inactive {
    opacity: 0.5;
    cursor: not-allowed;
}

.container-carousel {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
}

.carousel-view {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 44px 0;
    transition: all 0.25s ease-in;
}

.carousel-view .item-list {
    width: 88vw;
    padding: 50px 10px;
    display: flex;
    gap: 10px;
    scroll-behavior: smooth;
    transition: all 0.25s ease-in;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
    overflow: auto;
    scroll-snap-type: x mandatory;
    max-width: 1400px;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.item-list::-webkit-scrollbar {
    display: none;
}

.prev-btn {
    cursor: pointer;
}

.next-btn {
    cursor: pointer;
}

.item-1 {
    scroll-snap-align: center;
    min-width: 530px;
    height: 480px;
    background-color: #c6b8d9;
    display: flex;
    justify-content: center;
    align-items: center;
}

.item-2 {
    scroll-snap-align: center;
    min-width: 360px;
    height: 480px;
    background-color: #3a1d50;
    display: flex;
    justify-content: center;
    align-items: center;
}
.item-3 {
    scroll-snap-align: center;
    min-width: 360px;
    height: 480px;
    background-color: #c6b8d9;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination {
    position: absolute;
    top: 0;
    right: 6%;
}

.contenue {
    width: 90%;
    height: 85%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.contenue-2 {
    width: 90%;
    height: 85%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.date-categorie {
    display: flex;
    flex-direction: column;
    gap: 0px;
}
.date-categorie2 {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: start;
    color: var(--Color700, #69408a);

    /* H5/Desktop */

    font-size: 20px;
    font-style: normal;
    font-weight: 250;
    line-height: 140%; /* 39.2px */
    letter-spacing: -0.8px;
}
@media (max-width: 768px) {
    .carousel-view .item-list {
        scroll-snap-align: start;
    }

    .item-list .item-1,
    .item-list .item-2,
    .item-list .item-3 {
        min-width: 85vw; /* Un élément prend tout l'espace visible sur mobile */
    }
}

@media (max-width: 600px) {
    .carousel-view .item-list {
        width: 95vw;
    }
}

.contenue h3 {
    color: var(--Color700, #69408a);

    /* H5/Desktop */

    font-size: 28px;
    font-style: normal;
    font-weight: 250;
    line-height: 140%; /* 39.2px */
    letter-spacing: -0.8px;
}
.date-categorie {
    color: var(--Color700, #69408a);

    /* H5/Desktop */

    font-size: 20px;
    font-style: normal;
    font-weight: 250;
    line-height: 140%; /* 39.2px */
    letter-spacing: -0.8px;
}
.contenue-2 h3 {
    color: var(--Color50, #f2f2f2);

    /* Body/Regular/Bold */

    font-size: 20px;
    font-style: normal;
    font-weight: 250;
    line-height: 120%; /* 19.2px */
}
.date-categorie span {
    text-transform: uppercase;
}

.view-more {
    position: absolute;
    bottom: 0;
}
