/*
 * EURAYSTORE brand tokens — SINGLE SOURCE OF COLOUR TRUTH (BRD-001).
 * Official palette (logo): primary #5e2ee6, hover/active #4622ac, accent #14b8b8. Neutrals and states keep their existing values.
 * Loaded first in templates/_partials/head.tpl. Every other theme file uses var(--brand-*) or a legacy alias
 * (--es-*, --eu-*, --euray-*) that points here. Hard-coded colours elsewhere fail tools/check-brand-palette.js.
 */
:root {
  /* Brand */
  --brand-primary: #5e2ee6;
  --brand-primary-hover: #4622ac;
  --brand-accent: #14b8b8;
  --brand-on-primary: #ffffff;
  --brand-primary-soft: #f1edff;
  --brand-primary-light: #a590f4;
  --brand-accent-soft: #e5f8f8;
  --brand-accent-soft-hover: #dff5f6;

  /* Neutrals (existing values) */
  --brand-white: #ffffff;
  --brand-black: #000000;
  --brand-text: #142122;
  --brand-text-muted: #5e6c70;
  --brand-text-subtle: #748185;
  --brand-ink-strong: #101828;
  --brand-gray-500: #667085;
  --brand-border: #e1e6e7;
  --brand-border-soft: #e8eeee;
  --brand-border-strong: #d7dfe1;
  --brand-surface: #ffffff;
  --brand-surface-muted: #f8fbfb;
  --brand-surface-hover: #f6fdfd;

  /* States (existing values) */
  --brand-success: #007a80;
  --brand-success-soft: #e5f8f8;
  --brand-danger: #c93d3d;
  --brand-danger-soft: #fff0f0;
  --brand-warning: #b7791f;
  --brand-warning-soft: #fff7e6;

  /* Shape, depth, focus */
  --brand-radius-sm: 8px;
  --brand-radius-md: 12px;
  --brand-radius-lg: 16px;
  --brand-radius-pill: 999px;
  --brand-shadow-xs: 0 1px 3px color-mix(in srgb, var(--brand-text) 5%, transparent);
  --brand-shadow-sm: 0 2px 8px color-mix(in srgb, var(--brand-text) 4%, transparent);
  --brand-shadow-card: 0 3px 12px color-mix(in srgb, var(--brand-text) 4%, transparent);
  --brand-focus-ring: 0 0 0 3px color-mix(in srgb, var(--brand-primary) 35%, transparent);
  /* Inverse surfaces (dark sections: footer) */
  --brand-surface-inverse: #261268;
  --brand-ink-inverse: #17132b;

  /* Typography (Poppins per Product Visual Reference v1; declared only, not applied yet) */
  --brand-font: Poppins, sans-serif;
  --brand-text-xs: 12px;
  --brand-text-sm: 13px;
  --brand-text-md: 15px;
  --brand-text-lg: 20px;
  --brand-text-xl: 24px;

  /* Spacing scale (declared only, not applied yet) */
  --brand-space-1: 4px;
  --brand-space-2: 8px;
  --brand-space-3: 12px;
  --brand-space-4: 16px;
  --brand-space-5: 20px;
  --brand-space-6: 24px;
  --brand-space-7: 32px;
  --brand-space-8: 40px;
}
