body.page-id-753 .site-footer .footer-widgets .site-footer--wrapper {
    border: 0;
}

.style-4 .mega-menu > ul.sub-menu > li:last-child {
    display: none;
}

/* DEBUT - mise en forme formulaire */
.wpcf7 label {
font-family:raleway, sans-serif;
font-size: 17px;
}

.wpcf7 input[type="submit"] {
background-color:#000000;
	font-size:17px; cursor:pointer; border-radius:5px
}

.wpcf7 [type="submit"]:hover {
  transform: scale(1.1);
  transition: transform 0.3s;
}
/* FIN - mise en forme formulaire */

/* DEBUT - RALEWAY LOCAL */
@font-face {
    font-family: 'Raleway';
    src: url('/wp-content/uploads/fonts/Raleway.woff2') format('woff2'),
         url('/wp-content/uploads/fonts/Raleway.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Pile de polices globale */
html, body,
h1, h2, h3, h4, h5, h6,
p, a,
button, input, select, textarea {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont,
                 'Segoe UI', Oxygen-Sans, Ubuntu, Cantarell,
                 'Helvetica Neue', sans-serif !important;
}
/* FIN - RALEWAY LOCAL */

/* Override de la police du plugin Woo Side Cart pour ajouter font-display: swap */
@font-face {
    font-family: 'Woo-Side-Cart';
    src: url('/wp-content/plugins/woocommerce-side-cart-premium/assets/css/fonts/Woo-Side-Cart.ttf?fiq1yd')
         format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ----------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* DEBUT - mise en forme du pied de page */
@media (min-width: 992px) {
.site-footer--wrapper .row .col-lg-3:last-child {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 40%;
    max-width: 40%;
}

.site-footer--wrapper .row .col-lg-3 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
}
}
/* FIN - mise en forme du pied de page */
/* ----------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* DEBUT - mise en forme position texte homepage */
.elementor-widget-cosmetsy-banner-box .module-block.text {
    padding-left: 70px;
}
/* FIN - mise en forme position texte homepage */
/* ----------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* DEBUT - mise en page sommaire */
.wp-sommaire {
    background-color: #f5f5f5;
    padding: 20px;
    margin-bottom: 20px;
    font-family: Raleway, sans-serif;
    position: relative !important;
}

.wp-sommaire::before {
    content: "SOMMAIRE";
    display: block;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.wp-sommaire ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
    counter-reset: h2counter;
    border-left: 6px solid #D9D9D9;
    padding-left: 12px;
}

.wp-sommaire ul li {
    margin-bottom: 8px;
    line-height: 1.4;
    position: relative;
    padding-left: 20px;
    list-style-type: none;
}

.wp-sommaire ul li.titre-h2 {
    counter-increment: h2counter;
    counter-reset: h3counter;
}

.wp-sommaire ul li.titre-h2::before {
    content: counter(h2counter) ".";
    color: #888;
    position: absolute;
    left: 0;
    width: 20px;
    text-align: left;
}

.wp-sommaire ul li.titre-h3 {
    padding-left: 40px;
    counter-increment: h3counter;
}

.wp-sommaire ul li.titre-h3::before {
    content: counter(h2counter) "." counter(h3counter) ".";
    color: #888;
    position: absolute;
    left: 13px;
    width: 35px;
    text-align: left;
}

.wp-sommaire ul li a {
    text-decoration: none;
    color: #333;
}

.wp-sommaire ul li a:hover {
    color: #909495; /*#007bff*/
}

.sommaire-ancre {
    position: relative;
}

.sommaire-ancre span {
    position: absolute;
    top: -100px;
}

/* FIN - mise en page sommaire */
/* ----------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* DEBUT - figer le glossaire blog */
.fixed-column-summary {
    position: sticky;
    top: 20px; /* Ajustez cette valeur selon vos besoins */
    height: calc(100vh - 40px); /* Hauteur de la fenêtre moins le padding */
    overflow-y: auto;
    padding: 20px;
    width: 33.3%;
    float: left;
}

@media (max-width: 781px) {
    .fixed-column-summary {
        position: static;
        width: 100%;
        float: none;
        height: auto;
    }
}
/* FIN - figer le glossaire blog */
/* ------------------------------------------------------------------------------------*/
/* DEBUT - BLOG - supprimer bullet article suggéré + style titre */
ul.wp-block-latest-posts__list.is-grid.columns-3.has-dates li::marker {
    content: none;
}

ul.wp-block-latest-posts__list.is-grid.columns-3.has-dates li {
    list-style: none;
}

a.wp-block-latest-posts__post-title {
    font-size: 24px;
    font-weight: bold;
}
/* FIN - supprimer bullet article suggéré */

/* ------------------------------------------------------------------------------------*/
/* DEBUT - mise en page suggestion article */
.wp-block-latest-posts__post-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 4.5em; /* Ajustez cette valeur selon la taille de votre police */
    line-height: 1.5em; /* Ajustez pour correspondre à votre design */
    margin-bottom: 10px; /* Espace entre le titre et l'extrait */
    font-size: 16px; /* Ajustez selon vos besoins */
    font-weight: bold;
    text-overflow: ellipsis;
}
/* fond gris pour un article sur 2 */
.wp-block-latest-posts__list li:nth-child(1),
.wp-block-latest-posts__list li:nth-child(3),
.wp-block-latest-posts__list li:nth-child(5){
  background-color: #F5F5F5 !important;
}

/* grossissement quand on passe au dessus article */
.wp-block-latest-posts__list li {
    transition: transform 0.3s ease;
}

.wp-block-latest-posts__list li:hover {
    transform: scale(1.05);
}

/* FIN - mise en page suggestion article */

/* DEBUT - mise en page lien hypertexte dans article */ 
.custom-links a {
  text-decoration: underline;
}
.custom-links a:hover {
	text-decoration: underline;
	  font-weight: bold; 
}
/* FIN */

/* DEBUT mise en page texte personnalisé woocommerce fabriqué au maroc */
.full-width-custom-field {
    width: 100%;
    clear: both;
    margin: 5px 0 -40px 0;
    padding: 5px;
}

.custom-product-field p {
    color: #000000;
    font-size: 26px;
}
/* FIN */

/* DEBUT mise en page titre H1 Votre panier */
.cart-title {
    font-size: 40px;
	font-weight: bold;
    margin-top: -40px;
	margin-bottom: 30px;
    text-align: left;
    color: #000000; 
}
/* FIN */

/* DEBUT mise en page titre H1 Checkout */
.checkout-title {
    font-size: 40px;
	font-weight: bold;
    margin-top: -40px;
	margin-bottom: 30px;
    text-align: left;
    color: #000000; 
}
/* FIN */

/* DEBUT - mettre en maj champs page checkout */
.woocommerce-checkout .woocommerce-billing-fields label,
.woocommerce-checkout .woocommerce-shipping-fields label,
.woocommerce-checkout .order_comments_label {
    text-transform: uppercase;
	font-weight: bold;
}
/* FIN */

/* DEBUT supprimer les : avec * checkout */
.woocommerce form .form-row .required {
    text-decoration: none;
}
/* FIN */

/* DEBUT font-size breadcrumb boutique */
@media screen and (min-width: 75rem) {
    .shop-page-header.style-2 .container .row .shop-page-header--title .entry-title {
        font-size: 80px;
    }
}
.shop-page-header--title .entry-description p {
    font-size: 17px;
}
/* FIN */

/* DEBUT background color footer */
.site-footer {
    background-color: #F9F2EE !important; 
}

.site-footer .footer-widgets {
    background-color: #F9F2EE !important; 
}

.site-footer .site-footer--wrapper {
    background-color: #F9F2EE !important; 
}

.subfooter, .subfooter * {
    background-color: #F9F2EE !important;
}
/* FIN */

/* DEBUT h4 faq produit */
.woocommerce-Tabs-panel h4 {
    font-size: 18px;
    font-weight: bold;
}
/* FIN */

/* TAILLE DU TEXTE */
p, li {
    font-size: 16px;
    line-height: 1.7;
}
/* Tablette */
@media (max-width: 1024px) {
    p, li {
        font-size: 15px;
    }
}
/* Mobile */
@media (max-width: 767px) {
    p, li {
        font-size: 15px;
    }
}
/* FIN */

/* DEBUT modif size h2 et h3 notre histoire */
.histoire-h2 .elementor-heading-title {
    font-size: 12px ;
    font-weight: 600;
	  letter-spacing: 1px;
}
.histoire-h3 .elementor-heading-title {
    font-size: 52px ;
}
/* FIN */

.single-product .product-price-wrapper {
    display: none !important;
}
/* FIN */

/* SUPPRIMER UGS*/
.sku_wrapper, 
.posted_in, 
.tagged_as {
    display: none !important;
}

/* SIZE H2 icone accueil */
.accueil-icone-texte .elementor-heading-title {
    font-size: 18px;
}
@media (max-width: 767px) {
    .accueil-icone-texte .elementor-heading-title {
    font-size: 16px;
}
}

/* modif bullet point accueil */
.accueil-bullet-point ul {
  list-style-type: none !important;
}
.accueil-bullet-point li {
  position: relative;
  padding-left: 0px;
}
.accueil-bullet-point li::before {
  content: "\2727";
  position: absolute;
  left: -30px;
  color: #000;
  font-size: 1.2em;
}

/* Bouton Ajouter au panier */
.single_add_to_cart_button,
.products .button {
    background-color: #000000; 
    color: #ffffff; 
    border: 2px solid #000000; 
    padding: 10px 50px; 
    border-radius: 0px; 
    transition: all 0.3s ease;
	font-size: 17px;/* Transition douce pour l'effet de survol */
}
/* Effet au survol */
.single_add_to_cart_button:hover,
.products .button:hover {
    background-color: #ffffff; 
    color: #000000; 
    border: 2px solid #000000 !important; 
}

/* ne pas afficher le prix produit */
.product-price-wrapper .price {
    display: none !important;
}

/* defilement pour ancrage page produit */
html {
    scroll-behavior: smooth;
}

/* Shortcode descrption courte vers longue */
.more-info-link {
    text-decoration: underline;
    text-decoration-style: dotted;
}

/* Texte quantité produit */
.quantity .input-text.qty.text {
    font-size: 20px;
}

/* Footer différent sur mobile et tablette */
@media(max-width: 1024px){
.footer-widgets .col.col-12.col-lg-3 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}
}

