/* Sarv Gold V30 — IRANSansX site-wide typography
   Commercial font files are NOT included. Upload licensed WOFF2 files to /fonts/. */

/* Preferred: one variable webfont file (Professional package). */
@font-face {
  font-family: "IRANSansXVar";
  src:
    local("IRANSansX"),
    local("IRANSansXFaNum"),
    url("/fonts/IRANSansXV.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

/* Fallback for static webfont packages. */
@font-face {
  font-family: "IRANSansXStatic";
  src: url("/fonts/IRANSansX-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IRANSansXStatic";
  src: url("/fonts/IRANSansX-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
}
@font-face {
  font-family: "IRANSansXStatic";
  src: url("/fonts/IRANSansX-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}

:root {
  --sarv-site-font: "IRANSansXVar", "IRANSansXStatic", Tahoma, Arial, sans-serif;
}

html,
body,
#root,
button,
input,
textarea,
select,
option,
optgroup,
table,
th,
td {
  font-family: var(--sarv-site-font) !important;
}

/* Override previous Dana / Anjoman assignments without affecting SVG artwork. */
body :where(
  div, section, article, main, header, footer, nav, aside,
  h1, h2, h3, h4, h5, h6,
  p, span, a, label, small, strong, b, em, i,
  li, ul, ol, dl, dt, dd, figcaption, blockquote
) {
  font-family: var(--sarv-site-font) !important;
}

/* Keep prices and numbers stable and readable. */
.sarv-gold-v22__number,
[dir="ltr"],
input[inputmode="numeric"],
input[inputmode="decimal"] {
  font-variant-numeric: tabular-nums;
}
