/*
 * Global Vazirmatn font override for Hoorsun Energy.
 * Applies to the homepage plugin, theme, WooCommerce and account portal.
 */

:root {
	--hst-font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
}

html,
body,
body button,
body input,
body select,
body textarea,
body option,
body label,
body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body p,
body a,
body ul,
body ol,
body li,
body table,
body thead,
body tbody,
body tfoot,
body tr,
body th,
body td,
body small,
body strong,
body b,
body em,
body blockquote,
body figcaption {
	font-family: var(--hst-font-family) !important;
}

/* Homepage plugin */
body .hoorsun-homepage,
body .hoorsun-homepage *,
body .hoorsun-home,
body .hoorsun-home * {
	font-family: var(--hst-font-family) !important;
}

/* Hoorsun theme areas */
body .hst-site-header,
body .hst-site-header *,
body .hst-main,
body .hst-main *,
body .hst-site-footer,
body .hst-site-footer *,
body .hst-mini-cart,
body .hst-mini-cart * {
	font-family: var(--hst-font-family) !important;
}

/* WooCommerce pages */
body .woocommerce,
body .woocommerce *,
body .woocommerce-page,
body .woocommerce-page *,
body .wc-block-components-root,
body .wc-block-components-root *,
body .wp-block-woocommerce-cart,
body .wp-block-woocommerce-cart *,
body .wp-block-woocommerce-checkout,
body .wp-block-woocommerce-checkout * {
	font-family: var(--hst-font-family) !important;
}

/* Login and registration portal */
body .hst-portal-auth,
body .hst-portal-auth *,
body .hst-auth-shell,
body .hst-auth-shell * {
	font-family: var(--hst-font-family) !important;
}

/* Keep icon systems intact when another plugin uses an icon font. */
body .dashicons,
body [class^="fa-"],
body [class*=" fa-"],
body .fa,
body .fas,
body .far,
body .fab {
	font-family: inherit;
}
