/*
 * Ma Maternelle - Custom CSS
 * Custom styling for mamaternelle.com
 */

/* ========================================
   GENERAL STYLES
   ======================================== */

/* PhotoSwipe lightbox au-dessus du menu */
.pswp {
    z-index: 999999 !important;
}

img {
    max-width: 100%!important;
}

.page-header {
    float: none!important;
}

body {
    position: relative!important;
}

/* ========================================
   POST LIST & LISTING ITEMS
   ======================================== */

body:not(.category-blog) .post-list-wrapper, .listing-item {
    display: inline-block;
    width: 20%;
    margin: 2%!important;
}


.form-submit > input[type="submit"] {
    color: white;
}
body:not(.category-blog) .post-list-wrapper > article {
    padding-bottom: 0!important;
    margin-bottom: 0!important;
}

body:not(.category-blog) .post-list-wrapper, .listing-item {
    box-shadow: 2px 2px 5px #777;
}

body:not(.category-blog) .post-list-wrapper:hover, .listing-item:hover {
    box-shadow: 2px 2px 10px #777;
}

body:not(.category-blog) .post-list-wrapper > article > header, .listing-item .title {
    margin-top: -73px!important;
    background-color: rgba(71,171,208,0.9)!important;
    position: relative;
    height: 50px;
    margin-bottom: -1px!important;
    display: block;
}

body:not(.category-blog) .post-list-wrapper > article > header, .listing-item .title {
    height: 50px!important;
    display: block;
        overflow: hidden;
}

body:not(.category-blog) .post-list-wrapper > article > header > h3, .listing-item .title {
    font-size: 18px!important;
    line-height: 22px!important;
    padding: 2px 5px;
    text-overflow: ellipsis;
    display: inline-block;
}

body:not(.category-blog) .post-list-wrapper > article > header > h3 > a, .listing-item .title {
  color: white!important;
    font-weight: bold;
    font-size: 1rem;
    vertical-align: center;
    text-overflow: ellipsis;
    display: inline-block;
}

p.download-small a {
    background-color: rgba(71,171,208, 1);
    display: inline-block;
    margin: auto;
    color: white;
    font-weight: bold;
    padding: 7px 10px;
    border-radius: 5px;
    font-size: 16px;
}

/* ========================================
   RESPONSIVE POST LIST
   ======================================== */

@media screen and (max-width: 991px) {
    body:not(.category-blog) .post-list-wrapper, .listing-item {
        display: inline-block;
        width: 28%;
        margin: 2%!important;
    }
}

@media screen and (max-width: 782px) {
    body:not(.category-blog) .post-list-wrapper, .listing-item {
        display: inline-block;
        width: 45%;
        margin: 2%!important;
    }

    body:not(.category-blog) .post-list-wrapper > article > header > h2, .listing-item .title {
        height: 44px;
        overflow: hidden;
    }
}

@media screen and (max-width: 400px) {
    body:not(.category-blog) .post-list-wrapper, .listing-item {
        display: inline-block;
        width: 100%;
        margin: 2% 0!important;
    }

    body:not(.category-blog) .post-list-wrapper img, .listing-item img {
        width: 100%;
    }
}

/* ========================================
   NAVIGATION
   ======================================== */

.navigation {
    text-align: center;
}

.navigation>div {
    display: inline-block;
}

/* ========================================
   WIDGETS
   ======================================== */

body:not(.category-blog) .widget_preschool_and_kindergarten_recent_post .post-thumbnail {
    float: none!important;
    margin-right: 0!important;
    width: 200px!important;
}

body:not(.category-blog) .widget_preschool_and_kindergarten_recent_post .post-thumbnail img {
    width: 200px;
    margin-bottom: 15px;
    max-width: auto!important;
}

body:not(.category-blog) .wp-block-column > h3 {
    font-size: 2rem!important;
}

.widget-title {
    text-align: center;
}

.widget-area #block-2 {
    margin-bottom: 0;
}

#preschool_and_kindergarten_recent_post-2 li {
    text-align: center;
}

#preschool_and_kindergarten_social_links-3 > h2 {
    display: none;
}

/* ========================================
   POST STYLES
   ======================================== */

.post-navigation .nav-links {
    display: block;
}

.post-navigation .nav-links {
  text-align: left;
}

#post-189 h1 {
    font-size: 3rem!important;
    font-weight: bold!important;
}


#post-189 h2 {
    font-size: 2.5rem!important;
}

.post h2 {
    font-size: 1.5rem!important;
}

.post p {
    margin-bottom: 1rem;
}

.post .wp-block-image img {
    max-width: 400px;
    border: solid 1px #ddd;
}

.read-more {
    display: block;
    margin-top: 1em;
}

.category .post-list-wrapper > article, .listing-item {
    padding-bottom: 10px!important;
    margin-bottom: 30px!important;
}

body:not(.category-blog) .entry-meta {
    display: none;
}

.wp-block-quote {
    margin-top: 1em!important;
    padding: 50px 70px 20px!important;
}

.wp-block-quote p {
    margin-bottom: .5em;
}

/* ========================================
   COMMENTS
   ======================================== */

.comment-form-cookies-consent {
    display: inline-block;
}

.form-submit > input[type="submit"]{
    background-color: rgb(65, 170, 212);
}

body.category-blog div.entry-meta > span.byline, body.category-blog div.entry-meta > span.cat-links, body.single-post div.entry-meta {
    display: none!important;
}

.comment_container .avatar {
    display: none;
}

.comment_container .comment-text {
    margin: 0!important;
}

.c4wp_user_input_captcha {
    max-width: 200px;
}

/* ========================================
   SOCIAL NETWORKS
   ======================================== */

.social-networks {
    display: block;
    text-align: center;
}

.social-networks li {
    display: inline;
    float: none!important;
}

/* ========================================
   BLOCKS & SPECIAL SECTIONS
   ======================================== */

#block-7 div.wp-block-column {
    margin-left: .8em!important;
}

#block-7 p {
    margin-bottom: 0!important;
}

.vcard.author {
    background: none;
    padding: 0;
    font-weight: bold;
}

div.saboxplugin-wrap[itemprop="author"] {
    margin-top: 2em;
}

.etiquettes-container .wp-block-column:first-child {
    transform: rotate(3deg);
}

.etiquettes-container .wp-block-column {
    transform: rotate(1deg);
}

.etiquettes-container .wp-block-column:last-child {
    transform: rotate(-4deg);
}

.etiquettes-container {
    width: 90%;
    margin: auto;
}

.sgpb-floating-button {
    display: none!important;
}

.fn {
    counter-increment: none;
  display: inherit;
  font-size: inherit;
  text-indent: inherit;
  vertical-align: inherit;
}

.fn:after {
    content: unset;
    float: none;
    text-indent: inherit;
}

#block-2 li::before {
    background: none;
}

/* ========================================
   LISTING ITEMS
   ======================================== */

.listing-item {
    padding-bottom: 0!important;
}

.listing-item .title {
    display: block;
    margin-top: 0!important;
}

.listing-item .image {
    display: block;
    height: 265px;
}

.listing-item img {
    display: block;
    height: 315px;
}

.listing-item .title {
    font-size: 1rem!important;
}


.listing-item .title:hover {
    text-decoration: none;
}

/* ========================================
   HEADER & TOP BAR
   ======================================== */

.top-bar {
    padding: 7px!important;
}

.top-bar .page-header {
    display: inline-block;
}

.top-bar h1 {
    font-size: 20pt!important;
}

.top-bar {
    min-height: 59px;
}

/* Masquer le top-bar pour les pages boutique et produit */
.woocommerce-shop .top-bar,
.post-type-archive-product .top-bar,
.single-product .top-bar {
    display: none;
}

/* Masquer le header woocommerce de la boutique */
.woocommerce-products-header {
    display: none;
}

/* Ajouter de l'espace au début de la page boutique */
.woocommerce-shop ul.products.columns-2:first-of-type,
.post-type-archive-product ul.products.columns-2:first-of-type {
    margin-top: 80px !important;
}

@media (max-width: 768px) {
    .woocommerce-shop ul.products.columns-2:first-of-type,
    .post-type-archive-product ul.products.columns-2:first-of-type {
        margin-top: 60px !important;
    }
}

/* ========================================
   WOOCOMMERCE - SHOP STYLES (Ancien - Désactivé pour nouveau design)
   ======================================== */

/* Ces styles sont conservés pour compatibilité mais désactivés
   Le nouveau design utilise .mm-product-card et classes associées */

.woocommerce-page .shop_menu .container {
    padding: 15px;
    background: #fefefe url(https://www.mamaternelle.com/wp-content/themes/preschool-and-kindergarten/images/line.png) repeat-x 0 0%;
    border: solid 1px #ccc;
    border-top: none;
    box-shadow: 0 3px 7px #eee
}

.woocommerce-page .shop_menu_item:last-child {
    float: right;
}

/* Anciens styles désactivés - remplacés par nouveau design carte
ul.columns-2 img.attachment-woocommerce_thumbnail { ... }
.products_loop_wrapper { ... }
etc.
*/

/* ========================================
   WOOCOMMERCE - CART & CHECKOUT
   ======================================== */

/* Masquer la barre de titre sur le panier */
.woocommerce-cart .top-bar {
    display: none;
}

/* Supprimer le padding-top du contenu sur le panier */
.woocommerce-cart #content {
    padding-top: 0 !important;
}

