/* =========================================================
 * YOOZI MATHIEU 2026-05-04 — Feuille de refonte client
 * Charge en dernier (priorité 999). Tout en Nunito, palette
 * Noir / Gris / Doré + couleurs goûts uniquement, ajustements
 * spécifiques par page (accueil, boutique, fiche, recettes,
 * contact, panier, footer).
 * ========================================================= */

/* -------- Base : tout en Nunito, kill Cormorant/serif -------- */
:root {
    --y-ink: #1a1a1a;
    --y-ink-soft: #4a4a4a;
    --y-grey: #7a7a7a;
    --y-grey-soft: #b8b8b8;
    --y-line: #e5e0d6;
    --y-cream: #faf6ee;
    --y-gold: #C8A96E;
    --y-gold-deep: #a88a4f;
}

html, body,
body *:not(.dashicons):not(.dashicons-before):not([class*="ti-"]):not([class*="fa-"]):not([class*="elementor-icon"]):not(i):not(svg):not(svg *) {
    font-family: 'Nunito', system-ui, -apple-system, sans-serif !important;
}

/* Italiques explicites désactivés sur les marques Yoozi */
em.yoozi-em, .yoozi-em, .yoozi-italic-brand,
.yoozi-eyebrow em, .yoozi-eyebrow i,
.elementor-widget-heading h1 em,
.elementor-widget-heading h2 em {
    font-style: normal !important;
}

/* -------- Header / menu -------- */
/* Réduire la taille du texte du menu */
.ct-header-text-menu .ct-menu-link,
.ct-header-text-menu .menu-item > a,
header .ct-menu-link {
    font-size: 12px !important;
    letter-spacing: 0.14em !important;
    font-weight: 600 !important;
}

/* Couleur menu : noir, hover doré */
.ct-header-text-menu .ct-menu-link { color: var(--y-ink) !important; }
.ct-header-text-menu .ct-menu-link:hover,
.ct-header-text-menu .current-menu-item > .ct-menu-link {
    color: var(--y-gold) !important;
}

/* Top bar livraison offerte : masqué (sécurité — aussi désactivé en PHP) */
.yoozi-shipping-bar,
.ct-header-row.row-id-top,
[data-row="top"],
.ct-toolbar { display: none !important; }

/* Popup newsletter : masqué (sécurité) */
.yoozi-nl-popup-backdrop,
.yoozi-nl-popup { display: none !important; }

/* Logo : forcer un peu plus petit pour la respiration demandée */
.site-logo-container img,
[class*="default-logo"] {
    max-height: 56px !important;
    height: auto !important;
    width: auto !important;
}
@media (min-width: 1280px) {
    .site-logo-container img,
    [class*="default-logo"] { max-height: 64px !important; }
}

/* Picto panier dans le header : laissé natif Blocksy
   (taille modifiable depuis Customizer → Header → Cart → cartIconSize) */

/* -------- ACCUEIL -------- */

