/*
Theme Name: Broso Child
Theme URI:
Description: Thème enfant de Broso avec header et footer Elementor personnalisés
Author: Gusti Italiani
Author URI:
Template: broso
Version: 1.0.0
Text Domain: broso-child
*/

/* ========================================
   HEADER ELEMENTOR CUSTOM
   ======================================== */

header.elementor-custom-header {
    position: relative;
    z-index: 999;
    width: 100%;
}

header.elementor-custom-header .elementor {
    width: 100%;
}

header.elementor-custom-header .elementor-section-wrap,
header.elementor-custom-header .elementor-section {
    width: 100%;
}

header.elementor-custom-header .elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1200px;
}

header.elementor-custom-header .elementor-section.elementor-section-full_width {
    width: 100%;
}

/* Header sticky Elementor */
header.elementor-custom-header .elementor-sticky,
header.elementor-custom-header [data-settings*="sticky"] {
    z-index: 9999;
}

/* ========================================
   FOOTER ELEMENTOR CUSTOM
   ======================================== */

footer.elementor-custom-footer {
    position: relative;
    width: 100%;
}

footer.elementor-custom-footer .elementor {
    width: 100%;
}

footer.elementor-custom-footer .elementor-section-wrap,
footer.elementor-custom-footer .elementor-section {
    width: 100%;
}

footer.elementor-custom-footer .elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1200px;
}

/* ========================================
   MASQUER RÉSIDUS THÈME NATIF
   ======================================== */

.pbmit-sticky-header:empty {
    display: none;
}

/* ========================================
   WOOCOMMERCE - Style intact
   ======================================== */

.woocommerce .site-content,
.woocommerce-page .site-content,
.single-product .site-content,
.woocommerce .site-content-contain,
.woocommerce-page .site-content-contain {
    /* Préservé du thème parent */
}

/* ========================================
   OPTIONNEL
   ======================================== */

/* Masquer le title-bar si tu n'en veux pas */
/*
.pbmit-title-bar-wrapper {
    display: none !important;
}
*/


/* Fix Off-Canvas pour header WooCommerce */
#off-canvas-56d569fa.e-off-canvas--open,
.elementor-element-56d569fa .e-off-canvas.e-off-canvas--open {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
}

/* Version générique pour tous les off-canvas */
.elementor-custom-header .e-off-canvas.e-off-canvas--open {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
    pointer-events: auto !important;
}

.elementor-custom-header .e-off-canvas.e-off-canvas--open .e-off-canvas__content {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
}

/* Overlay */
body.e-off-canvas--body-open .e-off-canvas__overlay {
    opacity: 1 !important;
    visibility: visible !important;
}