/* Match the measured Khmer24 desktop type scale. Layout and icon sizes remain in existing stylesheets. */
@font-face {
  font-family: 'Koh Santepheap';
  src: url('/assets/fonts/KohSantepheap-Regular.ttf') format('truetype');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+1780-17FF,U+19E0-19FF;
}
@font-face {
  font-family: 'Koh Santepheap';
  src: url('/assets/fonts/KohSantepheap-Bold.ttf') format('truetype');
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+1780-17FF,U+19E0-19FF;
}
:root {
  --kam-marketplace-font: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', 'Koh Santepheap';
}
body { font-family: var(--kam-marketplace-font); font-size: 16px; line-height: 1.5; }
body input, body select, body textarea, body button { font-family: var(--kam-marketplace-font); }
/* Khmer-first for Khmer UI and mixed seller content; Latin uses the system font through unicode-range. */
html[lang=km] body, html[lang=km] body input, html[lang=km] body select,
html[lang=km] body textarea, html[lang=km] body button,
body .khmer-text, body [lang=km], body .kam-user-content, body .kam-language-sheet b {
  font-family: 'Koh Santepheap', KAMKhmer, var(--kam-marketplace-font);
}
body.kam-compact-marketplace h1,
body.kam-compact-marketplace .hero h1,
body.kam-compact-marketplace .kam-home-hero h1,
body.kam-compact-marketplace .market-hero h1,
body.kam-compact-marketplace .kam-blog-hero h1 {
  font-size: 24px !important; line-height: 1.333333 !important;
  font-weight: 400 !important; letter-spacing: normal;
}
body.kam-compact-marketplace h2 {
  font-size: 20px !important; line-height: 1.4 !important; font-weight: 600 !important;
}
body.kam-compact-marketplace h3 {
  font-size: 16px !important; line-height: 1.5 !important; font-weight: 400 !important;
}
body.kam-compact-marketplace .kb-home-six-card h3 {
  font-size: 15px !important; line-height: 1.5 !important; font-weight: 400 !important;
}
body.kam-compact-marketplace .hero p,
body.kam-compact-marketplace .kam-home-hero p,
body.kam-compact-marketplace .market-hero p { font-size: 16px !important; line-height: 1.5 !important; }
body.kam-compact-marketplace .kam-search-tab { font-weight: 500; }
body.kam-compact-marketplace .kam-header-search input,
body.kam-compact-marketplace .kam-category-trigger,
body.kam-compact-marketplace .kam-header-signin,
body.kam-compact-marketplace .kam-header-dashboard { font-size: 14px !important; font-weight: 500; }
body.kam-compact-marketplace .market-card-body h3,
body.kam-compact-marketplace .store-vehicle-body h3 { font-size: 16px !important; font-weight: 400 !important; line-height: 1.5 !important; }
body.kam-compact-marketplace .market-card-location,
body.kam-compact-marketplace .market-card-meta { font-size: 13px !important; line-height: 1.5 !important; }
/* Preserve the existing narrower mobile cards and controls. */
@media (max-width: 520px) {
  body.kam-compact-marketplace .market-card-body h3,
  body.kam-compact-marketplace .store-vehicle-body h3 { font-size: 14px !important; }
  body.kam-compact-marketplace .market-card-location,
  body.kam-compact-marketplace .market-card-meta { font-size: 12px !important; }
}