/* Hero : signe YOOZI plus petit, plus de respiration */
.elementor-location-header + section .elementor-heading-title,
body.home .yoozi-hero h1,
body.home h1.elementor-heading-title {
    font-size: clamp(36px, 4.6vw, 64px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.01em !important;
    font-weight: 700 !important;
    text-transform: none !important;
    color: var(--y-ink) !important;
}

/* Texte hero/accueil : plus petit, noir, regroupé sous une typo */
body.home .yoozi-hero p,
body.home .elementor-widget-text-editor p,
body.home .yoozi-hero-subtitle {
    font-size: 16px !important;
    line-height: 1.65 !important;
    color: var(--y-ink) !important;
    font-style: normal !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 400 !important;
}

/* Sous-titre hero "Être social, tout en restant son propre maître." :
   pas de majuscules forcées, plus petit, en noir */
body.home .elementor-widget-heading h2.elementor-heading-title {
    text-transform: none !important;
    letter-spacing: 0 !important;
    color: var(--y-ink) !important;
}
/* Paragraphes de la section "Notre principe" et autres blocs intro :
   désactiver les majuscules forcées si appliquées via CSS Elementor */
body.home .elementor-widget-text-editor p,
body.home .elementor-widget-text-editor li,
body.home .elementor-widget-text-editor span {
    text-transform: none !important;
    letter-spacing: 0 !important;
}

/* H1 hero plus modéré, en noir, pas en MAJ même si ça avait été activé */
body.home h1.elementor-heading-title,
body.home .elementor-widget-heading h1.elementor-heading-title {
    text-transform: none !important;
    color: var(--y-ink) !important;
    font-weight: 700 !important;
    font-size: clamp(34px, 4.4vw, 60px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.005em !important;
}

/* Titre "Notre gamme : l'esprit libre" — pas d'italique sur "libre" */
.yoozi-section-title em,
.yoozi-section-title i,
h2 em, h2 i {
    font-style: normal !important;
}

/* Bouteilles : sous la bouteille, Nunito, arguments plus petits */
.yoozi-bottles-row .bottle-name,
.yoozi-bottle-card h3,
.yoozi-bottle-card .yoozi-bottle-title {
    font-family: 'Nunito', sans-serif !important;
    font-style: normal !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
}
.yoozi-bottles-row .bottle-args,
.yoozi-bottle-card .yoozi-bottle-args,
.yoozi-bottle-card .yoozi-bottle-tagline {
    font-family: 'Nunito', sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.5 !important;
    letter-spacing: 0.02em !important;
    font-weight: 600 !important;
    /* La couleur signature du goût est appliquée via .product-color-{id} sur le card */
}
.yoozi-bottles-row .bottle-desc,
.yoozi-bottle-card .yoozi-bottle-desc {
    font-family: 'Nunito', sans-serif !important;
    color: var(--y-grey) !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
}

/* Pictos accueil sous la frise : icônes natives gardées */

/* Texte sous picto livraison/zen "Le gingembre qui réveille..." : même taille que le gris au-dessus */
.yoozi-pictos p,
.yoozi-pictos .picto-tagline {
    font-size: 13px !important;
    color: var(--y-grey) !important;
    line-height: 1.6 !important;
}

/* Frise "La Maison YOOZI" — doré, Nunito */
.yoozi-timeline,
.yoozi-timeline *,
.yoozi-timeline-title,
.yoozi-timeline h2,
.yoozi-timeline h3,
.yoozi-timeline .year,
.yoozi-timeline .timeline-step h3,
.yoozi-timeline .timeline-step .year {
    font-family: 'Nunito', sans-serif !important;
}
.yoozi-timeline-title,
.yoozi-timeline h2 {
    color: var(--y-gold) !important;
    font-weight: 700 !important;
    font-style: normal !important;
}
.yoozi-timeline .year {
    color: var(--y-gold) !important;
    font-weight: 800 !important;
}
.yoozi-timeline h3 {
    color: var(--y-ink) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    font-size: 14px !important;
}

/* FAQ accueil : masquée (le client la veut uniquement via footer) */
body.home .yoozi-faq,
body.home section.yoozi-faq,
body.page-id-16 .yoozi-faq {
    display: none !important;
}

/* -------- IMPULSION → HISTOIRE -------- */
/* Alignement "extérieur" : posé via JS sur les colonnes texte */
body.page-id-86 .yoozi-text-outer-left,
body.page-impulsion .yoozi-text-outer-left,
body.page-id-86 .yoozi-text-outer-left * ,
body.page-impulsion .yoozi-text-outer-left * {
    text-align: left !important;
}
body.page-id-86 .yoozi-text-outer-right,
body.page-impulsion .yoozi-text-outer-right,
body.page-id-86 .yoozi-text-outer-right *,
body.page-impulsion .yoozi-text-outer-right * {
    text-align: right !important;
}

/* Séparateur doré entre titre et texte (auto-injecté par JS) */
body.page-id-86 .yoozi-history-separator,
body.page-impulsion .yoozi-history-separator {
    display: block;
    width: 64px;
    height: 1px;
    background: var(--y-gold);
    margin: 18px 0 28px;
    border: 0;
}
body.page-id-86 .yoozi-text-outer-right .yoozi-history-separator,
body.page-impulsion .yoozi-text-outer-right .yoozi-history-separator {
    margin-left: auto;
    margin-right: 0;
}

/* Photo chat — miroir horizontal possible si .flip-h appliquée par JS */
body.page-id-86 .yoozi-cat-portrait.flip-h,
body.page-impulsion .yoozi-cat-portrait.flip-h,
body.page-id-86 .yoozi-flip-h img,
body.page-impulsion .yoozi-flip-h img {
    transform: scaleX(-1);
}

/* -------- BOUTIQUE -------- */
/* Header "Notre gamme" remplace le titre + photo */
body.woocommerce.archive .page-title,
body.woocommerce.archive .woocommerce-products-header,
body.woocommerce.archive .ct-page-title-container,
body.woocommerce-page.archive .ct-page-title-container {
    display: none !important;
}
/* (12) Boutique : "NOTRE GAMME" en majuscule, plus petit, remonté + patte du chat dessous */
.yoozi-shop-title-block {
    text-align: center;
    margin: 24px 0 32px;
}
.yoozi-shop-title {
    display: block;
    text-align: center;
    font-family: 'Nunito', sans-serif !important;
    font-size: clamp(16px, 1.7vw, 22px) !important;
    font-weight: 700 !important;
    color: var(--y-ink) !important;
    margin: 0 0 14px !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
}
.yoozi-shop-paw {
    display: inline-flex;
    width: 28px;
    height: 28px;
    color: var(--y-gold, #C8A96E);
    line-height: 0;
}
.yoozi-shop-paw svg {
    width: 100%;
    height: 100%;
    display: block;
}
body.woocommerce.post-type-archive-product .ct-container > .products,
body.woocommerce.archive .products {
    margin-top: 16px !important;
}

/* Boutique : prix en Nunito (pas serif) */
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price *,
.product .price, .product .price * {
    font-family: 'Nunito', sans-serif !important;
    font-style: normal !important;
}

/* Boutique : titres produit en Nunito */
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Nunito', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    font-size: 15px !important;
}

/* -------- FICHE PRODUIT -------- */
/* (14) Switch Unité/Pack x6 SOUS le nom du produit (au lieu de au-dessus) */
.product .yoozi-format-switch {
    margin-top: 8px !important;
    margin-bottom: 18px !important;
    order: 0;
}
.product .summary form.cart {
    display: flex;
    flex-direction: column;
}
.product .summary > .product_title { order: -1; }

/* (13) Titre produit moins gros, sur une seule ligne */
.product .product_title {
    font-family: 'Nunito', sans-serif !important;
    font-weight: 500 !important;
    font-style: normal !important;
    letter-spacing: -0.005em !important;
    font-size: clamp(20px, 2.2vw, 28px) !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 540px) {
    .product .product_title {
        font-size: clamp(18px, 5vw, 22px) !important;
        white-space: normal !important;
    }
}
.product.product-pack .product_title::after,
body.woocommerce.single-product[class*="product-pack"] .product_title::after {
    /* No-op : on laisse le titre tel qu'il est en BDD ; le contenu inclut déjà "Pack x6" */
}

/* Commande sécurisée à gauche en Nunito, sans le titre "Fonctionnalités supplémentaires" */
.product .yoozi-reassurance {
    text-align: left !important;
    justify-content: flex-start !important;
    font-family: 'Nunito', sans-serif !important;
}
.product .yoozi-reassurance-title,
.product .yoozi-reassurance + h3,
.product h3.fonctionnalites,
.product .product-features-title { display: none !important; }

/* Picto panier de la fiche produit : icône native gardée */

/* Galerie 3x3 photos plus grosses */
.woocommerce-product-gallery {
    width: 58% !important;
}
.woocommerce-product-gallery__image img,
.woocommerce-product-gallery__wrapper img {
    width: 100% !important;
    height: auto !important;
}
@media (max-width: 980px) {
    .woocommerce-product-gallery { width: 100% !important; }
}

/* Tout supprimer en dessous de la composition jusqu'au footer */
.product .yoozi-faq,
.product .yoozi-thankyou,
.product .yoozi-related-section,
.product section.related.products,
.product section.upsells,
.product .cross-sells,
.product .yoozi-product-bottom-extras {
    display: none !important;
}

/* Bloc Blocksy "Fonctionnalités supplémentaires" : doublon de la réassurance Yoozi → masquer */
.product .ct-product-additional-info,
.product .ct-product-additional-info > .ct-module-title {
    display: none !important;
}

/* -------- RECETTES (page liste) -------- */
body.page-recettes .yoozi-recettes-intro,
body.page-recettes .recettes-intro,
body.page-recettes .elementor-widget-text-editor,
body.page-recettes h1,
body.page-recettes h2 {
    text-align: center !important;
}
body.page-recettes .yoozi-recettes-filters {
    justify-content: center !important;
    text-align: center !important;
}

/* -------- RECETTES (single) -------- */
body.single-post.category-recettes .yoozi-recipe-back-link,
body.single-post .yoozi-recipe-back-link {
    display: inline-block;
    margin: 24px 0;
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--y-ink);
    border-bottom: 1px solid var(--y-gold);
    padding-bottom: 4px;
    text-decoration: none;
}
body.single-post.category-recettes .yoozi-recipe-back-link:hover,
body.single-post .yoozi-recipe-back-link:hover { color: var(--y-gold); }

/* Bichromie noir + doré pour fiche recette */
body.single-post.category-recettes .entry-title,
body.single-post.category-recettes .entry-content h2,
body.single-post.category-recettes .entry-content h3 {
    color: var(--y-ink) !important;
}
body.single-post.category-recettes .entry-content blockquote,
body.single-post.category-recettes .entry-content em.recette-accent,
body.single-post.category-recettes .recette-section-title {
    color: var(--y-gold) !important;
    font-style: normal !important;
}

/* Photo cocktail au-dessus */
body.single-post.category-recettes .post-thumbnail {
    margin: 0 auto 28px !important;
    text-align: center;
}

/* (Mathieu 2026-05-05 point 22) Cover image injectée par filter the_content */
body.single-post.category-recettes .yoozi-recette-cover {
    margin: 0 auto 32px;
    max-width: 720px;
    text-align: center;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 4px;
}
body.single-post.category-recettes .yoozi-recette-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* -------- CONTACT -------- */
body.page-contact .contact-form,
body.page-contact .yoozi-contact-form,
body.page-contact .elementor-widget-form { margin-top: 24px !important; }

/* Réseaux sociaux : afficher logos plutôt que noms */
body.page-contact .social-links a,
body.page-contact .yoozi-social a {
    font-size: 0 !important;
}
body.page-contact .social-links a::before,
body.page-contact .yoozi-social a::before {
    content: '';
    display: inline-block;
    width: 22px; height: 22px;
    background: var(--y-ink);
    font-size: 0;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-position: center;
            mask-position: center;
    -webkit-mask-size: contain;
            mask-size: contain;
}
body.page-contact .social-links a[href*="instagram"]::before,
body.page-contact .yoozi-social a[href*="instagram"]::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5'><rect x='3' y='3' width='18' height='18' rx='5'/><circle cx='12' cy='12' r='4'/><circle cx='17.5' cy='6.5' r='1' fill='currentColor'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5'><rect x='3' y='3' width='18' height='18' rx='5'/><circle cx='12' cy='12' r='4'/><circle cx='17.5' cy='6.5' r='1' fill='currentColor'/></svg>");
}
body.page-contact .social-links a[href*="pinterest"]::before,
body.page-contact .yoozi-social a[href*="pinterest"]::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M12 2a10 10 0 0 0-3.6 19.3c0-.8-.1-2 0-2.8.2-.7 1-4.5 1-4.5s-.3-.6-.3-1.4c0-1.3.8-2.3 1.8-2.3.8 0 1.2.6 1.2 1.4 0 .8-.5 2.1-.8 3.2-.2.9.5 1.7 1.4 1.7 1.7 0 3-1.8 3-4.4 0-2.3-1.7-3.9-4-3.9-2.8 0-4.4 2.1-4.4 4.2 0 .8.3 1.7.7 2.2.1.1.1.2.1.3l-.3 1.1c0 .2-.2.2-.4.1-1.3-.6-2.1-2.5-2.1-4 0-3.2 2.4-6.2 6.8-6.2 3.6 0 6.4 2.5 6.4 5.9 0 3.5-2.2 6.4-5.3 6.4-1 0-2-.5-2.3-1.2 0 0-.5 2-.6 2.5-.2.9-.9 2-1.3 2.7A10 10 0 1 0 12 2z'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M12 2a10 10 0 0 0-3.6 19.3c0-.8-.1-2 0-2.8.2-.7 1-4.5 1-4.5s-.3-.6-.3-1.4c0-1.3.8-2.3 1.8-2.3.8 0 1.2.6 1.2 1.4 0 .8-.5 2.1-.8 3.2-.2.9.5 1.7 1.4 1.7 1.7 0 3-1.8 3-4.4 0-2.3-1.7-3.9-4-3.9-2.8 0-4.4 2.1-4.4 4.2 0 .8.3 1.7.7 2.2.1.1.1.2.1.3l-.3 1.1c0 .2-.2.2-.4.1-1.3-.6-2.1-2.5-2.1-4 0-3.2 2.4-6.2 6.8-6.2 3.6 0 6.4 2.5 6.4 5.9 0 3.5-2.2 6.4-5.3 6.4-1 0-2-.5-2.3-1.2 0 0-.5 2-.6 2.5-.2.9-.9 2-1.3 2.7A10 10 0 1 0 12 2z'/></svg>");
}
body.page-contact .social-links a[href*="facebook"]::before,
body.page-contact .yoozi-social a[href*="facebook"]::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M22 12a10 10 0 1 0-11.6 9.9V14.9H7.9V12h2.5V9.8c0-2.5 1.5-3.9 3.8-3.9 1.1 0 2.2.2 2.2.2v2.5h-1.3c-1.2 0-1.6.8-1.6 1.6V12h2.8l-.5 2.9h-2.3v7A10 10 0 0 0 22 12z'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M22 12a10 10 0 1 0-11.6 9.9V14.9H7.9V12h2.5V9.8c0-2.5 1.5-3.9 3.8-3.9 1.1 0 2.2.2 2.2.2v2.5h-1.3c-1.2 0-1.6.8-1.6 1.6V12h2.8l-.5 2.9h-2.3v7A10 10 0 0 0 22 12z'/></svg>");
}

