/* Habillage des pages WooCommerce : fonds, contours et grilles.
   Charge par modules/boutique.php sur les pages de la boutique seulement. */

body.woocommerce,
body.woocommerce-page {
    background: #000 !important;
}

body.woocommerce #page,
body.woocommerce-page #page,
body.woocommerce .site,
body.woocommerce-page .site,
body.woocommerce #content,
body.woocommerce-page #content,
body.woocommerce .site-content,
body.woocommerce-page .site-content,
body.woocommerce #primary,
body.woocommerce-page #primary,
body.woocommerce .site-main,
body.woocommerce-page .site-main,
body.woocommerce .content-area,
body.woocommerce-page .content-area,
body.woocommerce .entry-content,
body.woocommerce-page .entry-content {
    background: #000 !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

body.woocommerce .woocommerce,
body.woocommerce-page .woocommerce {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.woocommerce header,
body.woocommerce-page header,
body.woocommerce footer,
body.woocommerce-page footer,
body.woocommerce #masthead,
body.woocommerce-page #masthead,
body.woocommerce #colophon,
body.woocommerce-page #colophon,
body.woocommerce .site-header,
body.woocommerce-page .site-header,
body.woocommerce .site-footer,
body.woocommerce-page .site-footer,
body.woocommerce .elementor-location-header,
body.woocommerce-page .elementor-location-header,
body.woocommerce .elementor-location-footer,
body.woocommerce-page .elementor-location-footer,
body.woocommerce .elementor-location-header > .elementor-section,
body.woocommerce-page .elementor-location-header > .elementor-section,
body.woocommerce .elementor-location-footer > .elementor-section,
body.woocommerce-page .elementor-location-footer > .elementor-section {
    border: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

body.woocommerce .wmt2026-menu-top-shell,
body.woocommerce-page .wmt2026-menu-top-shell,
body.woocommerce .wmt2026-menu-top,
body.woocommerce-page .wmt2026-menu-top,
body.woocommerce .wmt2026-menu-top::before,
body.woocommerce-page .wmt2026-menu-top::before,
body.woocommerce .wmt2026-menu-top::after,
body.woocommerce-page .wmt2026-menu-top::after {
    --wmt2026-border: transparent !important;
    border: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

body.woocommerce .elementor-widget-wn2026_header,
body.woocommerce-page .elementor-widget-wn2026_header,
body.woocommerce .elementor-widget-wn2026_header > .elementor-widget-container,
body.woocommerce-page .elementor-widget-wn2026_header > .elementor-widget-container,
body.woocommerce .elementor-element:has(.wn2026-header),
body.woocommerce-page .elementor-element:has(.wn2026-header),
body.woocommerce .wn2026-header,
body.woocommerce-page .wn2026-header,
body.woocommerce .wn2026-header::before,
body.woocommerce-page .wn2026-header::before,
body.woocommerce .wn2026-header::after,
body.woocommerce-page .wn2026-header::after {
    border: 0 !important;
    border-top: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

body.woocommerce div.product,
body.woocommerce-page div.product,
body.single-product div.product,
body.single-product div.product > .summary,
body.single-product div.product > .woocommerce-product-gallery {
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

body.single-product .woocommerce-tabs,
body.single-product .woocommerce-tabs ul.tabs,
body.single-product .woocommerce-tabs ul.tabs li,
body.single-product .woocommerce-tabs .panel,
body.single-product .woocommerce-Tabs-panel,
body.single-product #tab-description,
body.single-product .woocommerce-product-details__short-description,
body.single-product .elementor-widget-woocommerce-product-content,
body.single-product .elementor-widget-woocommerce-product-content > .elementor-widget-container,
body.single-product .elementor-widget-woocommerce-product-short-description,
body.single-product .elementor-widget-woocommerce-product-short-description > .elementor-widget-container,
body.single-product .elementor-widget-woocommerce-product-data-tabs,
body.single-product .elementor-widget-woocommerce-product-data-tabs > .elementor-widget-container {
    border: 0 !important;
    border-top: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

body.single-product .woocommerce-tabs ul.tabs::before,
body.single-product .woocommerce-tabs ul.tabs::after,
body.single-product .woocommerce-tabs ul.tabs li::before,
body.single-product .woocommerce-tabs ul.tabs li::after,
body.single-product .woocommerce-Tabs-panel::before,
body.single-product .woocommerce-Tabs-panel::after {
    border: 0 !important;
    box-shadow: none !important;
}

body.single-product .related.products ul.products,
body.single-product .upsells.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px !important;
}

body.single-product .related.products ul.products li.product,
body.single-product .upsells.products ul.products li.product {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    border: 1px solid #9d6a13 !important;
    border-radius: 4px !important;
    background: #171a1e !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    overflow: hidden;
}

@media (max-width: 900px) {
    body.single-product .related.products ul.products,
    body.single-product .upsells.products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 540px) {
    body.single-product .related.products ul.products,
    body.single-product .upsells.products ul.products {
        grid-template-columns: 1fr !important;
    }
}

body.woocommerce ul.products::before,
body.woocommerce ul.products::after,
body.woocommerce-page ul.products::before,
body.woocommerce-page ul.products::after {
    display: none;
}

body.woocommerce .woocommerce-notices-wrapper,
body.woocommerce-page .woocommerce-notices-wrapper {
    background: transparent;
    border: 0;
    box-shadow: none;
}
