/*!
 * Theme Name: Divi Child
 * Version: 1.0
 * Template:   Divi
 * ...other header fields
*/

/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on November 23, 2024 */

@font-face {
    font-family: 'Bella Vista Regular';
    src: url('/wp-content/uploads/fonts/bella-vista-regular.woff2') format('woff2'),
         url('/wp-content/uploads/fonts/bella-vista-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* Applique la police aux éléments spécifiques */
h1, h2 {
    font-family: 'Bella Vista Regular', sans-serif !important;
	color: #8c7d70;
}

@font-face {
    font-family: 'kepler 3 vf regular';
    src: url('/wp-content/uploads/fonts/fonnts.com-kepler-vf--webfont.woff2') format('woff2'),
         url('/wp-content/uploads/fonts/fonnts.com-kepler-vf--webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

/* Applique la police aux éléments spécifiques */
.footer-link a, p, et_pb_text_inner {
    font-family: 'kepler 3 vf regular', serif;
	font-style: italic;
	color: #8c7d70;
}

/* Style pour le bouton foncé */
.bouton-fonce {
    background-color: #8c7d70; /* Fond foncé */
    color: #f2eee6; /* Texte clair */
    font-family: 'kepler 3 vf regular', serif;
    font-weight: normal; /* Texte en normal */
    padding: 10px 20px; /* Espacement intérieur */
    border: none; /* Pas de bordure */
    border-radius: 5px; /* Coins arrondis */
    text-align: center; /* Centrer le texte */
    cursor: pointer; /* Curseur de clic */
}

/* Style pour le bouton clair */
.bouton-clair {
    background-color: #f2eee6; /* Fond clair */
    color: #8c7d70; /* Texte foncé */
    font-family: 'kepler 3 vf regular', serif;
    font-weight: normal; /* Texte en normal */
    padding: 10px 20px; /* Espacement intérieur */
    border: none; /* Pas de bordure */
    border-radius: 5px; /* Coins arrondis */
    text-align: center; /* Centrer le texte */
    cursor: pointer; /* Curseur de clic */
}

/* Ajout d'un effet au survol (optionnel) */
.bouton-fonce:hover, .bouton-clair:hover {
    opacity: 0.8; /* Réduction de l'opacité au survol */
}

/* ===== CORRECTIONS BOUTONS WOOCOMMERCE - REGEN ===== */

/* Correction des boutons "Acheter" - Suppression flèche et stabilisation */
.woocommerce a.button.add_to_cart_button,
.woocommerce-page a.button.add_to_cart_button,
.woocommerce a.button.product_type_simple,
.woocommerce-page a.button.product_type_simple,
.woocommerce .single_add_to_cart_button,
.woocommerce-page .single_add_to_cart_button {
    /* Suppression complète de la flèche */
    position: relative !important;
    overflow: hidden !important;
    
    /* Stabilisation du texte */
    text-align: center !important;
    justify-content: center !important;
    display: flex !important;
    align-items: center !important;
    
    /* Dimensions fixes */
    min-width: 120px !important;
    height: auto !important;
    padding: 12px 20px !important;
    
    /* Transition fluide */
    transition: all 0.3s ease !important;
}

/* Suppression de tous les pseudo-éléments (flèches) */
.woocommerce a.button.add_to_cart_button:after,
.woocommerce-page a.button.add_to_cart_button:after,
.woocommerce a.button.product_type_simple:after,
.woocommerce-page a.button.product_type_simple:after,
.woocommerce .single_add_to_cart_button:after,
.woocommerce-page .single_add_to_cart_button:after,
.woocommerce a.button.add_to_cart_button:before,
.woocommerce-page a.button.add_to_cart_button:before,
.woocommerce a.button.product_type_simple:before,
.woocommerce-page a.button.product_type_simple:before,
.woocommerce .single_add_to_cart_button:before,
.woocommerce-page .single_add_to_cart_button:before {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* État au survol - Stabilisé */
.woocommerce a.button.add_to_cart_button:hover,
.woocommerce-page a.button.add_to_cart_button:hover,
.woocommerce a.button.product_type_simple:hover,
.woocommerce-page a.button.product_type_simple:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce-page .single_add_to_cart_button:hover {
    /* Maintien des dimensions */
    min-width: 120px !important;
    padding: 12px 20px !important;
    
    /* Centrage maintenu */
    text-align: center !important;
    justify-content: center !important;
    
    /* Effet visuel subtil */
    transform: none !important;
    opacity: 0.9 !important;
}

/* Correction spécifique DIVI */
.et_pb_module .woocommerce a.button,
.et_pb_module .woocommerce-page a.button {
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Suppression des marges automatiques qui causent le décentrage */
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
    margin: 0 auto !important;
    display: block !important;
    text-align: center !important;
}