/* Container principal du panier */
.woocommerce-cart .woocommerce {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Table du panier */
.woocommerce-cart-form__contents {
    border: 1px solid #edf2f7 !important;
    border-radius: 8px !important;
    background: #f8f9fa;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.woocommerce-cart-form__contents thead,
.woocommerce table.shop_table thead,
.woocommerce-page table.shop_table thead {
    background: transparent !important;
}

.woocommerce-cart-form__contents thead tr th:first-child {
    border-top-left-radius: 8px;
}

.woocommerce-cart-form__contents thead tr th:last-child {
    border-top-right-radius: 8px;
}

.woocommerce-cart-form__contents th {
    padding: 12px 10px !important;
    color: #4a5568 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none !important;
    border-bottom: 1px dashed #cbd5e0 !important;
}

.woocommerce-cart-form__contents td {
    padding: 14px 10px !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #edf2f7 !important;
    border-left: none !important;
    border-right: none !important;
    background: #fff;
}

.woocommerce-cart-form__contents tbody tr:last-child td {
    border-bottom: none !important;
}

.woocommerce-cart-form__contents tbody tr:first-child td:first-child {
    border-top-left-radius: 0;
}

.woocommerce-cart-form__contents tbody tr:first-child td:last-child {
    border-top-right-radius: 0;
}

.woocommerce-cart-form__contents tbody tr:hover td {
    background: #f8fbfd;
}

/* Image produit dans le panier */
.woocommerce-cart-form__contents .product-thumbnail img {
    border-radius: 8px;
    max-width: 50px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* Nom du produit */
.woocommerce-cart-form__contents .product-name a {
    color: #2d3748 !important;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.woocommerce-cart-form__contents .product-name a:hover {
    color: #41aad4 !important;
}

/* Variation du produit */
.woocommerce-cart-form__contents .product-name .variation {
    margin-top: 8px;
    font-size: 13px;
    color: #718096;
}

.woocommerce-cart-form__contents .product-name .variation dt,
.woocommerce-cart-form__contents .product-name .variation dd {
    display: inline;
    margin: 0;
}

.woocommerce-cart-form__contents .product-name .variation p {
    margin: 4px 0;
}

/* Colonne Variation séparée */
.woocommerce-cart-form__contents .product-variation {
    text-align: center;
}

.woocommerce-cart-form__contents .product-variation .variation-badge {
    color: #41aad4;
    font-weight: 700;
    font-size: 13px;
}

.woocommerce-cart-form__contents .product-variation .variation-empty {
    color: #cbd5e0;
    font-size: 14px;
}

.woocommerce-cart-form__contents thead th.product-variation {
    text-align: center;
}

/* Colonne remove plus compacte */
.woocommerce-cart-form__contents .product-remove {
    width: 40px;
    padding-left: 12px !important;
}

/* Colonne thumbnail plus compacte */
.woocommerce-cart-form__contents .product-thumbnail {
    width: 60px;
}

/* Prix */
.woocommerce-cart-form__contents td.product-price,
.woocommerce-cart-form__contents td.product-subtotal {
    font-weight: 600;
    color: #41aad4;
    font-size: 14px !important;
    white-space: nowrap;
}

/* Bouton supprimer */
.woocommerce-cart-form__contents .product-remove a.remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fee2e2;
    color: #ef4444 !important;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.2s ease;
}

.woocommerce-cart-form__contents .product-remove a.remove:hover {
    background: #ef4444;
    color: #fff !important;
    transform: scale(1.1);
}

/* Input quantité dans le panier */
.woocommerce-cart-form__contents .quantity {
    display: flex;
    align-items: center;
    justify-content: center;
}

.woocommerce-cart-form__contents .quantity input.qty {
    width: 50px !important;
    height: 32px;
    text-align: center;
    border: 2px solid #e2e8f0 !important;
    border-radius: 6px !important;
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
}

.woocommerce-cart-form__contents .quantity input.qty:focus {
    border-color: #41aad4 !important;
    outline: none;
}

/* Actions (coupon, mise à jour) - masquer */
.woocommerce-cart-form__contents .actions {
    display: none;
}

/* ========== PANIER MOBILE - LAYOUT CARDS ========== */
@media (max-width: 768px) {
    .woocommerce-cart-form__contents {
        border: none !important;
        background: transparent !important;
    }

    .woocommerce-cart-form__contents thead {
        display: none !important;
    }

    .woocommerce-cart-form__contents tbody {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .woocommerce-cart-form__contents tbody tr.woocommerce-cart-form__cart-item {
        display: grid !important;
        grid-template-columns: 70px 1fr auto !important;
        grid-template-rows: auto auto auto !important;
        gap: 0 12px !important;
        background: #fff !important;
        border: 1px solid #edf2f7 !important;
        border-radius: 12px !important;
        padding: 12px !important;
        position: relative !important;
        align-items: center !important;
    }

    .woocommerce-cart-form__contents tbody tr.woocommerce-cart-form__cart-item td {
        border: none !important;
        padding: 0 !important;
        background: transparent !important;
        text-align: left !important;
        float: none !important;
        width: auto !important;
    }

    .woocommerce-cart-form__contents tbody tr.woocommerce-cart-form__cart-item td.product-subtotal {
        display: none !important;
    }

    #primary .post .entry-content table tr,
    #primary .page .entry-content table tr {
        border-bottom: none !important;
    }

    .woocommerce-cart .cart_totals .wc-proceed-to-checkout a.checkout-button {
        font-size: 15px !important;
    }

    /* Masquer les labels data-title */
    .woocommerce-cart-form__contents td::before {
        display: none !important;
    }

    /* Image : colonne gauche, toute la hauteur */
    .woocommerce-cart-form__contents td.product-thumbnail {
        grid-row: 1 / 4 !important;
        grid-column: 1 !important;
        width: auto !important;
        display: block !important;
    }

    .woocommerce-cart-form__contents .product-thumbnail img {
        width: 60px !important;
        height: 60px !important;
        max-width: none !important;
        object-fit: cover !important;
        border-radius: 8px !important;
    }

    /* Nom produit : en haut à côté de l'image, avec marge pour le X */
    .woocommerce-cart-form__contents td.product-name {
        grid-row: 1 !important;
        grid-column: 2 / 4 !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        text-align: left !important;
        padding-right: 28px !important;
        word-break: break-word !important;
        line-height: 1.3 !important;
    }

    /* Variation : sous le nom */
    .woocommerce-cart-form__contents td.product-variation {
        grid-row: 2 !important;
        grid-column: 2 !important;
        text-align: left !important;
        font-size: 12px !important;
    }

    /* Prix : sous la variation */
    .woocommerce-cart-form__contents td.product-price {
        grid-row: 3 !important;
        grid-column: 2 !important;
        font-size: 14px !important;
    }

    /* Quantité : en bas à droite */
    .woocommerce-cart-form__contents td.product-quantity {
        grid-row: 3 !important;
        grid-column: 3 !important;
    }

    .woocommerce-cart-form__contents td.product-quantity .quantity input.qty {
        width: 40px !important;
        height: 28px !important;
        font-size: 13px !important;
    }

    /* Sous-total : masqué (déjà visible via le prix) */
    .woocommerce-cart-form__contents td.product-subtotal {
        display: none !important;
    }

    /* Bouton supprimer : en haut à droite de la carte */
    .woocommerce-cart-form__contents td.product-remove {
        position: absolute !important;
        top: 8px !important;
        right: 8px !important;
        width: auto !important;
        padding: 0 !important;
    }

    .woocommerce-cart-form__contents .product-remove a.remove {
        width: 22px !important;
        height: 22px !important;
        font-size: 14px !important;
    }

    /* Ligne actions */
    .woocommerce-cart-form__contents tbody tr:not(.woocommerce-cart-form__cart-item) {
        display: none !important;
    }

    /* Totaux du panier */
    .cart_totals {
        float: none !important;
        width: 100% !important;
    }
}

/* Totaux du panier */
.cart-collaterals {
    margin-top: 30px;
}

.cart_totals {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 14px 16px;
    float: right;
    min-width: 250px;
    border: 1px solid #edf2f7;
}

.cart_totals h2 {
    display: none !important;
}

.cart_totals .shop_table {
    border: none !important;
    margin: 0 !important;
}

.cart_totals .shop_table th,
.cart_totals .shop_table td {
    padding: 8px 0 !important;
    border: none !important;
    font-size: 13px;
    background: transparent !important;
}

.cart_totals .shop_table tr:not(.order-total) th,
.cart_totals .shop_table tr:not(.order-total) td {
    opacity: 0.7;
}

.cart_totals .shop_table th {
    font-weight: 500;
    color: #4a5568;
}

.cart_totals .shop_table td {
    text-align: right;
    font-weight: 500;
    color: #4a5568;
}

/* Message expédition plus discret */
.cart_totals .shipping td p,
.cart_totals .woocommerce-shipping-destination {
    font-size: 12px !important;
    color: #718096 !important;
    font-style: italic;
    margin-top: 2px;
    line-height: 1.3;
}

/* Ligne Total mise en valeur */
.cart_totals .order-total th,
.cart_totals .order-total td {
    font-size: 16px !important;
    font-weight: 700 !important;
    padding-top: 12px !important;
    padding-bottom: 0 !important;
    border-top: 1px dashed #cbd5e0 !important;
    opacity: 1 !important;
}

.cart_totals .order-total th {
    color: #2d3748 !important;
}

.cart_totals .order-total td {
    color: #2d3748 !important;
}

.cart_totals .wc-proceed-to-checkout {
    padding: 0 !important;
    margin: 0 !important;
}

.cart_totals .wc-proceed-to-checkout a.checkout-button {
    display: block;
    width: 100%;
    background: #41aad4 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px 20px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    margin-top: 14px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(65, 170, 212, 0.4);
}

.cart_totals .wc-proceed-to-checkout a.checkout-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shine 3s ease-in-out infinite;
    transform: skewX(-25deg);
    pointer-events: none;
}

.cart_totals .wc-proceed-to-checkout a.checkout-button:hover {
    background: #3498db !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(65, 170, 212, 0.5);
}

.cart_totals .wc-proceed-to-checkout a.checkout-button:hover::before {
    animation: none;
}

.paypal-button-container.paypal-autoresize-container.paypal-button-layout-horizontal.paypal-button-shape-rect.paypal-button-number-single.paypal-button-env-production {
    max-width: none !important;
}

/* Masquer le conteneur reCAPTCHA PayPal vide */
#ppcp-recaptcha-v2-container {
    display: none !important;
}

/* Masquer les notes de commande sur le checkout */
.woocommerce-additional-fields {
    display: none !important;
}

/* ========================================
   PAGE DE COMMANDE (CHECKOUT)
   ======================================== */

/* Masquer la barre de titre */
.woocommerce-checkout .top-bar {
    display: none;
}

/* Supprimer le padding-top */
.woocommerce-checkout #content {
    padding-top: 0 !important;
}

/* Container principal */
.woocommerce-checkout .woocommerce {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* Titres de section */
.woocommerce-checkout h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #41aad4;
}

/* Formulaire de facturation */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.woocommerce-checkout .form-row-wide {
    grid-column: 1 / -1;
}

/* Champs de formulaire */
.woocommerce-checkout .form-row {
    margin-bottom: 0;
}

.woocommerce-checkout .form-row label {
    font-size: 13px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 4px;
    display: block;
}

.woocommerce-checkout .form-row label .required {
    color: #e53e3e;
}

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .select2-container--default .select2-selection--single {
    width: 100%;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 10px 12px;
    line-height: 1.4;
}

.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-checkout .form-row select:focus {
    border-color: #41aad4;
    box-shadow: 0 0 0 3px rgba(65, 170, 212, 0.15);
    outline: none;
}

.woocommerce-checkout .select2-container--default .select2-selection--single {
    height: auto;
    min-height: 42px;
    display: flex;
    align-items: center;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
}

/* Section facturation */
.woocommerce-checkout .col2-set {
    margin-bottom: 30px;
}

.woocommerce-checkout .col2-set .col-1 {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 600px;
}

.woocommerce-checkout .col2-set .col-2 {
    display: none;
}

/* Résumé de commande */
.woocommerce-checkout #order_review_heading {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 12px;
    color: #2d3748;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.woocommerce-checkout #order_review {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Table récapitulative - style panier */
.woocommerce-checkout-review-order-table {
    border: none !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    margin: 0 !important;
}

.woocommerce-checkout-review-order-table thead {
    background: transparent !important;
}

.woocommerce-checkout-review-order-table thead th {
    padding: 14px 16px !important;
    color: #4a5568 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none !important;
    border-bottom: 1px dashed #cbd5e0 !important;
}

.woocommerce-checkout-review-order-table tbody td,
.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout-review-order-table tfoot td {
    padding: 12px 16px !important;
    border: none !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.woocommerce-checkout-review-order-table .cart_item td {
    font-size: 14px;
    color: #2d3748;
}

.woocommerce-checkout-review-order-table .product-name {
    color: #2d3748;
}

.woocommerce-checkout-review-order-table .product-total {
    text-align: right;
    font-weight: 600;
    color: #41aad4;
}

.woocommerce-checkout-review-order-table tfoot th {
    color: #4a5568;
    font-weight: 600;
    font-size: 14px;
}

.woocommerce-checkout-review-order-table tfoot td {
    text-align: right;
    font-weight: 600;
    font-size: 14px;
    color: #2d3748;
}

.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
    font-size: 16px !important;
    color: #41aad4 !important;
    font-weight: 700 !important;
    border-bottom: none !important;
}

/* Méthodes de paiement */
.woocommerce-checkout #payment {
    background: transparent;
    border-radius: 0;
}

.woocommerce-checkout #payment ul.payment_methods {
    padding: 0;
    padding-bottom: 0 !important;
    border: none;
    margin-bottom: 16px;
}

.woocommerce-checkout #payment ul.payment_methods li {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 8px;
    padding: 14px 16px;
    transition: all 0.2s ease;
}

.woocommerce-checkout #payment ul.payment_methods li:hover {
    border-color: #41aad4;
}

input[name="payment_method"] {
    float: left;
    margin-top: 12px !important;
    margin-left: 17px !important;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > label {
    font-weight: 600;
    color: #2d3748;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.woocommerce-checkout #payment ul.payment_methods li img {
    max-height: 24px;
    width: auto;
}

.woocommerce-checkout #payment div.payment_box {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin-top: 12px;
    padding: 14px;
    color: #4a5568;
    font-size: 13px;
}

.woocommerce-checkout #payment div.payment_box::before {
    display: none;
}

.payment_box.payment_method_woocommerce_payments {
    border: none !important;
    margin: 0 !important;
}

.payment_box.payment_method_ppcp-gateway {
    border: none !important;
    margin: 0 !important;
}

/* Bouton de commande */
.woocommerce-checkout #place_order {
    width: 100%;
    background: #41aad4 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 16px 24px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.2s ease !important;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
    cursor: pointer !important;
}