/* woocommerce en tab sur mobile */
@media(max-width: 768px){
.woocommerce-tabs ul.tabs.wc-tabs li {
    display: block;
}
}

/* woocommerce titre h2 nom et taille categorie */
.product-content .entry-name.woocommerce-loop-product__title {
    font-size: 16px !important;
}
.product-content .entry-category a {
    font-size: 11px !important;
}

/* Breadcrumb woo Change la couleur de fond et le texte des éléments spécifiques */
.klb-blog-breadcrumb.shop-page-header.style-2 .container {
  background-color: #F9F2ED; /* Couleur de fond en noir */
  color: black; /* Couleur du texte en blanc */
}

.shop-page-header--title .entry-title {
  color: black !important; /* Couleur du titre en noir */
}

/* Woo checkout lien hypertexte black */
.woocommerce-privacy-policy-text a {
    color: black !important; /* Lien hypertexte également noir */
    text-decoration: underline; 
}désafficher related product

/* page home h2 en gras */
body.home .module--inner h2 {
    font-weight: bold !important;
	font-size: 32px !important;
}
body.home .module--inner span {
    font-size: 14px;
}
@media (max-width: 768px) {
    body.home .module--inner h2 {
        font-size: 14px !important;
    }

    body.home .module--inner span {
        font-size: 11px !important;
    }
}
/* Styles pour le h2 dans la page d'accueil */
body.home .module--title.style-2.bordered .module--title--inner h2.entry-title {
    font-weight: bold;
    font-size: 32px;
}
@media (max-width: 768px) {
    body.home .module--title.style-2.bordered .module--title--inner h2.entry-title {
    font-weight: bold;
    font-size: 18px;
}
}

