/* Shopfaiz fonts — self-hosted, subset to Latin + Cyrillic (see fonts/README.md, SIL OFL 1.1).
   Inter Display: headings. Inter: interface. JetBrains Mono: technical labels (article, sizes,
   order numbers, time). font-display: swap — text is visible at once in the fallback, whose
   metrics are matched to Inter so the line breaks do not move when the real font arrives.
   The two faces of the first screen are preloaded in index.html. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/Inter-Regular.v4-1.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/Inter-Medium.v4-1.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/Inter-SemiBold.v4-1.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700 800; font-display: swap; src: url("fonts/Inter-Bold.v4-1.woff2") format("woff2"); }
@font-face { font-family: "Inter Display"; font-style: normal; font-weight: 500 600; font-display: swap; src: url("fonts/InterDisplay-SemiBold.v4-1.woff2") format("woff2"); }
@font-face { font-family: "Inter Display"; font-style: normal; font-weight: 700 800; font-display: swap; src: url("fonts/InterDisplay-Bold.v4-1.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/JetBrainsMono-Medium.v2-305.woff2") format("woff2"); }

/* Metric-matched fallbacks (measured against Arial-metric Liberation Sans on mixed RU/EN text). */
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Roboto"); size-adjust: 106.76%; ascent-override: 90.74%; descent-override: 22.59%; line-gap-override: 0%; }
@font-face { font-family: "Inter Display Fallback"; src: local("Arial Bold"), local("Arial"), local("Helvetica Neue"), local("Roboto"); size-adjust: 97.63%; ascent-override: 99.23%; descent-override: 24.71%; line-gap-override: 0%; }
@font-face { font-family: "Mono Fallback"; src: local("Menlo"), local("Consolas"), local("Roboto Mono"), local("DejaVu Sans Mono"); size-adjust: 100%; }
