/* Vazirmatn — SIL Open Font License 1.1 (see fonts/OFL.txt). Loaded only while a right-to-left language is active. */
@font-face { font-family: Vazirmatn; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/Vazirmatn-Light.woff2") format("woff2"); }
@font-face { font-family: Vazirmatn; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/Vazirmatn-Regular.woff2") format("woff2"); }
@font-face { font-family: Vazirmatn; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/Vazirmatn-Medium.woff2") format("woff2"); }
@font-face { font-family: Vazirmatn; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/Vazirmatn-SemiBold.woff2") format("woff2"); }
@font-face { font-family: Vazirmatn; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/Vazirmatn-Bold.woff2") format("woff2"); }

html[dir="rtl"] body,
html[dir="rtl"] .btn,
html[dir="rtl"] input,
html[dir="rtl"] select,
html[dir="rtl"] textarea,
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3,
html[dir="rtl"] h4, html[dir="rtl"] h5, html[dir="rtl"] h6,
html[dir="rtl"] .h1, html[dir="rtl"] .h2, html[dir="rtl"] .h3,
html[dir="rtl"] .h4, html[dir="rtl"] .h5, html[dir="rtl"] .h6,
html[dir="rtl"] .tooltip, html[dir="rtl"] .popover {
    font-family: Vazirmatn, Tahoma, "Segoe UI", Arial, sans-serif;
}

/* Persian text reads better a little taller; keep numbers (prices, codes) in tabular figures. */
html[dir="rtl"] body { line-height: 1.75; }
html[dir="rtl"] .price, html[dir="rtl"] .tabular { font-feature-settings: "tnum"; }