/* Styles pour le h3 dans la page d'accueil */
body.home .module--title.style-3.bordered .module--title--inner h3.entry-title {
    font-weight: bold;
    font-size: 30px;
}
@media (max-width: 768px) {
    body.home .module--title.style-3.bordered .module--title--inner h3.entry-title {
    font-weight: bold;
    font-size: 16px;
}
}

/* Styles pour le span dans la page d'accueil */
body.home .module--title.style-2.bordered .module--title--inner a.button-text span {
    font-size: 14px;
}

/* lien hypertexte en gris sur le site */
a:hover {
    color: #909495;
}

/* masque le rating du theme */
.woocommerce-product-rating {
    display: none; 
}

/* format note 
.product-average-rating {
    font-size: 16px;
    color: #555;
    margin-bottom: -20px;
}

@media (max-width: 768px) {
    .product-average-rating {   
        margin-bottom: 0px;  
    }
} */

/* Etoile noire description */
.product-average-rating {
    color: #000 !important; 
}

/* Etoile noire dans les avis */
.star-rating span::before {
    color: #000;
}

/* ACCUEIL mobile size */
@media (max-width: 768px) {
  .elementor-element-30c0a86d h1 { 
    font-size: 20px;
    font-weight: bold;
		transform: translateY(-60px);
  }

  .elementor-element-63c6b491 p {
    font-size: 15px; 
		transform: translateY(-40px);
  }
	.elementor-element-2bc196bd h2 {
    font-size: 15px;
		margin-bottom: 0px;
		transform: translateY(-70px);
}
		.button-position-accueil {
		transform: translateY(-80px);
  }
}

