/* Central storefront typography. Keep font changes here instead of page-level CSS. */
:root { --donyavi-font-family: "IRANSansX", Tahoma, Arial, sans-serif; }

@font-face {
  font-family: 'IRANSansX';
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url('../fonts/woff2/IRANSansX-Thin.woff2') format('woff2'),
       url('../fonts/woff/IRANSansX-Thin.woff') format('woff');
}

@font-face {
  font-family: 'IRANSansX';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url('../fonts/woff2/IRANSansX-UltraLight.woff2') format('woff2'),
       url('../fonts/woff/IRANSansX-UltraLight.woff') format('woff');
}

@font-face {
  font-family: 'IRANSansX';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/woff2/IRANSansX-Light.woff2') format('woff2'),
       url('../fonts/woff/IRANSansX-Light.woff') format('woff');
}

@font-face {
  font-family: 'IRANSansX';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/woff2/IRANSansX-Regular.woff2') format('woff2'),
       url('../fonts/woff/IRANSansX-Regular.woff') format('woff');
}

@font-face {
  font-family: 'IRANSansX';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/woff2/IRANSansX-Medium.woff2') format('woff2'),
       url('../fonts/woff/IRANSansX-Medium.woff') format('woff');
}

@font-face {
  font-family: 'IRANSansX';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/woff2/IRANSansX-DemiBold.woff2') format('woff2'),
       url('../fonts/woff/IRANSansX-DemiBold.woff') format('woff');
}

@font-face {
  font-family: 'IRANSansX';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/woff2/IRANSansX-Bold.woff2') format('woff2'),
       url('../fonts/woff/IRANSansX-Bold.woff') format('woff');
}

@font-face {
  font-family: 'IRANSansX';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/woff2/IRANSansX-ExtraBold.woff2') format('woff2'),
       url('../fonts/woff/IRANSansX-ExtraBold.woff') format('woff');
}

@font-face {
  font-family: 'IRANSansX';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/woff2/IRANSansX-Black.woff2') format('woff2'),
       url('../fonts/woff/IRANSansX-Black.woff') format('woff');
}

@font-face {
  font-family: 'Vazir-Medium-FD';
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url('../fonts/woff2/IRANSansX-Thin.woff2') format('woff2'),
       url('../fonts/woff/IRANSansX-Thin.woff') format('woff');
}

@font-face {
  font-family: 'Vazir-Medium-FD';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url('../fonts/woff2/IRANSansX-UltraLight.woff2') format('woff2'),
       url('../fonts/woff/IRANSansX-UltraLight.woff') format('woff');
}

@font-face {
  font-family: 'Vazir-Medium-FD';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/woff2/IRANSansX-Light.woff2') format('woff2'),
       url('../fonts/woff/IRANSansX-Light.woff') format('woff');
}

@font-face {
  font-family: 'Vazir-Medium-FD';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/woff2/IRANSansX-Regular.woff2') format('woff2'),
       url('../fonts/woff/IRANSansX-Regular.woff') format('woff');
}

@font-face {
  font-family: 'Vazir-Medium-FD';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/woff2/IRANSansX-Medium.woff2') format('woff2'),
       url('../fonts/woff/IRANSansX-Medium.woff') format('woff');
}

@font-face {
  font-family: 'Vazir-Medium-FD';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/woff2/IRANSansX-DemiBold.woff2') format('woff2'),
       url('../fonts/woff/IRANSansX-DemiBold.woff') format('woff');
}

@font-face {
  font-family: 'Vazir-Medium-FD';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/woff2/IRANSansX-Bold.woff2') format('woff2'),
       url('../fonts/woff/IRANSansX-Bold.woff') format('woff');
}

@font-face {
  font-family: 'Vazir-Medium-FD';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/woff2/IRANSansX-ExtraBold.woff2') format('woff2'),
       url('../fonts/woff/IRANSansX-ExtraBold.woff') format('woff');
}

@font-face {
  font-family: 'Vazir-Medium-FD';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/woff2/IRANSansX-Black.woff2') format('woff2'),
       url('../fonts/woff/IRANSansX-Black.woff') format('woff');
}

html, body, button, input, textarea, select, optgroup {
  font-family: var(--donyavi-font-family);
}

body { font-weight: 400; }
button, input, textarea, select, optgroup { font: inherit; }