/* -------- PANIER -------- */
body.woocommerce-cart .yoozi-shipping-notice,
body.woocommerce-cart .yoozi-wc-header,
body.woocommerce-cart [class*="free-shipping-bar"] {
    display: none !important;
}

/* -------- PIED DE PAGE -------- */
/* Tout en noir sur la photo, retirer le bleu */
.site-footer, .site-footer * { color: var(--y-ink) !important; }
.site-footer a:not(.button):not(.yoozi-cta-button) { color: var(--y-ink) !important; }
.site-footer a:not(.button):not(.yoozi-cta-button):hover { color: var(--y-gold) !important; }

/* Titres footer : tous même graisse */
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer .widget-title,
.site-footer .ct-widget-title {
    font-family: 'Nunito', sans-serif !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: var(--y-ink) !important;
    margin-bottom: 14px !important;
}

/* Texte footer pas en majuscules + style "esprit libre" gris pour sous-textes */
.site-footer p,
.site-footer li,
.site-footer .menu-item a {
    text-transform: none !important;
    font-family: 'Nunito', sans-serif !important;
    font-size: 13.5px !important;
    line-height: 1.65 !important;
    letter-spacing: 0 !important;
}
.site-footer p,
.site-footer .footer-block-text,
.site-footer .menu-description {
    color: var(--y-grey) !important;
}

