/*
Theme Name: Bassein Child
Theme URI: https://votresite.com/
Description: Thème enfant pour Bassein
Author: Votre nom
Author URI: https://votresite.com
Template: bassein
Version: 1.0.0
*/

/* 
 * Ce fichier CSS ne sera chargé que sur les pages WooCommerce spécifiques :
 * - Boutique
 * - Catégorie de produit
 * - Page produit
 * - Panier
 * - Commander
 * - Order-received
 */

/* Correction du problème de chevauchement entre le titre et le menu */
.woocommerce-page .top_panel {
    margin-bottom: 0 !important;
}

.woocommerce-page .page_content_wrap {
    padding-top: 2rem !important;
}

.woocommerce-page .woocommerce-products-header {
    margin-top: 3rem !important;
}

/* Masquer la classe sc_layouts_title_caption */
.sc_layouts_title_caption {
    display: none !important;
}

/* Masquer également le conteneur du titre si nécessaire */
.sc_layouts_title {
    margin-bottom: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
}

/* Fond noir pour le menu sur les pages produit, boutique et catégories - SAUF page d'accueil */
body:not(.home) .woocommerce:not(.home) .vc_row.wpb_row.vc_row-fluid.vc_row-o-content-middle.vc_row-flex.sc_layouts_row.sc_layouts_row_type_normal.sc_layouts_row_fixed.scheme_default,
body:not(.home) .woocommerce-page:not(.home) .vc_row.wpb_row.vc_row-fluid.vc_row-o-content-middle.vc_row-flex.sc_layouts_row.sc_layouts_row_type_normal.sc_layouts_row_fixed.scheme_default,
body:not(.home) .post-type-archive-product:not(.home) .vc_row.wpb_row.vc_row-fluid.vc_row-o-content-middle.vc_row-flex.sc_layouts_row.sc_layouts_row_type_normal.sc_layouts_row_fixed.scheme_default,
body:not(.home) .tax-product_cat:not(.home) .vc_row.wpb_row.vc_row-fluid.vc_row-o-content-middle.vc_row-flex.sc_layouts_row.sc_layouts_row_type_normal.sc_layouts_row_fixed.scheme_default,
body:not(.home) .single-product:not(.home) .vc_row.wpb_row.vc_row-fluid.vc_row-o-content-middle.vc_row-flex.sc_layouts_row.sc_layouts_row_type_normal.sc_layouts_row_fixed.scheme_default {
    background-color: #000000 !important;
}

/* Correction du menu sticky - uniquement sur les pages WooCommerce - SAUF page d'accueil */
body:not(.home) .woocommerce:not(.home) .sc_layouts_row_fixed_on,
body:not(.home) .woocommerce-page:not(.home) .sc_layouts_row_fixed_on {
    position: fixed !important;
    z-index: 100000 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    padding: 0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15) !important;
    animation: sticky_menu 0.3s ease-in-out !important;
    transform: translateY(0) !important;
}

/* Animation pour le menu sticky */
@keyframes sticky_menu {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0);
    }
}

/* Ajustement de la couleur du texte dans le menu avec fond noir - uniquement sur les pages WooCommerce - SAUF page d'accueil */
body:not(.home) .woocommerce-page:not(.home) .sc_layouts_row_type_normal.sc_layouts_row_fixed a,
body:not(.home) .woocommerce-page:not(.home) .sc_layouts_row_type_normal.sc_layouts_row_fixed .sc_layouts_item_icon,
body:not(.home) .woocommerce-page:not(.home) .sc_layouts_row_type_normal.sc_layouts_row_fixed .sc_layouts_menu_nav > li > a {
    color: #ffffff !important;
}

/* Couleur au survol - SAUF page d'accueil */
body:not(.home) .woocommerce-page:not(.home) .sc_layouts_row_type_normal.sc_layouts_row_fixed a:hover,
body:not(.home) .woocommerce-page:not(.home) .sc_layouts_row_type_normal.sc_layouts_row_fixed .sc_layouts_menu_nav > li > a:hover {
    color: #2a7d8c !important;
}

/* Ajustement du titre de la boutique */
.woocommerce-products-header__title {
    clear: both !important;
    margin-top: 2rem !important;
}

/* Style pour le titre de catégorie après le menu */
.shop-category-header {
    margin-top: 150px !important;
    padding-top: 30px !important;
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10 !important;
    clear: both !important;
}

.category-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #333 !important;
    text-align: center !important;
    margin-bottom: 30px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    padding-bottom: 15px !important;
}

.category-title:after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 60px !important;
    height: 3px !important;
    background-color: #2a7d8c !important;
}

