/**
 * 方案 A 覆盖层：压过主题组件里写死的商业/主题字体名
 * 不点名微软雅黑、苹方等；不声明商业字体 @font-face
 * 图标字体 iconfont / Glyphicons 使用独立 font-family，勿用 * 选择器覆盖
 *
 * 使用：在公共 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;
}

/* 本站根布局 / 主内容容器（子元素未单独指定时继承） */
.wrap,
.main,
.page,
.container,
.layout,
.tou,
.foot,
.xypg-wrap,
.xypg-right,
.xypg-pro-description,
.page-banner,
.ban,
#toolbar,
#fullpage,
.section,
.liuyan,
.x-menu,
.dao,
.mob-wrap,
.xymob-head,
.xymob-menu,
.xymob-menu1,
.page-content,
.page-detail,
.product-detail,
.page-product-list,
.page-news-list,
.page-case-list {
  font-family: var(--font-sans);
}

/* 富文本 / 详情正文：覆盖后台粘贴进来的 font-family 内联样式 */
.xypg-right,
.xypg-pro-description,
.detail-img,
.article-body,
.news-detail,
.product-detail,
.about-con,
.jiameng-con {
  font-family: var(--font-sans) !important;
}

.xypg-right *,
.xypg-pro-description *,
.article-body *,
.news-detail *,
.product-detail *,
.about-con *,
.jiameng-con * {
  font-family: inherit !important;
}