/* CTA "Une question, envoyez-nous un email" + chevron */
.site-footer .yoozi-footer-cta {
    text-align: center;
    padding: 40px 16px 32px;
}
.site-footer a.yoozi-contact-cta,
.site-footer .yoozi-footer-contact-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Nunito', sans-serif !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    letter-spacing: 0.02em !important;
    color: var(--y-ink) !important;
    text-decoration: none !important;
    border-bottom: 1px solid var(--y-gold);
    padding-bottom: 6px;
    text-transform: none !important;
    transition: color .2s, border-color .2s;
}
.site-footer a.yoozi-contact-cta:hover,
.site-footer .yoozi-footer-contact-cta:hover {
    color: var(--y-gold) !important;
    border-color: var(--y-ink);
}
.site-footer .yoozi-cta-chevron {
    display: inline-block;
    font-weight: 600;
    transition: transform .2s;
    font-size: 22px;
    line-height: 1;
}
.site-footer a.yoozi-contact-cta:hover .yoozi-cta-chevron {
    transform: translateX(4px);
}

/* Sociaux footer (SVG inline) */
.site-footer .yoozi-footer-social {
    display: flex !important;
    gap: 18px !important;
    align-items: center !important;
    margin-top: 8px;
}
.site-footer .yoozi-footer-social a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px;
    height: 32px;
    color: var(--y-ink) !important;
    text-decoration: none !important;
    transition: color .2s, transform .2s;
}
.site-footer .yoozi-footer-social a:hover {
    color: var(--y-gold) !important;
    transform: translateY(-1px);
}
.site-footer .yoozi-footer-social a svg {
    width: 22px;
    height: 22px;
    display: block;
}
.site-footer .yoozi-sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Retirer le formulaire newsletter du footer */
.site-footer .mailpoet_form,
.site-footer .yoozi-newsletter,
.site-footer .yoozi-footer-newsletter,
.site-footer form[action*="mailpoet"] { display: none !important; }

