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;
  }
}

/* Reduction taille texte CGV checkout */
.elementor-element-5f0dadf p,
.elementor-element-5f0dadf a {
    font-size: 14px;
    color: rgb(144, 144, 144);
}
@media (max-width: 767px) {
    .elementor-element-5f0dadf p,
    .elementor-element-5f0dadf a {
        font-size: 12px;
    }
}



/* =========================================================
   CATEGORIES MOBILE - CELESTA SKINCARE
   ========================================================= */

@media (max-width: 767px) {

    /* Conteneur des catégories */
    .shop-page-header--categories ul {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px 8px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Chaque catégorie */
    .shop-page-header--categories ul li {
        display: block !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        flex: 0 0 auto !important;
    }

    /* Boutons */
    .shop-page-header--categories ul li a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: auto !important;
        white-space: nowrap !important;
        padding: 12px 18px !important;
        font-size: 16px !important;
        line-height: 1 !important;
        height: auto !important;
        box-sizing: border-box !important;
    }


    /* =====================================================
       NOMS COURTS SUR MOBILE
       ===================================================== */

    /* Routines et coffrets → Coffrets */
    .shop-page-header--categories a[href*="coffret-celesta-skincare"] {
        font-size: 0 !important;
    }
    .shop-page-header--categories a[href*="coffret-celesta-skincare"]::after {
        content: "Coffrets";
        font-size: 16px;
        line-height: 1;
    }

    /* Soins du visage → Visage */
    .shop-page-header--categories a[href*="soins-visage-sans-parfum"] {
        font-size: 0 !important;
    }
    .shop-page-header--categories a[href*="soins-visage-sans-parfum"]::after {
        content: "Visage";
        font-size: 16px;
        line-height: 1;
    }

    /* Soins corporels → Corps */
    .shop-page-header--categories a[href*="soins-corporels"] {
        font-size: 0 !important;
    }
    .shop-page-header--categories a[href*="soins-corporels"]::after {
        content: "Corps";
        font-size: 16px;
        line-height: 1;
    }

    /* Soins capillaires → Cheveux */
    .shop-page-header--categories a[href*="soins-capillaires"] {
        font-size: 0 !important;
    }
    .shop-page-header--categories a[href*="soins-capillaires"]::after {
        content: "Cheveux";
        font-size: 16px;
        line-height: 1;
    }

    /* Protection solaire → Solaire */
    .shop-page-header--categories a[href*="protection-solaire-sans-parfum"] {
        font-size: 0 !important;
    }
    .shop-page-header--categories a[href*="protection-solaire-sans-parfum"]::after {
        content: "Solaire";
        font-size: 16px;
        line-height: 1;
    }
}


/* Masquer les avis uniquement sur le Duo Éclat Visage */
body.single-product.postid-12634 .cr-reviews-rating,
body.single-product.postid-12634 #reviews,
body.single-product.postid-12634 .woocommerce-Reviews {
    display: none !important;
}


