/*
  oreyx Pro Local Fonts
  - No CDN
  - No Google Fonts
  - WOFF2 only
  - font-display: swap for fast first paint
  - Inter for Latin UI
  - Vazirmatn for Persian/Arabic/RTL UI
*/

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/Inter/Inter-Thin.woff2?v=20260801171105-theme-refresh") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/Inter/Inter-ExtraLight.woff2?v=20260801171105-theme-refresh") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/Inter/Inter-Light.woff2?v=20260801171105-theme-refresh") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/Inter/Inter-Regular.woff2?v=20260801171105-theme-refresh") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/Inter/Inter-Medium.woff2?v=20260801171105-theme-refresh") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/Inter/Inter-SemiBold.woff2?v=20260801171105-theme-refresh") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/Inter/Inter-Bold.woff2?v=20260801171105-theme-refresh") format("woff2");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("/assets/fonts/Vazir/Vazirmatn-Thin.woff2?v=20260801171105-theme-refresh") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("/assets/fonts/Vazir/Vazirmatn-ExtraLight.woff2?v=20260801171105-theme-refresh") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("/assets/fonts/Vazir/Vazirmatn-Light.woff2?v=20260801171105-theme-refresh") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("/assets/fonts/Vazir/Vazirmatn-Regular.woff2?v=20260801171105-theme-refresh") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("/assets/fonts/Vazir/Vazirmatn-Medium.woff2?v=20260801171105-theme-refresh") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("/assets/fonts/Vazir/Vazirmatn-SemiBold.woff2?v=20260801171105-theme-refresh") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("/assets/fonts/Vazir/Vazirmatn-Bold.woff2?v=20260801171105-theme-refresh") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("/assets/fonts/Vazir/Vazirmatn-ExtraBold.woff2?v=20260801171105-theme-refresh") format("woff2");
  font-weight: 800 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-latin: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-rtl: "Vazirmatn", "Inter", Tahoma, Arial, sans-serif;
  --font: var(--font-latin);
  --fontHeading: var(--font-latin);
}

html[dir="rtl"],
html[lang|="fa"],
html[lang|="ar"],
body[dir="rtl"] {
  --font: var(--font-rtl);
  --fontHeading: var(--font-rtl);
}

body,
button,
input,
select,
textarea {
  font-family: var(--font);
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand__name,
.section__title,
.checkout-card__title {
  font-family: var(--fontHeading);
}

/* OreyX locale-aware font runtime mapping v1 */
:root {
  --oreyx-font-latin: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --oreyx-font-arabic: "Vazirmatn", "Inter", Tahoma, Arial, sans-serif;
  --oreyx-locale-font: var(--oreyx-font-latin);
  --oreyx-locale-font-heading: var(--oreyx-font-latin);
  --font-latin: var(--oreyx-font-latin);
  --font-rtl: var(--oreyx-font-arabic);
  --font: var(--oreyx-locale-font);
  --font-heading: var(--oreyx-locale-font-heading);
  --fontHeading: var(--oreyx-locale-font-heading);
}

html[data-font-script="arabic"],
html[lang|="fa"],
html[lang|="ar"],
html[lang|="ur"],
html[dir="rtl"] {
  --oreyx-locale-font: var(--oreyx-font-arabic);
  --oreyx-locale-font-heading: var(--oreyx-font-arabic);
  --font: var(--oreyx-font-arabic);
  --font-heading: var(--oreyx-font-arabic);
  --fontHeading: var(--oreyx-font-arabic);
}

html[data-font-script="latin"],
html[dir="ltr"] {
  --oreyx-locale-font: var(--oreyx-font-latin);
  --oreyx-locale-font-heading: var(--oreyx-font-latin);
}

html,
body,
button,
input,
select,
textarea,
.oreyx-storefront {
  font-family: var(--oreyx-locale-font, var(--font));
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand__name,
.section__title,
.checkout-card__title {
  font-family: var(--oreyx-locale-font-heading, var(--font-heading));
}
