/* ANIMAÇÃO DE TREMER (SHAKE RÁPIDO) */
@keyframes tremidinha {
    0% { transform: translateX(0); }
    90% { transform: translateX(0); } 
    92% { transform: translateX(-3px) rotate(-1deg); }
    94% { transform: translateX(3px) rotate(1deg); }
    96% { transform: translateX(-3px) rotate(-1deg); }
    98% { transform: translateX(3px) rotate(1deg); }
    100% { transform: translateX(0); }
}

/* CONTAINER DO BOTÃO FLUTUANTE - NEON FINO E DISCRETO */
#cart-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #10b981;
    border-radius: 50%;
    display: flex; 
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    border: none;
    outline: none;
    
    /* Brilho neon bem suave, só uma "aura" pequena */
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
    
    /* Aplica a tremidinha a cada 3 segundos */
    animation: tremidinha 3s infinite;
    transition: all 0.3s ease;
}

#cart-btn:hover {
    transform: scale(1.1);
    background-color: #059669;
    box-shadow: 0 0 18px rgba(16, 185, 129, 0.7);
    animation: none; 
}

/* AJUSTE DO ÍCONE (SVG) */
.cart-icon-wrapper svg {
    width: 28px;
    height: 28px;
    fill: white;
    display: block;
}

/* CONTADOR DE ITENS - SEM A BORDA PRETA HORROROSA */
#count-flutuante {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: #ef4444;
    color: white;
    font-size: 11px;
    font-weight: 800;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Removi a borda preta e coloquei uma sombra bem leve para destacar do verde */
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* RESPONSIVIDADE PARA CELULAR */
@media (max-width: 768px) {
    #cart-btn {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
    
    .cart-icon-wrapper svg {
        width: 24px;
        height: 24px;
    }
}