/* Cart & Wishlist Notification Styles */

.cart-notification,
.wishlist-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #ffffff;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.3s ease;
  max-width: 350px;
}

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

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

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

.wishlist-notification-success {
  border-left: 4px solid #ee4266;
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.notification-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 16px;
}

.cart-notification-success .notification-icon {
  background: #22c55e;
  color: #ffffff;
}

.cart-notification-error .notification-icon,
.wishlist-notification-error .notification-icon {
  background: #ef4444;
  color: #ffffff;
}

.wishlist-notification-success .notification-icon {
  background: #ee4266;
  color: #ffffff;
}

.notification-message {
  flex: 1;
  font-size: 14px;
  color: #25262a;
  font-weight: 500;
  line-height: 1.4;
}

/* Cart Count Badge Animation */
.cart-count.pulse,
.wishlist-count.pulse {
  animation: pulseAnimation 0.5s ease;
}

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

/* Mobile Responsive */
@media (max-width: 767px) {
  .cart-notification,
  .wishlist-notification {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
    padding: 14px 18px;
  }

  .notification-message {
    font-size: 13px;
  }

  .notification-icon {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
}
