/*
Theme Name: GeneratePress Child (Blog Cards)
Description: Thème enfant de GeneratePress avec cartes pour le blog
Template: generatepress
Version: 1.0.0
*/

/* ===== PALETTE GIRLY ===== */
:root {
    --girly-pink: #F8BBD9;
    --girly-pink-dark: #E8A4C9;
    --girly-lavender: #C8A2C8;
    --girly-peach: #FFB6C1;
    --girly-cream: #FFF8F0;
    --girly-rose-gold: #E8B4CB;
    --girly-purple: #B19CD9;
}

/* ===== TYPOGRAPHIE GIRLY SOFT ===== */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&family=Comfortaa:wght@300;400;500;600;700&display=swap');

/* Titres harmonieux avec Quicksand */
h1, h2, h3 {
    font-family: 'Quicksand', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
}

h1 {
    font-size: 1.75rem !important;
    margin-bottom: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

h2 {
    font-size: 1.5rem !important;
    margin-bottom: 0.8rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

h3 {
    font-size: 1.25rem !important;
    margin-bottom: 0.6rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

/* Sous-titres avec Comfortaa */
h4, h5, h6 {
    font-family: 'Comfortaa', sans-serif !important;
    font-weight: 500 !important;
}

/* Corps de texte avec Poppins */
body, p, span, div, a, button, input, textarea {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
}


/* Navigation douce */
.main-navigation a {
    font-family: 'Quicksand', sans-serif !important;
    font-weight: 500 !important;
    letter-spacing: 1px !important;
    font-size: 0.95em !important;
}

/* ===== COULEURS PRINCIPALES DU SITE ===== */

/* Header et navigation */
.site-header {
    background: linear-gradient(135deg, var(--girly-pink) 0%, var(--girly-lavender) 100%);
}

.main-navigation a {
    color: #4a4a4a !important;
    font-weight: 500;
}

.main-navigation a:hover {
    color: #fff !important;
}

/* Boutons principaux */
button, .button, .wp-element-button, input[type="submit"],
.woocommerce button.button, .woocommerce a.button {
    background: linear-gradient(135deg, var(--girly-pink) 0%, var(--girly-peach) 100%) !important;
    border: none !important;
    color: #4a4a4a !important;
    border-radius: 25px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(248, 187, 217, 0.4) !important;
    transition: all 0.3s ease !important;
}

button:hover, .button:hover, .wp-element-button:hover, input[type="submit"]:hover,
.woocommerce button.button:hover, .woocommerce a.button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(248, 187, 217, 0.6) !important;
    background: linear-gradient(135deg, var(--girly-peach) 0%, var(--girly-rose-gold) 100%) !important;
}

/* Liens principaux */
a {
    color: var(--girly-purple) !important;
}

a:hover {
    color: var(--girly-pink-dark) !important;
}

/* Titres */
h1, h2, h3, h4, h5, h6 {
    color: #4a4a4a !important;
}

/* Titre principal de page WordPress */
.entry-title {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin-bottom: 1.5rem !important;
}

/* Background du site */
body {
    background: linear-gradient(45deg, var(--girly-cream) 0%, #ffffff 50%, var(--girly-cream) 100%) !important;
    position: relative;
}

/* Motif décoratif subtil en arrière-plan */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(248, 187, 217, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 80% 80%, rgba(200, 162, 200, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 40% 60%, rgba(255, 182, 193, 0.08) 1px, transparent 1px);
    background-size: 50px 50px, 30px 30px, 70px 70px;
    pointer-events: none;
    z-index: -1;
}

/* ===== ÉLÉMENTS VISUELS GIRLY ===== */

/* Coins arrondis pour tous les éléments */
.site-main, .widget, .entry-content img, 
.woocommerce .woocommerce-product-gallery__image img,
.woocommerce div.product .woocommerce-tabs,
.woocommerce table.shop_table {
    border-radius: 15px !important;
}

/* Ombres douces partout */
.widget, .site-main, 
.woocommerce div.product .summary,
.woocommerce .woocommerce-tabs {
    box-shadow: 0 8px 25px rgba(248, 187, 217, 0.15) !important;
}

/* Puces sobres pour les listes */
.entry-content ul li::before {
    content: '•';
    color: #6c757d;
    font-weight: normal;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.entry-content ul li {
    list-style: none;
    padding-left: 1.5em;
}


/* Titres sobres sans décoration */
h1::before, h2::before {
    content: '';
    margin-right: 0;
    font-size: 0.8em;
    vertical-align: middle;
}

/* Bordures arrondies pour les images */
.post-image img, .wp-post-image, .entry-content img {
    border-radius: 15px !important;
    transition: transform 0.3s ease !important;
}

.post-image img:hover, .wp-post-image:hover, .entry-content img:hover {
    transform: scale(1.02) !important;
}


/* Dividers girly subtils */
.entry-content hr {
    border: none !important;
    height: 2px !important;
    background: linear-gradient(90deg, transparent 0%, var(--girly-pink) 50%, transparent 100%) !important;
    margin: 30px 0 !important;
}

/* Animation subtile pour les boutons */
@keyframes pulseGirly {
    0% { box-shadow: 0 4px 15px rgba(248, 187, 217, 0.4); }
    50% { box-shadow: 0 6px 20px rgba(248, 187, 217, 0.6); }
    100% { box-shadow: 0 4px 15px rgba(248, 187, 217, 0.4); }
}

button:focus, .button:focus, .wp-element-button:focus {
    animation: pulseGirly 2s infinite !important;
}

/* ===== AJUSTEMENTS WOOCOMMERCE ===== */

/* Titres des produits dans le shop - taille normale */
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce .products .product h2,
.woocommerce .products .product .woocommerce-loop-product__title {
    font-size: 1.1em !important;
    margin-bottom: 10px !important;
    line-height: 1.3 !important;
}

/* Titre produit individuel - un peu plus grand mais pas énorme */
.woocommerce div.product .product_title {
    font-size: 1.8em !important;
    margin-bottom: 15px !important;
}

/* Ajustement des autres titres WooCommerce */
.woocommerce .woocommerce-tabs h2,
.woocommerce .related h2,
.woocommerce .cross-sells h2,
.woocommerce .upsells h2 {
    font-size: 1.5em !important;
}

/* ===== BLOG CARDS STYLING ===== */
/* CORRIGÉ : Tous les sélecteurs .archive excluent maintenant WooCommerce */

/* Container principal du blog */
.blog .site-main,
.archive:not(.post-type-archive-product):not(.tax-product_cat):not(.tax-product_tag) .site-main {
    padding: 20px;
}

/* Grille pour les articles */
.blog .site-main,
.archive:not(.post-type-archive-product):not(.tax-product_cat):not(.tax-product_tag) .site-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Style des cartes d'articles */
.blog article,
.archive:not(.post-type-archive-product):not(.tax-product_cat):not(.tax-product_tag) article {
    background: linear-gradient(145deg, #ffffff 0%, var(--girly-cream) 100%);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(248, 187, 217, 0.2);
    border: 1px solid rgba(248, 187, 217, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog article:hover,
.archive:not(.post-type-archive-product):not(.tax-product_cat):not(.tax-product_tag) article:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(248, 187, 217, 0.4);
}

/* Image de l'article */
.blog .post-image,
.archive:not(.post-type-archive-product):not(.tax-product_cat):not(.tax-product_tag) .post-image {
    margin: 0;
    height: 200px;
    overflow: hidden;
}

.blog .post-image img,
.archive:not(.post-type-archive-product):not(.tax-product_cat):not(.tax-product_tag) .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog .post-image:hover img,
.archive:not(.post-type-archive-product):not(.tax-product_cat):not(.tax-product_tag) .post-image:hover img {
    transform: scale(1.05);
}

/* Contenu de la carte */
.blog .inside-article,
.archive:not(.post-type-archive-product):not(.tax-product_cat):not(.tax-product_tag) .inside-article {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Titre de l'article */
.blog .entry-title,
.archive:not(.post-type-archive-product):not(.tax-product_cat):not(.tax-product_tag) .entry-title {
    font-size: 1.3em;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.blog .entry-title a,
.archive:not(.post-type-archive-product):not(.tax-product_cat):not(.tax-product_tag) .entry-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog .entry-title a:hover,
.archive:not(.post-type-archive-product):not(.tax-product_cat):not(.tax-product_tag) .entry-title a:hover {
    color: var(--girly-purple);
}

/* Métadonnées */
.blog .entry-meta,
.archive:not(.post-type-archive-product):not(.tax-product_cat):not(.tax-product_tag) .entry-meta {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/* Résumé de l'article */
.blog .entry-summary,
.archive:not(.post-type-archive-product):not(.tax-product_cat):not(.tax-product_tag) .entry-summary {
    flex-grow: 1;
    font-size: 0.95em;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

/* Lien "Lire la suite" */
.blog .entry-summary .read-more,
.archive:not(.post-type-archive-product):not(.tax-product_cat):not(.tax-product_tag) .entry-summary .read-more {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--girly-pink) 0%, var(--girly-peach) 100%);
    color: #4a4a4a;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9em;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(248, 187, 217, 0.3);
    transition: all 0.3s ease;
}

.blog .entry-summary .read-more:hover,
.archive:not(.post-type-archive-product):not(.tax-product_cat):not(.tax-product_tag) .entry-summary .read-more:hover {
    background: linear-gradient(135deg, var(--girly-peach) 0%, var(--girly-rose-gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(248, 187, 217, 0.5);
}

/* Footer des articles (catégories, commentaires) */
.blog .entry-meta[aria-label="Entry meta"],
.archive:not(.post-type-archive-product):not(.tax-product_cat):not(.tax-product_tag) .entry-meta[aria-label="Entry meta"] {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
    border-bottom: none;
    font-size: 0.85em;
}

.blog .cat-links,
.archive:not(.post-type-archive-product):not(.tax-product_cat):not(.tax-product_tag) .cat-links,
.blog .comments-link,
.archive:not(.post-type-archive-product):not(.tax-product_cat):not(.tax-product_tag) .comments-link {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 5px;
}

.blog .cat-links a,
.archive:not(.post-type-archive-product):not(.tax-product_cat):not(.tax-product_tag) .cat-links a {
    background: #f0f0f0;
    padding: 4px 8px;
    border-radius: 4px;
    text-decoration: none;
    color: #666;
    font-size: 0.9em;
}

.blog .cat-links a:hover,
.archive:not(.post-type-archive-product):not(.tax-product_cat):not(.tax-product_tag) .cat-links a:hover {
    background: var(--girly-purple);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .blog .site-main,
    .archive:not(.post-type-archive-product):not(.tax-product_cat):not(.tax-product_tag) .site-main {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }

    .blog .post-image,
    .archive:not(.post-type-archive-product):not(.tax-product_cat):not(.tax-product_tag) .post-image {
        height: 180px;
    }

    .blog .inside-article,
    .archive:not(.post-type-archive-product):not(.tax-product_cat):not(.tax-product_tag) .inside-article {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .blog .site-main,
    .archive:not(.post-type-archive-product):not(.tax-product_cat):not(.tax-product_tag) .site-main {
        padding: 10px;
        gap: 15px;
    }

    .blog .post-image,
    .archive:not(.post-type-archive-product):not(.tax-product_cat):not(.tax-product_tag) .post-image {
        height: 160px;
    }
}

/* Articles sans image */
.blog article:not(.has-post-thumbnail) .inside-article,
.archive:not(.post-type-archive-product):not(.tax-product_cat):not(.tax-product_tag) article:not(.has-post-thumbnail) .inside-article {
    padding-top: 25px;
}

/* Icônes */
.blog .gp-icon,
.archive:not(.post-type-archive-product):not(.tax-product_cat):not(.tax-product_tag) .gp-icon {
    margin-right: 5px;
    opacity: 0.7;
}


/* =================================================================
   CORRECTION PAGES PERSONNALISÉES - HARMONISATION AVEC GENERATEPRESS
   ================================================================= */

/* Reset des styles personnalisés problématiques pour cohérence */
.gbp-section, .gbp-section__inner, .gbp-section__tagline, 
.gbp-section__headline, .gbp-section__text--sm, .gbp-section__text--lg,
.gbp-button--primary, .gbp-button--secondary, .gbp-card, .gbp-card__title,
.gbp-footer, .gbp-footer__title, .gbp-footer__link {
    /* Reset des styles par défaut */
    all: unset;
    display: block;
    box-sizing: border-box;
}

/* Sections principales harmonisées */
.gbp-section {
    padding: 3rem 2rem !important;
    margin-bottom: 2rem !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.gbp-section__inner {
    max-width: 100% !important;
    margin: 0 auto !important;
    width: 100% !important;
}

/* Taglines avec style cohérent */
.gbp-section__tagline {
    font-family: 'Quicksand', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: var(--girly-purple) !important;
    margin-bottom: 1rem !important;
    display: inline-block !important;
    padding-bottom: 0.5rem !important;
    border-bottom: 2px solid var(--girly-purple) !important;
}

/* Titres harmonisés avec le thème existant */
.gbp-section__headline {
    font-family: 'Quicksand', sans-serif !important;
    font-size: 2rem !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: #4a4a4a !important;
    margin-bottom: 1.5rem !important;
    letter-spacing: 0.5px !important;
}

/* Textes avec police cohérente */
.gbp-section__text--sm {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1rem !important;
    line-height: 1.7 !important;
    color: #4a4a4a !important;
    margin-bottom: 1rem !important;
    font-weight: 400 !important;
}

.gbp-section__text--lg {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1.125rem !important;
    line-height: 1.7 !important;
    font-weight: 500 !important;
    color: #4a4a4a !important;
    margin-bottom: 1.5rem !important;
}

/* Boutons minimalistes modernes */
.gbp-button--primary {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%) !important;
    border: none !important;
    color: white !important;
    border-radius: 8px !important;
    padding: 14px 28px !important;
    font-weight: 500 !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 0.95rem !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
    cursor: pointer !important;
    letter-spacing: 0.5px !important;
    position: relative !important;
    overflow: hidden !important;
}

.gbp-button--primary::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
    transition: left 0.5s !important;
}

.gbp-button--primary:hover::before {
    left: 100% !important;
}

.gbp-button--primary:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(45, 55, 72, 0.3) !important;
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%) !important;
}

.gbp-button--secondary {
    background: transparent !important;
    color: #4a5568 !important;
    border: 1px solid rgba(74, 85, 104, 0.3) !important;
    border-radius: 8px !important;
    padding: 14px 28px !important;
    font-weight: 500 !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 0.95rem !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
    cursor: pointer !important;
    letter-spacing: 0.5px !important;
}

.gbp-button--secondary:hover {
    background: #4a5568 !important;
    color: white !important;
    border-color: #4a5568 !important;
    transform: translateY(-1px) !important;
}

/* Cartes minimalistes et modernes */
.gbp-card {
    background: rgba(255, 255, 255, 0.8) !important;
    border-radius: 12px !important;
    padding: 2rem !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    margin-bottom: 2rem !important;
    transition: all 0.2s ease !important;
    backdrop-filter: blur(10px) !important;
    position: relative !important;
    overflow: hidden !important;
    text-align: center !important;
}

.gbp-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 3px !important;
    background: linear-gradient(90deg, var(--girly-pink) 0%, var(--girly-peach) 100%) !important;
}

.gbp-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(248, 187, 217, 0.2) !important;
}

.gbp-card__title {
    font-family: 'Quicksand', sans-serif !important;
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    color: #2d3748 !important;
    margin-bottom: 1rem !important;
    letter-spacing: 0.3px !important;
    line-height: 1.4 !important;
}

/* Footer minimaliste moderne */
.gbp-footer {
    background: rgba(249, 250, 251, 0.95) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
    color: #4a5568 !important;
    padding: 2.5rem 2rem !important;
    text-align: center !important;
    margin-top: 3rem !important;
    backdrop-filter: blur(10px) !important;
}

/* Centrer les boutons dans le footer */
.gbp-footer p {
    text-align: center !important;
}

.gbp-footer .gbp-button--primary {
    display: inline-block !important;
    margin: 0 auto !important;
}

/* Centrer seulement les paragraphes contenant des boutons */
.entry-content p:has(.gbp-button--primary),
.entry-content p:has(.gbp-button--secondary) {
    text-align: center !important;
}

.gbp-button--primary,
.gbp-button--secondary {
    display: inline-block !important;
}

.gbp-footer__title {
    font-family: 'Quicksand', sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    margin-bottom: 1.5rem !important;
    color: #2d3748 !important;
    letter-spacing: 0.3px !important;
}

.gbp-footer__link {
    color: #4a5568 !important;
    text-decoration: none !important;
    margin: 0 1.5rem !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 400 !important;
    font-size: 0.95rem !important;
    transition: color 0.2s ease !important;
    position: relative !important;
}

.gbp-footer__link::after {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 50% !important;
    width: 0 !important;
    height: 1px !important;
    background: #4a5568 !important;
    transition: all 0.2s ease !important;
    transform: translateX(-50%) !important;
}

.gbp-footer__link:hover {
    color: #2d3748 !important;
}

.gbp-footer__link:hover::after {
    width: 100% !important;
}

/* Corrections spécifiques aux titres - tailles harmonieuses */
.gbp-section h1, .gbp-section .gbp-section__headline {
    font-size: 1.75rem !important;
    margin-bottom: 1.2rem !important;
    line-height: 1.3 !important;
}

.gbp-section h2 {
    font-family: 'Quicksand', sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: #4a4a4a !important;
    margin-bottom: 1rem !important;
    letter-spacing: 0.3px !important;
    line-height: 1.4 !important;
}

.gbp-section h3 {
    font-family: 'Quicksand', sans-serif !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #4a4a4a !important;
    margin-bottom: 0.8rem !important;
    letter-spacing: 0.3px !important;
    line-height: 1.4 !important;
}

/* Responsive pour les pages personnalisées */
@media (max-width: 768px) {
    .gbp-section {
        padding: 2rem 1.5rem !important;
    }
    
    .gbp-section__headline {
        font-size: 1.75rem !important;
    }
    
    .gbp-section h2 {
        font-size: 1.4rem !important;
    }
    
    .gbp-section h3 {
        font-size: 1.2rem !important;
    }
    
    .gbp-footer {
        padding: 2rem 1.5rem !important;
    }
    
    .gbp-card {
        padding: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .gbp-section {
        padding: 1.5rem 1rem !important;
    }
    
    .gbp-section__headline {
        font-size: 1.5rem !important;
    }
    
    .gbp-section h2 {
        font-size: 1.3rem !important;
    }
    
    .gbp-section h3 {
        font-size: 1.1rem !important;
    }
}



/* ======================================================
   FIX CIBLÉ – ÉTOILES WOOCOMMERCE
   (corrige les "SSSSS" sans aucune régression)
   ====================================================== */

.woocommerce .star-rating,
.woocommerce .star-rating::before,
.woocommerce .star-rating span::before,
.woocommerce p.stars a,
.woocommerce p.stars a::before {
    font-family: "star" !important;
    font-weight: normal !important;
}

/* (Optionnel) Si la police n'est pas chargée par le thème/plugin, décommentez ce bloc.
@font-face {
    font-family: 'star';
    src: url('/wp-content/plugins/woocommerce/assets/fonts/star.woff2') format('woff2'),
         url('/wp-content/plugins/woocommerce/assets/fonts/star.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
*/

/* Fix étoiles tronquées (line-height global trop grand) */
.woocommerce .star-rating,
.woocommerce .star-rating::before,
.woocommerce .star-rating span::before {
  line-height: 1 !important;
}

/* Optionnel si ton thème/woo force un overflow qui coupe */
.woocommerce .star-rating {
  overflow: visible !important;
}


.woocommerce .star-rating .rating {
    font-family: inherit !important;   /* ne force pas Poppins */
    font-weight: 600 !important;
    line-height: 1 !important;          /* critique pour éviter le chevauchement */
    display: inline-block !important;
    vertical-align: middle !important;
}

/* ======================================================
   WOOCOMMERCE – CACHER LA NOTE NUMÉRIQUE (5.00 sur 5)
   ====================================================== */

/* Cache le texte numérique dans le span */
.woocommerce .star-rating span {
    text-indent: -9999px !important;
    white-space: nowrap !important;
}

/* Ré-affiche uniquement les étoiles */
.woocommerce .star-rating span::before {
    text-indent: 0 !important;
}




