/* ===================================================
   China Passage - Multilingual Typography & Font System
   =================================================== */

/* --- Traditional Chinese (zh-Hant) --- */
html[lang="zh-Hant"],
html[lang="zh-TW"],
html[lang="zh-HK"],
:lang(zh-Hant) {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei", "Source Han Sans TC", "Noto Sans TC", sans-serif;
  line-height: 1.68;
}

html[lang="zh-Hant"] h1,
html[lang="zh-Hant"] h2,
html[lang="zh-Hant"] h3,
html[lang="zh-Hant"] h4,
html[lang="zh-Hant"] .wordmark,
html[lang="zh-Hant"] .commerce-hero h1 {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei", sans-serif;
  letter-spacing: 0.02em;
}

/* --- Japanese (ja) --- */
html[lang="ja"],
:lang(ja) {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", "Noto Sans JP", sans-serif;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

html[lang="ja"] h1,
html[lang="ja"] h2,
html[lang="ja"] h3,
html[lang="ja"] h4,
html[lang="ja"] .wordmark,
html[lang="ja"] .commerce-hero h1 {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  letter-spacing: 0.03em;
}

/* --- Korean (ko) --- */
html[lang="ko"],
:lang(ko) {
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Nanum Gothic", "Noto Sans KR", sans-serif;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

html[lang="ko"] h1,
html[lang="ko"] h2,
html[lang="ko"] h3,
html[lang="ko"] h4,
html[lang="ko"] .wordmark,
html[lang="ko"] .commerce-hero h1 {
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  letter-spacing: -0.01em;
}

/* --- German (de) - Long Compound Words Hyphenation --- */
html[lang="de"],
:lang(de) {
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* --- Arabic (ar) --- */
html[lang="ar"],
:lang(ar) {
  font-family: -apple-system, BlinkMacSystemFont, "Tahoma", "Geeza Pro", "Noto Sans Arabic", Arial, sans-serif;
  line-height: 1.8;
  letter-spacing: 0;
}

/* Multi-currency Reference Badge in Pricing Cards */
.price-currency-ref {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #64748b;
  margin-top: 0.25rem;
}

.pricing-card.featured .price-currency-ref {
  color: #c2410c;
}