/* correction MAD sur 2 lignes checkout */
.order-total td,
.order-total td strong,
.order-total .woocommerce-Price-amount,
.order-total .woocommerce-Price-currencySymbol {
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

@media (max-width: 480px) {
  .order-total td strong {
    font-size: 0.85em;
  } 
}

/* MASQUER FLECHE CASSEE SUR THANK YOU PAGE*/
body.woocommerce-order-received .scrollToTop {
  display: none !important;
}

/* IMAGE BLOG 1200 PX MAIS LIMITE AFFICHAGE 500 PX */
.single-post figure.entry-media img {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  margin: 0 auto;
}






/* ==========================================================
   Celesta Skincare : composants des articles de blog
   A coller UNE FOIS dans Apparence > Personnaliser > CSS additionnel,
   a la suite du CSS de l'image de couverture.
   Tout est limite aux articles (.single-post .entry-content).
   ========================================================== */

.single-post .entry-content {
  --cel-beige: #F9F2ED;
  --cel-rose: #F5E6E0;
  --cel-ink: #24282C;
  --cel-ink-soft: #5E6469;
  --cel-line: #ECE3DC;
  --cel-sage: #3F6B52;
  --cel-sage-soft: #E7F0EA;
  --cel-alert: #924560;
  --cel-alert-soft: #F8E8EC;
  --cel-btn: #32373C;
  font-size: 17px;
  line-height: 1.75;
}
@media (max-width: 760px) {
  .single-post .entry-content { font-size: 16.5px; }
}

/* Themes classiques (Cosmetsy) : WordPress ajoute une enveloppe .wp-block-group__inner-container
   dans chaque bloc Groupe. On la rend transparente pour que les grilles et le flex fonctionnent. */
.single-post .entry-content .wp-block-group[class*="cel-"] > .wp-block-group__inner-container { display: contents; }

/* Listes des composants : aucune puce du theme */
.single-post .entry-content [class*="cel-"] ul,
.single-post .entry-content [class*="cel-"] ol { margin-left: 0; }
.single-post .entry-content .cel-essentiel li,
.single-post .entry-content .cel-related li { list-style: none !important; }
.single-post .entry-content .cel-essentiel li::marker { content: ""; }

/* Alerte de relecture : visible dans l'editeur WordPress, jamais sur le site public */
.single-post .entry-content .cel-alerte-relecture { display: none !important; }

/* Liens : externes soulignes ; internes en gras (balise strong) et soulignes */
.single-post .entry-content p a,
.single-post .entry-content li a,
.single-post .entry-content td a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--cel-sage);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.single-post .entry-content p a:hover,
.single-post .entry-content li a:hover { color: var(--cel-sage); }

/* Titres : decalage pour les ancres du sommaire */
.single-post .entry-content h2,
.single-post .entry-content h3 { scroll-margin-top: 90px; text-wrap: balance; }

/* Intro dans un encadre beige */
.single-post .entry-content .cel-intro {
  background: var(--cel-beige);
  border-radius: 24px;
  padding: 28px clamp(20px, 4vw, 36px);
}
.single-post .entry-content .cel-intro > * + * { margin-top: 14px; }

/* Ligne auteur : photo a gauche, texte a droite */
.single-post .entry-content .cel-byline {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--cel-ink-soft);
}
.single-post .entry-content .cel-byline .cel-avatar { margin: 0 !important; flex: 0 0 64px; width: 64px; }
.single-post .entry-content .cel-byline .cel-avatar img {
  width: 64px !important;
  height: 64px !important;
  max-width: none;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
}
.single-post .entry-content .cel-byline p { margin: 0; flex: 1 1 auto; }

