/**
 * LWC global typography — aligns Elementor + custom templates with brand PDF.
 */

body {
	font-family: var(--lwc-font-body);
	font-size: var(--lwc-text-body);
	font-weight: var(--lwc-font-weight-regular);
	line-height: var(--lwc-line-height-body);
}

p,
li,
label,
input,
textarea,
select,
.woocommerce,
.woocommerce-page {
	font-family: inherit;
}

/* Headings */
h1,
.h1,
.elementor-widget-heading h1.elementor-heading-title {
	font-family: var(--lwc-font-display);
	font-size: var(--lwc-text-h1);
	font-weight: var(--lwc-font-weight-bold);
	line-height: var(--lwc-line-height-heading);
}

h2,
.h2,
.elementor-widget-heading h2.elementor-heading-title {
	font-family: var(--lwc-font-display);
	font-size: var(--lwc-text-h2);
	font-weight: var(--lwc-font-weight-semibold);
	line-height: var(--lwc-line-height-heading);
}

h3,
h4,
h5,
h6,
.elementor-widget-heading h3.elementor-heading-title,
.elementor-widget-heading h4.elementor-heading-title,
.elementor-widget-heading h5.elementor-heading-title,
.elementor-widget-heading h6.elementor-heading-title {
	font-family: var(--lwc-font-display);
	font-weight: var(--lwc-font-weight-semibold);
	line-height: var(--lwc-line-height-heading);
}

/* Body copy minimum 16px on custom LWC surfaces */
.lwc-customer-registration-wrapper,
.lwc-customer-dashboard,
.lwc-revenue-report,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-cart,
.woocommerce-checkout {
	font-size: var(--lwc-text-body);
}

a,
.elementor-widget-text-editor a,
.woocommerce a {
	font-family: var(--lwc-font-body);
	font-size: var(--lwc-text-link);
	font-weight: var(--lwc-font-weight-regular);
}

/* Buttons (theme + Elementor + Woo) */
button,
input[type="submit"],
input[type="button"],
.button,
.woocommerce a.button,
.woocommerce button.button,
.elementor-button,
.lwc-create-account-btn {
	font-family: var(--lwc-font-display);
	font-size: var(--lwc-text-button);
	font-weight: var(--lwc-font-weight-semibold);
}

/* Form controls keep readable 16px */
input:not([type="checkbox"]):not([type="radio"]),
textarea,
select {
	font-size: var(--lwc-text-body);
}

/* Child-theme registration / login titles → H2 scale */
.lwc-registration-title,
.lightworker-login-page__title {
	font-family: var(--lwc-font-display) !important;
	font-size: var(--lwc-text-h2) !important;
	font-weight: var(--lwc-font-weight-semibold) !important;
}