/* -------- Renommage "Yoozi" → "YOOZI" dans le rendu pour les nœuds qui ne passent pas par the_content
   (filet de sécurité visuel — la vraie correction est en JS dans yoozi-mathieu.js) -------- */

/* -------- Misc : retirer onglet "Où trouver" dans le menu (filet supplémentaire CSS) -------- */
.menu-item a[href*="ou-trouver"],
.menu-item a[href*="où-trouver"],
.menu-item a[href*="/ou-trouver"],
.ct-header-text-menu .menu-item:has(a[href*="ou-trouver"]),
.ct-header-text-menu .menu-item:has(a[href*="trouver"]) {
    display: none !important;
}

/* =========================================================
 * Mathieu 2026-05-05 — itération 2
 * ========================================================= */

/* (1, 10) Onglets menu header : retirer le bleu navy au survol/actif,
   passer en doré modéré, à peine plus grand, sans alourdir la graisse. */
.ct-header-text-menu .menu-item > a,
.ct-header-cta .menu-item > a {
    transition: color 200ms ease, font-weight 200ms ease, letter-spacing 200ms ease;
}
.ct-header-text-menu .menu-item:hover > a,
.ct-header-text-menu .menu-item.current-menu-item > a,
.ct-header-text-menu .menu-item.current-menu-ancestor > a,
.ct-header-text-menu .menu-item.current-menu-parent > a,
.ct-header-text-menu .menu-item > a:hover,
.ct-header-text-menu .menu-item > a:focus,
.ct-header-text-menu .menu-item > a[aria-current="page"] {
    color: var(--y-gold) !important;
    font-weight: 600 !important; /* au lieu du 700 par défaut → moins gras */
    letter-spacing: 0.085em !important; /* +0.025em : "un degré au-dessus" */
}
/* Filet pour les variantes de menu Blocksy (type-3 underline) */
.ct-header-text-menu [class*="type"] .menu-item:hover > a,
.ct-header-text-menu [class*="type"] .menu-item.current-menu-item > a {
    color: var(--y-gold) !important;
}

