/**
 * Force typography – loaded last to override theme, Elementor, Divi, blocks.
 */
html body.lm-wl-typography {
	font-family: var(--lm-wl-font-body) !important;
}

html body.lm-wl-typography :where(
	h1, h2, h3, h4, h5, h6,
	.h1, .h2, .h3, .h4, .h5, .h6,
	.wp-block-heading,
	.entry-title,
	.page-title,
	.post-title,
	.product_title,
	.woocommerce-loop-product__title,
	.elementor-heading-title,
	.elementor-widget-heading .elementor-heading-title,
	.et_pb_module_header,
	.fl-heading,
	.fusion-title-heading,
	.vc_custom_heading,
	.uk-heading,
	.gb-headline,
	[class*="heading"]:not([class*="icon"])
) {
	font-family: var(--lm-wl-font-heading) !important;
}

html body.lm-wl-typography :where(
	body,
	p,
	li,
	a,
	span,
	div,
	td,
	th,
	label,
	input,
	textarea,
	select,
	button,
	.wp-block-paragraph,
	.wp-block-list,
	.wp-block-post-content,
	.wp-block-post-excerpt,
	.entry-content,
	.site-content,
	.woocommerce,
	.woocommerce-info,
	.woocommerce-message,
	.elementor-widget-text-editor,
	.elementor-widget-text-editor p,
	.elementor-widget-theme-post-content,
	.elementor-widget-woocommerce-product-content,
	.elementor-button,
	.et_pb_text_inner,
	.fl-rich-text,
	.fusion-text,
	.vc_column_text,
	.gb-text
) {
	font-family: var(--lm-wl-font-body) !important;
}

/* Preserve icon fonts */
html body.lm-wl-typography .dashicons,
html body.lm-wl-typography .fa,
html body.lm-wl-typography [class*="fa-"],
html body.lm-wl-typography .eicon,
html body.lm-wl-typography [class*="eicon-"],
html body.lm-wl-typography .material-icons {
	font-family: inherit !important;
}
