/**
 * فونت وزیر برای تیکتینو
 */

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Regular.woff2") format("woff2"),
       url("../fonts/Vazirmatn-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Medium.woff2") format("woff2"),
       url("../fonts/Vazirmatn-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Bold.woff2") format("woff2"),
       url("../fonts/Vazirmatn-Bold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Black.woff2") format("woff2"),
       url("../fonts/Vazirmatn-Black.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* تنظیمات پایه برای فونت فارسی */
body,
.ticketino-container,
.ticketino-container * {
  font-family: "Vazirmatn", "Tahoma", "Arial", sans-serif;
  /* Do not force direction globally; inherit from document so WP admin LTR works */
  direction: inherit;
  text-align: inherit;
}

/* بهبود خوانایی متن فارسی */
.ticketino-container {
  line-height: 1.8;
  letter-spacing: 0.02em;
}

/* تنظیمات ویژه برای اعداد فارسی */
.persian-numbers {
  font-feature-settings: "ss01" on;
}

/* تنظیمات برای متن‌های انگلیسی درون محتوای فارسی */
.english-text {
  direction: ltr;
  text-align: left;
  font-family: "Arial", "Helvetica", sans-serif;
}

/* بهبود نمایش در مرورگرهای مختلف */
@supports (font-variation-settings: normal) {
  .ticketino-container {
    font-variation-settings: "wght" 400;
  }
}

/* تنظیمات ویژه برای موبایل */
@media (max-width: 768px) {
  .ticketino-container {
    font-size: 14px;
    line-height: 1.6;
  }
}

/* تنظیمات پرینت */
@media print {
  .ticketino-container {
    font-size: 12pt;
    line-height: 1.5;
  }
}
/* Enforce Vazirmatn font for plugin UI elements, but don't force RTL layout */
h1, h2, h3, h4, h5, h6, * {
  font-family: 'Vazirmatn', Tahoma, Arial, sans-serif ; /* !important is deleted */
  font-weight: 600 ;
  font-style: normal ;
}