/**
 * Force Latin-only font stack site-wide.
 * Prevents Windows/macOS CJK system fonts (Microsoft YaHei, PingFang, etc.)
 * from rendering when stray Chinese characters appear in UI or content.
 */
:root {
    --ahq-font-latin-only: 'DM Sans', 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', sans-serif;
    --ahq-font-display-latin: 'Bodoni Moda', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --ahq-font-badge-latin: 'Jost', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html,
body,
button,
input,
select,
textarea,
.ct-container,
.ct-header,
.ct-footer,
.woocommerce,
.woocommerce-page {
    font-family: var(--ahq-font-latin-only) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.ahq-display,
.xah-hero__title {
    font-family: var(--ahq-font-display-latin) !important;
}

.ahq-badge,
.xah-badge,
.product-badge,
.woocommerce-loop-product__title {
    font-family: var(--ahq-font-badge-latin) !important;
}

:lang(zh),
:lang(zh-CN),
:lang(zh-TW),
:lang(zh-HK),
[lang^="zh"] {
    font-family: var(--ahq-font-latin-only) !important;
}
