/*!
 * QAYKA — Simplified Chinese (zh-CN) typography
 * Loaded on every page; only applies when <html lang="zh-CN">.
 * Latin fonts stay first so product codes, sizes and standards (M10 × 50, DIN 933) keep their look;
 * CJK glyphs fall through to the system Chinese fonts.
 */
:root:lang(zh) {
  --font: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", "WenQuanYi Micro Hei", system-ui, sans-serif;
  --font-head: "Manrope", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, sans-serif;
}

:lang(zh) body { line-height: 1.7; }

/* Chinese has no spaces between words: allow breaking anywhere, but never inside product codes */
:lang(zh) p, :lang(zh) li, :lang(zh) dd, :lang(zh) td, :lang(zh) .card__title, :lang(zh) .field__label {
  word-break: break-word;
  line-break: strict;
}
:lang(zh) .mono, :lang(zh) code, :lang(zh) .sku { word-break: keep-all; white-space: nowrap; }

/* Headings: no negative tracking and no forced uppercase for CJK */
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3, :lang(zh) h4 { letter-spacing: 0; font-weight: 700; }
:lang(zh) .eyebrow, :lang(zh) .tag, :lang(zh) .btn { letter-spacing: .02em; text-transform: none; }

/* Chinese labels are shorter but taller — keep buttons and menu items from wrapping awkwardly */
:lang(zh) .btn, :lang(zh) .nav__link, :lang(zh) .lang-switch { white-space: nowrap; }