/* (11) Page Histoire (/impulsion/, post 86) — restreindre la largeur du
   texte pour un rendu plus qualitatif (effet "écran réduit"). */
body.page-id-86 .entry-content,
body.page-id-86 .yoozi-text-outer-left,
body.page-id-86 .yoozi-text-outer-right,
body.page-id-86 .elementor-widget-text-editor,
body.page-impulsion .entry-content,
body.page-impulsion .elementor-widget-text-editor {
    max-width: 680px !important;
    margin-inline: auto !important;
}
body.page-id-86 .elementor-widget-heading,
body.page-impulsion .elementor-widget-heading {
    max-width: 760px !important;
    margin-inline: auto !important;
}

/* (23) Page Contact (post 172) — réduire les titres trop gros en haut. */
body.page-id-172 h1,
body.page-id-172 .entry-title,
body.page-id-172 .elementor-widget-heading h1.elementor-heading-title,
body.page-id-172 .elementor-widget-heading h2.elementor-heading-title,
body.page-id-172 .elementor-widget-heading h3.elementor-heading-title,
body.page-id-172 .entry-content h2,
body.page-id-172 .entry-content h1,
body.page-contact h1,
body.page-contact .entry-title,
body.page-contact .elementor-widget-heading .elementor-heading-title {
    font-size: clamp(22px, 2.2vw, 30px) !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
}
body.page-id-172 .yoozi-eyebrow,
body.page-contact .yoozi-eyebrow {
    font-size: 11px !important;
    letter-spacing: 0.18em !important;
}