/* L'essentiel en 30 secondes */
.single-post .entry-content .cel-essentiel {
  background: var(--cel-beige);
  border-radius: 24px;
  padding: 24px clamp(20px, 4vw, 36px);
}
.single-post .entry-content .cel-essentiel h2 { font-size: 22px; margin: 0 0 12px; }
.single-post .entry-content .cel-essentiel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.single-post .entry-content .cel-essentiel li { position: relative; padding-left: 32px; line-height: 1.6; }
.single-post .entry-content .cel-essentiel li::before {
  content: "";
  position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--cel-sage-soft);
  box-shadow: inset 0 0 0 2px var(--cel-sage);
}
.single-post .entry-content .cel-essentiel li::after {
  content: "";
  position: absolute; left: 7px; top: 8px;
  width: 6px; height: 9px;
  border: solid var(--cel-sage); border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Sommaire genere (bloc Details + liste d'ancres), repliable */
.single-post .entry-content .cel-toc {
  border: 1px solid var(--cel-line);
  border-radius: 18px;
  padding: 0 20px;
}
.single-post .entry-content .cel-toc summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}
.single-post .entry-content .cel-toc summary::-webkit-details-marker { display: none; }
.single-post .entry-content .cel-toc summary::after { content: "+"; font-size: 22px; line-height: 1; font-weight: 300; color: var(--cel-ink); transition: transform .2s; }
.single-post .entry-content .cel-toc[open] summary::after { transform: rotate(45deg); }
.single-post .entry-content .cel-toc ol { font-size: 15px; line-height: 1.45; }
.single-post .entry-content .cel-toc a { text-decoration: none; color: var(--cel-ink-soft); }
.single-post .entry-content .cel-toc a:hover { color: var(--cel-ink); }
/* Sommaire : numeros alignes, decales du bord, et section en cours surlignee
   (le surlignage est pose par un petit script en fin d'article) */
.single-post .entry-content .cel-toc ol { list-style: none !important; counter-reset: cel-toc; padding: 0 !important; margin: 0 0 6px !important; display: grid; gap: 2px; }
.single-post .entry-content .cel-toc li {
  list-style: none !important;
  counter-increment: cel-toc;
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 6px 10px 6px 8px;
  border-radius: 10px;
}
.single-post .entry-content .cel-toc li::marker { content: ""; }
.single-post .entry-content .cel-toc li::before {
  content: counter(cel-toc) ".";
  flex: 0 0 24px;
  text-align: right;
  color: var(--cel-ink-soft);
  font-variant-numeric: tabular-nums;
}
.single-post .entry-content .cel-toc li:has(> a.is-active) { background: var(--cel-beige); box-shadow: inset 3px 0 0 var(--cel-ink); }
.single-post .entry-content .cel-toc li:has(> a.is-active)::before { color: var(--cel-ink); font-weight: 600; }
.single-post .entry-content .cel-toc a.is-active { color: var(--cel-ink); font-weight: 600; }
.single-post .entry-content .cel-toc summary { padding-left: 8px; }

/* Reponse directe sous chaque H2 */
.single-post .entry-content .cel-answer {
  font-size: 1.08em;
  border-left: 3px solid var(--cel-sage);
  padding-left: 18px;
}

/* Grille de cartes */
.single-post .entry-content .cel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 600px) {
  .single-post .entry-content .cel-grid { grid-template-columns: 1fr; }
}
.single-post .entry-content .cel-card {
  border: 1px solid var(--cel-line);
  border-radius: 18px;
  padding: 18px;
  font-size: 15.5px;
  line-height: 1.6;
}
.single-post .entry-content .cel-card p { margin: 0; }
.single-post .entry-content .cel-card h3 { font-size: 1.05rem !important; line-height: 1.35; margin: 0 0 8px !important; padding: 0; }
.single-post .entry-content .cel-card { background: #fff; border: 1px solid var(--cel-line); padding: 20px 22px 22px; }
.single-post .entry-content .cel-card h3 { text-wrap: pretty; font-weight: 700 !important; }
.single-post .entry-content .cel-card p { color: var(--cel-ink-soft); }
.single-post .entry-content .cel-card strong:first-child { display: block; margin-bottom: 4px; color: var(--cel-ink); }


/* Icones des cartes : ajouter la classe cel-ico-<nom> au groupe cel-card
   (tiraillement, rougeur, secheresse, boutons, demangeaison, soleil, froid, eau, pellicule, croute,
    flamme, odeur, temps, alerte, feuille, stress, bouclier, flacon, main, visage, cheveux, check, microscope) */
.single-post .entry-content .cel-card[class*="cel-ico-"] h3 { display: flex !important; align-items: center; gap: 12px; }
.single-post .entry-content .cel-card[class*="cel-ico-"] h3::before {
  content: "";
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--cel-rose);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
}
.single-post .entry-content .cel-ico-tiraillement h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='%23924560' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M8 8l-4 4 4 4M16 8l4 4-4 4'/%3E%3C/svg%3E"); }
.single-post .entry-content .cel-ico-rougeur h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='%23924560' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.single-post .entry-content .cel-ico-secheresse h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='%23924560' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3s6 7 6 11a6 6 0 0 1-12 0c0-4 6-11 6-11Z'/%3E%3Cpath d='M4 4l16 16'/%3E%3C/svg%3E"); }
.single-post .entry-content .cel-ico-boutons h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='%23924560' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='10' r='2'/%3E%3Ccircle cx='15' cy='8' r='1.5'/%3E%3Ccircle cx='14' cy='15' r='2.5'/%3E%3C/svg%3E"); }
.single-post .entry-content .cel-ico-demangeaison h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='%23924560' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3c2 4-2 5 0 9s-2 5 0 9M7 6c1.5 3-1.5 4 0 7M17 6c1.5 3-1.5 4 0 7'/%3E%3C/svg%3E"); }
.single-post .entry-content .cel-ico-soleil h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='%23924560' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3M5 5l2 2M17 17l2 2M5 19l2-2M17 7l2-2'/%3E%3C/svg%3E"); }
.single-post .entry-content .cel-ico-froid h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='%23924560' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v20M4 7l16 10M20 7L4 17M9 4l3 2 3-2M9 20l3-2 3 2'/%3E%3C/svg%3E"); }
.single-post .entry-content .cel-ico-eau h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='%23924560' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3s6 7 6 11a6 6 0 0 1-12 0c0-4 6-11 6-11Z'/%3E%3C/svg%3E"); }
.single-post .entry-content .cel-ico-pellicule h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='%23924560' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7' cy='8' r='1.5'/%3E%3Ccircle cx='13' cy='6' r='1'/%3E%3Ccircle cx='17' cy='11' r='1.5'/%3E%3Ccircle cx='9' cy='14' r='1'/%3E%3Ccircle cx='14' cy='17' r='1.5'/%3E%3C/svg%3E"); }
.single-post .entry-content .cel-ico-croute h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='%23924560' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9l8-4 8 4-8 4-8-4Z'/%3E%3Cpath d='M4 13l8 4 8-4M4 17l8 4 8-4'/%3E%3C/svg%3E"); }
.single-post .entry-content .cel-ico-flamme h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='%23924560' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3c1 4 5 5 5 10a5 5 0 0 1-10 0c0-3 2-4 2-7 1 1 2 2 3 4 0-3 0-5 0-7Z'/%3E%3C/svg%3E"); }
.single-post .entry-content .cel-ico-odeur h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='%23924560' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 20c0-3 3-3 3-6s-3-3-3-6M12 20c0-3 3-3 3-6s-3-3-3-6M18 20c0-3 3-3 3-6s-3-3-3-6'/%3E%3C/svg%3E"); }
.single-post .entry-content .cel-ico-temps h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='%23924560' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.single-post .entry-content .cel-ico-alerte h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='%23924560' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4 3 20h18L12 4Z'/%3E%3Cpath d='M12 10v4M12 17h.01'/%3E%3C/svg%3E"); }
.single-post .entry-content .cel-ico-feuille h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='%23924560' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19C5 10 11 5 20 4c-1 9-6 15-15 15Z'/%3E%3Cpath d='M5 19l8-8'/%3E%3C/svg%3E"); }
.single-post .entry-content .cel-ico-stress h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='%23924560' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 3 5 13h6l-1 8 8-10h-6l1-8Z'/%3E%3C/svg%3E"); }
.single-post .entry-content .cel-ico-bouclier h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='%23924560' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 5 6v6c0 4 3 7 7 9 4-2 7-5 7-9V6l-7-3Z'/%3E%3C/svg%3E"); }
.single-post .entry-content .cel-ico-flacon h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='%23924560' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6M10 3v4l-3 3v10h10V10l-3-3V3'/%3E%3C/svg%3E"); }
.single-post .entry-content .cel-ico-main h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='%23924560' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 11V5a1.5 1.5 0 0 1 3 0v5M10 10V4a1.5 1.5 0 0 1 3 0v6M13 10V5a1.5 1.5 0 0 1 3 0v6M16 11V8a1.5 1.5 0 0 1 3 0v6a7 7 0 0 1-7 7h-1a6 6 0 0 1-5-3l-2-4a1.5 1.5 0 0 1 2.5-1.5L7 14'/%3E%3C/svg%3E"); }
.single-post .entry-content .cel-ico-visage h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='%23924560' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9 10h.01M15 10h.01M9 15c1.5 1.5 4.5 1.5 6 0'/%3E%3C/svg%3E"); }
.single-post .entry-content .cel-ico-cheveux h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='%23924560' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13c0-5 3-9 7-9s7 4 7 9'/%3E%3Cpath d='M8 13c0-3 1.5-6 4-6s4 3 4 6M5 13v6M19 13v6'/%3E%3C/svg%3E"); }
.single-post .entry-content .cel-ico-check h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='%23924560' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E"); }
.single-post .entry-content .cel-ico-microscope h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='%23924560' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4h4v8H9zM11 12v3M6 20h12M8 17a6 6 0 0 0 10-4'/%3E%3C/svg%3E"); }