/* Masquer les fils d'Ariane (breadcrumbs), les titres de page et le panneau de titre complet */
.woocommerce .woocommerce-breadcrumb,
.woocommerce-breadcrumb,
.breadcrumbs,
.sc_layouts_title_breadcrumbs,
.woocommerce-products-header .woocommerce-breadcrumb,
.content_wrap .sc_layouts_column .sc_layouts_item .sc_layouts_title,
.sc_layouts_title_title,
.sc_layouts_title_breadcrumbs,
.top_panel_title,
.top_panel_title.sc_layouts_row,
.top_panel_title.sc_layouts_row_type_normal,
.top_panel_title.scheme_dark,
.top_panel_title.sc_layouts_row.sc_layouts_row_type_normal.scheme_dark {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Couleur de fond pour la barre de navigation supérieure */
.top_panel_navi,
.scheme_dark .top_panel_navi,
.scheme_dark.top_panel_navi,
.scheme_default .top_panel_navi,
.scheme_default.top_panel_navi,
.top_panel_default .top_panel_navi,
.scheme_dark.top_panel_default .top_panel_navi,
.top_panel .top_panel_navi,
.top_panel.top_panel_default .top_panel_navi,
.sc_layouts_row_type_compact.sc_layouts_row_fixed_on,
.sc_layouts_row_type_compact.sc_layouts_row_fixed_always,
.sc_layouts_row_type_compact.sc_layouts_row_fixed {
    background-color: #E1E5E8 !important;
    border-bottom: 1px solid #d0d5d9 !important;
}

/* Styles spécifiques pour le menu sticky */
.sc_layouts_row_fixed_on,
body .sc_layouts_row_fixed_on,
body.home .sc_layouts_row_fixed_on,
body:not(.home) .sc_layouts_row_fixed_on,
.scheme_dark .sc_layouts_row_fixed_on,
.scheme_default .sc_layouts_row_fixed_on,
.sc_layouts_row_fixed.sc_layouts_row_fixed_on {
    background-color: #E1E5E8 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

/* =Theme customization starts here
-------------------------------------------------------------- */

/* Couleurs personnalisées pour le menu du site et le panneau supérieur */
.menu_main_wrap,
.menu_main_nav_area,
.menu_mobile,
.menu_mobile_inner,
.menu_header_nav_area,
.top_panel.top_panel_default.without_bg_image.scheme_dark {
    background-color: #E1E5E8 !important;
}

/* Style spécifique pour le panneau supérieur de la page d'accueil */
.top_panel.top_panel_default.without_bg_image.scheme_dark {
    color: #093171 !important;
}

/* Correction des textes dans le panneau supérieur pour qu'ils soient lisibles sur fond gris */
.top_panel.top_panel_default.without_bg_image.scheme_dark h1,
.top_panel.top_panel_default.without_bg_image.scheme_dark h2,
.top_panel.top_panel_default.without_bg_image.scheme_dark h3,
.top_panel.top_panel_default.without_bg_image.scheme_dark h4,
.top_panel.top_panel_default.without_bg_image.scheme_dark h5,
.top_panel.top_panel_default.without_bg_image.scheme_dark h6,
.top_panel.top_panel_default.without_bg_image.scheme_dark p,
.top_panel.top_panel_default.without_bg_image.scheme_dark span,
.top_panel.top_panel_default.without_bg_image.scheme_dark a,
.top_panel.top_panel_default.without_bg_image.scheme_dark .sc_layouts_title_caption,
.top_panel.top_panel_default.without_bg_image.scheme_dark .sc_layouts_title_breadcrumbs,
.top_panel.top_panel_default.without_bg_image.scheme_dark .breadcrumbs,
.top_panel.top_panel_default.without_bg_image.scheme_dark .breadcrumbs a,
.top_panel.top_panel_default.without_bg_image.scheme_dark .breadcrumbs .breadcrumbs_delimiter {
    color: #093171 !important;
}

/* Couleur de fond pour les sous-menus */
.menu_main_nav > li ul,
.menu_mobile .menu_mobile_nav_area > ul > li ul,
.menu_header_nav > li ul,
.sc_layouts_menu_nav > li ul,
.sc_layouts_menu_popup {
    background-color: #E1E5E8 !important;
    border: 1px solid #d0d5d9 !important;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1) !important;
}

.menu_main_nav > li > a,
.menu_main_nav > li ul a,
.menu_mobile .menu_mobile_nav_area > ul > li > a,
.menu_mobile .menu_mobile_nav_area > ul > li ul a,
.menu_header_nav > li > a,
.menu_header_nav > li ul a,
.sc_layouts_menu_nav > li > a,
.sc_layouts_menu_nav > li ul a {
    color: #093171 !important;
}

.menu_main_nav > li > a:hover,
.menu_main_nav > li.sfHover > a,
.menu_main_nav > li.current-menu-item > a,
.menu_main_nav > li.current-menu-parent > a,
.menu_main_nav > li.current-menu-ancestor > a,
.menu_main_nav > li ul li a:hover,
.menu_main_nav > li ul li.sfHover > a,
.menu_main_nav > li ul li.current-menu-item > a,
.menu_main_nav > li ul li.current-menu-parent > a,
.menu_main_nav > li ul li.current-menu-ancestor > a,
.menu_mobile .menu_mobile_nav_area > ul > li > a:hover,
.menu_mobile .menu_mobile_nav_area > ul > li.sfHover > a,
.menu_mobile .menu_mobile_nav_area > ul > li.current-menu-item > a,
.menu_mobile .menu_mobile_nav_area > ul > li.current-menu-parent > a,
.menu_mobile .menu_mobile_nav_area > ul > li.current-menu-ancestor > a,
.menu_mobile .menu_mobile_nav_area > ul > li ul li a:hover,
.menu_mobile .menu_mobile_nav_area > ul > li ul li.sfHover > a,
.menu_mobile .menu_mobile_nav_area > ul > li ul li.current-menu-item > a,
.menu_mobile .menu_mobile_nav_area > ul > li ul li.current-menu-parent > a,
.menu_mobile .menu_mobile_nav_area > ul > li ul li.current-menu-ancestor > a,
.menu_header_nav > li > a:hover,
.menu_header_nav > li.sfHover > a,
.menu_header_nav > li.current-menu-item > a,
.menu_header_nav > li.current-menu-parent > a,
.menu_header_nav > li.current-menu-ancestor > a,
.menu_header_nav > li ul li a:hover,
.menu_header_nav > li ul li.sfHover > a,
.menu_header_nav > li ul li.current-menu-item > a,
.menu_header_nav > li ul li.current-menu-parent > a,
.menu_header_nav > li ul li.current-menu-ancestor > a,
.sc_layouts_menu_nav > li > a:hover,
.sc_layouts_menu_nav > li.sfHover > a,
.sc_layouts_menu_nav > li.current-menu-item > a,
.sc_layouts_menu_nav > li.current-menu-parent > a,
.sc_layouts_menu_nav > li.current-menu-ancestor > a,
.sc_layouts_menu_nav > li ul li a:hover,
.sc_layouts_menu_nav > li ul li.sfHover > a,
.sc_layouts_menu_nav > li ul li.current-menu-item > a,
.sc_layouts_menu_nav > li ul li.current-menu-parent > a,
.sc_layouts_menu_nav > li ul li.current-menu-ancestor > a {
    color: #093171 !important;
    background-color: rgba(9, 49, 113, 0.1) !important;
}

/* Style des icônes dans le menu */
.menu_main_nav > li > a span,
.menu_main_nav > li ul a span,
.menu_mobile .menu_mobile_nav_area > ul > li > a span,
.menu_mobile .menu_mobile_nav_area > ul > li ul a span,
.menu_header_nav > li > a span,
.menu_header_nav > li ul a span,
.sc_layouts_menu_nav > li > a span,
.sc_layouts_menu_nav > li ul a span {
    color: #093171 !important;
}

/* Style du menu mobile */
.menu_mobile_close,
.menu_mobile_button,
.menu_mobile_button_text {
    color: #093171 !important;
    background-color: #E1E5E8 !important;
}

.menu_mobile_close:hover,
.menu_mobile_button:hover,
.menu_mobile_button_text:hover {
    color: #093171 !important;
    background-color: rgba(9, 49, 113, 0.1) !important;
}

/* Style des boutons personnalisés */
.sc_button_title {
    display: inline-block !important;
    text-transform: uppercase !important;
    font-weight: normal !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    padding: 12px 24px !important;
    border-radius: 4px !important;
    background-color: #236A78 !important;
    color: #ffffff !important;
    text-align: center !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

/* Style spécifique pour les boutons d'action avec texte plus petit */
.sc_action_item_link.sc_button.sc_button_size_small {
    display: inline-block !important;
    text-transform: uppercase !important;
    font-weight: normal !important;
    font-size: 12px !important; /* Taille de texte réduite */
    line-height: 1.4 !important;
    padding: 10px 20px !important; /* Padding réduit */
    border-radius: 4px !important;
    background-color: #236A78 !important; /* Nouvelle couleur */
    color: #ffffff !important;
    text-align: center !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    letter-spacing: 0.3px !important; /* Espacement de lettres réduit */
    text-decoration: none !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

.sc_button_title:hover,
.sc_action_item_link.sc_button.sc_button_size_small:hover {
    background-color: #1b5761 !important; /* Couleur plus foncée au survol */
    color: #ffffff !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3) !important;
    transform: translateY(-2px) !important;
}

/* Style du pied de page - couleur de texte */
.footer_wrap,
.footer_wrap .widget,
.footer_wrap .sc_content .wpb_column,
.footer_wrap .widget_title, 
.footer_wrap .widgettitle,
.footer_wrap p,
.footer_wrap span,
.footer_wrap div,
.footer_wrap li,
.footer_wrap a,
.footer_wrap h1,
.footer_wrap h2,
.footer_wrap h3,
.footer_wrap h4,
.footer_wrap h5,
.footer_wrap h6,
.footer_wrap address,
.footer_wrap .copyright_text,
.footer_wrap .copyright_text *,
.footer_wrap .sc_layouts_item,
.footer_wrap .sc_layouts_item a,
.footer_wrap .sc_layouts_row_type_normal .sc_layouts_item a,
.scheme_default .footer_wrap .widget li a,
.footer_wrap .widget_nav_menu li a {
    color: #093171 !important;
}

/* Style des liens du pied de page au survol */
.footer_wrap a:hover,
.footer_wrap .sc_layouts_item a:hover,
.footer_wrap .sc_layouts_row_type_normal .sc_layouts_item a:hover,
.scheme_default .footer_wrap .widget li a:hover,
.footer_wrap .widget_nav_menu li a:hover {
    color: #093171 !important;
    text-decoration: underline !important;
}

/* Style de base pour le conteneur produit */
.single-product .product {
    display: flex !important;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Style pour la galerie d'images */
.woocommerce-product-gallery {
    flex: 1;
    min-width: 300px;
}

/* Style pour la zone de résumé */
.woocommerce-product-details__short-description {
    flex: 1;
    min-width: 300px;
}

/* Style pour le titre du produit */
.product_title {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

/* Styles pour les titres de la boutique et des catégories */
.woocommerce-products-header h1,
.woocommerce-products-header__title,
.page-title,
.woocommerce-loop-category__title,
.woocommerce-loop-product__title,
.product_title,
.woocommerce h1, 
.woocommerce h2,
.woocommerce h3,
.woocommerce-page h1,
.woocommerce-page h2,
.woocommerce-page h3,
.product_meta .posted_in,
.product_meta .tagged_as,
.woocommerce-breadcrumb a,
.woocommerce .woocommerce-breadcrumb {
    color: #2A7D8C !important;
}

/* Styles pour les produits */
.price,
.product-single-price,
.woocommerce div.product p.price, 
.woocommerce div.product span.price {
    font-size: 24px !important;
    color: #2a7d8c !important;
    font-weight: 700 !important;
    margin: 0 0 15px !important;
    display: block !important;
    text-align: left !important;
    clear: both !important;
}

/* Amélioration des espacements sur la page produit */
.product-share {
    margin-top: 30px !important;
    margin-bottom: 30px !important;
    padding: 15px 0 !important;
    border-top: 1px solid #f0f0f0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.quantity-wrapper {
    margin: 15px 0 !important;
    padding: 10px 0 !important;
}

.button-wrapper {
    margin-top: 15px !important;
    margin-bottom: 15px !important;
}

.woocommerce div.product .product_meta {
    margin-top: 30px !important;
    padding-top: 20px !important;
    border-top: 1px solid #f0f0f0 !important;
    font-size: 14px !important;
}

.woocommerce div.product .product_meta .posted_in {
    display: block !important;
    margin-bottom: 10px !important;
    font-weight: 600 !important;
}

.woocommerce div.product .product_meta .posted_in a {
    color: #2a7d8c !important;
    font-weight: normal !important;
    text-decoration: none !important;
}

.woocommerce div.product .product_meta .posted_in a:hover {
    text-decoration: underline !important;
}

.woocommerce div.product form.cart {
    margin-bottom: 30px !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

/* Style pour le titre dans la colonne d'informations */
.product-info-col .product_title {
    font-size: 28px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
    text-align: left !important;
    display: block !important;
    line-height: 1.2 !important;
}

/* Styles pour la page produit moderne */
.product-modern-layout {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    margin-top: 80px !important;
}

/* Espace supplémentaire pour les pages produit */
.single-product .page_content_wrap {
    padding-top: 40px !important;
}

.single-product .top_panel {
    margin-bottom: 30px !important;
}

/* Style pour le wrapper du titre */
.product-title-wrapper {
    display: block !important;
    width: 100% !important;
    margin-bottom: 15px !important;
    padding-bottom: 5px !important;
    border-bottom: 1px solid #eee !important;
}

.product-info-header {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.product-reference {
    font-size: 14px;
    color: #666;
}

.sku-label {
    font-weight: normal;
}

.sku-value {
    font-weight: normal;
}

.product-main-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

.product-gallery-col {
    flex: 0.8;
    min-width: 250px;
    max-width: 350px;
}

/* Réduire la taille de l'image du produit */
.woocommerce-product-gallery__image img,
.woocommerce div.product div.images img {
    max-width: 100% !important;
    max-height: 350px !important;
    width: auto !important;
    margin: 0 auto !important;
    object-fit: contain !important;
}

/* Correction du zoom */
.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 10 !important;
    width: 36px !important;
    height: 36px !important;
    background: #fff !important;
    border-radius: 100% !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
    text-indent: -9999px !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger:before {
    content: "" !important;
    display: block !important;
    width: 10px !important;
    height: 10px !important;
    border: 2px solid #333 !important;
    border-radius: 100% !important;
    position: absolute !important;
    top: 11px !important;
    left: 11px !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger:after {
    content: "" !important;
    display: block !important;
    width: 2px !important;
    height: 8px !important;
    background: #333 !important;
    border-radius: 6px !important;
    position: absolute !important;
    top: 21px !important;
    left: 22px !important;
    transform: rotate(-45deg) !important;
}

.product-info-col {
    flex: 1;
    min-width: 300px;
}

.product-description {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

.stock-status {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 600;
    margin-bottom: 20px;
}

.out-of-stock {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Style spécifique pour le bouton Valider la commande */
.woocommerce-cart table.cart td.actions .coupon + .button,
.woocommerce-cart .cart_totals .checkout-button,
.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
.woocommerce-checkout #payment #place_order,
.woocommerce #respond input#submit.alt.checkout-button,
.woocommerce a.button.alt.checkout-button,
.woocommerce button.button.alt.checkout-button,
.woocommerce input.button.alt.checkout-button,
.woocommerce .cart-collaterals .cart_totals .button,
.woocommerce-page .cart-collaterals .cart_totals .button,
.woocommerce .cart-collaterals .wc-proceed-to-checkout .button,
.woocommerce-page .cart-collaterals .wc-proceed-to-checkout .button,
.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order,
.woocommerce-checkout .checkout-button,
.woocommerce-checkout .wc-proceed-to-checkout .button,
.woocommerce-cart .wc-proceed-to-checkout .button {
    background-color: #2a7d8c !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 12px 20px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
    display: inline-block !important;
    width: auto !important;
    line-height: 1.5 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Espace en haut du bloc de commande */
.wc-block-components-sidebar-layout.wc-block-checkout.is-large {
    margin-top: 150px !important;
    padding-top: 30px !important;
}

/* Styles pour la page de commande (checkout) */
.woocommerce-checkout h3,
.woocommerce-checkout h1,
.woocommerce-checkout h2 {
    color: #2a7d8c !important;
    font-weight: 600 !important;
    margin-bottom: 20px !important;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper input,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper select,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper input,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper select,
.woocommerce-checkout .woocommerce-additional-fields__field-wrapper input,
.woocommerce-checkout .woocommerce-additional-fields__field-wrapper select,
.woocommerce-checkout .woocommerce-additional-fields__field-wrapper textarea {
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    padding: 10px !important;
    font-size: 14px !important;
    width: 100% !important;
    margin-bottom: 10px !important;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper label,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper label,
.woocommerce-checkout .woocommerce-additional-fields__field-wrapper label {
    font-weight: 500 !important;
    margin-bottom: 5px !important;
    display: block !important;
}

.woocommerce-checkout #payment {
    background-color: #f9f9f9 !important;
    border-radius: 4px !important;
    border: 1px solid #eee !important;
}

.woocommerce-checkout #payment div.payment_box {
    background-color: #fff !important;
    border: 1px solid #eee !important;
}

.woocommerce-checkout #payment div.payment_box::before {
    border-bottom-color: #fff !important;
}

.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: 1px solid #eee !important;
}

.woocommerce-checkout #place_order {
    background-color: #2a7d8c !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 12px 20px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    width: 100% !important;
    margin-top: 20px !important;
}

.woocommerce-checkout #place_order:hover {
    background-color: #236a78 !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table th,
.woocommerce-checkout .woocommerce-checkout-review-order-table td {
    padding: 15px !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table thead th {
    background-color: #f5f5f5 !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total td {
    font-weight: 700 !important;
    font-size: 16px !important;
    color: #2a7d8c !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order {
    background-color: #fff !important;
    padding: 20px !important;
    border-radius: 4px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table {
    border-collapse: collapse !important;
    width: 100% !important;
}

.woocommerce-checkout .form-row {
    margin-bottom: 15px !important;
}

/* Styles pour les boutons de partage */
.product-share {
    margin-top: 30px;
}

.share-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
}

.share-facebook {
    background-color: #3b5998;
}

.share-whatsapp {
    background-color: #25d366;
}

/* Style pour le titre du produit */
.product_title,
.woocommerce div.product .product_title,
.product-modern-layout .product_title,
.entry-title {
    font-size: 28px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin: 0 0 15px !important;
    padding: 0 !important;
    text-align: left !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    clear: both !important;
    width: 100% !important;
    position: relative !important;
    z-index: 999 !important;
}

/* Style pour le bouton d'ajout au panier */
.single_add_to_cart_button {
    background-color: #2a7d8c !important;
    color: #fff !important;
    padding: 15px 30px !important;
    border: none !important;
    cursor: pointer !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
    font-size: 16px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-left: 10px !important;
    box-shadow: 0 2px 5px rgba(42, 125, 140, 0.3) !important;
    display: inline-block !important;
    text-align: center !important;
    line-height: 1.5 !important;
}

.single_add_to_cart_button:hover {
    background-color: #236a78 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(42, 125, 140, 0.4) !important;
}

/* Styles pour les onglets de description du produit */
.product-tabs-wrapper {
    margin-top: 40px;
    margin-bottom: 40px;
    clear: both;
    width: 100%;
}

/* Styles pour la page panier - Réduction extrême de l'espace */
.cart-modern-layout {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    margin-top: 20px !important;
}

.woocommerce-cart .page_content_wrap {
    padding-top: 200px !important;
    margin-top: 0 !important;
}

.woocommerce-cart .top_panel {
    margin-bottom: 0 !important;
}

/* Assurer que le contenu est bien en dessous du menu */
.woocommerce-cart .top_panel + .page_content_wrap {
    margin-top: 0 !important;
}

/* Styles supplémentaires pour la page panier */
body.woocommerce-cart {
    padding-top: 150px !important;
}

/* Style professionnel pour l'affichage des produits en ligne horizontale */

/* Styles pour les cartes produits sur les pages boutique, catégories et produits similaires */
.product-card {
    border: 1px solid #f0f0f0 !important;
    border-radius: 5px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    background-color: #fff !important;
    margin-bottom: 20px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important;
    width: 100% !important;
    display: block !important;
    position: relative !important;
}

.product-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
    transform: translateY(-3px) !important;
}

.product-card-inner {
    padding: 15px !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.product-image-container {
    text-align: center !important;
    margin-bottom: 15px !important;
    position: relative !important;
}

.product-image-container img {
    max-height: 200px !important;
    width: auto !important;
    margin: 0 auto !important;
    display: block !important;
    object-fit: contain !important;
}

.product-details {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    text-align: center !important;
}

/* Style pour le titre du produit */
.woocommerce-loop-product__title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    text-align: center !important;
    min-height: 40px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}

/* Style pour le prix */
.product-card .price {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #2a7d8c !important;
    margin: 10px 0 !important;
    display: block !important;
    text-align: center !important;
}

.product-card .price .woocommerce-Price-amount {
    color: #2a7d8c !important;
}

/* Style pour le bouton d'ajout au panier */
.product-add-to-cart {
    margin-top: 15px !important;
    text-align: center !important;
}

.product-card .button.add_to_cart_button,
.product-card .button.product_type_simple {
    background-color: #2a7d8c !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 10px 15px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    width: auto !important;
    margin: 0 auto !important;
    text-align: center !important;
}

.product-card .button.add_to_cart_button:hover,
.product-card .button.product_type_simple:hover {
    background-color: #236a78 !important;
    color: #fff !important;
}

/* Styles pour les produits similaires */
.related.products ul.products li.product,
.upsells.products ul.products li.product,
.cross-sells ul.products li.product {
    margin-bottom: 30px !important;
}

/* Section des produits similaires */
.related.products,
.upsells.products {
    margin-top: 50px !important;
    padding-top: 30px !important;
    border-top: 1px solid #f0f0f0 !important;
    clear: both !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Grille des produits similaires */
.related.products ul.products,
.upsells.products ul.products {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    justify-content: center !important;
}

/* Assurer que les produits similaires ont le même style que les produits de la boutique */
.related.products ul.products li.product .product-card-inner,
.upsells.products ul.products li.product .product-card-inner {
    height: 100% !important;
}

.related.products h2,
.upsells.products h2,
.cross-sells h2 {
    font-size: 24px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin: 30px 0 20px !important;
    text-align: center !important;
    position: relative !important;
    padding-bottom: 10px !important;
}

.related.products h2:after,
.upsells.products h2:after,
.cross-sells h2:after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 60px !important;
    height: 3px !important;
    background-color: #2a7d8c !important;
}

/* ================= OPTIMISATIONS MOBILES ================= */

/* Styles généraux pour mobile */
@media (max-width: 767px) {
    /* Réduction des marges et paddings généraux */
    .woocommerce-page .page_content_wrap {
        padding-top: 1rem !important;
    }
    
    .woocommerce-page .woocommerce-products-header {
        margin-top: 1.5rem !important;
    }
    
    /* Ajustement des titres */
    .category-title {
        font-size: 24px !important;
        margin-bottom: 20px !important;
        padding-bottom: 10px !important;
    }
    
    /* Réduction de l'espace en haut pour les pages boutique et catégories */
    .shop-category-header {
        margin-top: 100px !important;
        padding-top: 20px !important;
    }
    
    /* Ajustement du menu pour mobile */
    body:not(.home) .woocommerce-page:not(.home) .sc_layouts_row_type_normal.sc_layouts_row_fixed {
        padding: 5px 0 !important;
    }
    
    /* Amélioration de l'espacement pour le contenu principal */
    .woocommerce div.product {
        padding: 10px !important;
    }
}

/* Optimisations pour la page produit en mobile */
@media (max-width: 767px) {
    /* Ajustement de la mise en page produit */
    .product-modern-layout {
        padding: 10px;
        margin-top: 40px !important;
    }
    
    /* Réduction de la taille du titre */
    .product_title,
    .woocommerce div.product .product_title,
    .product-modern-layout .product_title,
    .entry-title {
        font-size: 22px !important;
        margin: 0 0 10px !important;
    }
    
    /* Ajustement de la galerie d'images */
    .product-gallery-col {
        min-width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Optimisation de l'image du produit */
    .woocommerce-product-gallery__image img,
    .woocommerce div.product div.images img {
        max-height: 300px !important;
    }
    
    /* Ajustement de la colonne d'informations */
    .product-info-col {
        min-width: 100% !important;
    }
    
    /* Ajustement du prix */
    .price,
    .product-single-price,
    .woocommerce div.product p.price, 
    .woocommerce div.product span.price {
        font-size: 20px !important;
        margin: 0 0 10px !important;
    }
    
    /* Optimisation du bouton d'ajout au panier et du champ quantité */
    .woocommerce div.product form.cart {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 10px !important;
        margin-bottom: 20px !important;
    }
    
    /* Ajustement de la quantité */
    .quantity {
        width: calc(40% - 5px) !important;
        margin: 0 !important;
    }
    
    .quantity input {
        width: 60px !important;
        min-width: 40px !important;
        height: 42px !important;
        padding: 0 5px !important;
        text-align: center !important;
        font-size: 20px !important;
        font-weight: bold !important;
        color: #333 !important;
        background-color: #fff !important;
        border: none !important;
        border-radius: 0 !important;
        position: relative !important;
        z-index: 1 !important;
        flex-grow: 1 !important;
        margin: 0 !important;
        box-shadow: none !important;
    }
    
    /* Amélioration des boutons plus/moins de quantité */
    .quantity .qty {
        -webkit-appearance: textfield !important;
        -moz-appearance: textfield !important;
        appearance: textfield !important;
    }
    
    .quantity .qty::-webkit-inner-spin-button,
    .quantity .qty::-webkit-outer-spin-button {
        -webkit-appearance: none !important;
        margin: 0 !important;
    }
    
    /* Style du conteneur de quantité */
    .woocommerce form .quantity {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        margin-bottom: 15px !important;
    }
    
    /* Style spécifique pour le conteneur de quantité */
    .woocommerce .quantity {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 120px !important;
        margin: 0 auto !important;
    }
    
    /* Ajout d'un libellé "Quantité" au-dessus du champ */
    .woocommerce .quantity:before {
        content: 'Quantité' !important;
        display: block !important;
        position: absolute !important;
        top: -20px !important;
        left: 0 !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        color: #666 !important;
    }
    
    /* Style du champ de quantité avec une nouvelle approche */
    .woocommerce .quantity {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        border: 2px solid #ddd !important;
        border-radius: 4px !important;
        overflow: hidden !important;
        height: 42px !important;
        background-color: #fff !important;
    }
    
    /* Boutons personnalisés pour augmenter/diminuer */
    .woocommerce .quantity .minus-btn,
    .woocommerce .quantity .plus-btn {
        width: 30px !important;
        height: 42px !important;
        background-color: #f0f0f0 !important;
        border: none !important;
        border-radius: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 20px !important;
        font-weight: bold !important;
        color: #333 !important;
        cursor: pointer !important;
        z-index: 2 !important;
        position: relative !important;
        flex-shrink: 0 !important;
    }
    
    .woocommerce .quantity .minus-btn {
        border-right: 1px solid #ddd !important;
    }
    
    .woocommerce .quantity .plus-btn {
        border-left: 1px solid #ddd !important;
    }
    
    /* Hover state pour les boutons */
    .woocommerce .quantity .minus-btn:hover,
    .woocommerce .quantity .plus-btn:hover {
        background-color: #e0e0e0 !important;
    }
    
    /* Optimisation du bouton d'ajout au panier */
    .single_add_to_cart_button {
        padding: 10px 15px !important;
        font-size: 14px !important;
        width: calc(60% - 5px) !important;
        margin: 0 !important;
        height: 42px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Optimisation des onglets de description */
    .product-tabs-wrapper {
        margin-top: 30px;
        margin-bottom: 30px;
    }
    
    /* Amélioration de la description produit */
    .woocommerce-product-details__short-description,
    .woocommerce-tabs .woocommerce-Tabs-panel--description,
    .woocommerce-tabs .panel {
        font-size: 14px !important;
        line-height: 1.6 !important;
        color: #333 !important;
        padding: 15px !important;
        background-color: #f9f9f9 !important;
        border-radius: 4px !important;
        margin-bottom: 20px !important;
        border-left: 3px solid #2a7d8c !important;
    }
    
    /* Amélioration des titres dans la description */
    .woocommerce-product-details__short-description h1,
    .woocommerce-product-details__short-description h2,
    .woocommerce-product-details__short-description h3,
    .woocommerce-product-details__short-description h4,
    .woocommerce-product-details__short-description h5,
    .woocommerce-product-details__short-description h6,
    .woocommerce-tabs .panel h1,
    .woocommerce-tabs .panel h2,
    .woocommerce-tabs .panel h3,
    .woocommerce-tabs .panel h4,
    .woocommerce-tabs .panel h5,
    .woocommerce-tabs .panel h6 {
        font-size: 16px !important;
        color: #2a7d8c !important;
        margin: 15px 0 10px !important;
        padding-bottom: 5px !important;
        border-bottom: 1px solid #e0e0e0 !important;
    }
    
    /* Amélioration des listes dans la description */
    .woocommerce-product-details__short-description ul,
    .woocommerce-product-details__short-description ol,
    .woocommerce-tabs .panel ul,
    .woocommerce-tabs .panel ol {
        padding-left: 20px !important;
        margin-bottom: 15px !important;
    }
    
    .woocommerce-product-details__short-description li,
    .woocommerce-tabs .panel li {
        margin-bottom: 5px !important;
    }
    
    /* Amélioration des onglets */
    .woocommerce-tabs ul.tabs {
        padding: 0 !important;
        margin-bottom: 0 !important;
        display: flex !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important; /* Firefox */
    }
    
    .woocommerce-tabs ul.tabs::-webkit-scrollbar {
        display: none !important; /* Chrome, Safari */
    }
    
    .woocommerce-tabs ul.tabs li {
        border-radius: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        background: transparent !important;
    }
    
    .woocommerce-tabs ul.tabs li a {
        padding: 10px 15px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #666 !important;
        border-bottom: 2px solid transparent !important;
        transition: all 0.3s ease !important;
    }
    
    .woocommerce-tabs ul.tabs li.active a {
        color: #2a7d8c !important;
        border-bottom: 2px solid #2a7d8c !important;
    }
    
    .woocommerce-tabs .panel {
        padding: 15px !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    /* Optimisation des produits similaires */
    .related.products,
    .upsells.products {
        margin-top: 30px !important;
        padding-top: 20px !important;
    }
    
    .related.products h2,
    .upsells.products h2,
    .cross-sells h2 {
        font-size: 20px !important;
        margin: 20px 0 15px !important;
    }
}

/* Optimisations pour la page boutique et catégories en mobile */
@media (max-width: 767px) {
    /* Ajustement des produits en grille */
    .woocommerce ul.products li.product, 
    .woocommerce-page ul.products li.product {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 20px !important;
    }
    
    /* Optimisation des cartes produits */
    .product-card {
        margin-bottom: 15px !important;
    }
    
    .product-card-inner {
        padding: 10px !important;
    }
    
    .product-image-container img {
        max-height: 180px !important;
    }
    
    /* Ajustement du titre du produit */
    .woocommerce-loop-product__title {
        font-size: 14px !important;
        min-height: 35px !important;
    }
    
    /* Ajustement du prix */
    .product-card .price {
        font-size: 16px !important;
        margin: 8px 0 !important;
    }
    
    /* Optimisation du bouton d'ajout au panier */
    .product-card .button.add_to_cart_button,
    .product-card .button.product_type_simple {
        padding: 8px 12px !important;
        font-size: 12px !important;
    }
    
    /* Optimisation des filtres et du tri */
    .woocommerce .woocommerce-ordering {
        float: none !important;
        width: 100% !important;
        margin-bottom: 20px !important;
    }
    
    .woocommerce .woocommerce-ordering select {
        width: 100% !important;
        padding: 10px !important;
    }
    
    /* Optimisation de la pagination */
    .woocommerce nav.woocommerce-pagination ul {
        display: flex !important;
        justify-content: center !important;
    }
    
    .woocommerce nav.woocommerce-pagination ul li {
        margin: 0 2px !important;
    }
    
    .woocommerce nav.woocommerce-pagination ul li a,
    .woocommerce nav.woocommerce-pagination ul li span {
        padding: 8px 12px !important;
        font-size: 14px !important;
    }
}

/* Optimisations pour les tablettes */
@media (min-width: 768px) and (max-width: 991px) {
    /* Ajustement de la mise en page produit */
    .product-modern-layout {
        padding: 15px;
        margin-top: 60px !important;
    }
    
    /* Optimisation de la galerie d'images */
    .product-gallery-col {
        min-width: 45% !important;
        max-width: 45% !important;
    }
    
    /* Ajustement de la colonne d'informations */
    .product-info-col {
        min-width: 50% !important;
    }
    
    /* Ajustement des produits en grille pour tablette */
    .woocommerce ul.products li.product, 
    .woocommerce-page ul.products li.product {
        width: 48% !important;
        margin-right: 4% !important;
    }
    
    .woocommerce ul.products li.product:nth-child(2n), 
    .woocommerce-page ul.products li.product:nth-child(2n) {
        margin-right: 0 !important;
    }
}

/* Optimisations pour le bouton "Demande de devis" */
@media (max-width: 767px) {
    .demande-devis-wrapper {
        margin: 20px 0 !important;
        width: 100% !important;
    }
    
    .demande-devis-wrapper a {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        padding: 12px 15px !important;
        font-size: 14px !important;
        border-radius: 4px !important;
        background-color: #f0f0f0 !important;
        color: #333 !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        transition: all 0.3s ease !important;
        border: 1px solid #ddd !important;
    }
    
    .demande-devis-wrapper a:hover {
        background-color: #e0e0e0 !important;
        color: #2a7d8c !important;
    }
    
    /* Séparation visuelle entre le bouton d'ajout au panier et le bouton de demande de devis */
    .demande-devis-wrapper:before {
        content: 'OU' !important;
        display: block !important;
        text-align: center !important;
        margin: 15px 0 !important;
        font-size: 14px !important;
        color: #999 !important;
        position: relative !important;
    }
    
    .demande-devis-wrapper:before:after {
        content: '' !important;
        position: absolute !important;
        top: 50% !important;
        left: 0 !important;
        right: 0 !important;
        height: 1px !important;
        background-color: #eee !important;
        z-index: -1 !important;
    }
}

/* Améliorations supplémentaires pour la mise en page mobile */
@media (max-width: 767px) {
    /* Amélioration de l'espacement général */
    .single-product .product {
        padding: 10px 15px !important;
    }
    
    /* Amélioration des métadonnées du produit */
    .product_meta {
        font-size: 12px !important;
        padding: 10px !important;
        background-color: #f9f9f9 !important;
        border-radius: 4px !important;
        margin-top: 20px !important;
    }
    
    /* Amélioration du prix */
    .price {
        background-color: #f0f8fa !important;
        padding: 10px !important;
        border-radius: 4px !important;
        display: inline-block !important;
        margin-bottom: 15px !important;
    }
    
    /* Amélioration de la navigation entre produits */
    .woocommerce-product-gallery .flex-control-thumbs {
        display: flex !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 10px 0 !important;
        margin: 0 !important;
    }
    
    .woocommerce-product-gallery .flex-control-thumbs li {
        width: 60px !important;
        flex: 0 0 60px !important;
        margin-right: 10px !important;
    }
    
    /* Amélioration des variations de produit */
    .variations_form .variations {
        width: 100% !important;
        margin-bottom: 15px !important;
    }
    
    .variations_form .variations td.label {
        width: 30% !important;
        padding-right: 10px !important;
    }
    
    .variations_form .variations td.value {
        width: 70% !important;
    }
    
    .variations_form .variations select {
        width: 100% !important;
        padding: 8px !important;
        border-radius: 4px !important;
    }
}
.upsells.products h2:after,
.cross-sells h2:after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 50px !important;
    height: 3px !important;
    background-color: #2a7d8c !important;
}

/* Correction pour les produits dans les grilles */
.woocommerce ul.products li.product, 
.woocommerce-page ul.products li.product {
    margin: 0 2% 2.992em 0 !important;
    width: 22% !important;
    clear: none !important;
    box-sizing: border-box !important;
}

.woocommerce ul.products li.product:nth-child(4n), 
.woocommerce-page ul.products li.product:nth-child(4n) {
    margin-right: 0 !important;
}

.woocommerce ul.products li.product:nth-child(4n+1), 
.woocommerce-page ul.products li.product:nth-child(4n+1) {
    clear: both !important;
}

/* Responsive pour les produits */
@media (max-width: 768px) {
    .woocommerce ul.products li.product, 
    .woocommerce-page ul.products li.product {
        width: 48% !important;
        margin: 0 4% 30px 0 !important;
    }
    
    .woocommerce ul.products li.product:nth-child(2n), 
    .woocommerce-page ul.products li.product:nth-child(2n) {
        margin-right: 0 !important;
    }
    
    .woocommerce ul.products li.product:nth-child(2n+1), 
    .woocommerce-page ul.products li.product:nth-child(2n+1) {
        clear: both !important;
    }
}

@media (max-width: 480px) {
    .woocommerce ul.products li.product, 
    .woocommerce-page ul.products li.product {
        width: 100% !important;
        margin-right: 0 !important;
    }
}
.woocommerce.columns-4 ul.products {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    padding: 20px 0 !important;
    margin: 30px 0 !important;
    gap: 15px !important;
}

/* Espacement supplémentaire pour s'assurer que le contenu n'est pas collé au menu */
.woocommerce-cart.sticky_header .page_content_wrap {
    padding-top: 0 !important;
}

.woocommerce-cart .page_content_wrap .content_wrap {
    padding-top: 0 !important;
}

/* Forcer l'espacement avec !important pour surcharger tous les autres styles */
.woocommerce-cart .woocommerce-notices-wrapper {
    margin-top: 0 !important;
}

/* Styles pour le titre de la page panier */
.woocommerce-cart .page_title {
    margin-top: 0 !important;
    margin-bottom: 5px !important;
    font-size: 20px !important;
    color: #333 !important;
    text-align: center !important;
    font-weight: 700 !important;
    visibility: visible !important;
    display: block !important;
    position: relative !important;
    z-index: 100 !important;
}

/* Style pour le titre personnalisé de la page panier */
.cart-page-title {
    text-align: center !important;
    margin: 0 auto !important;
    padding: 0 !important;
    max-width: 1000px !important;
    margin-top: 150px !important;
    margin-bottom: 50px !important;
}

.cart-page-title h1 {
    font-size: 32px !important;
    color: #2a7d8c !important;
    font-weight: 700 !important;
    margin: 0 !important;
    padding-top: 150px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-top: 0 !important;
    line-height: 1.2 !important;
    z-index: 100 !important;
    position: relative !important;
}

/* Assurer que le header ne cache pas le contenu */
.woocommerce-cart .top_panel {
    position: relative !important;
    z-index: 9999 !important;
    margin-bottom: -80px !important;
}

/* Espacement supplémentaire pour le contenu principal */
.woocommerce-cart .content_wrap {
    margin-top: 0 !important;
}

/* Ajustement pour le titre de la page */
.woocommerce-cart h1.page_title {
    padding-top: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.woocommerce-cart table.shop_table {
    border: 1px solid #f0f0f0 !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
    overflow: hidden !important;
    margin: 0 auto !important;
    text-align: center !important;
}

.woocommerce-cart table.shop_table th {
    background-color: #f9f9f9 !important;
    padding: 15px !important;
    font-weight: 600 !important;
    color: #333 !important;
    text-align: center !important;
}

.woocommerce-cart table.shop_table td {
    padding: 15px !important;
    border-top: 1px solid #f0f0f0 !important;
    text-align: center !important;
    vertical-align: middle !important;
}

.woocommerce-cart table.shop_table img {
    width: 80px !important;
    height: auto !important;
    border-radius: 4px !important;
    margin: 0 auto !important;
    display: block !important;
}

.woocommerce-cart .product-thumbnail {
    text-align: center !important;
    width: 120px !important;
}

.woocommerce-cart .product-name a {
    color: #333 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.woocommerce-cart .product-name a:hover {
    color: #2a7d8c !important;
}

.woocommerce-cart .product-price,
.woocommerce-cart .product-subtotal {
    color: #2a7d8c !important;
    font-weight: 600 !important;
}

.woocommerce-cart .quantity input {
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    padding: 8px !important;
    width: 70px !important;
    margin: 0 auto !important;
    text-align: center !important;
}

.woocommerce-cart .coupon input {
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    padding: 10px 15px !important;
    margin-right: 10px !important;
}

.woocommerce-cart .actions {
    text-align: right !important;
    padding: 20px 15px !important;
}

.woocommerce-cart .actions button,
.woocommerce-cart .update-cart,
.woocommerce-cart .checkout-button {
    background-color: #2a7d8c !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 12px 20px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
}

.woocommerce-cart .actions button:hover,
.woocommerce-cart .update-cart:hover,
.woocommerce-cart .checkout-button:hover {
    background-color: #236a78 !important;
}

.woocommerce-cart .cart-collaterals {
    margin-top: 40px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 600px !important;
}

.woocommerce-cart .cart-collaterals h2 {
    font-size: 24px !important;
    margin-bottom: 20px !important;
    color: #333 !important;
    font-weight: 600 !important;
}

.woocommerce-cart .cart_totals table {
    border: 1px solid #f0f0f0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    margin: 0 auto !important;
    width: 100% !important;
}

/* Style pour les boutons des blocs WooCommerce */
.wc-block-components-button,
.wp-element-button,
.wc-block-cart__submit-button,
.wc-block-components-button.wp-element-button,
.wc-block-components-button.wc-block-cart__submit-button,
.wc-block-components-button.contained {
    background-color: #2a7d8c !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 12px 20px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
    display: inline-block !important;
    width: auto !important;
    line-height: 1.5 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.wc-block-components-button:hover,
.wp-element-button:hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-button.wp-element-button:hover,
.wc-block-components-button.wc-block-cart__submit-button:hover,
.wc-block-components-button.contained:hover {
    background-color: #236a78 !important;
    color: #fff !important;
}

/* Style pour le bouton de validation de commande - Priorité élevée */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce #payment #place_order, 
.woocommerce-page #payment #place_order,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce #payment #place_order:hover, 
.woocommerce-page #payment #place_order:hover,
.woocommerce #respond input#submit.alt, 
.woocommerce a.button.alt, 
.woocommerce button.button.alt, 
.woocommerce input.button.alt,
.woocommerce #respond input#submit, 
.woocommerce a.button, 
.woocommerce button.button, 
.woocommerce input.button,
.woocommerce .woocommerce-message .button,
.woocommerce .woocommerce-error .button,
.woocommerce .woocommerce-info .button,
.woocommerce-cart .actions .button,
.woocommerce a.button.alt.checkout-button,
.woocommerce-checkout #payment #place_order,
.checkout-button,
.wc-proceed-to-checkout a.checkout-button,
a.checkout-button,
button[name="woocommerce_checkout_place_order"],
input[name="checkout"],
.woocommerce #respond input#submit.alt.checkout-button,
.woocommerce button.button.alt.checkout-button,
.woocommerce input.button.alt.checkout-button {
    background-color: #2a7d8c !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 12px 20px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
    display: inline-block !important;
    width: auto !important;
    line-height: 1.5 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce #payment #place_order:hover, 
.woocommerce-page #payment #place_order:hover,
.woocommerce #respond input#submit.alt:hover, 
.woocommerce a.button.alt:hover, 
.woocommerce button.button.alt:hover, 
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit:hover, 
.woocommerce a.button:hover, 
.woocommerce button.button:hover, 
.woocommerce input.button:hover,
.woocommerce .woocommerce-message .button:hover,
.woocommerce .woocommerce-error .button:hover,
.woocommerce .woocommerce-info .button:hover,
.woocommerce-cart .actions .button:hover,
.woocommerce a.button.alt.checkout-button:hover,
.woocommerce-checkout #payment #place_order:hover,
.checkout-button:hover,
.wc-proceed-to-checkout a.checkout-button:hover,
a.checkout-button:hover,
button[name="woocommerce_checkout_place_order"]:hover,
input[name="checkout"]:hover,
.woocommerce #respond input#submit.alt.checkout-button:hover,
.woocommerce button.button.alt.checkout-button:hover,
.woocommerce input.button.alt.checkout-button:hover {
    background-color: #236a78 !important;
    color: #fff !important;
}

.woocommerce-cart .cart_totals th {
    background-color: #f9f9f9 !important;
    padding: 15px !important;
    font-weight: 600 !important;
    color: #333 !important;
    width: 50% !important;
}

.woocommerce-cart .cart_totals td {
    padding: 15px !important;
    border-top: 1px solid #f0f0f0 !important;
    text-align: right !important;
    font-weight: 600 !important;
}

.woocommerce-cart .wc-proceed-to-checkout {
    text-align: center !important;
    padding-top: 20px !important;
}

.woocommerce-cart .order-total .amount {
    color: #2a7d8c !important;
    font-weight: 700 !important;
    font-size: 18px !important;
}

.product-tabs {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-tabs .tabs {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #ddd;
}

.product-tabs .tabs li {
    margin: 0;
    padding: 0;
}

.product-tabs .tabs li a {
    display: block;
    padding: 12px 20px;
    color: #666;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.product-tabs .tabs li.active a {
    color: #2a7d8c;
    border-bottom: 2px solid #2a7d8c;
}

.product-tabs .tabs li a:hover {
    color: #2a7d8c;
}

.product-tabs .tab-content {
    padding: 20px 0;
}

.product-tabs .tab-pane {
    display: none;
}

.product-tabs .tab-pane.active {
    display: block;
}

.product-description-content {
    line-height: 1.6;
    color: #333;
}

/* Style pour la rangée spécifique avec classe vc_custom_1748019996198 */
.vc_row.wpb_row.vc_row-fluid.vc_custom_1748019996198.vc_row-has-fill.sc_layouts_row.sc_layouts_row_type_normal.scheme_default {
    background-color: #E1E5E8 !important;
    background: #E1E5E8 !important;
    background-image: none !important;
}

/* Style du footer - Solution ciblée */
footer.footer_wrap.footer_default,
footer.footer_wrap.footer_default.scheme_dark,
footer.footer_wrap.footer_default.scheme_default,
footer.footer_wrap.footer_default[class*="scheme_"],
.footer_wrap.footer_default,
.footer_wrap.footer_default *,
.footer_wrap.footer_default *:before,
.footer_wrap.footer_default *:after,
.footer_copyright_wrap,
.footer_copyright_wrap *,
.scheme_dark.footer_wrap,
.scheme_default.footer_wrap,
.footer_widgets_wrap,
.footer_widgets_wrap *,
.footer_widgets_inner,
.footer_copyright_inner {
    background-color: #E1E5E8 !important;
    background: #E1E5E8 !important;
    background-image: none !important;
}

footer.footer_wrap.footer_default {
    padding: 40px 0 20px !important;
    color: #333 !important;
}

/* Ajout d'un style inline via JavaScript pour s'assurer que le footer a la bonne couleur */
@media only screen and (min-width: 1px) {
    body:after {
        content: "";
        display: none;
    }
    body:after {
        content: "" !important;
    }
    /* Cette règle sera exécutée après le chargement de la page */
    body footer.footer_wrap,
    body .footer_copyright_wrap {
        background: #E1E5E8 !important;
        background-color: #E1E5E8 !important;
    }
}

.footer_wrap .widget {
    margin-bottom: 20px !important;
}

.footer_wrap .widget_title {
    color: #333 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    margin-bottom: 15px !important;
}

.footer_wrap a {
    color: #2a7d8c !important;
    transition: color 0.3s ease !important;
}

.footer_wrap a:hover {
    color: #236a78 !important;
}

.footer_wrap .socials_wrap .social_item .social_icon {
    color: #fff !important;
    background-color: #2a7d8c !important;
}

.footer_wrap .socials_wrap .social_item:hover .social_icon {
    background-color: #236a78 !important;
}

.footer_copyright_wrap {
    background-color: #e6e6e6 !important;
    color: #666 !important;
    padding: 15px 0 !important;
    font-size: 14px !important;
}

.footer_copyright_wrap a {
    color: #2a7d8c !important;
}

.footer_copyright_wrap a:hover {
    color: #236a78 !important;
}
