/* === WooCommerce — Natéa Brand Colors — Site Complet === */

/* ============================================
   BOUTONS PRINCIPAUX
   ============================================ */

/* Bouton "Ajouter au panier" + tous les boutons .alt */
.woocommerce .single_add_to_cart_button.button,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce a.button.alt,
.woocommerce #respond input#submit.alt,
.wc-block-components-checkout-place-order-button,
.woocommerce .checkout-button {
    background-color: #2d5a3d !important;
    color: #ffffff !important;
    border: 2px solid #2d5a3d !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
    border-radius: 4px !important;
}

.woocommerce .single_add_to_cart_button.button:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce #respond input#submit.alt:hover,
.wc-block-components-checkout-place-order-button:hover,
.woocommerce .checkout-button:hover {
    background-color: transparent !important;
    color: #2d5a3d !important;
}

/* Boutons secondaires */
.woocommerce .button:not(.alt):not(.single_add_to_cart_button),
.woocommerce a.button:not(.alt),
.woocommerce button.button:not(.alt),
.woocommerce input.button:not(.alt),
.woocommerce .widget_shopping_cart .buttons a.button:not(.checkout),
.woocommerce a.added_to_cart {
    background-color: transparent !important;
    color: #2d5a3d !important;
    border: 2px solid #2d5a3d !important;
    border-radius: 4px !important;
}

.woocommerce .button:not(.alt):hover,
.woocommerce a.button:not(.alt):hover,
.woocommerce button.button:not(.alt):hover,
.woocommerce input.button:not(.alt):hover {
    background-color: #2d5a3d !important;
    color: #ffffff !important;
}

/* ============================================
   BOUTIQUE — PRODUITS
   ============================================ */

/* Badge Promo/Soldes */
.woocommerce span.onsale,
.wc-block-grid__products .wc-block-grid__product-onsale,
.woocommerce ul.products li.product .onsale {
    background-color: #c9a962 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
}

/* Prix */
.woocommerce div.product .price,
.woocommerce div.product .stock,
.woocommerce ul.products li.product .price,
.woocommerce .price del,
.woocommerce .price ins {
    color: #2d5a3d !important;
}

.woocommerce .price del {
    opacity: 0.6 !important;
}

.woocommerce .price ins {
    font-weight: 700 !important;
}

/* Titres produits boutique */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .product-title,
.wc-block-grid__product .wc-block-grid__product-title {
    color: #2d5a3d !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title:hover {
    color: #7cb392 !important;
}

/* Bouton "Ajouter au panier" dans la boutique */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .ajax_add_to_cart {
    background-color: #2d5a3d !important;
    color: #ffffff !important;
    border: 2px solid #2d5a3d !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .ajax_add_to_cart:hover {
    background-color: transparent !important;
    color: #2d5a3d !important;
}

/* ============================================
   PANIER
   ============================================ */

/* Bouton "Voir le panier" */
.woocommerce .cart .button,
.woocommerce .cart input.button,
.woocommerce a.button.wc-forward {
    background-color: transparent !important;
    color: #2d5a3d !important;
    border: 2px solid #2d5a3d !important;
}

/* Bouton "Passer commande" */
.woocommerce .checkout-button.button.alt {
    background-color: #c9a962 !important;
    border-color: #c9a962 !important;
}

.woocommerce .checkout-button.button.alt:hover {
    background-color: transparent !important;
    color: #c9a962 !important;
}

/* ============================================
   AVIS CLIENTS
   ============================================ */

/* Étoiles */
.woocommerce .star-rating,
.woocommerce p.stars a::before,
.woocommerce p.stars:hover a::before,
.woocommerce p.stars.selected a.active::before {
    color: #c9a962 !important;
}

/* Étoiles vides */
.woocommerce .star-rating::before,
.woocommerce p.stars a::before {
    color: #ddd !important;
}

/* Étoiles pleines */
.woocommerce .star-rating span::before,
.woocommerce p.stars a.active::before {
    color: #c9a962 !important;
}

/* Note moyenne */
.woocommerce .woocommerce-product-rating .star-rating {
    color: #c9a962 !important;
}

/* Lien "Voir les avis" */
.woocommerce .woocommerce-review-link {
    color: #7cb392 !important;
    text-decoration: underline !important;
}

/* Compteur d'avis */
.woocommerce .woocommerce-review-link:hover {
    color: #2d5a3d !important;
}

/* Section avis */
.woocommerce #reviews #comments .comment-text {
    border-color: #e0e0e0 !important;
}

.woocommerce #reviews #comments ol.commentlist li .meta {
    color: #7cb392 !important;
}

/* ============================================
   PRODUIT SIMPLE — PAGE
   ============================================ */

/* Prix produit */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: #2d5a3d !important;
    font-size: 1.5em !important;
    font-weight: 700 !important;
}

/* Stock disponible */
.woocommerce div.product .stock {
    color: #2d5a3d !important;
}

/* Tabs produits */
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #2d5a3d !important;
    border-bottom-color: #2d5a3d !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: #2d5a3d !important;
}

/* ============================================
   BREADCRUMBS
   ============================================ */

.kadence-breadcrumbs a {
    color: #7cb392 !important;
}

.kadence-breadcrumbs a:hover {
    color: #2d5a3d !important;
}

/* ============================================
   QUANTITÉ
   ============================================ */

.woocommerce div.product form.cart .quantity .qty {
    border-color: #2d5a3d !important;
    border-radius: 4px !important;
}

/* ============================================
   SELECT2 (pays, etc.)
   ============================================ */

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: #2d5a3d !important;
}

/* ============================================
   MESSAGES WOOCOMMERCE
   ============================================ */

.woocommerce .woocommerce-message {
    border-left-color: #2d5a3d !important;
}

.woocommerce .woocommerce-info {
    border-left-color: #c9a962 !important;
}

.woocommerce .woocommerce-error {
    border-left-color: #e74c3c !important;
}

/* Bouton dans les messages */
.woocommerce .woocommerce-message .button {
    background-color: #2d5a3d !important;
    color: #ffffff !important;
    border-color: #2d5a3d !important;
}

/* ============================================
   CROSS-SELLS / UPSELLS
   ============================================ */

.woocommerce .cross-sells h2,
.woocommerce .upsells h2,
.woocommerce .related h2 {
    color: #2d5a3d !important;
}

/* ============================================
   FILTRES / CATÉGORIES
   ============================================ */

.woocommerce .widget_product_categories li a,
.woocommerce .widget_layered_nav li a {
    color: #2d5a3d !important;
}

.woocommerce .widget_product_categories li a:hover,
.woocommerce .widget_layered_nav li a:hover {
    color: #7cb392 !important;
}

.woocommerce .widget_product_categories li.current-cat > a {
    font-weight: 700 !important;
    color: #2d5a3d !important;
}

/* ============================================
   MINI CART (header)
   ============================================ */

.kadence-header-cart .header-cart-total {
    background: #c9a962 !important;
    color: #ffffff !important;
}

/* ============================================
   RESULTAT RECHERCHE
   ============================================ */

.woocommerce-result-count {
    color: #2d5a3d !important;
}
