/*
Theme Name: Divi Child Advanced
Theme URI: https://cekonay.com/
Description: Thème enfant avancé pour Divi 5 (avec structure propre)
Author: Cekonay
Author URI: https://cekonay.com/
Template: Divi
Version: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: divi-child-advanced
*/

/* ========================================
   POLICES SYSTÈME NATIVES - PRIORITÉ MAX
   ======================================== */
:root {
  --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Application des polices système à tous les éléments de base */
body,
input,
textarea,
select,
button,
/* Ciblage spécifique Divi */
#page-container,
#et-main-area,
.et_pb_section,
.et_pb_row,
.et_pb_column,
.et_pb_text,
.et_pb_module,
#main-content,
.entry-content,
/* Éléments de formulaire Divi */
.et_pb_contact_form input,
.et_pb_contact_form textarea,
.et_pb_contact_form select,
/* Boutons Divi */
.et_pb_button,
.et_pb_promo_button,
/* Menu Divi */
#main-header,
#et-top-navigation,
.et_mobile_menu,
/* Footer Divi */
#main-footer {
  font-family: var(--font-system) !important;
}

/*!
Theme Name: Divi child
Template: Divi
Theme URI: http://www.cekonay.com
Version: 1
Description: un theme enfant de divi
Author: cekonay.com
Author URI: http://www.cekonay.com
*/

/* on cache ne nom si il n'est pas chargé*/
.hiddmask {
    display: none !important;
}

.woocommerce .badge-nouveaute {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ffb700;
    color: #fff;
    font-size: 0.75rem;
    padding: 6px 10px;
    border-radius: 3px;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 10;
}

/**/

/*on souligne lien footer*/
.underlinee :hover{
    text-decoration: underline;
}
/* centrer crédit footer*/
#footer-info {
	text-align: center;
	width: 100%;
}
/*custom footer*/
#footer-info {
	padding-bottom: 4px !important;
	line-height: 18px !important;
}
#footer-bottom {
    background-image: linear-gradient(183deg,#fceae0 7%,#f9e3e3 45%);
}
#footer-info a:hover {
    color: #ff7900 !important;
}
/*affichage promo reduction 
.badge-galerie-product, .badge-smart, .badge-single{
	display:none !important; 
}
*/
.mobile_nav.opened .mobile_menu_bar:before {
	content: '\4d';
	color: #29a66c;
	transition: all ease-in-out 300ms;
	z-index: 100;
}
.mobile_nav.closed .mobile_menu_bar:before {
	transition: all ease-in-out 300ms;
}
/*modification menu*/
 
.et_mobile_menu {
	border-top:0;
	min-width: 100vw;
	margin-left: -37px;
	min-height: 100vh;
}
.et_mobile_menu li li {
    padding-left: 0%;
}
/*plan bois*/
@media only screen and (min-width:884px) and (max-width:1104px){
  .workplan {
    display:none;
  }
}


/*animation cand M*/

.codedropz-btn-wrap .cd-upload-btn {
    position: relative;
    overflow: hidden; /* Contient les pseudo-éléments animés */
    color: #1a9d0d;
    padding: 8px 40px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block;
}

/* Ajout du chevron gauche via ::before avec Unicode */
.codedropz-btn-wrap .cd-upload-btn::before {
    content: '>>'; 
    position: absolute;
    left: 15px;
    top: 7px;
    padding-right: 5px; /* Espace entre le chevron et le texte */
    animation: slideInLeft 2s linear infinite;
}

/* Ajout du chevron droit via ::after avec Unicode */
.codedropz-btn-wrap .cd-upload-btn::after {
    content: '<<'; 
    position: absolute;
    right: 15px;
    top: 7px;
    padding-left: 5px; /* Espace entre le chevron et le texte */
    animation: slideInRight 2s linear infinite;
}

@keyframes slideInLeft {
    0%, 100% {
        transform: translateX(-10px);
    }
    50% {
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    0%, 100% {
        transform: translateX(10px);
    }
    50% {
        transform: translateX(0);
    }
}

.codedropz-upload-inner .cd-upload-btn {
    font-size: 20px;
    color: #1a9d0d !important;
    font-weight: 800;
    line-height: 2.7em;
}


/* CSS pour le loader */
.cek-gal-product-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    display: none;
  }

.cek-gal-loader {
    width: 27px;
    height: 27px;
    position: relative;
    background: rgba(255, 255, 255, 0.77);
    border-radius: 4px;
  }

.cek-gal-loader:before {
    content: "";
    position: absolute;
    left: 1.5px;
    top: 1.5px;
    width: 12px;
    height: 12px;
    background: #9d1890;
    border-radius: 50%;
    transform-origin: 100% 100%;
    animation: cek-gal-move 1s linear infinite;
  }

@keyframes cek-gal-move {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(100%, 0);
    }

    50% {
        transform: translate(100%, 100%);
    }

    75% {
        transform: translate(0, 100%);
    }
}



/* Styles pour le bouton de survol page catégorie */
.cek-gal-view-button {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #9d1790 !important;
    color: #fff;
    padding: 2px 8px;
    border-radius: 25px;
    border: 2px solid #fff;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    z-index: 15;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Afficher le bouton au survol de l'image */
.et_shop_image:hover .cek-gal-view-button {
    display: inline-block;
}

/* Effet au survol du bouton */
.cek-gal-view-button:hover {
    background-color: #c734b9;
    transform: translate(-50%, -50%) scale(1.05);
}

/* S'assurer que l'image container est positionné pour les éléments absolus */
.et_shop_image {
    position: relative;
    overflow: hidden;
}





.heart-container {
    position: relative;
    overflow: hidden;
}

.heart-container img {
    max-width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

.heart {
    position: absolute;
    font-size: 30px;
    color: red;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    animation: heartFloat 3s ease-in-out forwards; 
    pointer-events: none;
    z-index: 2;
}




@keyframes heartFloat {
    0% {  
        opacity: 1;
        transform: translateY(0) translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-100%) translateX(50px);
    }
}


