/* ==================================================
   VANILLE LAVANY PRO
   Surcharges graphiques globales
   FR - EN - IT - DE
   ================================================== */

   :root {
    --lavany-red: #C51449;
    --lavany-black: #000000;
    --lavany-white: #FFFFFF;
}

/* ==================================================
   01 - CREATIVE ELEMENTS : PANIER DÉROULANT
   ================================================== */

body .elementor .elementor-cart__product-price,
body .elementor .elementor-cart__product-quantity,
body .elementor .elementor-cart__product-name,
body .elementor .elementor-cart__product-name a {
    color: var(--lavany-black) !important;
    opacity: 1 !important;
}

body .elementor .elementor-cart__product-price del,
body .elementor .elementor-cart__product-price s {
    color: var(--lavany-black) !important;
    opacity: 1 !important;
}

body .elementor .elementor-cart__product-remove,
body .elementor .elementor-cart__product-remove a,
body .elementor .elementor-cart__product-remove i {
    color: var(--lavany-black) !important;
    opacity: 1 !important;
}

body .elementor .elementor-cart__product-name a:hover {
    color: var(--lavany-red) !important;
}

/* Panier déroulant - Icône de suppression */

body .elementor-cart__product-remove::before {
    content: "\00D7" !important;
    font-family: Arial, sans-serif !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    color: #000000 !important;
    line-height: 1 !important;
}

body .elementor-cart__product-remove:hover::before {
    color: var(--lavany-red) !important;
}

/* ==================================================
   02 - POP-UP D'AJOUT AU PANIER
   ================================================== */

   #blockcart-modal .product-name,
   #blockcart-modal .product-name a,
   #blockcart-modal .product-price {
       color: var(--lavany-black) !important;
   }

/* ==================================================
   03 - PAGE PANIER
   ================================================== */

/* Nom des produits */
#cart .product-line-grid-body .product-line-info a {
    color: var(--lavany-black) !important;
}

#cart .product-line-grid-body .product-line-info a:hover {
    color: var(--lavany-red) !important;
}

/* Prix unitaires et prix remisés */
#cart .product-line-grid-body .product-price,
#cart .product-line-grid-body .current-price,
#cart .product-line-grid-body .current-price .price,
#cart .product-line-grid-body .regular-price,
#cart .product-line-grid-body .unit-price-cart {
    color: var(--lavany-black) !important;
}

/* Liens du code promotionnel */
.block-promo .promo-code-button a,
.block-promo .cancel-promo,
.block-promo a.collapse-button {
    color: var(--lavany-red) !important;
}

/* Bordure du bouton Ajouter */
.block-promo .btn-primary {
    border-color: transparent !important;
}

.block-promo .btn-primary:focus-visible {
    outline: 2px solid var(--lavany-red);
    outline-offset: 2px;
}

/* ==================================================
   04 - TUNNEL DE COMMANDE
   ================================================== */

/* Boutons radio natifs */
body#checkout input[type="radio"] {
    accent-color: var(--lavany-red);
}

/* Boutons radio personnalisés PrestaShop */
body#checkout .custom-radio input[type="radio"]:checked + span {
    background-color: var(--lavany-red) !important;
}

/* Bordure des boutons radio sélectionnés */
body#checkout .custom-radio:has(input:checked) {
    border-color: var(--lavany-red) !important;
}

/* Encadrement de l'adresse sélectionnée */
body#checkout .address-item.selected {
    border-color: var(--lavany-red) !important;
}

/* Liens du code promotionnel */
body#checkout .block-promo .cancel-promo,
body#checkout .block-promo .collapse-button {
    color: var(--lavany-red) !important;
}

/* Focus des champs du tunnel de commande */
body#checkout .form-control:focus {
    border-color: var(--lavany-red) !important;
    outline-color: var(--lavany-red);
}

/* ==================================================
   05 - VALIDATION FINALE DE COMMANDE
   ================================================== */

   body#checkout #payment-confirmation .btn-primary {
    background-color: var(--lavany-red) !important;
    border-color: var(--lavany-red) !important;
    color: #FFFFFF !important;
}

/* Survol */
body#checkout #payment-confirmation .btn-primary:not(:disabled):hover {
    background-color: #A0103C !important;
    border-color: #A0103C !important;
}

/* Focus clavier */
body#checkout #payment-confirmation .btn-primary:focus-visible {
    outline: 2px solid var(--lavany-red);
    outline-offset: 3px;
}

/* État désactivé */
body#checkout #payment-confirmation .btn-primary:disabled,
body#checkout #payment-confirmation .btn-primary.disabled {
    opacity: 0.5 !important;
    cursor: not-allowed;
}

/* ==================================================
   06 - PANIER LATERAL : BOUTONS ET FERMETURE
   ================================================== */

/* Croix de fermeture */
body .elementor-menu-cart__close-button:hover,
body .elementor-menu-cart__close-button:hover::before,
body .elementor-menu-cart__close-button:hover::after,
body .elementor-cart__close-button:hover,
body .elementor-cart__close-button:hover::before,
body .elementor-cart__close-button:hover::after {
    color: var(--lavany-red) !important;
}

/* Boutons du panier latéral */
body .elementor-menu-cart__footer-buttons .elementor-button,
body .elementor-cart__footer-buttons .elementor-button {
    background-color: var(--lavany-red) !important;
    border-color: var(--lavany-red) !important;
    color: #FFFFFF !important;
}

/* Survol des boutons */
body .elementor-menu-cart__footer-buttons .elementor-button:hover,
body .elementor-cart__footer-buttons .elementor-button:hover {
    background-color: #A0103C !important;
    border-color: #A0103C !important;
}

/* ==================================================
   07 - HARMONISATION DES BOUTONS COMMERCIAUX
   ================================================== */

/* Boutons principaux */
body#product .product-add-to-cart .btn-primary,
body#cart .btn-primary,
body#checkout .btn-primary,
body #blockcart-modal .btn-primary,
body #blockcart-modal .btn-secondary {
    background-color: var(--lavany-red) !important;
    border-color: var(--lavany-red) !important;
    color: #FFFFFF !important;
}

/* Survol */
body#product .product-add-to-cart .btn-primary:not(:disabled):hover,
body#cart .btn-primary:not(:disabled):hover,
body#checkout .btn-primary:not(:disabled):hover,
body #blockcart-modal .btn-primary:hover,
body #blockcart-modal .btn-secondary:hover {
    background-color: #A0103C !important;
    border-color: #A0103C !important;
}

/* Focus clavier */
body .btn-primary:focus-visible,
body .elementor-button:focus-visible {
    outline: 2px solid var(--lavany-red);
    outline-offset: 3px;
}

/* Continuer mes achats - Survol */
body#cart a.label:hover,
body#cart a.label:hover .material-icons {
    color: var(--lavany-red) !important;
}