/* Local Fonts & Typography System - Boghcheh Crafts Platform */

@font-face {
  font-family: 'IRANSansX';
  src: url("/static/assets/fonts/IRANSansX-Regular.e384b042013b.woff") format('woff'),
       url("../../assets/fonts/IRANSansX-Regular.e384b042013b.woff") format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IRANSansX';
  src: url("/static/assets/fonts/IRANSansX-Medium.8b382b487084.woff") format('woff'),
       url("../../assets/fonts/IRANSansX-Medium.8b382b487084.woff") format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IRANSansX';
  src: url("/static/assets/fonts/IRANSansX-DemiBold.3810e906c853.woff") format('woff'),
       url("../../assets/fonts/IRANSansX-DemiBold.3810e906c853.woff") format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IRANSansX';
  src: url("/static/assets/fonts/IRANSansX-Bold.845ea7e8f8bb.woff") format('woff'),
       url("../../assets/fonts/IRANSansX-Bold.845ea7e8f8bb.woff") format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IRANSansX';
  src: url("/static/assets/fonts/IRANSansX-ExtraBold.3cad55c98872.woff") format('woff'),
       url("../../assets/fonts/IRANSansX-ExtraBold.3cad55c98872.woff") format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IRANSansX';
  src: url("/static/assets/fonts/IRANSansX-Black.34cfca3d8df2.woff") format('woff'),
       url("../../assets/fonts/IRANSansX-Black.34cfca3d8df2.woff") format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Backward compatibility aliases with font-display: swap */
@font-face {
  font-family: iranSans-m;
  src: url("/static/assets/fonts/IRANSansX-Medium.8b382b487084.woff") format('woff'),
       url("../../assets/fonts/IRANSansX-Medium.8b382b487084.woff") format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: iranSans-b;
  src: url("/static/assets/fonts/IRANSansX-Bold.845ea7e8f8bb.woff") format('woff'),
       url("../../assets/fonts/IRANSansX-Bold.845ea7e8f8bb.woff") format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: iranSans-black;
  src: url("/static/assets/fonts/IRANSansX-Black.34cfca3d8df2.woff") format('woff'),
       url("../../assets/fonts/IRANSansX-Black.34cfca3d8df2.woff") format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'IRANSansX', iranSans-m, -apple-system, BlinkMacSystemFont, 'Apple Color Emoji', 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  direction: rtl;
  color: var(--text-primary, #333333);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'IRANSansX', 'Vazirmatn', sans-serif;
  font-weight: 800;
  color: var(--text-primary, #333333);
}

h1 {
  font-size: 1.75rem;
}

h2 {
  font-size: 1.45rem;
}

h3 {
  font-size: 1.2rem;
}

p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary, #555555);
}

small {
  font-size: 0.78rem;
  color: var(--text-muted, #888888);
}
