/* Cart Notification Styles */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.cart-notification {
  animation: slideInRight 0.3s ease-out;
}

/* Cart Count Badge */
.cart-count-badge {
  animation: scaleIn 0.3s ease-out;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

/* Cart Item Animations */
.cart-item-row, .cart-item-card, .mini-cart-item {
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Empty Cart Message */
.empty-cart-message {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

/* Mini Cart Improvements */
#sidebar-cart .product-item {
  transition: background-color 0.2s ease;
}

#sidebar-cart .product-item:hover {
  background-color: rgba(0, 0, 0, 0.02);
  border-radius: 8px;
}

.remove-mini-cart-item {
  font-size: 12px;
  color: #dc3545 !important;
  text-decoration: none;
  display: inline-block;
  margin-top: 8px;
  transition: color 0.2s ease;
}

.remove-mini-cart-item:hover {
  color: #bd2130 !important;
  text-decoration: underline;
}

/* Cart Button Hover Effect */
.cart-btn {
  transition: all 0.3s ease;
}

.cart-btn:hover {
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cart-notification {
    right: 10px;
    left: 10px;
    top: 80px;
  }
}