.woocommerce-checkout #place_order::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shine 3s ease-in-out infinite;
    transform: skewX(-25deg);
    pointer-events: none;
}

.woocommerce-checkout #place_order:hover {
    background: #3498db !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(65, 170, 212, 0.5);
}

.woocommerce-checkout #place_order:hover::before {
    animation: none;
}

/* Conditions générales */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
    margin: 16px 0;
    font-size: 13px;
    color: #4a5568;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a {
    color: #41aad4;
}

/* Messages de coupon et login */
.woocommerce-checkout .woocommerce-info {
    background: #f0f9ff;
    border: 1px solid #41aad4;
    border-radius: 8px;
    padding: 14px 18px;
    color: #2d3748;
    margin-bottom: 20px;
}

.woocommerce-checkout .woocommerce-info a {
    color: #41aad4;
    font-weight: 600;
}

/* Responsive checkout */
@media screen and (max-width: 768px) {
    .woocommerce-checkout .col2-set {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
    .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Calculateur de livraison - masquer */
.woocommerce-shipping-calculator {
    display: none;
}

/* Responsive panier */
@media screen and (max-width: 768px) {
    .cart_totals {
        float: none;
        min-width: auto;
        width: 100%;
    }

    .woocommerce-cart-form__contents .product-thumbnail img {
        max-width: 60px;
    }

    .woocommerce-cart-form__contents th,
    .woocommerce-cart-form__contents td {
        padding: 12px 8px !important;
    }
}

/* ========================================
   WOOCOMMERCE - PRODUCT PAGE
   ======================================== */

.single-product .woocommerce-Price-amount {
    font-size: 18pt!important;
}

.woocommerce .star-rating {

}

.rating, .woocommerce .star-rating {
    font-size: 16px!important;
}


@media screen and (max-width: 1199px) {
        .products_loop_wrapper_thumbnail .star-rating {
        margin-top: .8em!important;
}
}


@media screen and (min-width: 1200px) {
        .products_loop_wrapper_thumbnail .star-rating {
        position: absolute!important;
    right: 10px;
    top: 10px;
      font-size: 11px!important;

}
}

.product-purchase-note {
    color: red;
    font-weight: bold;
}

/* Champs supplémentaires produit (extension THWEPO) */
.single-product .thwepo-extra-options {
    width: 100% !important;
    flex-basis: 100% !important;
    order: 0 !important;
    margin-bottom: 8px !important;
    border-collapse: separate !important;
    border-spacing: 0 12px !important;
}

.single-product .thwepo-extra-options tr {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    margin-bottom: 16px !important;
}

.single-product .thwepo-extra-options tr:last-child {
    margin-bottom: 0 !important;
}

.single-product .thwepo-extra-options td {
    display: block !important;
    padding: 0 !important;
    width: 100% !important;
}

.single-product .thwepo-extra-options td.label {
    margin-bottom: 6px !important;
}

.single-product .thwepo-extra-options label {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #2d3748 !important;
    letter-spacing: 0.01em !important;
}

.single-product .thwepo-extra-options abbr.required,
.single-product abbr.required {
    color: #ef4444 !important;
    text-decoration: none !important;
    border-bottom: none !important;
    font-weight: 700 !important;
    margin-left: 2px !important;
}

.single-product .thwepo-extra-options input[type="text"],
.single-product .thwepo-extra-options select {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    color: #2d3748 !important;
    background: #fff !important;
    transition: border-color 0.2s ease !important;
    box-sizing: border-box !important;
}

/* Extension upload image (EPIU) */
.single-product .epiu-upload-wrapper {
    width: 100% !important;
    flex-basis: 100% !important;
    order: 0 !important;
    margin-bottom: 20px !important;
}

.single-product .epiu-upload-field {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.single-product .epiu-label {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #2d3748 !important;
    margin-bottom: 6px !important;
    display: block !important;
}

.single-product .epiu-label .required {
    color: #ef4444 !important;
    font-weight: 700 !important;
}

.single-product .epiu-description {
    font-size: 13px !important;
    color: #718096 !important;
    margin-bottom: 12px !important;
}

.single-product .epiu-file-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 12px 20px !important;
    background: #2d3748 !important;
    color: #fff !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.single-product .epiu-file-label:hover {
    background: #4a5568 !important;
}

.single-product .epiu-file-input {
    display: none !important;
}

.single-product .epiu-preview-wrapper {
    margin-top: 12px;
    position: relative;
}

.single-product .epiu-preview-image {
    max-width: 150px !important;
    border-radius: 8px !important;
    border: 2px solid #e2e8f0 !important;
}

.single-product .epiu-remove-image {
    position: absolute !important;
    top: -8px !important;
    right: -8px !important;
    width: 24px !important;
    height: 24px !important;
    background: #ef4444 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    font-size: 16px !important;
    line-height: 1 !important;
}

.single-product .thwepo-extra-options input[type="text"]:focus,
.single-product .thwepo-extra-options select:focus {
    outline: none !important;
    border-color: #41aad4 !important;
}

.single-product .thwepo-extra-options input[type="text"]:hover,
.single-product .thwepo-extra-options select:hover {
    border-color: #cbd5e0 !important;
}

.woocommerce ul.products li.product strong {
    display: inline!important;
}

.sku_wrapper {
    display: none;
}

.woocommerce-product-gallery__wrapper > div {
    margin-top: 1rem;
}

.woocommerce-product-gallery__wrapper > div:first-child {
    margin-top: inherit;
}

.single_add_to_cart_button {
    margin-top: 1rem;
}

/* ========================================
   WOOCOMMERCE - RESPONSIVE
   ======================================== */

@media screen and (max-width: 768px) {
    .tax-product_cat ul.products li.product, .post-type-archive-product ul.products li.product {
        display: block!important;
        width: 100%!important;
    }

    .shop_menu .container {
        display: flex;
        flex-direction: column;
    }

    .shop_menu > .container > span {
        margin-left: 0!important;
    }

    .shop_menu > .container > span:last-child {
        margin-top: 0.5rem;
    }
}

/* ========================================
   WOOCOMMERCE - NOTICES
   ======================================== */

.woocommerce-store-notice, p.demo_store {
    bottom: 0;
    top: inherit;
    position: fixed;
    padding: 10px 0;
    background-color: #41aad4;
    font-weight: bold;
}

.woocommerce-store-notice, p.demo_store a {
    text-decoration: none;
}

.woocommerce-store-notice__dismiss-link {

}

/* Notices WooCommerce modernisées */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    padding: 16px 20px 16px 50px !important;
    margin-bottom: 24px !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 4px solid !important;
    background: #fff !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    list-style: none !important;
    color: #4a5568 !important;
    position: relative !important;
}

/* Message de succès */
.woocommerce-message {
    border-left-color: #22c55e !important;
}

/* Message d'erreur */
.woocommerce-error {
    border-left-color: #ef4444 !important;
}

/* Message d'information */
.woocommerce-info {
    border-left-color: #41aad4 !important;
}

/* Supprimer outline/focus sur les notices */
.woocommerce-message:focus,
.woocommerce-error:focus,
.woocommerce-info:focus,
.woocommerce-message:focus-visible,
.woocommerce-error:focus-visible,
.woocommerce-info:focus-visible {
    outline: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

/* Icônes des notices */
.woocommerce-message::before,
.woocommerce-error::before,
.woocommerce-info::before {
    font-size: 24px !important;
    position: absolute !important;
    left: 14px !important;
    top: 14px !important;
    display: block !important;
    line-height: 1 !important;
}

.woocommerce-message::before {
    content: '✓' !important;
    color: #22c55e !important;
    font-weight: bold !important;
}

.woocommerce-error::before {
    content: '⚠' !important;
    color: #ef4444 !important;
}

.woocommerce-info::before {
    content: 'ℹ' !important;
    color: #41aad4 !important;
    font-weight: bold !important;
}

/* Liste d'erreurs */
.woocommerce-error li {
    margin-bottom: 8px !important;
    padding-left: 0 !important;
}

.woocommerce-error li:last-child {
    margin-bottom: 0 !important;
}

/* Bouton dans les notices */
.woocommerce-message .button,
.woocommerce-error .button,
.woocommerce-info .button,
.woocommerce-message a.button,
.woocommerce-error a.button,
.woocommerce-info a.button {
    background: #41aad4 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    display: inline-block !important;
    margin-left: 15px !important;
    vertical-align: middle !important;
}

.woocommerce-message .button:hover,
.woocommerce-error .button:hover,
.woocommerce-info .button:hover,
.woocommerce-message a.button:hover,
.woocommerce-error a.button:hover,
.woocommerce-info a.button:hover {
    background: #3498db !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(65, 170, 212, 0.4) !important;
}

.cookie-law-info-bar {
    z-index: 9999999;
}

/* ========================================
   SHOP SPECIAL MESSAGE
   ======================================== */

#shop_special_message {
    display: block;
    text-align: center;
    padding: 14px 0;
    border-bottom: solid 1px #eee;
}

#shop_special_message a {
    color: black!important;

}

#shop_special_message a:hover {
text-decoration: none;
}

#shop_special_message ._title {

}

#shop_special_message ._logo {
    color: #41aad4;
    font-family: 'Pacifico', cursive;
    font-size: 22px;
}

#shop_special_message a {
    color: white;
    font-size: 18pt;
}

#shop_special_message .btn {
    display: inline-block;
       padding: 9px 14px;
   box-shadow: 0px 0px 5px 0px #41aad4;
   line-height: 1.25;
   background: #41aad4;
   text-decoration: none;
   color: white!important;
   font-size: 22px!important;
   text-transform: uppercase;
   position: relative;
   overflow: hidden;
    margin-top: 13px;
    font-weight: bold;
    border-radius: 10px;
}

#shop_special_message .btn span {
    font-size: 26px;
}

#shop_special_message .btn:hover {
    display: inline-block;
       padding: 9px 14px;
   box-shadow: 0px 0px 15px 0px #41aad4;
   line-height: 1.25;
   background: #41aad4;
   text-decoration: none;
   color: white!important;
   font-size: 16px;
   text-transform: uppercase;
   position: relative;
   overflow: hidden;
    margin-top: 13px;
    font-weight: bold;
    border-radius: 10px;
}

/* ========================================
   HEADER & NAVIGATION - DESKTOP
   ======================================== */

@media screen and (min-width: 1025px) {
.site-branding {
    float: none!important;
}

.site-branding .text-logo {
    float: none!important;
    text-align: center!important;
}

.main-navigation {
    float: none;
}

#primary-menu {
    text-align: center;
}

#primary-menu > li {
    text-align: left;
    float: none;
    display: inline-block;
}

#site-navigation {
    margin-top: .8em;
}

.header-b {
    padding-top: .9em!important;
    padding-bottom: .3em!important;
}
}

/* ========================================
   MENU ITEM COLORS & EFFECTS
   ======================================== */

.menu-item-10571 a{
    color: red!important;
}

#primary-menu .menu-item-23264 a {
      color: darkorange;
  text-shadow: 0 0 5px #fff, 0 0 3px #fff, 0 0 5px #fff, 0 0 4px darkorange, 0 0 6px darkorange;
}

#primary-menu .menu-item-20496 a {
        color: #41aad4;
  text-shadow: 0 0 10px #cff1ff, 0 0 5px #cff1ff, 0 0 10px #cff1ff, 0 0 8px #cff1ff;
}

#primary-menu .menu-item-19502 a {
      color: green;
  text-shadow: 0 0 5px #fff, 0 0 3px #fff, 0 0 10px #fff, 0 0 6px gold, 0 0 8px gold;
}

#primary-menu .menu-item-19460 a {
      color: darkorange;
  text-shadow: 0 0 5px #fff, 0 0 3px #fff, 0 0 5px #fff, 0 0 4px darkorange, 0 0 6px darkorange;
}

#primary-menu .menu-item-17051 a {
      color: green;
  text-shadow: 0 0 5px #fff, 0 0 3px #fff, 0 0 5px #fff, 0 0 4px lightgreen, 0 0 6px lightgreen;
}

