/* ============================================================
   VELIORA – Design Tokens
   Premium Wellness · Luxury Nature
   ============================================================ */

:root {
  /* Nature Palette */
  --forest-dark: #1a2e1a;
  --forest: #2d4a2d;
  --moss: #4a6741;
  --sage: #7a9e7e;
  --olive: #8b9a6b;
  --sand: #d4c5a9;
  --beige: #e8dfd0;
  --cream: #f7f4ef;
  --stone: #b8b0a4;
  --graphite: #3d3d3d;
  --anthracite: #2a2a2a;
  --gold: #c4a35a;
  --gold-light: #d4b86a;
  --copper: #b87333;
  --copper-light: #c9884d;
  --white: #ffffff;

  /* Semantic */
  --bg-primary: var(--cream);
  --bg-secondary: var(--white);
  --bg-sidebar: var(--forest-dark);
  --bg-card: var(--white);
  --bg-glass: rgba(255, 255, 255, 0.72);
  --text-primary: var(--anthracite);
  --text-secondary: var(--graphite);
  --text-muted: #6b6b6b;
  --text-inverse: var(--cream);
  --text-accent: var(--forest);
  --border: rgba(45, 74, 45, 0.12);
  --border-light: rgba(45, 74, 45, 0.06);
  --shadow-sm: 0 1px 3px rgba(26, 46, 26, 0.06);
  --shadow-md: 0 4px 16px rgba(26, 46, 26, 0.08);
  --shadow-lg: 0 8px 32px rgba(26, 46, 26, 0.12);
  --shadow-xl: 0 16px 48px rgba(26, 46, 26, 0.16);
  --gradient-nature: linear-gradient(135deg, var(--forest-dark) 0%, var(--moss) 50%, var(--sage) 100%);
  --gradient-warm: linear-gradient(135deg, var(--cream) 0%, var(--beige) 100%);
  --gradient-gold: linear-gradient(135deg, var(--gold) 0%, var(--copper) 100%);

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', 'DM Sans', system-ui, sans-serif;
  --font-display: 'Manrope', var(--font-sans);

  --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: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.25rem;

  /* 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 */
  --sidebar-width: 260px;
  --cart-width: 340px;
  --header-height: 72px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;

  /* Z-index */
  --z-sidebar: 100;
  --z-header: 200;
  --z-cart: 150;
  --z-overlay: 250;
  --z-drawer: 300;
  --z-modal: 400;
  --z-toast: 500;
  --z-cookie: 600;
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
  :root.auto-dark {
    --bg-primary: var(--forest-dark);
    --bg-secondary: var(--forest);
    --bg-card: var(--forest);
    --text-primary: var(--cream);
    --text-secondary: var(--beige);
    --border: rgba(247, 244, 239, 0.1);
  }
}
