/**
 * Persian typography — Kalameh (titles) + Vazirmatn (body).
 * Two fonts is intentional: display vs readable long text.
 */

/* Body stack: Vazirmatn when self-hosted, else system Persian fallbacks */
html[lang="fa-IR"] body,
html[lang="fa-IR"] .elementor-widget:not(.elementor-widget-heading),
.rtl body {
	font-family: var(--zitex-font-fa-body);
}

html[lang="fa-IR"] p,
html[lang="fa-IR"] li,
html[lang="fa-IR"] td,
html[lang="fa-IR"] th,
html[lang="fa-IR"] label,
html[lang="fa-IR"] input,
html[lang="fa-IR"] textarea,
html[lang="fa-IR"] select,
html[lang="fa-IR"] button,
html[lang="fa-IR"] .entry-content,
html[lang="fa-IR"] .entry-summary,
html[lang="fa-IR"] .woocommerce-Tabs-panel,
html[lang="fa-IR"] .woocommerce-product-details__short-description,
html[lang="fa-IR"] .product-short-description,
html[lang="fa-IR"] .woocommerce-Reviews,
html[lang="fa-IR"] .elementor-widget-text-editor,
html[lang="fa-IR"] .elementor-widget-theme-post-content,
html[lang="fa-IR"] .wp-block-post-content,
html[lang="fa-IR"] .wpcf7,
html[lang="fa-IR"] .wp-block-woocommerce-cart,
html[lang="fa-IR"] .wp-block-woocommerce-checkout,
.rtl p,
.rtl li,
.rtl label,
.rtl input,
.rtl textarea,
.rtl select,
.rtl button,
.rtl .entry-content,
.rtl .woocommerce-Tabs-panel {
	font-family: var(--zitex-font-fa-body);
	font-size: inherit;
	line-height: 1.75;
}

/* Titles — Kalameh only */
html[lang="fa-IR"] h1,
html[lang="fa-IR"] h2,
html[lang="fa-IR"] h3,
html[lang="fa-IR"] h4,
html[lang="fa-IR"] h5,
html[lang="fa-IR"] h6,
html[lang="fa-IR"] .entry-title,
html[lang="fa-IR"] .product_title,
html[lang="fa-IR"] .woocommerce-loop-product__title,
html[lang="fa-IR"] .elementor-heading-title,
html[lang="fa-IR"] .elementor-widget-heading .elementor-heading-title,
html[lang="fa-IR"] #animation .title,
html[lang="fa-IR"] #animation .info .block b,
.rtl h1,
.rtl h2,
.rtl h3,
.rtl h4,
.rtl h5,
.rtl h6,
.rtl .entry-title,
.rtl .product_title,
.rtl .elementor-heading-title {
	font-family: var(--zitex-font-fa-heading);
	line-height: 1.35;
}

html[lang="fa-IR"] ::placeholder,
.rtl ::placeholder {
	font-family: var(--zitex-font-fa-body);
	opacity: 0.7;
}

html[lang="fa-IR"] .wpcf7,
.rtl .wpcf7 {
	direction: rtl;
}
