/* Cart Notification - Side Popup */
.cart-notification {
    position: fixed;
    top: 20px;
    right: -400px;
    background: white;
    padding: 20px 24px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10000;
    transition: right 0.4s ease;
    min-width: 320px;
    max-width: 400px;
    font-family: "Montserrat", sans-serif;
}

.cart-notification.show {
    right: 20px;
}

.cart-notification.success {
    border-left: 5px solid #048a08;
}

.cart-notification.success i {
    color: #048a08;
    font-size: 2em;
}

.cart-notification.error {
    border-left: 5px solid #ff4444;
}

.cart-notification.error i {
    color: #ff4444;
    font-size: 2em;
}

.cart-notification span {
    color: #333;
    font-weight: 600;
    font-size: 0.95em;
    flex: 1;
}

.cart-notification .close-popup {
    background: transparent;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 1.2em;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.cart-notification .close-popup:hover {
    color: #333;
}

/* Cart Count Badge */
.cart-count-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.75em;
    font-weight: 700;
}

/* Button loading state */
.add-cart-btn:disabled,
.product-card-add-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .cart-notification {
        min-width: 280px;
        max-width: calc(100% - 40px);
        right: -320px;
        top: 15px;
    }
    
    .cart-notification.show {
        right: 10px;
    }
    
    .cart-notification.success i,
    .cart-notification.error i {
        font-size: 1.5em;
    }
    
    .cart-notification span {
        font-size: 0.9em;
    }
}
