.carrinho-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    gap: 1rem;
}

.carrinho-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.carrinho-item-info {
    flex-grow: 1;
}

.carrinho-item-info h6 {
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.carrinho-item-preco {
    color: #198754;
    font-weight: bold;
}

.carrinho-item-controles {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-float {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: white; /* Fundo branco como você pediu */
    color: #5bbf8e; /* Ícone verde */
    width: 70px; /* Um pouco maior */
    height: 70px;
    border-radius: 20px; /* Quadrado com bordas arredondadas */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1.5px solid #f0eaef; /* Borda sutil */
}

.cart-float:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 20px rgba(91, 191, 142, 0.2);
}

/* Badge de quantidade (o número vermelho/rosa no cantinho) */
.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #e74c3c; /* Vermelho vibrante (como DaisyUI) */
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
    display: none;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid white; /* Borda branca para destacar */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Animação de "Pulo" */
@keyframes cartBounce {
    0%, 100% { transform: translateY(-50%) scale(1); }
    25% { transform: translateY(-50%) scale(1.15) translateY(-10px); }
    50% { transform: translateY(-50%) scale(1.05); }
    75% { transform: translateY(-50%) scale(1.1) translateY(-5px); }
}

/* Classe que ativa a animação */
.cart-float.bounce {
    animation: cartBounce 0.6s ease;
}