/* =====================================================================
   Global design tokens - the single source of truth for colours, type,
   spacing and radii. Used by main.css (shop) and admin.css (admin).
   ===================================================================== */
:root {
  /* Palette */
  --color-bg: #ffffff;
  --color-text: #111111;
  --color-text-secondary: #555555;
  --color-accent: #7c3aed;
  --color-accent-hover: #6d28d9;
  --color-border: #e5e5e5;
  --color-error: #dc2626;
  --color-success: #16a34a;

  /* Derived tints */
  --color-surface: #fafafa;
  --color-accent-soft: #f5f3ff;
  --color-error-soft: #fef2f2;
  --color-success-soft: #f0fdf4;
  --color-on-accent: #ffffff;

  /* Typography */
  --font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --line-height: 1.6;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;

  /* Shape & depth */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(17, 17, 17, 0.06);
  --shadow: 0 4px 16px rgba(17, 17, 17, 0.08);
  --focus-ring: 0 0 0 3px rgba(124, 58, 237, 0.35);

  --container: 1120px;
  --transition: 150ms ease;
}