/* Supprimer breacrumb mobile boutique et style du titre mobile 
@media (max-width: 768px) {
    .klb-shop-breadcrumb {
        display: none;
    }
	.mobile-shop-h1 {
        text-align: center;
        font-size: 50px; 
        margin-bottom: 20px;
		margin-top: 20px; 
    }
}*/

/* Mobile Panier et Checkout H1 */
@media (max-width: 768px) {
    .cart-title {
        font-size: 38px; 
			margin-top: 30px;
    }
	  .checkout-title {
        font-size: 38px; 
			margin-top: 30px;
    }
}

/* Masquer le badge "HOT" */
.badge.hot {
    display: none !important;
}

/* Position badge reduction */
.badge.onsale { 
    position: absolute;
    top: -15px; 
    left: -15px; 
}

/* Badge minus */
.product-badges .badge.style-1:before {
    content: '-';
}

/* Accueil - Iconique by Celesta */
@media screen and (max-width: 768px) {
    .module-block.text h2.entry-title {
        font-size: 28px !important; 
    }
}

/* Bouton addtocart page boutique */
.product-action {
    display: none !important;
}

/* Désactiver clique photo fiche produit */
.pswp {
    display: none !important;
}

/* Désactiver client vérifié sur avis */
.woocommerce-review__verified.verified {
    display: none;
}

/* Xootix - Désafficher voir la pnier et contineur achat */
.xoo-wsc-ft-btn-cart,
.xoo-wsc-ft-btn-continue,
.added_to_cart.wc-forward,
.xoo-wsc-ecl, .xoo-wsc-notice-success {
    display: none !important;
}
@media only screen and (max-width: 700px) {
  input[type="number"].xoo-wsc-qty {
    pointer-events: none;
  }
}
/* Xootix FIN */

/* taille H3 accueil */
body .klb-latest-blog h3.entry-title {
    font-size: 22px !important;
}

/* Style pour les écrans mobiles (moins de 768px) */
@media (max-width: 768px) {
    .klb-latest-blog h3.entry-title {
        font-size: 18px !important;
    }
}

/* Ajuste taille prix dans bouton */
@media (max-width: 768px) { 
    .single_add_to_cart_button {
        display: block; /* S'assure que le bouton est sur une ligne entière */
        width: 100%; /* Prend toute la largeur */
        text-align: center; /* Centre le texte */
        margin: 0 auto; /* Centre le bouton */
			font-size: 14px !important;
    }
}

/* Fleche caroussel mobile */
.module .site-slider.carousel .slick-arrow.slick-next {
    right: 0;
}
.module .site-slider.carousel .slick-arrow.slick-prev {
    left: 0
}
@media screen and (max-width: 36rem) {
.slider-wrapper .site-slider .slick-arrow {
display: inline-flex !important;
} 
}

/* Personnalisation accordion tab product page - Appliquer l'arrière-plan de couleur F9F2ED à l'accordéon */
.cosmetsy-accordion-title {
    background-color: #F9F2ED !important;
}

