/* iMedic SF Pro & SF Pro Thai Web Fonts */
@font-face {
  font-family: 'SF Pro Text';
  src: url('/fonts/SFProText-Regular.woff2') format('woff2'),
       url('/fonts/SFProText-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Text';
  src: url('/fonts/SFProText-Medium.woff2') format('woff2'),
       url('/fonts/SFProText-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Text';
  src: url('/fonts/SFProText-Semibold.woff2') format('woff2'),
       url('/fonts/SFProText-Semibold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro TH';
  src: url('/fonts/SFProTH.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SFProThai';
  src: url('/fonts/SFProTH.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-sf-pro-text: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sf-pro-thai: 'SF Pro TH', 'SFProThai', 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body-family: 'SF Pro Text', 'SF Pro TH', 'SFProThai', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'SF Pro Text', 'SF Pro TH', 'SFProThai', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-thai: 'SF Pro TH', 'SF Pro Text', 'SFProThai', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Pro Text', -apple-system, BlinkMacSystemFont, ui-monospace, monospace;
}

/* Explicit policy also covers legacy inline styles and custom runtime content. */
html body, html body *, html body *::before, html body *::after {
  font-family: "SF Pro Text", "SF Pro TH", sans-serif !important;
}
