/* Typography only, calibrated to the owner's 831px-wide reference screenshot.
 * Do not change product content, card geometry, the brand hero, or its logo.
 * Ship the Chinese serif face so Android/iOS do not silently fall back to sans.
 */
@font-face {
  font-family: 'XXD Reference Song';
  src: url('fonts/noto-serif-sc-bold.woff') format('woff');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

#catalog .catalog-heading h2,
#dishes article .dish-title-link {
  font-family: 'XXD Reference Song', 'Noto Serif CJK SC', 'Songti SC', 'STSong', 'SimSun', serif !important;
  font-weight: 700 !important;
  font-synthesis: none;
}

#catalog .catalog-heading h2 {
  font-size: calc(var(--ref-unit) * 40) !important;
  color: #2c271b !important;
}

#dishes article .dish-title-link {
  font-size: calc(var(--ref-unit) * 36) !important;
  color: #292116 !important;
}

#dishes article .dish-original-price {
  font-size: calc(var(--ref-unit) * 26) !important;
  font-weight: 400 !important;
  color: #8a8980 !important;
}

/* Keep the currency unchanged. Digits use a shipped lining-number font below,
 * rather than platform Georgia's descending old-style figures. */
#dishes article .dish-sale-price {
  /* Separate the currency and amount only; preserve digit-to-digit spacing. */
  gap: calc(var(--ref-unit) * 6) !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: calc(var(--ref-unit) * 52) !important;
  font-weight: 400 !important;
  font-style: italic !important;
  letter-spacing: 0 !important;
  font-synthesis: none;
  color: #84572f !important;
}

#dishes article .dish-sale-currency {
  font-size: calc(var(--ref-unit) * 33.28);
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'XXD Reference Price';
  src: url('fonts/xxd-reference-price-v105.woff') format('woff');
  font-style: italic;
  font-weight: 575;
  font-display: swap;
}

/* Reference 29/14: STIX-derived lining numerals improve all four glyphs over
 * the previous Liberation candidate. This is not an assertion of original-font identity.
 * Only the amount changes; actual prices, discount text and card layout stay. */
#dishes article .dish-sale-amount {
  font-family: 'XXD Reference Price', 'Times New Roman', serif !important;
  font-size: calc(var(--ref-unit) * 58) !important;
  font-weight: 575 !important;
  font-style: italic !important;
  font-variant-numeric: lining-nums proportional-nums !important;
  font-feature-settings: 'lnum' 1, 'onum' 0 !important;
  letter-spacing: 0 !important;
  font-synthesis: none;
}