/* Tableaux : lisibles sur mobile (defilement horizontal si besoin) */
.single-post .entry-content .wp-block-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.single-post .entry-content .wp-block-table table {
  min-width: 520px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}
.single-post .entry-content .wp-block-table th {
  background: var(--cel-beige);
  text-align: left;
  font-weight: 600;
}
.single-post .entry-content .wp-block-table th,
.single-post .entry-content .wp-block-table td {
  border: 1px solid var(--cel-line);
  padding: 10px 12px;
  hyphens: none;
  word-break: normal;
  vertical-align: top;
}

/* Produits : grille de fiches (photo + bouton) */
.single-post .entry-content .cel-products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.single-post .entry-content .cel-products > .cel-product { flex: 0 1 calc(50% - 8px); }
.single-post .entry-content .cel-product {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--cel-beige);
  border-radius: 24px;
  padding: 18px 14px 20px;
  text-align: center;
}
.single-post .entry-content .cel-product .cel-product-img { margin: 0 !important; width: 100%; }
.single-post .entry-content .cel-product .cel-product-img img {
  width: 100%;
  max-width: 180px;
  aspect-ratio: 1;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}
.single-post .entry-content .cel-product .wp-block-buttons { justify-content: center; margin: 0; }
.single-post .entry-content .cel-product .wp-block-button__link {
  white-space: nowrap;
  font-size: 14px;
  padding: 10px 18px;
  line-height: 1.3;
}
@media (max-width: 600px) {
  .single-post .entry-content .cel-products > .cel-product { flex-basis: 100%; }
}

