@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai+Looped:wght@400;500;600;700&family=Noto+Sans+Thai:wght@100..900&display=swap");

:root {
  --site-font-ui: "Noto Sans Thai", Tahoma, system-ui, sans-serif;
  --site-font-prose: "IBM Plex Sans Thai Looped", Tahoma, system-ui, sans-serif;
}

/* Keep layout, type sizes, and weights from the existing site. */
body,
body :is(h1, h2, h3, h4, h5, h6, nav, a, button, input, select, textarea, label, summary, small, strong, b, .site-title, .entry-meta, .detail-price, .logo) {
  font-family: var(--site-font-ui) !important;
}

/* Only reading copy uses the looped face, including emphasis and inline links. */
body :where(main, .entry-content, .ast-excerpt-container) p,
body :where(.entry-content, .ast-excerpt-container) :is(li, blockquote, figcaption, td, dd),
body :is(#carDescription, #highlightList, #featureList),
body :where(main p, #carDescription, #highlightList, #featureList, .entry-content li, .entry-content blockquote, .entry-content figcaption, .entry-content td, .entry-content dd) :is(a, b, strong, small) {
  font-family: var(--site-font-prose) !important;
}

/* Titles and controls inside editorial content retain the interface face. */
body :is(h1, h2, h3, h4, h5, h6, nav, button, .wp-block-button__link, .entry-meta) :is(a, b, strong, small, span),
body :is(.wp-block-button__link, .ast-read-more-container a) {
  font-family: var(--site-font-ui) !important;
}
