/*-----------------------------------*/
/* page boutique */
/*-----------------------------------*/

.woocommerce-ordering select.orderby { /*filtre*/
    background-color: white;
    border: 1px solid black;
    padding: 10px 15px;

    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
    width: 100%;
    max-width: 200px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
/* Ajoute une icône de flèche similaire aux autres boutons */
.woocommerce-ordering {
    position: relative;
    display: flex;
    justify-content: center;
}
.woocommerce-ordering::after {
    content: "▼";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}
/* Effet au survol */
.woocommerce-ordering select.orderby:hover {
    background-color: #FBF7F3;
    border-color: black;
}
/* Focus pour accessibilité */
.woocommerce-ordering select.orderby:focus {
    outline: none;
}



/*-----------------------------------*/
/* page produit - bouton ajouter panier */
/*-----------------------------------*/
.single-product .product-type-simple .preorder-product .cart {
    display: none !important;
}

/*-----------------------------------*/
/* page boutique */
/*-----------------------------------*/
@media screen and (max-width: 768px) {
    .liste-produit-boutique .wc-block-product-template__responsive.columns-3, .liste-produit-boutique div ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(150px, 1fr)); /* Fixe 2 colonnes */
        gap: 10px; /* Espacement entre les éléments */
        width: 100%;
        margin: 0 auto; /* Centre la grille */
        overflow: hidden;
		padding: 0;
    }

    .liste-produit-boutique .wc-block-grid__products {
        width: 100%;
        overflow-x: hidden; /* Empêche le débordement horizontal */
    }

    .liste-produit-boutique .wc-block-grid__product {
        max-width: 100%; /* Empêche les éléments de dépasser */
    }
}