#primary-menu .menu-item-17935 a {
          color: peru;
  text-shadow: 0 0 5px #fff, 0 0 3px #fff, 0 0 5px #fff, 0 0 6px peru, 0 0 8px peru;
}

#primary-menu .menu-item-11099 a, #primary-menu .menu-item-14196 a {
      color: green;
  text-shadow: 0 0 5px #fff, 0 0 3px #fff, 0 0 5px #fff, 0 0 4px lightgreen, 0 0 6px lightgreen;
}

#primary-menu .menu-item-16444 a {
      color: #e6c619;
  text-shadow: 0 0 5px #fff, 0 0 3px #fff, 0 0 5px #fff, 0 0 6px gold, 0 0 8px gold;
}

#primary-menu .menu-item-12033 a {
    color: #41aad4;
  text-shadow: 0 0 5px #cff1ff, 0 0 3px #cff1ff, 0 0 5px #cff1ff, 0 0 4px #cff1ff;
}

#primary-menu .menu-item-9616 a {
        color: #f28c00; /* orange doux */
}

@media(min-width: 1200px) {

    #primary-menu .menu-item-9616 a {
        background-color: #ffefd4; /* orange très clair */
        color: #f28c00; /* orange doux */
        padding: 6px 14px;
        border-radius: 20px;
        font-weight: bold;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        box-shadow: 0 2px 4px rgba(242, 140, 0, 0.2);
        transition: background-color 0.3s, transform 0.2s;
    }

    #primary-menu  .menu-item-9616 a:hover {
        background-color: #ffd28a;
        transform: scale(1.05);
    }

}

/* ========================================
   SUBMENU ICONS
   ======================================== */

@media screen and (min-width: 1200px) {
/*#primary-menu li.menu-item-9616:after {
  content: "Nouveau !";
  z-index: 1;
  overflow: hidden;
  font-size: 10px;
  font-weight: bold;
    font-family: Arial;
  color: rgba(71,171,208, 1);
  text-transform: uppercase;
  text-align: center;
  line-height: 13px;
  display: block;
  border: solid 1px rgba(71,171,208, 1);
  position: absolute;
    top:-9px;
    right: -40px;
    padding: 0px 5px;
    border-radius: 100px;
}*/

        .menu-item-2149 ul.sub-menu > li > a, .menu-item-918 ul.sub-menu > li > a {
    padding: 8px 8px;
    }

    .menu-item-918 ul.sub-menu {
        width: 220px;
    }
}

@media screen and (max-width: 1023px) {
    .menu-item-2149 ul.sub-menu > li > a::before, .menu-item-918 ul.sub-menu > li > a::before {
        filter: invert(0)!important;
    }
}

ul.sub-menu > li.menu-item-14243 a::before {
    height: 24px;
    width: 24px;
    content: '';
    background: url('/wp-content/themes/preschool-and-kindergarten/images/icone-alphabet.png') no-repeat;
    background-size: cover;
    float: left;
    margin-right: 8px;
    filter: invert(1);
}

ul.sub-menu > li.menu-item-12091 a::before {
    height: 24px;
    width: 24px;
    content: '';
    background: url('/wp-content/themes/preschool-and-kindergarten/images/icone-calendrier.png') no-repeat;
    background-size: cover;
    float: left;
    margin-right: 8px;
    filter: invert(1);
}

ul.sub-menu > li.menu-item-8300 a::before {
    height: 24px;
    width: 24px;
    content: '';
    background: url('/wp-content/themes/preschool-and-kindergarten/images/icone-fleur.png') no-repeat;
    background-size: cover;
    float: left;
    margin-right: 8px;
    filter: invert(1);
}

ul.sub-menu > li.menu-item-8618 a::before {
    height: 24px;
    width: 24px;
    content: '';
    background: url('/wp-content/themes/preschool-and-kindergarten/images/icone-soleil.png') no-repeat;
    background-size: cover;
    float: left;
    margin-right: 8px;
    filter: invert(1);
}

ul.sub-menu > li.menu-item-8393 a::before {
    height: 24px;
    width: 24px;
    content: '';
    background: url('/wp-content/themes/preschool-and-kindergarten/images/icone-feuille.png') no-repeat;
    background-size: cover;
    float: left;
    margin-right: 8px;
    filter: invert(1);
}

ul.sub-menu > li.menu-item-4885 a::before {
    height: 24px;
    width: 24px;
    content: '';
    background: url('/wp-content/themes/preschool-and-kindergarten/images/icone-flocon.png') no-repeat;
    background-size: cover;
    float: left;
    margin-right: 8px;
    filter: invert(1);
}

ul.sub-menu > li.menu-item-8980 a::before {
    height: 24px;
    width: 24px;
    content: '';
    background: url('/wp-content/themes/preschool-and-kindergarten/images/icone-oeuf.png') no-repeat;
    background-size: cover;
    float: left;
    margin-right: 8px;
    filter: invert(1);
}

ul.sub-menu > li.menu-item-4147 a::before {
    height: 24px;
    width: 24px;
    content: '';
    background: url('/wp-content/themes/preschool-and-kindergarten/images/icone-citrouille.png') no-repeat;
    background-size: cover;
    float: left;
    margin-right: 8px;
    filter: invert(1);
}

ul.sub-menu > li.menu-item-4530 a::before {
    height: 24px;
    width: 24px;
    content: '';
    background: url('/wp-content/themes/preschool-and-kindergarten/images/icone-noel.png') no-repeat;
    background-size: cover;
    float: left;
    margin-right: 8px;
    filter: invert(1);
}

ul.sub-menu > li.menu-item-14208 a::before {
    height: 24px;
    width: 24px;
    content: '';
    background: url('/wp-content/themes/preschool-and-kindergarten/images/icone-musique.png') no-repeat;
    background-size: cover;
    float: left;
    margin-right: 8px;
    filter: invert(1);
}

ul.sub-menu > li.menu-item-2148 a::before {
    height: 24px;
    width: 24px;
    content: '';
    background: url('/wp-content/themes/preschool-and-kindergarten/images/icone-escargot.png') no-repeat;
    background-size: cover;
    float: left;
    margin-right: 8px;
    filter: invert(1);
}

ul.sub-menu > li.menu-item-14206 a::before {
    height: 24px;
    width: 24px;
    content: '';
    background: url('/wp-content/themes/preschool-and-kindergarten/images/icone-insecte.png') no-repeat;
    background-size: cover;
    float: left;
    margin-right: 8px;
    filter: invert(1);
}

ul.sub-menu > li.menu-item-5458 a::before {
    height: 24px;
    width: 24px;
    content: '';
    background: url('/wp-content/themes/preschool-and-kindergarten/images/icone-abeille.png') no-repeat;
    background-size: cover;
    float: left;
    margin-right: 8px;
    filter: invert(1);
}

ul.sub-menu > li.menu-item-8959 a::before {
    height: 24px;
    width: 24px;
    content: '';
    background: url('/wp-content/themes/preschool-and-kindergarten/images/icone-papillon.png') no-repeat;
    background-size: cover;
    float: left;
    margin-right: 8px;
    filter: invert(1);
}

ul.sub-menu > li.menu-item-8979 a::before {
    height: 24px;
    width: 24px;
    content: '';
    background: url('/wp-content/themes/preschool-and-kindergarten/images/icone-peinture.png') no-repeat;
    background-size: cover;
    float: left;
    margin-right: 8px;
    filter: invert(1);
}

ul.sub-menu > li.menu-item-15569 a::before {
    height: 24px;
    width: 24px;
    content: '';
    background: url('/wp-content/themes/preschool-and-kindergarten/images/icone-fusee.png') no-repeat;
    background-size: cover;
    float: left;
    margin-right: 8px;
    filter: invert(1);
}

ul.sub-menu > li.menu-item-16923 a::before {
    height: 24px;
    width: 24px;
    content: '';
    background: url('/wp-content/themes/preschool-and-kindergarten/images/icone-ecole.png') no-repeat;
    background-size: cover;
    float: left;
    margin-right: 8px;
    filter: invert(1);
}

ul.sub-menu > li.menu-item-17055 a::before {
    height: 24px;
    width: 24px;
    content: '';
    background: url('/wp-content/themes/preschool-and-kindergarten/images/icone-bonhomme.png') no-repeat;
    background-size: cover;
    float: left;
    margin-right: 8px;
    filter: invert(1);
}

ul.sub-menu > li.menu-item-17417 a::before {
    height: 24px;
    width: 24px;
    content: '';
    background: url('/wp-content/themes/preschool-and-kindergarten/images/image.png') no-repeat;
    background-size: cover;
    float: left;
    margin-right: 8px;
    filter: invert(1);
}

ul.sub-menu > li.menu-item-17418 a::before {
    height: 24px;
    width: 24px;
    content: '';
    background: url('/wp-content/themes/preschool-and-kindergarten/images/art.png') no-repeat;
    background-size: cover;
    float: left;
    margin-right: 8px;
    filter: invert(1);
}

ul.sub-menu > li.menu-item-17420 a::before {
    height: 24px;
    width: 24px;
    content: '';
    background: url('/wp-content/themes/preschool-and-kindergarten/images/calendrier.png') no-repeat;
    background-size: cover;
    float: left;
    margin-right: 8px;
    filter: invert(1);
}

ul.sub-menu > li.menu-item-17421 a::before {
    height: 24px;
    width: 24px;
    content: '';
    background: url('/wp-content/themes/preschool-and-kindergarten/images/formes.png') no-repeat;
    background-size: cover;
    float: left;
    margin-right: 8px;
    filter: invert(1);
}

ul.sub-menu > li.menu-item-17422 a::before {
    height: 24px;
    width: 24px;
    content: '';
    background: url('/wp-content/themes/preschool-and-kindergarten/images/musique.png') no-repeat;
    background-size: cover;
    float: left;
    margin-right: 8px;
    filter: invert(1);
}

ul.sub-menu > li.menu-item-17423 a::before {
    height: 24px;
    width: 24px;
    content: '';
    background: url('/wp-content/themes/preschool-and-kindergarten/images/crayon.png') no-repeat;
    background-size: cover;
    float: left;
    margin-right: 8px;
    filter: invert(1);
}

ul.sub-menu > li.menu-item-17424 a::before {
    height: 24px;
    width: 24px;
    content: '';
    background: url('/wp-content/themes/preschool-and-kindergarten/images/livre.png') no-repeat;
    background-size: cover;
    float: left;
    margin-right: 8px;
    filter: invert(1);
}


ul.sub-menu > li.menu-item-17425 a::before {
    height: 24px;
    width: 24px;
    content: '';
    background: url('/wp-content/themes/preschool-and-kindergarten/images/de.png') no-repeat;
    background-size: cover;
    float: left;
    margin-right: 8px;
    filter: invert(1);
}


ul.sub-menu > li.menu-item-17426 a::before {
    height: 24px;
    width: 24px;
    content: '';
    background: url('/wp-content/themes/preschool-and-kindergarten/images/decoupage.png') no-repeat;
    background-size: cover;
    float: left;
    margin-right: 8px;
    filter: invert(1);
}

ul.sub-menu > li.menu-item-17427 a::before {
    height: 24px;
    width: 24px;
    content: '';
    background: url('/wp-content/themes/preschool-and-kindergarten/images/cle.png') no-repeat;
    background-size: cover;
    float: left;
    margin-right: 8px;
    filter: invert(1);
}

ul.sub-menu > li.menu-item-17428 a::before {
    height: 24px;
    width: 24px;
    content: '';
    background: url('/wp-content/themes/preschool-and-kindergarten/images/puzzle.png') no-repeat;
    background-size: cover;
    float: left;
    margin-right: 8px;
    filter: invert(1);
}


ul.sub-menu > li.menu-item-17429 a::before {
    height: 24px;
    width: 24px;
    content: '';
    background: url('/wp-content/themes/preschool-and-kindergarten/images/cuisine.png') no-repeat;
    background-size: cover;
    float: left;
    margin-right: 8px;
    filter: invert(1);
}

ul.sub-menu > li.menu-item-17419 a::before {
    height: 24px;
    width: 24px;
    content: '';
    background: url('/wp-content/themes/preschool-and-kindergarten/images/autres.png') no-repeat;
    background-size: cover;
    float: left;
    margin-right: 8px;
    filter: invert(1);
}