.single-product .cosmetsy-active .cosmetsy-accordion-title-text span {
    color: black;
}
.single-product .cosmetsy-accordion-title.cosmetsy-active .cosmetsy-accordion-opener.cosmetsy-opener-style-arrow {
    font-size: 40px;
    color: black;
}
.single-product .cosmetsy-accordion-opener {
    font-size: 40px;
}
/* font-size */
.cosmetsy-accordion-title-text h2 {
    font-size: 34px !important;
}
@media only screen and (max-width: 767px) {
    .cosmetsy-accordion-title-text h2 {
        font-size: 28px !important;
    }
}
/* font size texte */
.cosmetsy-accordion-item p {
    font-size: 16px !important;
}


/* Masquer Image page blog */
body.postid-6767 .entry-media,
body.postid-6200 .entry-media,
body.postid-2288 .entry-media {
    display: none !important;
}

/* Mettre les étoiles de notation en noir */
.cr-rating-icon {
  fill: #000 !important;
}
/* Facultatif : si les étoiles de fond doivent aussi être noires */
.cr-rating-icon-bg {
  stroke: #000 !important;
}

/* Masquer le sélecteur de devise sur les pages de blog */
.blog .woo-multi-currency.wmc-right.style-1,
body.single-post .woo-multi-currency.wmc-right.style-1,
body.archive.category .woo-multi-currency.wmc-right.style-1,
body.blog .woo-multi-currency.wmc-right.style-1 {
    display: none !important;
}



.mobile-shop-banner {
  background-color: #F9F2ED;
  padding: 25px 15px;
  margin-bottom: 20px;
  text-align: center;
  border-radius: 8px;
}

.mobile-shop-h1 {
  font-size: 22px !important;
  margin: 0 0 10px 0;
  color: #222;
}

.mobile-shop-description {
  font-size: 16px;
  margin: 0;
  color: #555;
}

/* provenance client checkout page */
/* Conteneur grille 3x2 */
.cs-grid-check .wpcf7-form-control {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px 30px;
  max-width: 100%;
}
/* Espacement entre case et texte */
.cs-grid-check .wpcf7-list-item {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
}
.cs-grid-check .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.cs-grid-check .wpcf7-list-item input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 3px;
}
/* Mobile : passage à 2 colonnes pour laisser assez de place au texte */
@media (max-width: 480px) {
  .cs-grid-check .wpcf7-form-control {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 20px;
  }
}
/* Bouton de soumission */
.wpcf7-submit {
  background-color: #000;
  color: #fff !important;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  margin-top: 20px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.wpcf7-submit:hover {
  background-color: #444;
}
.screen-reader-response {
  display: none !important;
} /* bug affichage Merci pour votre réponse 2 fois */
.wpcf7-response-output {
  color: #2e7d32; /* message en vert foncé */
}
/* Masquer complètement le fieldset des champs cachés CF7 */
.wpcf7 form .hidden-fields-container {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.wpcf7 form .hidden-fields-container input {
  display: none !important;
}
/* FIN provenance client checkout page */

/* mise en forme FAQ produit */
.faq-section {
  padding: 10px 10px;
}
.intro-faq {
  /*font-weight: bold;*/
  font-size: 28px;
  margin-bottom: 20px;
}
.faq-item {
  margin-bottom: 20px;
}
.question {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 8px;
}
.answer {
  font-size: 16px;
  line-height: 1.5;
}
/* Responsive : mobile */
@media (max-width: 600px) {
  .intro-faq {
    font-size: 22px;
  }
  .question {
    font-size: 24px;
  }
  .answer {
    font-size: 16px;
  }
}
/* FIN mise en forme FAQ produit */

/* LP - SPF */
.elementor-testimonial-image {
    display: none !important;
}
/* FIN LP - SPF */

/* Badge Best-seller */
.badge-best-seller {
    position: absolute;
    top: 5px;
    right: 10px;
    background-color: #000;
    color: #fff;
    font-weight: bold;
    padding: 4px 8px;
    font-size: 10px;
    border-radius: 4px;
    z-index: 10;
    text-transform: uppercase;
}

/* Badge best-seller dans la galerie image */
.badge-best-seller-inside {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #000;
    color: #fff;
    font-weight: bold;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
    z-index: 10;
    text-transform: uppercase;
}

/* Pour la page BOUTIQUE */
.woocommerce ul.products li.product {
    position: relative;
}

/* Pour la page PRODUIT */
.woocommerce div.product div.woocommerce-product-gallery {
    position: relative;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .badge-best-seller {
        top: 4px;
        right: 4px;
        font-size: 8px;
        padding: 4px 4px;
        border-radius: 4px;
    }
}
@media (max-width: 480px) {
    .badge-best-seller-inside {
        top: 6px;
        right: 6px;
        font-size: 12px;
        padding: 4px 8px;
        border-radius: 4px;
    }
}
/* Fin badge best seller */

/* taille texte catégory page Boutique */
.shop-page-header--categories ul li a {
    font-size: 16px;
}

/* message succes boutique */
.cs-custom-stock-message {
    font-size: 18px;
}
@media screen and (max-width: 768px) {
    .cs-custom-stock-message {
        font-size: 20px;
    }
}

/* Masque avis utilisateur */
.reviewer-verified {
    display: none !important;
}

/* Masque logo captcha */
.grecaptcha-badge { visibility: hidden; }

/* Réduire la taille du menu uniquement sur ordinateur */
@media (min-width: 1025px) {
    .site-menu.primary-menu.horizontal-menu ul.menu > li > a {
        font-size: 17px !important; 
        letter-spacing: 0.5px; 
        white-space: nowrap; /* Force le texte à rester sur une ligne */
    }
}

/* Boutons catégories page boutique */
.shop-page-header--categories ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding: 0;
    margin: 20px 0;
    list-style: none;
}

