/* Container de ações com flex para melhor distribuição */
.header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap; /* Permite quebrar linha em celulares muito pequenos */
    justify-content: flex-end;
}

/* Estilo base dos botões do header para uniformidade */
.btn-header {
    text-decoration: none;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    border: none;
    cursor: pointer;
}

/* Saudação estilizada como botão estático */
.user-greeting {
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    cursor: default; /* Não mostra a mãozinha clicável */
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    font-weight: 500;
}

/* Botões tipo 'Entrar' (Fundo Branco/Claro) */
.btn-cardapio, .btn-carrinho, .btn-pedidos, .btn-entrar {
    background-color: rgba(255, 255, 255, 0.9);
    color: #e63946;
}

.btn-cardapio:hover, .btn-carrinho:hover, .btn-pedidos:hover, .btn-entrar:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
}

/* Botões tipo 'Ação Principal' (Vermelho) */
.btn-cadastrar, .btn-perfil {
    background-color: #e63946;
    color: #ffffff;
}

.btn-cadastrar:hover, .btn-perfil:hover {
    background-color: #d62828;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Botão Sair (Estilo diferenciado) */
.btn-sair {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.5);
    font-size: 12px;
}

.btn-sair:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: #ffffff;
}

.logo-vitrine img {
    height: 70px;
    width: auto;
}

/* Ajustes para Mobile */
@media (max-width: 768px) {
    .public-header {
        height: auto !important;
        padding: 15px 0;
    }
    
    .header-container {
        flex-direction: column;
        align-items: center;
        height: auto !important;
        gap: 12px;
    }

    .logo-vitrine a {
        flex-direction: column;
        justify-content: center;
        gap: 5px;
    }

    .logo-vitrine img {
        max-height: 55px !important;
    }

    .logo-vitrine h1 {
        font-size: 20px !important;
        text-align: center;
    }

    .header-actions {
        justify-content: center;
        width: 100%;
        gap: 6px;
    }

    .btn-header {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    /* Removemos margem e width para o botão de usuário se alinhar ao grid no mobile */
    .user-greeting {
        text-align: center;
    }
}

