/**
 * ND STORE — Digital Commerce Design System
 * Theme: Elegant Maroon & Crisp White Gradient Design System
 */

:root {
  --brand-maroon-dark: #4c0519;
  --brand-maroon: #881337;
  --brand-maroon-light: #9f1239;
  --brand-maroon-accent: #be123c;
  --brand-rose: #e11d48;
  --brand-rose-soft: #ffe4e6;
  --brand-gradient: linear-gradient(135deg, #4c0519 0%, #881337 50%, #9f1239 100%);
  --brand-gradient-light: linear-gradient(135deg, #fff1f2 0%, #ffffff 50%, #ffe4e6 100%);
  --bg-page: #f8fafc;
  --card-bg: #ffffff;
  --border-subtle: #f1f5f9;
  --border-maroon: #fecdd3;
}

/* Base resets & typography */
html {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  scroll-behavior: smooth;
}

body {
  background: radial-gradient(circle at 10% 20%, rgba(244, 63, 94, 0.05) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(136, 19, 55, 0.06) 0%, transparent 40%),
              #f8fafc;
  color: #0f172a;
  overflow-x: hidden;
}

/* Custom Scrollbar - Maroon Tint */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #9f1239;
}

/* Selection Color */
::selection {
  background-color: #881337;
  color: #ffffff;
}

/* Glassmorphism Classes for Maroon & White Theme */
.glass-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(136, 19, 55, 0.08);
  box-shadow: 0 4px 20px -2px rgba(136, 19, 55, 0.04);
}

.glass-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04), 0 1px 2px -1px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  border-color: rgba(190, 18, 60, 0.3);
  box-shadow: 0 10px 25px -5px rgba(136, 19, 55, 0.08), 0 8px 10px -6px rgba(136, 19, 55, 0.04);
}

.maroon-gradient {
  background: linear-gradient(135deg, #4c0519 0%, #881337 50%, #be123c 100%);
}

.maroon-gradient-text {
  background: linear-gradient(135deg, #4c0519 0%, #881337 50%, #e11d48 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.maroon-card-glow {
  box-shadow: 0 10px 30px -10px rgba(136, 19, 55, 0.2);
}

/* Pulse & Shimmer */
.pulse-glow {
  animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(190, 18, 60, 0.2);
  }
  50% {
    box-shadow: 0 0 25px rgba(190, 18, 60, 0.4);
  }
}

.shimmer {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(254, 205, 211, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
  background-size: 200% 100%;
  animation: shimmerAnim 2.5s infinite;
}

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

/* Toast Container */
#toastContainer {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