ul.sub-menu > li.menu-item-21050 a::before {
    height: 24px;
    width: 24px;
    content: '';
    background: url('/wp-content/themes/preschool-and-kindergarten/images/car.png') no-repeat;
    background-size: cover;
    float: left;
    margin-right: 8px;
    filter: invert(1);
}

/* ========================================
   SEARCH
   ======================================== */

#branding-search {
    display: inline-block;
    float: right;
    margin-bottom: 0;
    display: none;
}

#branding-search form {
    padding: 13px 20px;
    width: 280px;
    margin-top: -3px;
}

.site-title {
    display:inline-block!important;
    clear: none;
}

/* ========================================
   BLOG CATEGORY
   ======================================== */

body.category-blog.archive article {
    display: flex;
    align-items: center;
}

body.category-blog.archive article a.post-thumbnail {
    width: 400px;
    margin-right: 30px!important;
    margin-top: 14px!important;
}

article.category-blog .yarpp {
    display: none;
}

/* ========================================
   PRODUCTS IN POST LIST
   ======================================== */

#main div.post-list-wrapper article.product a {
    display: block;
    height: 100%;
    margin-bottom: 18px;
}

#main div.post-list-wrapper article.product div.entry-content {
    display: none;
}

.format-papier {
    display: inline-block;
    padding: .1rem .4rem;
    border-radius: 5px;
    margin: .2rem 0 0 0;
    border: solid 1px #801000;
    color: #801000;
    cursor: default;
}

.format-numerique {
    display: inline-block;
    padding: .1rem .4rem;
    border-radius: 5px;
    margin: .2rem 0 0 0;
    border: solid 1px #100080;
    color: #100080;
    cursor: default;
}

body.woocommerce-page span.loop-price .woocommerce-Price-amount:last-child {
    display: none;
}

body.woocommerce-page span.loop-price .woocommerce-Price-amount:first-child {
    display: block;
}

/* ========================================
   YARPP (Related Posts)
   ======================================== */

.yarpp-template-thumbnails {
    border: solid 1px #ddd;
    border-radius: 10px;
    padding: .3rem 1rem;
    box-shadow: 0px 0px 10px#ddd
}

.yarpp-template-thumbnails h3 {
    font-size: 1.5rem!important;
    text-transform: none;
    margin-bottom: 0!important;
}

.yarpp-thumbnails-horizontal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

.yarpp-thumbnail-title {
    display: none;
}

.yarpp-thumbnail {
    height: auto!important;
}


@media screen and (max-width: 400px) {
    .yarpp-thumbnails-horizontal {
        flex-direction: column;
        flex-wrap: wrap!important;
    }
}

/* ========================================
   SHARING
   ======================================== */

.addtoany_share_save_container {
    display: flex;
    align-items: center;
    justify-content: end;
}

.addtoany_header {
    margin-bottom: 5px;
    margin-right: 1rem;
}

/* ========================================
   MISCELLANEOUS
   ======================================== */

.border-around img {
    border: solid 1px #ccc;
}

/* ========================================
   WOOCOMMERCE SHOP PAGE
   ======================================== */

.woocommerce-shop #content {
    padding-top: 0;
}

.woocommerce-shop #content #primary {
    padding: 0;
}

/* ========================================
   GRILLE DE PRODUITS - PLEINE LARGEUR
   ======================================== */

.woocommerce-shop .woocommerce ul.products,
.woocommerce-page ul.products {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    padding: 0 15px 20px 15px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: 100vw;
}

.woocommerce-shop .woocommerce ul.products:before,
.woocommerce-page ul.products:before {
    content: none;
}

/* Responsive - 2 colonnes tablette */
@media(min-width: 768px) {
    .woocommerce-shop .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        padding: 25px 30px;
    }
}

/* Responsive - 4 colonnes desktop */
@media(min-width: 1024px) {
    .woocommerce-shop .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
        padding: 30px 40px;
    }
}

/* Responsive - 5 colonnes grand écran */
@media(min-width: 1400px) {
    .woocommerce-shop .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(5, 1fr);
        gap: 35px;
        padding: 30px 50px;
    }
}

/* ========================================
   CARTE PRODUIT - DESIGN ÉPURÉ ET ÉLÉGANT
   ======================================== */

.woocommerce-shop .woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    float: none;
    margin: 0!important;
    padding: 0!important;
    width: 100%!important;
    position: relative;
    display: flex;
}

/* Carte principale */
.mm-product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
}

.mm-product-card:hover {
    box-shadow: 0 12px 35px rgba(65, 170, 212, 0.2);
}

/* Image du produit */
.mm-product-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f8f9fa;
    position: relative;
}

.mm-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Titre du produit */
.mm-product-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.4;
    color: #2c3e50;
    margin: 0;
    padding: 16px 16px 12px 16px;
    font-weight: 600;
    min-height: 62px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
}

/* Formats/Déclinaisons */
.mm-product-formats {
    display: flex;
    gap: 6px;
    padding: 0 12px 16px 12px;
    justify-content: space-between;
    margin-top: auto;
}

.mm-format-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px 4px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.2s ease;
    min-height: 50px;
}

.mm-format-item:hover {
    border-color: #41aad4;
    background: #f8f9fa;
}

.mm-simple-price {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 8px 4px;
}

.mm-simple-price .mm-format-price {
    font-size: 20px;
    font-weight: 800;
    color: #41aad4;
}

.mm-format-label {
    font-size: 9px;
    font-weight: 600;
    line-height: 1.1;
    color: #6c757d;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.mm-format-price {
    font-size: 17px;
    font-weight: 800;
    white-space: nowrap;
    line-height: 1;
}

.mm-format-pdf .mm-format-price {
    color: #5eb3d4;
}

.mm-format-kit .mm-format-price {
    color: #e88ba8;
}

.mm-format-livre .mm-format-price {
    color: #b19cd9;
}

/* Badge promo */
.woocommerce ul.products li.product .onsale {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff5252;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(255, 82, 82, 0.3);
}

/* Responsive */
@media(max-width: 768px) {
    .mm-product-title {
        font-size: 15px;
        padding: 14px 14px 10px 14px;
        min-height: 58px;
    }

    .mm-product-formats {
        padding: 0 10px 14px 10px;
        gap: 5px;
    }

    .mm-format-item {
        padding: 8px 4px;
    }

    .mm-format-label {
        font-size: 9px;
    }

    .mm-format-price {
        font-size: 14px;
    }
}

/* Ajustement pour les vieux styles (compatibilité) */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 18px;
    padding-bottom: 0;
}

.woocommerce-page a.add_to_cart_button {
    color: #41aad4;
    background: none;
    border: solid 1px #41aad4;
    padding: 3px;
}

.shop-footer-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(45deg, #f8f9fa 33.33%, transparent 33.33%) 0 0,
                linear-gradient(-45deg, #f8f9fa 33.33%, transparent 33.33%) 0 0;
    background-size: 30px 100%;
    background-repeat: repeat-x;
}

.shop-footer-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    max-width: 100vw;
    padding: 10px 40px 10px 40px;
    margin: 0 auto;
    margin-top: 20px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: #f8f9fa;
    align-items: center;
}

.shop-top-zone,
.shop-bottom-zone {
    display: flex;
    flex-direction: row;
    margin: 0;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    height: 100%;
    gap: 0;
}

.shop-top-zone .shop-top-zone-left,
.shop-bottom-zone .shop-top-zone-left {
    margin-bottom: 0;
    margin-right: -25px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

/* Effet Polaroid */
.polaroid-frame {
    background: #fafaf8;
    padding: 8px;
    padding-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: rotate(-3deg) translateY(-15px);
    position: relative;
    border: 1px solid #e8e8e6;
    max-width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.polaroid-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0) 50%,
        rgba(0, 0, 0, 0.02) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.polaroid-frame img {
    display: block;
    width: 100px;
    height: auto;
    border: 1px solid #f0f0ee;
    position: relative;
    z-index: 2;
}

.polaroid-caption {
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 50px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.polaroid-name {
    font-family: "Pacifico", cursive;
    font-size: 16px;
    color: #41aad4;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.polaroid-title {
    font-size: 9px;
    color: #5a5a5a;
    text-align: center;
    line-height: 1.3;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.shop-top-zone .shop-top-zone-right,
.shop-bottom-zone .shop-top-zone-right {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    padding: 12px 18px 5px 18px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: rotate(0deg);
    position: relative;
    border: 8px solid #fff;
    outline: 1px solid #e8e8e6;
}

.shop-top-zone .shop-top-zone-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0) 50%,
        rgba(0, 0, 0, 0.02) 100%
    );
    pointer-events: none;
    border-radius: 8px;
}


.shop-top-zone .shop-top-zone-right p,
.shop-bottom-zone .shop-top-zone-right p {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 8px;
    color: #495057;
    position: relative;
    z-index: 1;
}

