/* ==========================================================
   WM Sticky Header — Workmind v1.6
   ========================================================== */

/* ── 1. Header sempre fixed ──────────────────────────────── */
#header.site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: auto !important;
    z-index: 9999 !important;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

/* ── 2. Cancela o fixed próprio do menu (.sticky-header) ─── */
/* O tema faz position:fixed na secção do menu separadamente  */
/* Isso duplica o fixed e baralha o cálculo da altura.        */
/* Como o #header pai já é fixed, o menu fica no fluxo normal */
#header .elementor-element-1cf91ac.sticky-header {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    z-index: auto !important;
}

/* ── 3. Stretch sections ─────────────────────────────────── */
#header.site-header .elementor-section-stretched {
    left:  0   !important;
    width: 100% !important;
}

/* ── 4. Dropdowns sempre acima ───────────────────────────── */
#header .avaorg-menu-horizontal .sub-menu,
#header .dropdown-menu,
#header .ava-search-bar,
#header .elementor-cart__container {
    z-index: 10000 !important;
}