.shop-page-header--categories ul li {
    margin: 0;
}

.shop-page-header--categories ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    background-color: #000;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #000;
    transition: all 0.25s ease;
}

/* Hover */
.shop-page-header--categories ul li a:hover {
    background-color: #fff;
    color: #000;
}

/* checklist format - produit */
.celesta-checklist-prod {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.celesta-checklist-prod li::before {
	content: "✔️ ";
	margin-right: 6px;
}

/* Checklist Celesta – Blog (sans flex, sans bug Gutenberg) */
.celesta-checklist-blog{
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.celesta-checklist-blog li{
  list-style: none !important;
  text-indent: 0 !important;   /* neutralise certains thèmes */
}

.celesta-checklist-blog li::before{
  content: "✔";
  display: inline-block;
  width: 22px;                 /* colonne fixe */
  margin-right: 10px;          /* ← espacement horizontal garanti */
  line-height: 1;
}

.wp-block-table thead th {
    background-color: #F9F2ED;
}

/* BLOG - Wrapper scroll pour tous les tableaux */
.table-scroll-blog{
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  width: 100% !important;
}

/* IMPORTANT: ne pas forcer de min-width (sinon 2 colonnes deviennent énormes) */
.table-scroll-blog table{
  width: 100% !important;          /* tableaux simples = plein écran */
  max-width: 100% !important;
  border-collapse: collapse !important;
  table-layout: auto !important;   /* override Gutenberg fixed layout */
}

/* Si le contenu est plus large que l'écran, le navigateur gardera la largeur du contenu
   et le wrapper permettra le scroll. */
.table-scroll-blog table th,
.table-scroll-blog table td{
  padding: 6px 8px !important;
  white-space: normal !important;
  overflow-wrap: normal !important;   /* évite de couper n’importe où */
  word-break: keep-all !important;    /* garde les mots entiers */
  hyphens: auto !important;           /* si le navigateur sait couper proprement */
  vertical-align: middle !important;
}

/* Alignement : 1ère colonne gauche, le reste centré (comme un comparatif) */
.table-scroll-blog table th:first-child,
.table-scroll-blog table td:first-child{
  text-align: left !important;
}

.table-scroll-blog table th:not(:first-child),
.table-scroll-blog table td:not(:first-child){
  text-align: center !important;
}

/* Optionnel: évite les colonnes trop larges sur mobile sans casser la lecture */
@media (max-width: 768px){
  .table-scroll-blog table th,
  .table-scroll-blog table td{
    font-size: 15px !important;
    line-height: 1.25 !important;
  }
}

/* BLOG - ne pas afficher table des matieres sur mobile */
@media (max-width: 768px) {
  .table-matiere-blog-celesta {
    display: none;
  }
}

/* center texte dans bouton contact et test cookies */
button,
input[type="submit"] {
  line-height: 1;
}

/* crise stock fr */
.cs-custom-stock-message {
  background-color: #F9F2ED;
  border-left: 4px solid #F15D22;
  padding: 14px 16px;
  margin-top: 18px;
  border-radius: 6px;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}

/* Bouton formulaire rupture Celesta */
.cs-custom-stock-message .sib-default-btn,
.cs-custom-stock-message input[type="submit"]{
    background:#000 !important;
    color:#fff !important;
    border:2px solid #000 !important;
    border-radius:0px;
    padding:14px 22px;
    font-weight:600;
    letter-spacing:0.5px;
    transition:all .2s ease;
    cursor:pointer;
}

/* Hover */
.cs-custom-stock-message .sib-default-btn:hover,
.cs-custom-stock-message input[type="submit"]:hover{
    background:#fff !important;
    color:#000 !important;
    border:2px solid #000 !important;
}

/* couleur bandeau code promo checkout */
.woocommerce-form-coupon-toggle {
    background-color: #F9F2ED;
}
/* masquer champ note checkout */
.woocommerce-additional-fields {
    display: none !important;
}
/* masquer champ expédier adresse diff */
.woocommerce-shipping-fields {
    display: none !important;
}

/* titre H2 blog en F9F2ED */
.titre-h2-blog-celesta {
    display: inline-block;
    background-color: #F9F2ED;
    padding: 6px 12px;
    border-radius: 4px;
}
/* titre H3 blog en EDE7F6 */
.titre-h3-blog-celesta {
    display: inline-block;
    border-bottom: 4px solid #F9F2ED;
    padding-bottom: 4px;
}

/* underline code promo checkout */
.woocommerce-info .showcoupon {
    text-decoration: underline;
}

/* DEBUT mis en page sidebar blog */
.celesta-popular-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.celesta-popular-posts li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.celesta-popular-posts li:last-child {
    border-bottom: none;
}

.celesta-popular-posts a {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    text-decoration: none;
    color: #1a1a1a;
}

.celesta-popular-posts a:hover {
    color: #555;
}

.celesta-popular-posts img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 4px;
}

.celesta-popular-posts span {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
    font-family: 'Raleway', sans-serif;
}
.celesta-popular-posts li::before,
.celesta-popular-posts li::after,
.celesta-popular-posts a::before,
.celesta-popular-posts a::after {
    display: none !important;
    content: none !important;
}
/* FIN mis en page sidebar blog */

/* FIN SIDEBAR BLOG EN HAUT MOBILE */
/* Mobile : remonter la sidebar au-dessus des articles sur les pages blog */
@media (max-width: 991px) {
    body.blog .site-main-body .row,
    body.archive .site-main-body .row,
    body.category .site-main-body .row {
        display: flex !important;
        flex-direction: column !important;
    }
    
    body.blog .site-main-body .row > .col-lg-3,
    body.archive .site-main-body .row > .col-lg-3,
    body.category .site-main-body .row > .col-lg-3 {
        order: -1 !important;
        margin-bottom: 20px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    
    body.blog .site-main-body .row > .col-lg-9,
    body.archive .site-main-body .row > .col-lg-9,
    body.category .site-main-body .row > .col-lg-9 {
        order: 1 !important;
    }
    
    /* Réduire l'espace entre breadcrumb et sidebar */
    body.blog .klb-blog-breadcrumb,
    body.archive .klb-blog-breadcrumb,
    body.category .klb-blog-breadcrumb {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    
    body.blog .container,
    body.archive .container,
    body.category .container {
        padding-top: 10px !important;
    }
    
    body.blog .site-main-body,
    body.archive .site-main-body,
    body.category .site-main-body {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    /* Compacter le widget Catégories */
    body.blog #sidebar-primary,
    body.archive #sidebar-primary,
    body.category #sidebar-primary {
        padding: 0 !important;
        margin-top: 0 !important;
    }
    
    body.blog #sidebar-primary .widget:first-child,
    body.archive #sidebar-primary .widget:first-child,
    body.category #sidebar-primary .widget:first-child {
        margin-top: 10px !important;
        padding-top: 0 !important;
    }
    
    body.blog #sidebar-primary .widget,
    body.archive #sidebar-primary .widget,
    body.category #sidebar-primary .widget {
        margin-bottom: 25px !important;
    }
}
/* FIN SIDEBAR BLOG EN HAUT MOBILE */

/* DEBUT TAILLE VOS ARTICLES PREFERES */
#sidebar-primary h3.widget-title,
#sidebar-primary h3.wp-block-heading {
    font-size: 20px !important;
    font-weight: 600 !important;
    margin-bottom: 15px !important;
}