.shop-top-zone .shop-top-zone-right h3,
.shop-bottom-zone .shop-top-zone-right h3 {
    font-family: "Pacifico";
    color: #41aad4;
    font-size: 26px;
    text-align: center;
    font-weight: 400;
    user-select: none;
    line-height: 1.2;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.shop-top-zone .shop-top-zone-right h4,
.shop-bottom-zone .shop-top-zone-right h4 {
    font-family: "Pacifico";
    color: #41aad4;
    text-align: center;
    font-size: 20px;
    user-select: none;
    margin-top: 5px;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

ul.products.columns-2 {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.shop-category-title {
    text-align: center;
    margin: 0 0 15px 0;
    position: relative;
}

.shop-category-title:first-child {
    margin-top: 80px !important;
}

@media (max-width: 768px) {
    .shop-category-title:first-child {
        margin-top: 60px !important;
    }
}

.shop-category-title h5 {
    font-size: 36px;
    font-weight: 400;
    font-family: "Pacifico", cursive;
    color: #41aad4;
    text-align: center;
    margin: 0 auto;
    padding: 0 20px;
    user-select: none;
    display: inline-block;
    position: relative;
    z-index: 2;
    background: transparent;
    transform: translateY(17px);
    text-shadow:
        -4px -4px 0 #fff,
        4px -4px 0 #fff,
        -4px 4px 0 #fff,
        4px 4px 0 #fff,
        -4px 0 0 #fff,
        4px 0 0 #fff,
        0 -4px 0 #fff,
        0 4px 0 #fff,
        -3px -3px 0 #fff,
        3px -3px 0 #fff,
        -3px 3px 0 #fff,
        3px 3px 0 #fff,
        -2px -2px 0 #fff,
        2px -2px 0 #fff,
        -2px 2px 0 #fff,
        2px 2px 0 #fff;
}

.shop-category-title h5:last-child {
    margin-bottom: 32px;
}

.shop-category-description {
    font-size: 13px;
    line-height: 1.6;
    color: #495057;
    text-align: center;
    max-width: 950px;
    margin: 0 auto;
    padding: 35px 30px 12px 30px;
    font-style: normal;
    background: rgba(65, 170, 212, 0.06);
    border-left: 3px solid #41aad4;
    border-radius: 25px;
    position: relative;
    z-index: 1;
}

.shop-category-description strong {
    color: #41aad4;
    font-weight: 700;
}

.shop-category-description em {
    color: #2d3748;
    font-style: italic;
    font-weight: 500;
}

/* Pas de texture - papier propre */
.shop-category-title h5::before {
    content: none;
}

.shop-category-title h5::after {
    content: none;
}

/* ========================================
   ZONE DE RÉASSURANCE
   ======================================== */

.shop-reassurance {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 50px;
    margin: 0;
    padding: 20px 30px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.reassurance-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.reassurance-item > span,
.reassurance-logos-title {
    margin-top: auto;
}

.reassurance-item:first-child {
    justify-self: end;
}

.reassurance-item:last-child {
    justify-self: start;
}

.reassurance-item svg {
    width: auto;
    height: 40px;
    flex-shrink: 0;
    object-fit: contain;
}

.reassurance-item span {
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    white-space: nowrap;
}

.reassurance-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    border: none;
}

.reassurance-logos-title {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #6c757d;
    text-transform: none;
    letter-spacing: 0.5px;
    order: 2;
}

.reassurance-logos-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.reassurance-logos img {
    height: 26px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.reassurance-logos img:hover {
    opacity: 1;
}

@media(max-width: 1024px) {
    .shop-footer-wrapper {
        grid-template-columns: 1fr;
        padding: 15px;
        gap: 15px;
    }

    .shop-top-zone,
    .shop-bottom-zone {
        flex-direction: column;
    }

    .shop-top-zone .shop-top-zone-left,
    .shop-bottom-zone .shop-top-zone-left {
        margin-bottom: 12px;
    }
}

@media(max-width: 768px) {
    .polaroid-frame {
        display: none !important;
    }

    .shop-reassurance {
        display: flex !important;
        flex-direction: column;
        gap: 15px;
        padding: 20px 15px;
    }

    .reassurance-item {
        gap: 6px;
    }

    .reassurance-item svg {
        height: 30px;
    }

    .reassurance-item span {
        font-size: 11px;
    }

    .reassurance-logos-title {
        font-size: 11px !important;
    }

    .reassurance-logos-grid {
        gap: 6px;
    }

    .reassurance-logos img {
        height: 18px;
    }
}

@media(min-width: 576px) {
    .shop-category-title h5 {
        font-size: 44px;
        padding: 0 30px;
        transform: translateY(19px);
    }

    .shop-category-description {
        font-size: 14px;
        padding: 40px 30px 14px 30px;
    }
}

#primary .site-main {
    padding-right: 0;
}

/* Supprime le padding-bottom sur la page boutique */
.woocommerce-shop #content,
.woocommerce-page #content {
    padding-bottom: 0;
}

/* ========================================
   DOWNLOAD BUTTONS
   ======================================== */

/* Cible ton lien "Télécharger le fichier" */
.download a {
  background: linear-gradient(135deg, #65A9CD, #5CA0C4);
  border: none;
  border-radius: 999px;
  padding: 12px 28px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease, transform 0.2s ease;
}

/* Hover effet */
.download a:hover {
  background: linear-gradient(135deg, #74b5d8, #65A9CD);
  transform: translateY(-2px);
}

/* Survol : animation subtile de l'icône */
.download a:hover::before {
  transform: translateY(2px);
}

/* ========================================
   CONSEIL MM ZONE
   ======================================== */

.zone-conseil-mm {
  border: 2px solid #41aad4;
  padding: 15px;
  border-radius: 5px;
  margin: 30px 30px;
  color: #41aad4;
  font-family: Arial, sans-serif;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.zone-conseil-mm > div:first-child {
    font-size: 30px;
}

.zone-conseil-mm strong {
    font-family: 'Pacifico';
    font-size: 20px;
    display: block;
    margin-bottom: 0.6rem;
}

/* ========================================
   PRODUCT ARCHIVE PRICE FIX
   ======================================== */

.post-type-archive-product .loop-price > span {
    display: none;
}

/* ========================================
   FLOATING CART BUTTON
   ======================================== */

.floating-cart-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #41aad4, #3498db);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    box-shadow:
        0 8px 25px rgba(65, 170, 212, 0.3),
        0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 9999;
    cursor: pointer;
    text-decoration: none;
}

.floating-cart-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 12px 35px rgba(65, 170, 212, 0.4),
        0 6px 15px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.floating-cart-button .fa-shopping-cart {
    position: relative;
    z-index: 1;
}

.floating-cart-button .cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .floating-cart-button {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 22px;
    }

    .floating-cart-button .cart-count {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }
}

/* ========================================
   SINGLE PRODUCT PAGE
   ======================================== */

/* Bouton retour */
.single-product .back-to-shop,
.woocommerce-cart .back-to-shop,
.woocommerce-checkout .back-to-shop {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 18px;
    background: transparent;
    color: #41aad4;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #41aad4;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.single-product .back-to-shop:hover,
.woocommerce-cart .back-to-shop:hover,
.woocommerce-checkout .back-to-shop:hover {
    background: #41aad4;
    color: #fff;
    text-decoration: none;
    transform: translateX(-3px);
}

/* Masquer le partage social */
.single-product .addtoany_header,
.single-product .a2a_kit,
.single-product .addtoany_share_save_container {
    display: none !important;
}

/* Layout général - Flexbox */
/* Conteneur principal qui contient gallery + summary + tabs */
.single-product div.product {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 40px !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
}

/* Image : 35% de l'espace */
.single-product .woocommerce-product-gallery {
    flex: 0 0 35% !important;
    width: 35% !important;
    max-width: 35% !important;
    float: none !important;
}

/* Description : 65% de l'espace */
.single-product .summary {
    flex: 1 !important;
    max-width: none !important;
    width: auto !important;
    float: none !important;
}

/* Tabs: prend toute la largeur en dessous */
.single-product .woocommerce-tabs {
    flex: 0 0 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    text-align: left !important;
}

/* Titre du produit */
.single-product .product_title {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #2d3748 !important;
    margin-bottom: 24px !important;
    line-height: 1.3;
}

/* Évaluation */
.single-product .woocommerce-product-rating {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.single-product .woocommerce-product-rating .star-rating {
    margin: 0;
}

.single-product .woocommerce-product-rating .woocommerce-review-link {
    font-size: 14px;
    color: #718096;
    text-decoration: none;
}

.single-product .woocommerce-product-rating .woocommerce-review-link:hover {
    color: #41aad4;
}

/* Prix du produit */
.single-product .price {
    font-size: 36px !important;
    font-weight: 700 !important;
    color: #2d3748 !important;
    margin-bottom: 24px !important;
    display: block !important;
}

/* Masquer le prix sur les produits à variations (car déjà affiché dans les boutons) */
.single-product .product.product-type-variable .summary .price {
    display: none !important;
}

.single-product .price del {
    font-size: 24px;
    color: #a0aec0;
    font-weight: 400;
    margin-right: 12px;
}

.single-product .price ins {
    text-decoration: none;
}

/* Stock status */
.single-product .stock {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #48bb78 !important;
    margin-bottom: 24px !important;
    display: inline-block;
    padding: 6px 12px;
    background: #f0fff4;
    border-radius: 6px;
}

.single-product .stock.out-of-stock {
    color: #f56565 !important;
    background: #fff5f5;
}

/* Description courte */
.single-product .woocommerce-product-details__short-description {
    background: #f7fafc;
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 12px;
    line-height: 1.7;
    color: #4a5568;
}

.single-product .woocommerce-product-details__short-description p {
    margin-bottom: 12px;
}

.single-product .woocommerce-product-details__short-description p:last-child {
    margin-bottom: 0;
}

.single-product .woocommerce-product-details__short-description strong {
    color: inherit;
    font-weight: 700;
}

/* Formulaire */
.single-product form.cart {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

/* Wrapper principal : étoiles à gauche, groupe quantité+bouton à droite avec gap */
.single-product form.cart .cart-actions-wrapper,
.single-product .variations_button .cart-actions-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    justify-content: flex-end;
    width: 100%;
}

/* Forcer l'ordre : étoiles en premier */
.single-product .woocommerce-product-rating {
    order: 1;
}

/* Groupe quantité + bouton : COLLÉS ensemble (gap 0) - en second */
.single-product .quantity-button-group {
    display: flex;
    align-items: center;
    gap: 8px;
    order: 2;
}

/* Wrapper du champ quantité */
.single-product form.cart .quantity-wrapper,
.single-product .variations_button .quantity-wrapper {
    display: flex;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
}

/* Zone quantité */
.single-product .quantity {
    display: flex;
    align-items: center;
    padding: 0 !important;
    margin: 0 !important;
}

/* Contrôles quantité avec boutons +/- */
.single-product .quantity-controls {
    display: flex;
    align-items: center;
    gap: 0;
    height: 56px;
}

/* Boutons +/- */
.single-product .quantity-btn {
    background: #e2e8f0 !important;
    border: 2px solid #e2e8f0 !important;
    color: #2d3748 !important;
    width: 40px !important;
    height: 56px !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

.single-product .quantity-btn.minus {
    border-radius: 8px 0 0 8px !important;
    border-right: none !important;
}

.single-product .quantity-btn.plus {
    border-radius: 0 8px 8px 0 !important;
    border-left: none !important;
}

.single-product .quantity-btn:hover {
    background: #cbd5e0 !important;
}

.single-product .quantity-btn:active {
    background: #a0aec0 !important;
}

/* Le bouton n'a pas de margin */
.single-product .single_add_to_cart_button {
    margin: 0 !important;
}

.single-product .quantity label {
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    margin-right: 12px;
}

.single-product .quantity input {
    border: 2px solid #e2e8f0 !important;
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    padding: 16px 8px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    width: 50px !important;
    height: 56px !important;
    text-align: center !important;
    color: #2d3748 !important;
    background: #fff !important;
    transition: border-color 0.2s ease !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.single-product .quantity input:focus,
.single-product .quantity input:active {
    outline: none !important;
    border-color: #e2e8f0 !important;
}

.single-product .quantity input:hover {
    border-color: #cbd5e0 !important;
}

/* Animation reflet pour le bouton */
@keyframes shine {
    0% {
        left: -50%;
    }
    100% {
        left: 150%;
    }
}

/* Bouton ajouter au panier */
.single-product .single_add_to_cart_button {
    background: #41aad4 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 16px 32px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: transform 0.2s ease !important;
    width: auto;
    height: 56px !important;
    max-width: none;
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
    order: 2;
    box-sizing: border-box !important;
}

/* Effet de reflet animé */
.single-product .single_add_to_cart_button:not(:disabled):not(.disabled)::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shine 3s ease-in-out infinite;
    transform: skewX(-25deg);
    pointer-events: none;
}

/* Bouton désactivé */
.single-product .single_add_to_cart_button:disabled,
.single-product .single_add_to_cart_button.disabled {
    background: #cbd5e0 !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

.single-product .single_add_to_cart_button .cart-icon {
    font-size: 18px;
    display: inline-block;
    position: relative;
    z-index: 1;
}

/* Texte du bouton au-dessus du reflet */
.single-product .single_add_to_cart_button {
    z-index: 0;
}

.single-product .single_add_to_cart_button > * {
    position: relative;
    z-index: 1;
}

.single-product .single_add_to_cart_button:hover {
    background: #3498db !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(65, 170, 212, 0.5);
}

.single-product .single_add_to_cart_button:hover::before {
    animation: none;
}

/* Images produit - styles supplémentaires */
.single-product .woocommerce-product-gallery {
    margin-bottom: 0;
}

.single-product .woocommerce-product-gallery__wrapper {
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.single-product .woocommerce-product-gallery__image img {
    border-radius: 12px !important;
    width: 100%;
    height: auto;
}

.single-product .flex-control-thumbs {
    margin-top: 15px !important;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.single-product .flex-control-thumbs li {
    width: auto !important;
    margin: 0 !important;
}

.single-product .flex-control-thumbs li img {
    border-radius: 12px !important;
    border: 3px solid #e0e0e0 !important;
    transition: all 0.3s ease !important;
    width: 80px !important;
    height: 80px !important;
    object-fit: cover !important;
    cursor: pointer;
}

.single-product .flex-control-thumbs li img:hover {
    border-color: #41aad4 !important;
    transform: scale(1.05);
}

.single-product .flex-control-thumbs li img.flex-active {
    border-color: #41aad4 !important;
    box-shadow: 0 4px 12px rgba(65, 170, 212, 0.3) !important;
}

/* Masquer les onglets */
.single-product .woocommerce-tabs ul.tabs {
    display: none !important;
}

/* Masquer les informations complémentaires */
.single-product .woocommerce-tabs #tab-additional_information {
    display: none !important;
}

/* Afficher tous les panneaux en flux vertical */
.single-product .woocommerce-tabs .panel {
    display: block !important;
    opacity: 1 !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 0 48px 0 !important;
    box-shadow: none !important;
    width: 100% !important;
    float: none !important;
    text-align: left !important;
}

/* ========================================
   STYLE DE LA DESCRIPTION
   ======================================== */

/* Titre principal "Description" */
.single-product .woocommerce-tabs .panel h2 {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 32px 0;
    padding-bottom: 16px;
    position: relative;
}

.single-product .woocommerce-tabs .panel h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #41aad4 0%, #5eb3d4 100%);
    border-radius: 2px;
}

/* Sous-titres (h3) */
.single-product .woocommerce-tabs .panel h3 {
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
    margin: 32px 0 16px 0;
    padding-left: 16px;
    border-left: 4px solid #41aad4;
    position: relative;
}

/* Paragraphes */
.single-product .woocommerce-tabs .panel p {
    font-size: 15px;
    line-height: 1.8;
    color: #4a5568;
    margin: 0 0 16px 0;
}

.single-product .woocommerce-tabs .panel p:last-child {
    margin-bottom: 0;
}

/* Texte en gras dans les paragraphes */
.single-product .woocommerce-tabs .panel strong {
    color: inherit;
    font-weight: 700;
}


/* Listes */
.single-product .woocommerce-tabs .panel ul,
.single-product .woocommerce-tabs .panel ol {
    margin: 0 0 20px 0;
    color: #4a5568;
}

.single-product .woocommerce-tabs .panel ul li,
.single-product .woocommerce-tabs .panel ol li {
    margin-bottom: 12px;
    line-height: 1.8;
}

/* Images dans la description */
.single-product .woocommerce-tabs .panel img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 3px solid #f7fafc;
}

/* Liens */
.single-product .woocommerce-tabs .panel a {
    color: #41aad4;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.2s ease;
}

.single-product .woocommerce-tabs .panel a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #41aad4 0%, #5eb3d4 100%);
    transition: width 0.3s ease;
}

.single-product .woocommerce-tabs .panel a:hover {
    color: #3498db;
}

.single-product .woocommerce-tabs .panel a:hover::after {
    width: 100%;
}

/* Conteneurs - styles supprimés */

/* Étoiles de notation - Simple et propre */
.single-product .summary {
    position: relative !important;
}

.single-product .woocommerce-product-rating {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    order: 1;
}

/* Étoiles */
.single-product .woocommerce-product-rating .stars {
    display: flex;
    gap: 2px;
    font-size: 18px;
    line-height: 1;
}

.single-product .woocommerce-product-rating .star.full {
    color: #FFB800;
}

.single-product .woocommerce-product-rating .star.half {
    color: #FFB800;
    opacity: 0.5;
}

.single-product .woocommerce-product-rating .star.empty {
    color: #E5E7EB;
}

/* Conteneur note + avis */
.single-product .woocommerce-product-rating .rating-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Note moyenne */
.single-product .woocommerce-product-rating .rating-average {
    font-size: 16px;
    font-weight: 600;
    color: #4a5568;
    line-height: 1;
}

/* Lien avis */
.single-product .woocommerce-product-rating .woocommerce-review-link {
    color: #6B7280 !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.single-product .woocommerce-product-rating .woocommerce-review-link:hover {
    color: #41aad4 !important;
}

/* Boutons de variation de produit */
.single-product .variations_form {
    margin-top: 0 !important;
}

.single-product .variations_form .variations {
    margin-bottom: 0 !important;
    border: none !important;
    max-width: 100%;
}

.single-product .variations_form .variations tbody {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.single-product .variations_form .variations tr {
    display: grid !important;
    grid-template-columns: 90px 1fr !important;
    align-items: center !important;
    gap: 15px !important;
    border: none !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
}

.single-product .variations_form .variations td,
.single-product .variations_form .variations th {
    padding: 0 !important;
    border: none !important;
    margin: 0 !important;
}

.single-product .variations_form .variations th {
    text-align: right !important;
    font-weight: 600 !important;
    color: #2d3748 !important;
    font-size: 15px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
}

.single-product .variations_form .variations td {
    text-align: left !important;
    position: relative !important;
}

.single-product .variations_form .variations .label {
    display: block !important;
    text-align: right !important;
    margin: 0 !important;
    font-weight: 600 !important;
    color: #2d3748 !important;
    font-size: 15px !important;
}

/* Style de tous les selects de variation (comme les inputs THWEPO) */
.single-product .variations_form .variations select {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    height: auto !important;
    background-color: #fff !important;
    color: #2d3748 !important;
    cursor: pointer !important;
    transition: border-color 0.2s ease !important;
}

.single-product .variations_form .variations select:hover {
    border-color: #cbd5e0 !important;
}

.single-product .variations_form .variations select:focus {
    outline: none !important;
    border-color: #41aad4 !important;
    box-shadow: 0 0 0 3px rgba(65, 170, 212, 0.15) !important;
}

/* Lien Effacer - Masquer */
.single-product .variations_form .reset_variations {
    display: none !important;
}

/* Style pour les boutons radio de variation */
.single-product .variations_form .variable-items-wrapper {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.single-product .variations_form .variable-item {
    position: relative;
}

.single-product .variations_form .variable-item input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.single-product .variations_form .variable-item label {
    display: block;
    padding: 12px 24px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    background: #fff;
    color: #495057;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.single-product .variations_form .variable-item input[type="radio"]:checked + label {
    background: #41aad4;
    color: #fff;
    border-color: #41aad4;
    box-shadow: 0 4px 12px rgba(65, 170, 212, 0.3);
}

.single-product .variations_form .variable-item label:hover {
    border-color: #41aad4;
    transform: translateY(-2px);
}

/* Masquer le select "format" (remplacé par des boutons JS) + masquer label + layout pleine largeur */
.single-product .variations_form .variations tr.mm-variation-format select {
    display: none !important;
}

.single-product .variations_form .variations tr.mm-variation-format th,
.single-product .variations_form .variations tr.mm-variation-format .label {
    display: none !important;
}

.single-product .variations_form .variations tr.mm-variation-format {
    display: block !important;
    grid-template-columns: none !important;
}

/* Conteneur des boutons de variation personnalisés (uniquement ligne format) */
.single-product .variations_form .variations tr.mm-variation-format td.value {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    justify-content: stretch !important;
    width: 100% !important;
}

/* Wrapper créé par JS - forcer horizontal */
.single-product .variations_form .variation-buttons-wrapper {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    justify-content: stretch !important;
    width: 100% !important;
}

/* Boutons de variation style carte produit */
.single-product .variations_form .variation-button {
    flex: 1 1 0;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    min-width: 0;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.single-product .variations_form .variation-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(65, 170, 212, 0.15);
}

.single-product .variations_form .variation-button.selected {
    border-color: #41aad4;
    background: #fff;
    box-shadow: 0 4px 12px rgba(65, 170, 212, 0.3);
}

.single-product .variations_form .variation-button.selected::after {
    content: '✓';
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: #41aad4;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Inverser l'ordre : Relié avant En kit */
.single-product .variations_form .variation-button[data-value*="kit"],
.single-product .variations_form .variation-button[data-value*="Kit"] {
    order: 3;
}

.single-product .variations_form .variation-button[data-value*="relié"],
.single-product .variations_form .variation-button[data-value*="Relié"],
.single-product .variations_form .variation-button[data-value*="relie"],
.single-product .variations_form .variation-button[data-value*="Relie"] {
    order: 2;
}

/* Conteneur du contenu (label + description) */
.single-product .variations_form .variation-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

/* Label de la variation */
.single-product .variations_form .variation-label {
    font-size: 15px;
    font-weight: 700;
    color: #2d3748;
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.3;
}

/* Description de la variation */
.single-product .variations_form .variation-description {
    font-size: 12px;
    font-weight: 400;
    color: #718096;
    line-height: 1.4;
    text-align: left;
}

/* Conteneur du prix */
.single-product .variations_form .variation-price-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    flex-shrink: 0;
}

/* Icône représentative en bas à droite */
.single-product .variations_form .variation-icon {
    position: absolute;
    bottom: 12px;
    right: 12px;
    font-size: 32px;
    color: #cbd5e0;
    opacity: 0.6;
    pointer-events: none;
}

/* Prix de la variation - couleurs selon le type */
.single-product .variations_form .variation-price {
    font-size: 24px;
    font-weight: 800;
    color: #41aad4;
    line-height: 1;
    white-space: nowrap;
}

/* Couleur spécifique pour PDF/Numérique/Papier plastifié - Bleu pastel */
.single-product .variations_form .variation-button[data-value*="Numérique"] .variation-price,
.single-product .variations_form .variation-button[data-value*="numérique"] .variation-price,
.single-product .variations_form .variation-button[data-value*="PDF"] .variation-price,
.single-product .variations_form .variation-button[data-value*="pdf"] .variation-price,
.single-product .variations_form .variation-button[data-value*="Papier"] .variation-price,
.single-product .variations_form .variation-button[data-value*="papier"] .variation-price,
.single-product .variations_form .variation-button[data-value*="imprimer"] .variation-price,
.single-product .variations_form .variation-button[data-value*="A imprimer"] .variation-price {
    color: #5eb3d4;
}

.single-product .variations_form .variation-button[data-value*="Numérique"],
.single-product .variations_form .variation-button[data-value*="numérique"],
.single-product .variations_form .variation-button[data-value*="PDF"],
.single-product .variations_form .variation-button[data-value*="pdf"],
.single-product .variations_form .variation-button[data-value*="Papier"],
.single-product .variations_form .variation-button[data-value*="papier"],
.single-product .variations_form .variation-button[data-value*="imprimer"],
.single-product .variations_form .variation-button[data-value*="A imprimer"] {
    border-left: 4px solid #5eb3d4;
    background: linear-gradient(135deg, rgba(94, 179, 212, 0.01) 0%, rgba(94, 179, 212, 0.04) 100%);
}

/* Couleur spécifique pour Kit - Rose pastel */
.single-product .variations_form .variation-button[data-value*="Kit"] .variation-price,
.single-product .variations_form .variation-button[data-value*="kit"] .variation-price,
.single-product .variations_form .variation-button[data-value*="En kit"] .variation-price {
    color: #e88ba8;
}

.single-product .variations_form .variation-button[data-value*="Kit"],
.single-product .variations_form .variation-button[data-value*="kit"],
.single-product .variations_form .variation-button[data-value*="En kit"] {
    border-left: 4px solid #e88ba8;
    background: linear-gradient(135deg, rgba(232, 139, 168, 0.01) 0%, rgba(232, 139, 168, 0.04) 100%);
}

/* Couleur spécifique pour Livre/Relié - Violet pastel */
.single-product .variations_form .variation-button[data-value*="Livre"] .variation-price,
.single-product .variations_form .variation-button[data-value*="livre"] .variation-price,
.single-product .variations_form .variation-button[data-value*="Relié"] .variation-price,
.single-product .variations_form .variation-button[data-value*="relié"] .variation-price {
    color: #b19cd9;
}

.single-product .variations_form .variation-button[data-value*="Livre"],
.single-product .variations_form .variation-button[data-value*="livre"],
.single-product .variations_form .variation-button[data-value*="Relié"],
.single-product .variations_form .variation-button[data-value*="relié"] {
    border-left: 4px solid #b19cd9;
    background: linear-gradient(135deg, rgba(177, 156, 217, 0.01) 0%, rgba(177, 156, 217, 0.04) 100%);
}

/* Section partage */
.single-product .product_meta {
    display: none;
}

.single-product div[class*="share"],
.single-product .woocommerce-product-share {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid rgba(65, 170, 212, 0.2);
}

.single-product div[class*="share"] h3,
.single-product .woocommerce-product-share h3 {
    font-size: 16px;
    color: #2d3748;
    margin-bottom: 15px;
    text-align: center;
}

.single-product div[class*="share"] a,
.single-product .woocommerce-product-share a {
    display: inline-block;
    margin: 0 8px;
    transition: transform 0.3s ease;
}

.single-product div[class*="share"] a:hover,
.single-product .woocommerce-product-share a:hover {
    transform: translateY(-3px);
}

/* Layout global de la page produit */
.single-product #primary {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.single-product .product {
    background: #fff;
}

/* Masquer la sidebar sur les pages produit */
.single-product .sidebar {
    display: none;
}

.single-product .content-area {
    width: 100%;
}

@media (max-width: 768px) {
    .woocommerce-message,
    .woocommerce-error li,
    .woocommerce-info {
        display: flex !important;
        flex-wrap: wrap !important;
    }

    .woocommerce-message .button,
    .woocommerce-message a.button,
    .woocommerce-error .button,
    .woocommerce-error a.button,
    .woocommerce-info .button,
    .woocommerce-info a.button {
        float: none !important;
        display: block !important;
        flex-basis: 100% !important;
        margin-left: 0 !important;
        margin-top: 10px !important;
    }

    .single-product .product_title {
        font-size: 28px !important;
    }

    .single-product .price {
        font-size: 26px !important;
    }

    .single-product .summary > .price,
    .single-product .summary > .stock {
        padding: 20px;
    }

    .single-product .single_add_to_cart_button {
        padding: 12px 30px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .single-product .single_add_to_cart_button .cart-text {
        display: none !important;
    }

    .single-product .single_add_to_cart_button .cart-icon {
        font-size: 20px !important;
    }

    .single-product .variations_form .variation-buttons-wrapper {
        flex-direction: column !important;
    }

    .single-product .woocommerce-product-gallery {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .single-product .flex-control-thumbs li img {
        width: 60px !important;
        height: 60px !important;
    }

    .single-product .woocommerce-product-details__short-description {
        padding: 20px;
    }

    .single-product .quantity-controls {
        height: 40px !important;
    }

    .single-product .quantity-btn.minus,
    .single-product .quantity-btn.plus {
        width: 34px !important;
        height: 40px !important;
        font-size: 16px !important;
    }

    .single-product .quantity input.qty {
        width: 50px !important;
        height: 40px !important;
        font-size: 14px !important;
        padding: 6px 8px !important;
    }

    .single-product button.single_add_to_cart_button {
        padding: 8px 18px !important;
        height: 40px !important;
    }

    .single-product button.single_add_to_cart_button .cart-text {
        display: none !important;
    }

    .single-product button.single_add_to_cart_button .cart-icon {
        font-size: 18px !important;
    }

    .single-product .variations select {
        font-size: 14px !important;
        max-width: 100% !important;
    }

    .single-product form.cart {
        padding: 20px 15px;
    }

    /* Wrapper étoiles + bouton en mode mobile - horizontal */
    .single-product form.cart .cart-actions-wrapper {
        flex-direction: row !important;
        align-items: center;
        gap: 8px;
    }

    .single-product .woocommerce-product-rating {
        order: 2;
    }

    .single-product .woocommerce-product-rating .stars {
        font-size: 12px !important;
    }

    .single-product .woocommerce-product-rating .rating-average {
        font-size: 11px !important;
    }

    .single-product .woocommerce-product-rating .woocommerce-review-link {
        font-size: 10px !important;
    }

    .single-product .variations_form .variations tr {
        grid-template-columns: 80px 1fr;
        gap: 10px;
    }

    .single-product .quantity {
        grid-template-columns: 80px 1fr !important;
        gap: 10px !important;
    }

    .single-product .cart {
        gap: 12px;
    }

    .single-product .variations_form .reset_variations {
        margin-left: 90px;
    }

    .single-product form.cart {
        padding: 15px;
    }
}

/* ========================================
   SECTION AVIS - STYLE PINTEREST
   ======================================== */

/* Conteneur principal des avis - pas de bordure */
#reviews {
    margin-top: 0 !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.woocommerce-Reviews {
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    text-align: left !important;
}

/* Titre "Avis" avec même style que "Description" */
#reviews .woocommerce-Reviews-title {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 32px 0;
    padding-bottom: 16px;
    position: relative;
    display: block !important;
    font-size: 0;
}

#reviews .woocommerce-Reviews-title::before {
    content: 'Avis clients';
    font-size: 28px;
}

#reviews .woocommerce-Reviews-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #41aad4 0%, #5eb3d4 100%);
    border-radius: 2px;
}

/* Masquer le message de restriction d'avis */
#reviews .woocommerce-verification-required,
#reviews p.woocommerce-verification-required,
#review_form_wrapper > p:first-child {
    display: none !important;
}

/* Liste des avis - Layout en grille */
.woocommerce-Reviews #comments {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    display: block !important;
}

.woocommerce-Reviews #comments ol.commentlist {
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    grid-auto-flow: dense;
}

/* Supprimer le ::before qui crée une cellule vide */
.woocommerce-Reviews #comments ol.commentlist::before {
    content: none !important;
    display: none !important;
}

.woocommerce-Reviews #comments ol.commentlist > li {
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
}