/* Encadre d'alerte (quand consulter, ce qui ne marche pas) */
.single-post .entry-content .cel-alerte {
  background: var(--cel-alert-soft);
  border-radius: 18px;
  padding: 20px 22px;
}
.single-post .entry-content .cel-alerte p { margin: 0; }

/* Encadre conseil (a tester, astuce) */
.single-post .entry-content .cel-conseil {
  background: var(--cel-sage-soft);
  border-radius: 18px;
  padding: 20px 22px;
}
.single-post .entry-content .cel-conseil p { margin: 0; }

/* A faire / A eviter */
.single-post .entry-content .cel-dodont { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.single-post .entry-content .cel-do,
.single-post .entry-content .cel-dont { border-radius: 18px; padding: 20px 22px; }
.single-post .entry-content .cel-do { background: var(--cel-beige); }
.single-post .entry-content .cel-dont { background: #fff; border: 1px solid var(--cel-line); }
.single-post .entry-content .cel-dodont h3 { font-size: 1.05rem !important; font-weight: 700 !important; margin: 0 0 8px !important; }
.single-post .entry-content .cel-dodont ul { margin: 0; padding-left: 20px; font-size: 15.5px; line-height: 1.6; display: grid; gap: 6px; }
@media (max-width: 600px) { .single-post .entry-content .cel-dodont { grid-template-columns: 1fr; } }

/* Frise (delais, etapes dans le temps) */
.single-post .entry-content .cel-timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 18px; position: relative; padding-top: 30px; }
.single-post .entry-content .cel-timeline::before { content: ""; position: absolute; top: 9px; left: 9px; right: 9px; height: 2px; background: var(--cel-ink); opacity: .2; }
.single-post .entry-content .cel-etape { position: relative; }
.single-post .entry-content .cel-etape::before { content: ""; position: absolute; top: -30px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--cel-ink); }
.single-post .entry-content .cel-etape p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--cel-ink-soft); }
.single-post .entry-content .cel-etape .cel-quand { font-size: 17px; color: var(--cel-ink); margin-bottom: 4px; }
@media (max-width: 600px) {
  .single-post .entry-content .cel-timeline { grid-template-columns: 1fr; padding-top: 0; padding-left: 34px; }
  .single-post .entry-content .cel-timeline::before { top: 9px; bottom: 9px; left: 9px; right: auto; width: 2px; height: auto; }
  .single-post .entry-content .cel-etape::before { top: 2px; left: -34px; }
}

