

.list-products-container {
    margin: auto;
    width: 90%;
    display: flex;
    flex-direction: column;
}

.fiche-produit-link.loading {
    position: relative;
    pointer-events: none;
    overflow: hidden; /* empêche le gradient de déborder */
}

.fiche-produit-link.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0%;          /* commence à gauche du container */
    width: 70%;          
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(211, 211, 211, 0.8) 50%,
        rgba(255,255,255,0) 100%
    );
    animation: loading-shimmer 0.9s infinite;
    z-index: 10;
}

@keyframes loading-shimmer {
    0% {
        left: 0%;
    }
    100% {
        left: 100%;
    }
}

.fiche-produit-variantsImg-container {
    width: 25%;
    transition: transform 0.3s ease; 
}

.fiche-produit-variantsImg-container:hover {
    transform: scale(1.1);
}

.filters {
    width: 100%;
}

.products {
    width: 100%;
}

.basic-filters {
    display: flex;
    flex-direction: column;
}

.basic-filters-selects {
    display: flex;
    flex-direction: column;
}

.basic-filters-selects select {
    -webkit-box-align: center;
    align-items: center;
    cursor: default;
    display: flex;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    justify-content: space-between;
    min-height: 38px;
    transition: 100ms;
    background-color: rgb(255, 255, 255);
    border-color: rgb(204, 204, 204);
    border-radius: 4px;
    border-style: solid;
    border-width: 1px;
    box-sizing: border-box;
    box-shadow: 0 2px 15px rgba(0,0,0,.04),0 4px 7px rgba(0,0,0,.04);
    width: 90%;
    margin: auto;
}


/* PAGINATION */

.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    width: 100%;

}

.pagination ul {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination li a,
.pagination li span,
.pagination .btn {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0,0,0,.04),0 4px 7px rgba(0,0,0,.04);
    font-size: 14px;
    transition: all 0.2s ease-in-out;
}

.pagination li a:hover,
.pagination .btn:hover {
    background: #333;
    color: #fff;
}

.pagination li span.current {
    background: #333;
    color: #fff;
    font-weight: bold;
}



@media screen and (min-width: 1100px) {
    .list-products-container {
        display: flex;
        flex-direction: row;
    }

    .fiche-produit-link.loading::after {
        width: 100%;          
    }

    .filters {
        width: 20%;
    }

    .products {
        width: 80%;
    }

    .basic-filters {
        flex-direction: row;
    }

    .basic-filters div{
        width: 50%;
    }

    .basic-filters-selects {
        flex-direction: row;
        margin-bottom: 20px;
    }

    .basic-filters-selects form{
        margin-top: 20px;
        width: 30%;
    }


    .pagination {
        justify-content: end;
    }
    

}
