/*
 Theme Name: GeneratePress Child
 Theme URI: https://generatepress.com
 Description: Thème enfant GeneratePress
 Author: UMAREQ
 Template: generatepress
 Version: 1.0
*/

/* Bouton WhatsApp flottant */
.whatsapp-float {
    position: fixed;
    bottom: 80px;
    right: 20px;

    width: 56px;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background-color: #25D366;

    z-index: 99999;
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);

    text-decoration: none;
}

/* Icône */
.whatsapp-float::before {
    content: "";
    width: 28px;
    height: 28px;
    background: url("https://upload.wikimedia.org/wikipedia/commons/6/6b/WhatsApp.svg") no-repeat center;
    background-size: contain;
    display: block;
}

/* Masquer le bouton Ajouter au panier sur les pages boutique, catégories et produits */
.woocommerce .product .button,
.woocommerce-page .product .button,
.woocommerce .add_to_cart_button,
.woocommerce-page .add_to_cart_button,
.elementor-widget-woocommerce-products .product .button,
.elementor-widget-woocommerce-products .add_to_cart_button,
.woocommerce ul.products li.product a.button {
    display: none !important;
}

/* Masquer les messages "ajouté au panier" */
.woocommerce .added_to_cart,
.woocommerce-page .added_to_cart {
    display: none !important;
}

/* Supprimer l'effet hover */
.woocommerce ul.products li.product:hover .button,
.elementor-widget-woocommerce-products .product:hover .button {
    display: none !important;
}