/* Cafina — Typography tokens
   Single family (IRANSansX) carries the whole brand. Persian/RTL-first.
   Two weights only: 400 (regular) and 700 (bold). No medium exists —
   emphasis is created with size + bold, never a 500/600 weight. */

:root {
  --font-base: "IRANSansX", "IRANSansXFaNum", "Segoe UI", Tahoma, sans-serif;
  /* Use --font-num on price / numeric strings to force Persian numerals */
  --font-num:  "IRANSansXFaNum", "IRANSansX", Tahoma, sans-serif;

  --weight-regular: 400;
  --weight-bold:    700;

  /* Type scale — RTL Persian reads a touch larger; body floor is 15px */
  --text-xs:   0.75rem;   /* 12px — badges, meta */
  --text-sm:   0.8125rem; /* 13px — captions */
  --text-base: 0.9375rem; /* 15px — body */
  --text-md:   1.0625rem; /* 17px — lead body / product title */
  --text-lg:   1.25rem;   /* 20px — card titles */
  --text-xl:   1.5rem;    /* 24px — section headings */
  --text-2xl:  1.875rem;  /* 30px — page headings */
  --text-3xl:  2.5rem;    /* 40px — hero */
  --text-4xl:  3.25rem;   /* 52px — display */

  --leading-tight:  1.3;
  --leading-snug:   1.5;
  --leading-normal: 1.8;  /* Persian body benefits from generous leading */

  --tracking-tight: -0.01em;
  --tracking-normal: 0;
  --tracking-latin: 0.08em; /* letterspaced Latin caps, e.g. CAFINA */

  /* Semantic roles */
  --font-display: var(--weight-bold) var(--text-3xl)/var(--leading-tight) var(--font-base);
  --font-heading: var(--weight-bold) var(--text-xl)/var(--leading-snug) var(--font-base);
  --font-title:   var(--weight-bold) var(--text-lg)/var(--leading-snug) var(--font-base);
  --font-body:    var(--weight-regular) var(--text-base)/var(--leading-normal) var(--font-base);
  --font-caption: var(--weight-regular) var(--text-sm)/var(--leading-snug) var(--font-base);
}
