

@font-face {
  font-family: 'Prompt';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/shared/assets/fonts/prompt-v11-thai-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Prompt';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/shared/assets/fonts/prompt-v11-thai-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Prompt';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/shared/assets/fonts/prompt-v11-thai-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Prompt';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/shared/assets/fonts/prompt-v11-thai-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/shared/assets/fonts/roboto-v47-latin-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/shared/assets/fonts/roboto-v47-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/shared/assets/fonts/roboto-v47-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/shared/assets/fonts/roboto-v47-latin-700.woff2') format('woff2');
}

:root {
  --font-en: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-th: 'Prompt', sans-serif;
  --font-body: var(--font-en), var(--font-th);
  --font-head: var(--font-en), var(--font-th);
}

:root:lang(th),
html[lang='th'] {
  --font-body: var(--font-th), var(--font-en);
  --font-head: var(--font-th), var(--font-en);
}
