/* 🔥 OVERRIDE TOTAL - Header SEMPRE Sticky */
/* Este arquivo DEVE ser carregado POR ÚLTIMO para sobrescrever todos os outros */

/* Força máxima de especificidade para garantir header sticky */
html body header.main-header,
html body .main-header,
body header.main-header,
header.main-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1001 !important; /* ✅ Z-index acima do overlay (1000) para ficar visível mas permitir escurecimento */
    background: white !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* Garantir que o body tenha padding para compensar */
html body {
    padding-top: 60px !important;
}

/* Container do menu dentro do header */
.header-menu-container {
    width: 100% !important;
    max-width: 1300px !important;
    margin: 0 auto !important;
    padding: 0 1rem !important;
    /* Removido display e opacity - controlado pelo inline CSS do header.html */
}

/* Menu dentro do header - removido para evitar conflitos com animação */
/* A animação é controlada pelo CSS inline no header.html */

/* Centralização do menu */
.header-menu-container .menu-horizontal-filtros-carousel-wrapper {
    width: 100% !important;
    max-width: 1300px !important;
    background: #f18719 !important;
    border-radius: 30px !important;
}

/* Responsivo */
@media (max-width: 768px) {
    html body {
        padding-top: 55px !important;
    }
    
    .header-menu-container .menu-horizontal-filtros-carousel-wrapper {
        width: 95% !important;
    }
}

@media (max-width: 480px) {
    html body {
        padding-top: 55px !important;
    }
    
    .header-menu-container .menu-horizontal-filtros-carousel-wrapper {
        width: 98% !important;
    }
}