/*
  BrutalMart Neo-Brutalism Design Tokens
  Light mode is the default (:root). Dark mode overrides via [data-theme="dark"].
  Every component file below references ONLY these variables — never hardcoded
  colors — so theme switching works everywhere automatically.
*/

:root {
  /* ===== Brand Palette (from spec) ===== */
  --color-bg: #FFF8E8;
  --color-primary: #FFD93D;
  --color-secondary: #6BCB77;
  --color-accent: #4D96FF;
  --color-danger: #FF6B6B;
  --border-black: #111111;

  /* ===== Surface / Text ===== */
  --color-surface: #FFFFFF;
  --color-text: #111111;
  --color-text-muted: #555555;

  /* ===== Shadows (Neo-Brutalism signature offset shadow) ===== */
  --shadow-sm: 3px 3px 0px var(--border-black);
  --shadow-md: 6px 6px 0px var(--border-black);
  --shadow-lg: 10px 10px 0px var(--border-black);

  /* ===== Borders / Radius ===== */
  --border-width: 3px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* ===== Spacing ===== */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;

  /* ===== Typography ===== */
  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  /* ===== Transitions ===== */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
}

/* ===== Dark Mode Overrides ===== */
[data-theme="dark"] {
  --color-bg: #1A1A1A;
  --color-surface: #262626;
  --color-text: #F5F5F5;
  --color-text-muted: #B0B0B0;
  --border-black: #F5F5F5;

  /* Shadows stay dark-colored even in dark mode for contrast against light borders */
  --shadow-sm: 3px 3px 0px #000000;
  --shadow-md: 6px 6px 0px #000000;
  --shadow-lg: 10px 10px 0px #000000;
}