/* Cart Badge Styles - Simple and clean approach */
.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff3e6c;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    font-weight: bold;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Cart badge animation */
.cart-badge.animate {
    animation: badgePulse 0.3s ease-in-out;
}

@keyframes badgePulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

/* Cart icon container - minimal changes */
.cart-icon-container {
    position: relative;
    display: inline-block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cart-badge {
        top: -6px;
        right: -6px;
        font-size: 10px;
        min-width: 16px;
        height: 16px;
        padding: 1px 4px;
    }
}

/* High count styling */
.cart-badge.high-count {
    font-size: 10px;
    padding: 1px 4px;
}

/* Badge visibility states */
.cart-badge.show {
    display: flex !important;
}

.cart-badge.hide {
    display: none !important;
}