/* Tailles titres sidebar - Mobile */
@media (max-width: 991px) {
    #sidebar-primary h3.widget-title,
    #sidebar-primary h3.wp-block-heading {
        font-size: 17px !important;
    }
}
/* FIN TAILLE VOS ARTICLES PREFERES */

/* MASQUER H1 PAGE DIAG ET RESULTAT */
body.page-id-10653 h1.klb-page-title,
body.page-id-10653 .klb-page-title {
  display: none !important;
}
body.page-id-10657 h1.klb-page-title,
body.page-id-10657 .klb-page-title {
  display: none !important;
}
/* FIN */

.celesta-footer-newsletter-intro {
  margin: 0 0 18px 0 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #222 !important;
}

.celesta-footer-newsletter-field {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  gap: 8px !important;
  margin: 0 0 12px 0 !important;
}

.celesta-footer-newsletter-input {
  flex: 1 !important;
  width: auto !important;
  height: 38px !important;
  padding: 0 10px !important;
  border: 1px solid #ddd !important;
  background: #fff !important;
  color: #111 !important;
  font-size: 14px !important;
  outline: none !important;
  box-shadow: none !important;
}

.celesta-footer-newsletter-input::placeholder {
  color: #999 !important;
  opacity: 1 !important;
  font-size: 14px !important;
}

