/* DEFINITIVE CART NOTIFICATION STYLES */
.cart-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    z-index: 9999;
    transform: translateX(400px);
    transition: all 0.3s ease;
    max-width: 350px;
}

.cart-notification.show {
    transform: translateX(0);
}

.cart-notification.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.cart-notification.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.cart-notification-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
}

.cart-notification-title {
    flex: 1;
}

.cart-notification-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.cart-notification-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.cart-notification-product {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem;
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.cart-notification-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.cart-notification-btn {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.cart-notification-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* Loading state */
.add-to-cart-form button.loading {
    opacity: 0.7;
    pointer-events: none;
}

@media (max-width: 768px) {
    .cart-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
    }
}
