/* KHADOUGA 2.0 - design tokens
   Direction: deep burgundy ground, warm cream paper, muted gold accent.
   No gradients on surfaces, no glassmorphism. Gold is an accent, never a background for text. */

:root{
  /* Brand */
  --k-burgundy-950:#1E0708;
  --k-burgundy-900:#2A0A0C;
  --k-burgundy-800:#3B0F12;
  --k-burgundy-700:#521518;
  --k-red-700:#7A1012;
  --k-red-600:#8E1113;   /* brand red, used sparingly: prices, order CTA, active states */
  --k-gold-700:#8A6A1F;  /* gold on cream: text-safe */
  --k-gold-600:#B8912F;
  --k-gold-500:#C9A24B;
  --k-gold-400:#E0C07A;
  --k-gold-300:#EFD9A6;  /* gold on burgundy: text-safe */

  /* Neutrals */
  --k-cream-50:#FDF8F1;
  --k-cream-100:#F7EFE3;
  --k-cream-200:#F0E5D6;
  --k-ivory:#FFFCF7;
  --k-ink-900:#1B1412;
  --k-ink-700:#3A302C;
  --k-ink-600:#4A3F3A;
  --k-muted:#7A6E67;
  --k-line:#E7DCCD;
  --k-line-strong:#D8C9B6;
  --k-on-dark:#F6EDE2;
  --k-on-dark-muted:#C9B6A6;

  /* Semantic */
  --k-success:#2F6B4F;
  --k-success-bg:#E7F1EA;
  --k-warning:#9A6416;
  --k-warning-bg:#FBF0DC;
  --k-danger:#8E1113;
  --k-danger-bg:#F9E7E6;
  --k-info:#2B4F6B;
  --k-info-bg:#E7EEF4;
  --k-unknown:#6B625C;
  --k-unknown-bg:#EFEAE4;

  /* Type */
  --k-font-display:"Amiri", "Times New Roman", serif;   /* headlines only */
  --k-font-ui:"Cairo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --k-font-num:"Cairo", ui-monospace, monospace;

  --k-fs-11:11px; --k-fs-12:12px; --k-fs-13:13px; --k-fs-14:14px;
  --k-fs-16:16px; --k-fs-18:18px; --k-fs-22:22px; --k-fs-28:28px;
  --k-fs-36:36px; --k-fs-48:48px; --k-fs-64:64px;

  --k-lh-tight:1.15; --k-lh-snug:1.35; --k-lh-body:1.75;   /* Arabic body needs the room */
  --k-fw-regular:400; --k-fw-medium:500; --k-fw-bold:700; --k-fw-black:800;
  --k-tracking-tight:-0.01em;

  /* Space (4px base) */
  --k-s1:4px; --k-s2:8px; --k-s3:12px; --k-s4:16px; --k-s5:20px;
  --k-s6:24px; --k-s8:32px; --k-s10:40px; --k-s12:48px; --k-s16:64px; --k-s20:80px;

  /* Shape */
  --k-r-xs:4px; --k-r-sm:6px; --k-r-md:10px; --k-r-lg:14px; --k-r-xl:20px; --k-r-full:999px;

  /* Elevation - low and warm, never heavy */
  --k-shadow-1:0 1px 2px rgba(43,17,12,.06), 0 1px 3px rgba(43,17,12,.05);
  --k-shadow-2:0 6px 18px -10px rgba(43,17,12,.28);
  --k-shadow-3:0 24px 48px -28px rgba(43,17,12,.42);

  /* Motion */
  --k-dur-fast:120ms; --k-dur-base:200ms; --k-dur-slow:320ms;
  --k-ease:cubic-bezier(.2,.7,.3,1);

  /* Layout */
  --k-container:1180px;
  --k-gutter:clamp(16px,4vw,32px);
  --k-focus:0 0 0 3px rgba(201,162,75,.45);
}
