@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.fade-in { animation: fadeIn 0.3s ease-out forwards; }
.slide-up { animation: slideUp 0.4s ease-out forwards; }
.pulse { animation: pulse 2s infinite; }
.loader {
  width: 48px; height: 48px;
  border: 5px solid #E5E7EB;
  border-bottom-color: #10B981;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 100;
  transition: all 0.3s ease;
}
.whatsapp-float:hover { transform: scale(1.1); }
.chart-bar { height: 24px; border-radius: 4px; transition: width 0.5s ease; }
.product-card { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.star-filled { color: #FBBF24; }
.star-empty { color: #D1D5DB; }
.badge {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 12px; border-radius: 9999px;
  font-size: 12px; font-weight: 600;
}
.badge-new { background-color: #10B981; color: white; }
.badge-sale { background-color: #EF4444; color: white; }
.cart-bounce { animation: cartBounce 0.5s ease; }
@keyframes cartBounce {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.2); }
  50% { transform: scale(0.9); }
  75% { transform: scale(1.1); }
}
.search-focus { box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2); }
.nav-link { position: relative; }
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: #10B981;
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }
.modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5); z-index: 1000;
  display: flex; align-items: center; justify-content: center;
}
.modal-content {
  background: white; border-radius: 12px; padding: 24px;
  max-width: 500px; width: 90%; max-height: 90vh; overflow-y: auto;
}
.notification-dot {
  position: absolute; top: -4px; right: -4px;
  width: 8px; height: 8px; background: #EF4444;
  border-radius: 50%;
}
.scrollbar-thin::-webkit-scrollbar { width: 6px; }
.scrollbar-thin::-webkit-scrollbar-track { background: #F3F4F6; }
.scrollbar-thin::-webkit-scrollbar-thumb { background: #9CA3AF; border-radius: 3px; }
.category-chip {
  padding: 8px 16px; border-radius: 9999px; font-size: 14px;
  font-weight: 500; cursor: pointer; transition: all 0.2s ease;
}
.category-chip.active { background-color: #10B981; color: white; }
.category-chip:not(.active) { background-color: #F3F4F6; color: #374151; }
.category-chip:not(.active):hover { background-color: #E5E7EB; }
.qty-btn {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: bold; cursor: pointer; transition: background 0.2s;
}
.qty-btn:hover { background-color: #E5E7EB; }