/* 3 questions a Sofia ou Francois */
.single-post .entry-content .cel-expert { background: var(--cel-beige); border-radius: 24px; padding: clamp(22px, 4vw, 36px); }
.single-post .entry-content .cel-expert > * + * { margin-top: 14px; }
.single-post .entry-content .cel-expert-tete { display: flex !important; align-items: center; gap: 14px; }
.single-post .entry-content .cel-expert-tete .cel-avatar { margin: 0 !important; flex: 0 0 64px; }
.single-post .entry-content .cel-expert-tete .cel-avatar img { width: 64px !important; height: 64px !important; border-radius: 50%; object-fit: cover; object-position: top; }
.single-post .entry-content .cel-expert-tete p { margin: 0; font-size: 18px; }
.single-post .entry-content .cel-citation { font-size: clamp(1.15rem, 2.2vw, 1.4rem); font-weight: 300; line-height: 1.45; padding-left: 20px; border-left: 3px solid var(--cel-ink); }
.single-post .entry-content .cel-expert p { line-height: 1.65; }

/* FAQ en accordeon (blocs Details) */
.single-post .entry-content .cel-faq { display: grid; gap: 10px; }
.single-post .entry-content .cel-faq .wp-block-details {
  border: 1px solid var(--cel-line);
  border-radius: 18px;
  padding: 0 20px;
}
.single-post .entry-content .cel-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.single-post .entry-content .cel-faq summary::-webkit-details-marker { display: none; }
.single-post .entry-content .cel-faq summary::after {
  content: "+";
  font-size: 24px; line-height: 1; font-weight: 300;
  color: var(--cel-sage);
  transition: transform .2s;
}
.single-post .entry-content .cel-faq details[open] summary::after { transform: rotate(45deg); }
.single-post .entry-content .cel-faq details p { padding-bottom: 16px; margin: 0; color: var(--cel-ink-soft); }

/* A lire aussi : grille 3 x 2 avec images */
.single-post .entry-content .cel-related-cta { justify-content: center; }
.single-post .entry-content .cel-related-cta .wp-block-button__link {
  min-width: 320px;
  padding: 16px 44px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .02em;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: gap .2s ease, opacity .2s ease;
}
.single-post .entry-content .cel-related-cta .wp-block-button__link::after { content: "\2192"; font-size: 18px; line-height: 1; }
.single-post .entry-content .cel-related-cta .wp-block-button__link:hover { gap: 18px; opacity: .9; }
@media (max-width: 480px) {
  .single-post .entry-content .cel-related-cta .wp-block-button__link { min-width: 0; width: 100%; }
}
.single-post .entry-content .cel-related h2 { text-transform: uppercase; letter-spacing: .04em; }
.single-post .entry-content .cel-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 16px;
}
.single-post .entry-content .cel-related-card { display: flex; flex-direction: column; gap: 10px; }
.single-post .entry-content .cel-related-card .cel-related-img { margin: 0 !important; }
.single-post .entry-content .cel-related-card .cel-related-img img {
  width: 100%;
  aspect-ratio: 10 / 7;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
.single-post .entry-content .cel-related-card p { margin: 0; font-size: 18px; line-height: 1.4; font-weight: 600; }
.single-post .entry-content .cel-related-card p a { text-decoration: none; }
.single-post .entry-content .cel-related-card p a:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .single-post .entry-content .cel-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .single-post .entry-content .cel-related-card p { font-size: 16px; }
}

