/* Achal Kids Wear Shop - Custom Theme & Polish */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Yatra+One&family=Baloo+2:wght@400;600;700;800&display=swap');

:root {
  --primary: #f43f5e;
  --primary-hover: #e11d48;
  --secondary: #0ea5e9;
  --accent: #f59e0b;
  --whatsapp: #25d366;
  --whatsapp-hover: #1ebd5a;
}

body {
  font-family: 'Baloo 2', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #fdf2f8;
}
::-webkit-scrollbar-thumb {
  background: #f472b6;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #ec4899;
}

/* Floating WhatsApp Button Pulse */
.pulse-green {
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  animation: pulse-green-animation 2s infinite;
}

@keyframes pulse-green-animation {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Card Hover Effects */
.product-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(244, 63, 94, 0.12), 0 10px 10px -5px rgba(244, 63, 94, 0.04);
}

/* Gentle Float Animation */
@keyframes gentle-float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

.float-animation {
  animation: gentle-float 4s ease-in-out infinite;
}

/* Toast Notification */
#toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  animation: slide-up 0.3s ease-out forwards;
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Backdrop blur support */
.glass-effect {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
