﻿.blocWatercooling {
    max-width: 1088px;
    width: 1088px;
    height: 600px;
    overflow: hidden;
    position: relative;
    /*    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 5%, rgba(0, 0, 0, 1) 95%, rgba(0, 0, 0, 0));
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 5%, rgba(0, 0, 0, 1) 95%, rgba(0, 0, 0, 0));
 */
}

    .blocWatercooling::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100px;
        height: 90%;
        background: linear-gradient(to right, black 0%, transparent 10%);
        z-index: 10;
        opacity: var(--before-opacity, 1); /* Par défaut, 1 (visible) */
        transition: opacity 0.3s;
    }

.listeWatercooling .containerWatercooling {
    width: 100%;
    margin-left: 0;
}

.listeWatercooling .wrapperWatercooling {
    display: flex;
    top: 5px;
    margin-left: 5px;
}

.listeWatercooling .slideWatercooling {
    max-width: 376px;
    display: block;
}

.containerSwiperWithScrollbar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.listeWatercooling .swiper-scrollbar {
    position: relative !important; /* Positionne la scrollbar correctement */
    max-width: 386px !important;
    left: 53.5% !important; /* Centre horizontalement */
    transform: translateX(-50%); /* Ajuste la position pour centrer la scrollbar */
    background-color: rgba(128, 128, 128, 0.5); /* Fond gris clair de la scrollbar */
    border-radius: 10px; /* Bordure arrondie */
    height: 10px !important; /* Hauteur de la scrollbar */
    cursor: pointer; /* Change le curseur pour indiquer que la scrollbar est cliquable */
}

.listeWatercooling .swiper-scrollbar-drag {
    background-color: #ffffff; /* Couleur blanche pour la partie mobile */
    border-radius: 10px; /* Bordure arrondie pour la partie mobile */
    height: 100%; /* Hauteur de la partie mobile */
    cursor: grab; /* Change le curseur lors du survol de la partie mobile */
}

@media screen and (max-width: 1919px) {
    .blocWatercooling {
        max-width: unset;
        width: auto;
    }
}
