/* 1. Oculta a barra em computadores */
.menu-fixo-mobile { 
    display: none; 
}

/* 2. Configurações exclusivas para Celular */
@media only screen and (max-width: 767px) {
    .menu-fixo-mobile {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        background: rgba(255, 255, 255, 0.3) !important; /* Efeito Transparente */
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        z-index: 99999 !important;
        justify-content: space-around;
        padding: 10px 0;
        border-top: 1px solid rgba(0,0,0,0.1);
    }

    .menu-fixo-mobile a {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #4c5445;
        font-size: 10px;
        font-weight: bold;
        position: relative; /* Necessário para a bolinha ficar no lugar certo */
    }

    .menu-fixo-mobile i {
        font-size: 18px;
        margin-bottom: 3px;
    }

    /* --- PARTE DA BOLINHA VERMELHA (ADICIONEI AQUI) --- */
    .badge-carrinho {
        position: absolute;
        top: -5px;
        right: 5px; /* Ajuste conforme a posição do ícone */
        background-color: #ff4b4b; /* Vermelho destaque */
        color: #ffffff;
        font-size: 9px;
        font-weight: bold;
        min-width: 16px;
        height: 16px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid #fff; /* Borda branca para destacar */
        z-index: 10;
    }
    /* -------------------------------------------------- */
}
/* FORÇAR DESTAQUE IMEDIATO NO MOBILE */
/* Zeramos o estilo padrão para não haver conflito */
.atributos ul li a {
    display: block !important;
    background: #fff !important;
    border: 1px solid #ddd !important;
    color: #666 !important;
    transition: none !important; /* Remove delay de transição */
}

/* DESTAQUE ABSOLUTO: Selecionado pelo cliente */
/* Usamos seletores combinados para o navegador não ter dúvida */
.atributos ul li.selected a, 
.atributos ul li.ativo a, 
.atributos ul li.active a,
.atributos ul li a.selected {
    background-color: #2fb400 !important; /* Verde seletor */
    color: #ffffff !important; /* Letra Branca */
    border-color: #4c5445 !important;
    font-weight: bold !important;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
}

/* Ajuste para o seletor de Quantidade não sumir */
.quantidade {
    display: flex !important;
    border: 2px solid #4c5445 !important;
    margin-top: 10px;
}