/* Cart and Wishlist Notifications */
.cart-notification,
.wishlist-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 15px 20px;
    min-width: 300px;
    z-index: 9999;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

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

.cart-notification.success,
.wishlist-notification.success {
    border-left: 4px solid #28a745;
}

.cart-notification.error,
.wishlist-notification.error {
    border-left: 4px solid #dc3545;
}

.cart-notification.warning,
.wishlist-notification.warning {
    border-left: 4px solid #ffc107;
}

.cart-notification.info,
.wishlist-notification.info {
    border-left: 4px solid #17a2b8;
}

.cart-notification .notification-content,
.wishlist-notification .notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-notification .notification-content i,
.wishlist-notification .notification-content i {
    font-size: 24px;
}

.cart-notification.success .notification-content i,
.wishlist-notification.success .notification-content i {
    color: #28a745;
}

.cart-notification.error .notification-content i,
.wishlist-notification.error .notification-content i {
    color: #dc3545;
}

.cart-notification.warning .notification-content i,
.wishlist-notification.warning .notification-content i {
    color: #ffc107;
}

.cart-notification.info .notification-content i,
.wishlist-notification.info .notification-content i {
    color: #17a2b8;
}

.cart-notification .notification-content span,
.wishlist-notification .notification-content span {
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

/* Wishlist button active state */
.btn-wishlist-action.in-wishlist i {
    color: #e74c3c;
}

/* Loading animation for ionicons */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ion-load-c {
    animation: spin 1s linear infinite;
    display: inline-block;
}

/* Button state management */
.btn-cart-action:disabled,
.btn-wishlist-action:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-cart-action i,
.btn-wishlist-action i {
    display: inline-block;
    transition: transform 0.3s ease;
}

/* Empty cart/wishlist state */
.empty-cart-content,
.empty-wishlist {
    padding: 60px 20px;
}

.empty-cart-content i,
.empty-wishlist i {
    display: block;
    margin-bottom: 20px;
}
