/* Use Simplified Chinese glyphs and comfortable spacing on Chinese views. */
:root {
  --font-zh: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans CJK SC", "Noto Sans SC", sans-serif;
}

html:lang(zh) body {
  font-family: var(--font-zh);
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: .015em;
}

html:lang(zh) :is(h1, h2, h3, .large-copy, .catalog-intro p, button, input, select, textarea) {
  font-family: var(--font-zh);
}

html:lang(zh) :is(h1, h2, h3) {
  letter-spacing: .01em;
  font-weight: 450;
  line-height: 1.5;
}

html:lang(zh) h1 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.4; letter-spacing: 0; }
html:lang(zh) .hero h1 { font-size: clamp(38px, 5vw, 64px); }
html:lang(zh) .section h2 { font-size: clamp(30px, 3.4vw, 44px); }
html:lang(zh) .service-card h3 { font-size: clamp(22px, 2.1vw, 28px); }
html:lang(zh) .results-heading h2 { font-size: 32px; }
html:lang(zh) .product-details h2 { font-size: 28px; }
html:lang(zh) :is(.hero-lead, .large-copy, .catalog-intro p) { font-weight: 400; line-height: 1.95; letter-spacing: .02em; }
html:lang(zh) .site-nav { font-weight: 450; letter-spacing: .02em; }
html:lang(zh) :is(.product-description, .guide-grid p, .field-note) { line-height: 1.95; }

/* Admin navigation remains Japanese; its Chinese preview uses the same type. */
[data-preview-content]:lang(zh) {
  font-family: var(--font-zh);
  line-height: 1.85;
  letter-spacing: .015em;
}
[data-preview-content]:lang(zh) :is(h1, h2, h3) {
  font-family: var(--font-zh);
  font-weight: 450;
  line-height: 1.5;
  letter-spacing: .01em;
}
