/* Persian UI font — Vazirmatn (OFL). Closest free geometric alternative to commercial Modam. */
@font-face { font-family: "Vazirmatn"; src: url("/custom/fonts/Vazirmatn-Thin.woff2") format("woff2"); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("/custom/fonts/Vazirmatn-ExtraLight.woff2") format("woff2"); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("/custom/fonts/Vazirmatn-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("/custom/fonts/Vazirmatn-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("/custom/fonts/Vazirmatn-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("/custom/fonts/Vazirmatn-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("/custom/fonts/Vazirmatn-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("/custom/fonts/Vazirmatn-ExtraBold.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("/custom/fonts/Vazirmatn-Black.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  --font-sans: "Vazirmatn", "Tahoma", ui-sans-serif, system-ui, sans-serif !important;
  --font-family: "Vazirmatn", "Tahoma", ui-sans-serif, system-ui, sans-serif !important;
}

html, body,
button, input, select, textarea,
.button, .input, .label, .title, .subtitle,
h1, h2, h3, h4, h5, h6, p, span, a, li, td, th, label,
[class*="font"], [class*="text"] {
  font-family: "Vazirmatn", "Tahoma", ui-sans-serif, system-ui, sans-serif !important;
}

/* Keep monospace for code blocks */
code, pre, kbd, samp, .mono, [class*="code"] {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
}
