/* ============================================
   HEADER MOBILE - CSS Otimizado
   Movido de header.php para melhor performance
   ============================================ */

/* Mobile Header */
@media (max-width: 768px) {
    .fp-header__inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 12px 0 !important;
    }
    
    .fp-header__left-group {
        display: flex !important;
        align-items: center !important;
        gap: 12px;
    }
    
    .fp-header__nav,
    .fp-header__actions {
        display: none !important;
    }
    
    .fp-menu-toggle {
        display: flex !important;
    }
    
    .fp-mobile-login {
        display: flex !important;
        align-items: center;
        gap: 6px;
        padding: 8px 16px;
        background: #7CB342;
        color: #fff !important;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.875rem;
        border-radius: 8px;
    }
}

@media (min-width: 769px) {
    .fp-header__left-group {
        display: contents !important;
    }
    .fp-mobile-login {
        display: none !important;
    }
}

/* Menu Mobile Overlay */
#flOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99998;
}

#flOverlay.active {
    display: block;
}

/* Menu Mobile Panel */
#flMobileNav {
    position: fixed;
    top: 0;
    left: -300px;
    bottom: 0;
    width: 280px;
    background: #fff;
    z-index: 99999;
    box-shadow: 4px 0 20px rgba(0,0,0,0.15);
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
}

#flMobileNav.active {
    left: 0;
}

.fl-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}

.fl-mobile-logo {
    font-size: 1.25rem;
    font-weight: 800;
    text-decoration: none;
}

.fl-mobile-logo .fit {
    color: #37474F;
}

.fl-mobile-logo .local {
    color: #7CB342;
}

.fl-mobile-close {
    width: 36px;
    height: 36px;
    border: none;
    background: #f5f5f5;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: #666;
}

.fl-mobile-links {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
}

.fl-mobile-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    color: #37474F;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 10px;
    margin-bottom: 4px;
    transition: all 0.2s;
}

.fl-mobile-link:hover {
    background: #f5f5f5;
}

.fl-mobile-link.active {
    background: #f0f7e6;
    color: #7CB342;
}

.fl-mobile-link i {
    width: 22px;
    font-size: 1.125rem;
    text-align: center;
    color: #7CB342;
}

.fl-mobile-footer {
    padding: 16px;
    border-top: 1px solid #eee;
}

.fl-mobile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 10px;
    text-decoration: none;
    margin-bottom: 10px;
    transition: all 0.2s;
}

.fl-mobile-btn:last-child {
    margin-bottom: 0;
}

.fl-mobile-btn-primary {
    background: #7CB342;
    color: #fff;
}

.fl-mobile-btn-primary:hover {
    background: #689F38;
}

.fl-mobile-btn-outline {
    background: #fff;
    color: #7CB342;
    border: 2px solid #7CB342;
}

.fl-mobile-btn-outline:hover {
    background: #f0f7e6;
}

.fl-mobile-btn-gray {
    background: #f5f5f5;
    color: #666;
}

body.menu-open {
    overflow: hidden;
}