/* Sources */
.single-post .entry-content .cel-sources { font-size: 14px; line-height: 1.55; color: var(--cel-ink-soft); }
.single-post .entry-content .cel-sources ul { padding-left: 20px; }

/* Mention de fin */
.single-post .entry-content .cel-mention { font-size: 13.5px; color: var(--cel-ink-soft); font-style: italic; }

/* Petites etiquettes au-dessus des titres d'encadre */
.single-post .entry-content .cel-eyebrow {
  font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--cel-ink-soft);
  margin: 0 0 6px;
}


/* ==========================================================
   Mise en page facon maquette (articles uniquement)
   - plus de 1100 px : haut de page en 2 colonnes + sommaire collant a gauche
   - 900 a 1099 px : haut de page en 2 colonnes, sommaire dans le texte
   - moins de 900 px : affichage normal du theme
   ========================================================== */

/* Le theme met overflow: hidden sur html et body, ce qui desactive tout element collant.
   overflow-x: clip coupe pareil sans casser le collant. */
html:has(body.single-post), body.single-post { overflow-x: clip !important; overflow-y: visible !important; }

/* Pas de barre laterale sur les articles : le contenu prend toute la largeur */
.single-post #sidebar-primary,
.single-post .site-main-body.single > .row > .col-lg-3 { display: none !important; }
.single-post .site-main-body.single > .row > .col-lg-9 { flex: 0 0 100% !important; max-width: 100% !important; width: 100%; }

