/* ==========================================================================
   Design Tokens — KeyPerfume
   ========================================================================== */

:root {
  /* ── Brand Colors ── */
  --color-primary: #c41e3a;
  --color-primary-dark: #a01830;
  --color-primary-light: #e8354f;
  --color-secondary: #1a1a2e;
  --color-accent: #d4af37;
  --color-accent-light: #f0d875;

  /* ── Neutral Palette ── */
  --color-white: #ffffff;
  --color-gray-50: #f8f9fb;
  --color-gray-100: #f0f4f8;
  --color-gray-200: #e2e8f0;
  --color-gray-300: #cbd5e1;
  --color-gray-400: #94a3b8;
  --color-gray-500: #64748b;
  --color-gray-600: #475569;
  --color-gray-700: #334155;
  --color-gray-800: #1e293b;
  --color-gray-900: #0f172a;

  /* ── Semantic Colors ── */
  --color-success: #16a34a;
  --color-warning: #f59e0b;
  --color-danger: #dc2626;
  --color-info: #2563eb;
  --color-price-sale: #e60000;
  --color-price-original: #999999;

  /* ── Background ── */
  --bg-body: #f0f4f8;
  --bg-section-alt: #f8f9fb;
  --bg-card: #ffffff;
  --bg-footer: #2d2d3a;
  --bg-footer-bottom: #1f1f2b;
  --bg-topbar: #c41e3a;

  /* ── Typography ── */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-brand: 'Montserrat', 'Arial', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* ── Spacing ── */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  /* ── Layout ── */
  --container-max: 1280px;
  --container-wide: 1440px;
  --container-narrow: 960px;
  --sidebar-width: 300px;
  --header-height: 70px;
  --topbar-height: 40px;

  /* ── Borders ── */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  --border-color: #e2e8f0;

  /* ── Shadows ── */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 8px 24px rgba(0, 0, 0, 0.12);

  /* ── Transitions ── */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  --transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ── Z-Index Scale ── */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-toast: 600;
}

/* ── Dark mode overrides (future) ── */
@media (prefers-color-scheme: dark) {
  :root {
    /* Reserved for future dark mode */
  }
}
