/* OmniMen Supplements - Modern UI Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --primary: #065f46;
  --primary-light: #047857;
  --accent: #10b981;
  --dark: #0f172a;
}

body {
  font-family: var(--font-main);
  background-color: #f8fafc;
  color: #1e293b;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Glassmorphism & Header styling */
.header-glass {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Product Card animations */
.product-card {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: #a7f3d0;
}

/* Pulse badge */
@keyframes subtle-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.9; }
}
.badge-live {
  animation: subtle-pulse 3s infinite ease-in-out;
}

/* Smooth Drawer Transitions */
#cart-drawer {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
#cart-drawer-overlay {
  transition: opacity 0.3s ease;
}

/* Quantity input spinner removal */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}
input[type=number] {
  -moz-appearance: textfield;
}

/* Hero gradient accent */
.hero-gradient-bg {
  background: radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.12) 0%, rgba(248, 250, 252, 0) 60%),
              radial-gradient(circle at 10% 80%, rgba(6, 95, 70, 0.08) 0%, rgba(248, 250, 252, 0) 50%);
}