/* Largeur de lecture et titre */
.single-post article.post-single .entry-content { max-width: 760px; margin-left: auto; margin-right: auto; }
.single-post article.post-single .entry-title {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

/* Image de couverture en arche */
.single-post article.post-single figure.entry-media img {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  border-radius: 999px 999px 28px 28px;
  display: block;
  margin: 0 auto;
}

/* Les enveloppes du theme deviennent transparentes pour placer les blocs dans la grille */
@media (min-width: 900px) {
  .single-post article.post-single .content-align,
  .single-post article.post-single .entry-wrapper,
  .single-post article.post-single .post-content-wrapper,
  .single-post article.post-single .entry-content,
  .single-post article.post-single .entry-content > .klb-post { display: contents; }
  .single-post article.post-single {
    display: grid;
    row-gap: 0;
    align-items: start;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* 900 a 1099 px : 2 colonnes en haut, contenu centre dessous */
@media (min-width: 900px) and (max-width: 1099px) {
  .single-post article.post-single { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); column-gap: 48px; }
  .single-post article.post-single :where(.entry-wrapper, .post-content-wrapper, .entry-content, .entry-content > .klb-post) > * {
    grid-column: 1 / -1 !important; width: 100% !important; max-width: 760px !important; margin-left: auto !important; margin-right: auto !important;
  }
  .single-post article.post-single > figure.entry-media { grid-column: 2 !important; grid-row: 1 / span 5 !important; align-self: center; margin: 0; }
  .single-post article.post-single .cel-related { max-width: none !important; }
  .single-post article.post-single .entry-meta.top,
  .single-post article.post-single .entry-title,
  .single-post article.post-single .entry-content > .wp-block-spacer:first-child,
  .single-post article.post-single .entry-content > .klb-post > .wp-block-spacer:first-child,
  .single-post article.post-single .cel-intro,
  .single-post article.post-single .cel-byline { grid-column: 1 !important; max-width: none !important; margin-left: 0 !important; }
}

/* Plus de 1100 px : sommaire collant a gauche, comme la maquette */
@media (min-width: 1100px) {
  .single-post article.post-single { grid-template-columns: 240px minmax(0, 1fr) minmax(0, 400px); column-gap: 56px; }
  /* Par defaut : colonne de lecture a droite du sommaire */
  .single-post article.post-single :where(.entry-wrapper, .post-content-wrapper, .entry-content, .entry-content > .klb-post) > * {
    grid-column: 2 / -1 !important; width: 100% !important; max-width: 720px !important; margin-left: 0 !important; margin-right: auto !important;
  }
  /* Haut de page : texte a gauche (sur 2 colonnes), image a droite */
  .single-post article.post-single > figure.entry-media { grid-column: 3 !important; grid-row: 1 / span 5 !important; align-self: center; margin: 0; }
  .single-post article.post-single .entry-meta.top { grid-column: 1 / 3 !important; grid-row: 1 !important; max-width: none !important; margin: 0 0 12px; }
  .single-post article.post-single .entry-title { grid-column: 1 / 3 !important; grid-row: 2 !important; max-width: none !important; margin: 0; }
  .single-post article.post-single .entry-content > .wp-block-spacer:first-child,
  .single-post article.post-single .entry-content > .klb-post > .wp-block-spacer:first-child { grid-column: 1 / 3 !important; grid-row: 3 !important; max-width: none !important; }
  .single-post article.post-single .cel-intro { grid-column: 1 / 3 !important; grid-row: 4 !important; max-width: none !important; }
  .single-post article.post-single .cel-byline { grid-column: 1 / 3 !important; grid-row: 5 !important; max-width: none !important; }
  /* L'essentiel sur toute la largeur */
  .single-post article.post-single .cel-essentiel { grid-column: 1 / -1 !important; max-width: none !important; }
  /* A lire aussi : tout en bas, pleine largeur */
  .single-post article.post-single .cel-related { grid-column: 1 / -1 !important; max-width: none !important; }
  /* Corps de l'article : sommaire colle a gauche + texte a droite.
     Le sommaire ne peut pas sortir de ce bloc : il s'arrete a la mention de fin. */
  .single-post article.post-single .cel-corps {
    grid-column: 1 / -1 !important;
    max-width: none !important;
    display: grid;
    grid-template-columns: 240px minmax(0, 720px);
    column-gap: 56px;
    row-gap: 0;
    align-items: start;
  }
  .single-post article.post-single .cel-corps > :where(*),
  .single-post article.post-single .cel-corps > .wp-block-group__inner-container > :where(*) { grid-column: 2; min-width: 0; }
  .single-post article.post-single .cel-corps .cel-mention { margin-bottom: 0 !important; }
  .single-post article.post-single .cel-corps .cel-toc {
    grid-column: 1 !important;
    grid-row: 1 / span 999;
    position: sticky;
    top: 110px;
    align-self: start;
    max-width: none !important;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    border: 1px solid var(--cel-line);
    border-radius: 18px;
    padding: 18px 14px 14px;
    background: #fff;
  }
  .single-post article.post-single .cel-toc summary { pointer-events: none; padding-top: 0; }
  .single-post article.post-single .cel-toc summary::after { display: none; }
}

/* Sans image de couverture : le haut de page prend toute la largeur */
@media (min-width: 900px) {
  .single-post article.post-single:not(:has(> figure.entry-media)) .entry-meta.top,
  .single-post article.post-single:not(:has(> figure.entry-media)) .entry-title,
  .single-post article.post-single:not(:has(> figure.entry-media)) .cel-intro,
  .single-post article.post-single:not(:has(> figure.entry-media)) .cel-byline { grid-column: 1 / -1 !important; }
}

/* L'essentiel facon maquette : titre a gauche, points en grille a droite */
.single-post .entry-content .cel-essentiel {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 16px 36px;
  align-items: start;
}
.single-post .entry-content .cel-essentiel ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
@media (max-width: 760px) {
  .single-post .entry-content .cel-essentiel { grid-template-columns: 1fr; }
  .single-post .entry-content .cel-essentiel ul { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .single-post .entry-content .cel-faq summary::after { transition: none; }
}

/* Barre de progression de lecture (Chrome, Edge ; ignoree ailleurs) */
@supports (animation-timeline: scroll()) {
  body.single-post::after {
    content: "";
    position: fixed;
    top: 0; left: 0;
    height: 3px; width: 100%;
    background: #3F6B52;
    transform-origin: 0 50%;
    transform: scaleX(0);
    z-index: 9999;
    animation: cel-progress linear both;
    animation-timeline: scroll(root);
  }
  @keyframes cel-progress { to { transform: scaleX(1); } }
}



/* FIN */