/* footer.css */
.footer-fixo {
    position: fixed;
    bottom: 1px;
    left: 50%;
    transform: translateX(-50%);
    right: 0;
    background: linear-gradient(135deg, #a4cdf7ff, #0473fbff);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: 12px 0;
    z-index: 1000;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px 20px 0 0;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.footer-fixo:hover {
    box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #f5d095ff, #855f21ff, #f7c895ff);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.container-botoes {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn-footer {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    padding: 14px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    min-width: 80px;
}

.btn-footer:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.btn-footer:disabled:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Estilos para o botão de mensagens no footer */
.btn-footer .badge-notificacao {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #350202ff, #ff3838);
    color: yellow;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 1;
}

.btn-footer:hover::before {
    transform: translateY(0);
}

.btn-footer:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.btn-footer:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-footer i {
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.btn-footer:hover i {
    transform: scale(1.25);
}

.btn-footer span {
    font-size: 15px;
    z-index: 2;
    position: relative;
}

#contador-carrinho-footer {
    position: absolute;
    background: linear-gradient(135deg, #350202ff, #ff3838);
    color: white;
    border-radius: 50%;
    top: 10px;
    right: 25px;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: pulse 1.5s infinite;
    z-index: 3;
    transform: translate(0, 0);
}

/* Efeitos específicos para cada botão */
#btnFecharPedido:hover i {
    color: #4cd964;
}

#btnMeuCarrinho:hover i {
    color: #ffd700;
}

#btnMeusPedidos:hover i {
    color: #5ac8fa;
}

#btnMeusFavoritos:hover i {
    color: #ff2d55;
}

/* Ajuste para o botão de mensagens no footer */
#btnMensagens {
    position: relative;
}