.celesta-footer-newsletter-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  min-width: 24px !important;
  height: 38px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  color: #111 !important;
  font-size: 16px !important;
  line-height: 1 !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

.celesta-footer-newsletter-submit:hover,
.celesta-footer-newsletter-submit:focus,
.celesta-footer-newsletter-submit:active {
  background: transparent !important;
  color: #111 !important;
  border: none !important;
  box-shadow: none !important;
}

.celesta-footer-newsletter-consent {
  margin: 0 !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  color: #222 !important;
}

/* correction responsaive cassé */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

/* ========================================
   SECTION DIAGNOSTIC HOMEPAGE - CELESTA SKINCARE
   ======================================== */

/* Eyebrow (petit, espacé, majuscules) */
.celesta-diag-homepage-h2 .elementor-heading-title {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  line-height: 1.4;
  margin: 0 0 70px 0;
  color: #ffffff;
}

/* Titre principal (gras, plus grand que l'eyebrow) */
.celesta-diag-homepage-h3 .elementor-heading-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 30px 0;
  color: #ffffff;
}

/* ===== VERSION TABLETTE (768-1024px) ===== */
@media (min-width: 768px) and (max-width: 1024px) {
  .celesta-diag-homepage-h3 .elementor-heading-title {
    font-size: 26px;
  }
}

/* ===== VERSION MOBILE (< 768px) ===== */
@media (max-width: 767px) {
  .celesta-diag-homepage-h2 .elementor-heading-title {
    font-size: 12px;
    letter-spacing: 0.2em;
    margin: 0 0 14px 0;
  }
  
  .celesta-diag-homepage-h3 .elementor-heading-title {
    font-size: 22px;
    line-height: 1.25;
    margin: 0 0 18px 0;
  }
}

/* Texte (sous-titre) - spécificité augmentée pour override Elementor */
.celesta-diag-homepage-texte .elementor-widget-container p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0 0 30px 0;
  color: #ffffff;
}

/* Bouton - une fois la classe correctement saisie dans Elementor */
.celesta-diag-homepage-cta {
  margin: 20px;
}

/* ===== VERSION MOBILE (< 768px) ===== */
@media (max-width: 767px) {
  .celesta-diag-homepage-texte .elementor-widget-container p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 22px 0;
  }
}

/* FIN */