/**
 * 方案 A 覆盖层：压过主题组件里写死的商业/主题字体名
 * 不点名微软雅黑、苹方等；不声明商业字体 @font-face
 * 图标字体 iconfont 使用独立 font-family + 自己的 @font-face，不要用 * 选择器覆盖
 *
 * 使用：在公共 head 中「最后」引入本文件
 */
:root {
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

html,
body {
  font-family: var(--font-sans) !important;
}

/*
 * 站点根布局容器：子元素未单独指定 font-family 时会继承。
 * 不作用于 .iconfont / Hui-iconfont 等图标字体。
 */
.main,
.navBox,
.pcNav,
.footers,
.newsListPage,
.newsDetailPage,
.liuyanPage,
.contactPage,
.shopPage,
.shopDetailPage,
.productPage,
.productDetailPage,
.newsBox,
.mallCon,
.indexNews,
.indexService,
.indexCompany,
.indexBusiness,
.indexJoin,
.banner,
.newsCon,
.liuyanCard,
.contactPanel,
.newsDetailMain,
.newsSide,
header,
footer {
  font-family: var(--font-sans);
}

/* 表单控件继承系统栈（覆盖旧 Microsoft YaHei 声明） */
button,
input,
select,
textarea,
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
}