/* Empêcher les conteneurs de réponses de créer des cellules vides dans la grille */
.woocommerce-Reviews #comments ol.commentlist > .children,
.woocommerce-Reviews #comments ol.commentlist > ul.children {
    display: none !important;
}

/* Carte d'avis - Style Pinterest */
.mamaternelle-review-card {
    background: #fff;
    border: none;
    border-radius: 16px;
    padding: 24px 24px 44px 24px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: visible;
    width: 100%;
    margin: 0 !important;
    float: none !important;
}

/* Animation hover désactivée sur demande */
/* .mamaternelle-review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
} */

/* Réduire le padding-bottom quand il n'y a pas de commentaire (texte masqué) */
.mamaternelle-review-card.no-comment-text {
    padding-bottom: 24px !important;
}

/* Header de l'avis */
.mamaternelle-review-card .review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 16px;
}

/* Métadonnées de l'auteur */
.mamaternelle-review-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

/* Avatar avec initiales */
.review-author-avatar {
    flex-shrink: 0;
}

.review-author-avatar .avatar-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #41aad4 0%, #5eb3d4 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(65, 170, 212, 0.25);
}

/* Informations de l'auteur */
.review-author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.review-author-line {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.woocommerce-review__author {
    font-size: 15px;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
}

/* Badge "Client confirmé" - Masqué sur demande */
.woocommerce-review__verified,
.woocommerce-review__verified *,
.woocommerce-review__verified svg,
.verified svg,
span.verified {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

/* Date de publication */
.woocommerce-review__published-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #718096;
    font-weight: 400;
}

.woocommerce-review__published-date i {
    font-size: 12px;
    opacity: 0.6;
}

/* Rating personnalisé */
.mamaternelle-review-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.mamaternelle-review-rating .review-stars {
    display: flex;
    gap: 2px;
    font-size: 16px;
    line-height: 1;
}

.mamaternelle-review-rating .star.full {
    color: #FFB800;
}

.mamaternelle-review-rating .star.empty {
    color: #e2e8f0;
}

.mamaternelle-review-rating .review-rating-number {
    font-size: 14px;
    font-weight: 700;
    color: #4a5568;
    white-space: nowrap;
}

/* Texte du commentaire */
.mamaternelle-review-card .comment-text {
    margin: 0 !important;
    padding: 16px 20px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #f3f4f6;
}

/* Forcer les images et emojis à rester inline avec le texte */
.mamaternelle-review-card .comment-text img {
    display: inline !important;
    float: none !important;
    position: static !important;
    vertical-align: middle;
    max-width: 20px;
    height: auto;
}

/* Masquer la zone de texte quand le commentaire est vide */
.mamaternelle-review-card .comment-text:has(.description > p:empty),
.mamaternelle-review-card .comment-text:has(.description:empty) {
    display: none !important;
}

.mamaternelle-review-card .comment-text p {
    font-size: 14px;
    line-height: 1.6;
    color: #4a5568;
    margin: 0;
}

.mamaternelle-review-card .description {
    display: block;
}

.mamaternelle-review-card .description p {
    font-size: 14px;
    line-height: 1.6;
    color: #4a5568;
    margin: 0;
    display: block;
}

.mamaternelle-review-card .description img {
    display: inline !important;
    float: none !important;
    position: static !important;
    vertical-align: middle;
    max-width: 20px;
    height: auto;
}

/* Différenciation des réponses du vendeur - masquées par défaut */
.woocommerce-Reviews #comments ol.commentlist li .children.reply-collapsed,
.woocommerce-Reviews #comments ol.commentlist li ul.children.reply-collapsed {
    display: none;
}