/* (9) Footer cream — assurer la lisibilité des textes/liens sur fond clair. */
.ct-footer [data-row="middle"],
.ct-footer [data-row="bottom"] {
    background: #FAF6EE !important;
    background-image: none !important;
}
.ct-footer .widget-title,
.ct-footer .yoozi-footer-cta__title,
.ct-footer h2,
.ct-footer h3 {
    color: var(--y-ink, #1a1a1a) !important;
}
.ct-footer .widget-menu a,
.ct-footer .menu-item a,
.ct-footer .yoozi-foot-mascot__text {
    color: var(--y-ink, #1a1a1a) !important;
}
.ct-footer .widget-menu a:hover,
.ct-footer .menu-item a:hover {
    color: var(--y-gold, #C8A96E) !important;
}
.ct-footer .yoozi-footer-social a {
    color: var(--y-ink, #1a1a1a) !important;
}
.ct-footer .yoozi-footer-social a:hover {
    color: var(--y-gold, #C8A96E) !important;
}
/* yoozi-nl-form (newsletter) sur footer cream : underline lisible */
.ct-footer .yoozi-nl-form input[type="email"] {
    color: var(--y-ink, #1a1a1a) !important;
    border-bottom-color: var(--y-ink, #1a1a1a) !important;
}
.ct-footer .yoozi-nl-form input[type="email"]::placeholder {
    color: var(--y-grey, #7a7a7a) !important;
}

/* =========================================================
 * YOOZI MATHIEU 2026-05-13 — Retours post-refonte
 * Fiche produit : aérer le switcher unité/pack + fond blanc
 * pur sur la fiche technique (suppression gradient doré).
 * ========================================================= */

/* (13/05) Switcher unité/pack : aérer les deux boutons collés (gap 0 → 8px)
   + aligner à gauche sous le titre (au lieu d'être centré) pour suivre
   la colonne titre/prix qui sont eux aussi en flush-left. */
.yoozi-format-switch {
    gap: 8px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    justify-content: flex-start !important;
}

/* (04/05 rappelé 13/05) Fiche technique : fond blanc pur, plus de voile doré.
   La bordure top en couleur signature reste comme repère visuel. */
body[class*="product-"] .yoozi-product-data {
    background: #FFFFFF !important;
    box-shadow: none !important;
}

/* (26/05) Boutique : zone de contenu éditable entre le titre "NOTRE GAMME"
   et la grille produits. Contenu classique (Gutenberg) contraint à la largeur
   du site ; contenu Elementor laissé libre (sections gèrent leur propre largeur). */
.yoozi-shop-intro {
    margin: 10px 0 40px;
}
.yoozi-shop-intro--classic {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

/* (26/05) Fix Edge — accueil, paragraphe "Tous nos mocktails sont composés".
   Le widget texte (#fde70a0) vit dans un container Elementor display:grid (#751399e)
   sans justify-items défini. Sur Edge, le grid item ne s'étire pas à la largeur de
   la cellule (1fr) : il prend la largeur de son contenu et se cale à gauche — le
   texte est bien centré DANS le bloc, mais le bloc est à gauche. On force l'item à
   remplir la cellule + on réaffirme le centrage. Cross-browser, sans effet ailleurs. */
.elementor-element-751399e {
    justify-items: stretch !important;
}
.elementor-element-751399e > .elementor-element,
.elementor-element-751399e > .e-con-inner > .elementor-element {
    justify-self: stretch !important;
    width: 100% !important;
}
.elementor-element-751399e .elementor-widget-text-editor,
.elementor-element-751399e .elementor-widget-text-editor p {
    text-align: center !important;
}
