:root {
  --primary: #4f46e5;  /* indigo */
  --secondary: #f97316; /* orange accent */
  --success: #22c55e;
  --danger: #ef4444;
  --background: #f9fafb;
  --card: #ffffff;
}
*{
    font-family: Poppins
    
}
/* style.css - Modern E-commerce Styles */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.5s ease-out;
}

/* Product card hover */
.product-card {
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Add to cart button animation */
.add-to-cart-btn {
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.add-to-cart-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s;
}

.add-to-cart-btn:active::after {
  width: 200px;
  height: 200px;
}

/* Skeleton loading */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Cart drawer */
.cart-drawer {
  transition: transform 0.3s ease-in-out;
}

.cart-drawer.open {
  transform: translateX(0) !important;
}

/* Product image zoom */
.zoom-img {
  transition: transform 0.3s ease;
}

.zoom-img:hover {
  transform: scale(1.05);
}

/* Rating stars */
.star-rating {
  color: #fbbf24;
  font-size: 0.875rem;
}

/* Empty state illustrations */
.empty-state {
  opacity: 0.8;
  transition: opacity 0.3s;
}

.empty-state:hover {
  opacity: 1;
}

/* Toast notification enhancement */
#toast {
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
}