.woocommerce-Reviews #comments ol.commentlist li .children.reply-visible,
.woocommerce-Reviews #comments ol.commentlist li ul.children.reply-visible {
    display: block;
    margin-top: 16px;
    padding-left: 0;
    list-style: none;
}

.mamaternelle-review-card.byuser {
    background: #fefcfb;
    border-left: 3px solid #ed8936;
    margin-left: 0;
    margin-top: 0;
    overflow: hidden !important;
}

.mamaternelle-review-card.byuser .avatar-initials {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    box-shadow: 0 2px 6px rgba(237, 137, 54, 0.25);
}

.mamaternelle-review-card.byuser .review-author-line::after {
    content: 'Réponse du vendeur';
    padding: 2px 8px;
    background: #ed8936;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Conteneur pour éviter que le bouton soit trop bas */
.woocommerce-Reviews .mamaternelle-review-card .comment_container {
    padding-bottom: 0 !important;
}

/* Bouton "Voir la réponse" - positionné dans la carte après le comment-text */
.woocommerce-Reviews .comment_container .view-reply-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
    margin-bottom: 0;
    padding: 0;
    background: none !important;
    border: none !important;
    color: #ed8936 !important;
    font-size: 12px !important;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: none !important;
    letter-spacing: normal !important;
    box-shadow: none !important;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

/* Remonter le bouton quand il n'y a pas de commentaire pour aligner avec le cas normal */
.mamaternelle-review-card.no-comment-text .view-reply-btn {
    margin-top: -10px !important;
}

.woocommerce-Reviews .comment_container .view-reply-btn:hover {
    color: #dd6b20 !important;
    background: none !important;
}

.woocommerce-Reviews .comment_container .view-reply-btn:hover .btn-text {
    text-decoration: underline;
}

.woocommerce-Reviews .comment_container .view-reply-btn i {
    font-size: 10px;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.woocommerce-Reviews .comment_container .view-reply-btn .btn-text {
    font-size: 12px;
}

/* Formulaire d'ajout d'avis */
#review_form_wrapper {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 2px solid #e2e8f0;
}

#review_form_wrapper .comment-reply-title {
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 24px;
}

/* Masquer le formulaire d'avis */
#review_form_wrapper {
    display: none;
}

#review_form_wrapper .comment-form {
    background: #f7fafc;
    padding: 32px;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
}

#review_form_wrapper .comment-form-rating label {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    display: block;
}

#review_form_wrapper .comment-form-comment label,
#review_form_wrapper .comment-form-author label,
#review_form_wrapper .comment-form-email label {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    display: block;
}

#review_form_wrapper .comment-form-comment textarea,
#review_form_wrapper .comment-form-author input,
#review_form_wrapper .comment-form-email input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    color: #2d3748;
    transition: all 0.2s ease;
    font-family: inherit;
}

#review_form_wrapper .comment-form-comment textarea:focus,
#review_form_wrapper .comment-form-author input:focus,
#review_form_wrapper .comment-form-email input:focus {
    outline: none;
    border-color: #41aad4;
    box-shadow: 0 0 0 3px rgba(65, 170, 212, 0.1);
}

#review_form_wrapper .form-submit input[type="submit"] {
    background: #41aad4;
    color: #fff;
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

#review_form_wrapper .form-submit input[type="submit"]:hover {
    background: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(65, 170, 212, 0.4);
}

/* Message "Aucun avis pour le moment" */
.woocommerce-noreviews {
    text-align: center;
    padding: 48px 24px;
    background: #f7fafc;
    border-radius: 16px;
    border: 2px dashed #cbd5e0;
    color: #718096;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    /* Liste en une seule colonne sur mobile */
    .woocommerce-Reviews #comments ol.commentlist {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .woocommerce-Reviews #comments ol.commentlist li {
        margin: 0 !important;
    }

    .mamaternelle-review-card {
        padding: 16px;
    }

    .mamaternelle-review-card .review-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .review-author-avatar .avatar-initials {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .woocommerce-review__author {
        font-size: 14px;
    }

    .mamaternelle-review-rating {
        padding: 5px 10px;
    }

    .mamaternelle-review-rating .review-stars {
        font-size: 14px;
    }

    .mamaternelle-review-card.byuser {
        margin-left: 0;
    }

    .mamaternelle-review-card .comment-text {
        padding: 12px 16px;
    }

    #review_form_wrapper .comment-form {
        padding: 20px;
    }
}
