/**
 * H5 全局字体 — 与 bird-niao-pc-source/styles 一致
 * 依赖：/css/bird-fonts.css（@font-face + --bn-font-*）
 */
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--bn-font-sans);
  font-weight: 400;
  color: var(--bn-text, #000);
  background: var(--bn-bg, #fff);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--bn-font-display);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-title,
.bn-page-title,
.section-title,
.bn-login-header .logo-text,
.product-name,
.bn-site-footer .footer-brand {
  font-family: var(--bn-font-display);
}

.bn-h5-header,
.bn-h5-shop-panel,
.bn-h5-shop-title {
  font-family: var(--bn-font-chrome);
}

input,
button,
select,
textarea {
  font-family: inherit;
}

::selection {
  background: rgba(0, 0, 0, 0.12);
  color: var(--bn-text, #000);
}
