/* =====================================================================
   LINE Seed Sans TH — Brand Typeface
   Weights:
     Thin       = 300  (LINESeedSansTH_W_Th)
     Regular    = 400  (LINESeedSansTH_W_Rg)
     Bold       = 700  (LINESeedSansTH_W_Bd)
     ExtraBold  = 800  (LINESeedSansTH_W_XBd)
     Heavy      = 900  (LINESeedSansTH_W_He)
   ===================================================================== */

@font-face {
  font-family: 'LINESeedSansTH';
  font-style:  normal;
  font-weight: 300;
  font-display: swap;
  src: url('../../font/LINESeedSansTH_W_Th.woff2') format('woff2'),
       url('../../font/LINESeedSansTH_W_Th.woff')  format('woff');
}

@font-face {
  font-family: 'LINESeedSansTH';
  font-style:  normal;
  font-weight: 400;
  font-display: swap;
  src: url('../../font/LINESeedSansTH_W_Rg.woff2') format('woff2'),
       url('../../font/LINESeedSansTH_W_Rg.woff')  format('woff');
}

@font-face {
  font-family: 'LINESeedSansTH';
  font-style:  normal;
  font-weight: 500;
  font-display: swap;
  src: url('../../font/LINESeedSansTH_W_Rg.woff2') format('woff2'),
       url('../../font/LINESeedSansTH_W_Rg.woff')  format('woff');
}

@font-face {
  font-family: 'LINESeedSansTH';
  font-style:  normal;
  font-weight: 600;
  font-display: swap;
  src: url('../../font/LINESeedSansTH_W_Bd.woff2') format('woff2'),
       url('../../font/LINESeedSansTH_W_Bd.woff')  format('woff');
}

@font-face {
  font-family: 'LINESeedSansTH';
  font-style:  normal;
  font-weight: 700;
  font-display: swap;
  src: url('../../font/LINESeedSansTH_W_Bd.woff2') format('woff2'),
       url('../../font/LINESeedSansTH_W_Bd.woff')  format('woff');
}

@font-face {
  font-family: 'LINESeedSansTH';
  font-style:  normal;
  font-weight: 800;
  font-display: swap;
  src: url('../../font/LINESeedSansTH_W_XBd.woff2') format('woff2'),
       url('../../font/LINESeedSansTH_W_XBd.woff')  format('woff');
}

@font-face {
  font-family: 'LINESeedSansTH';
  font-style:  normal;
  font-weight: 900;
  font-display: swap;
  src: url('../../font/LINESeedSansTH_W_He.woff2') format('woff2'),
       url('../../font/LINESeedSansTH_W_He.woff')  format('woff');
}

/* ---- Apply globally ---- */
:root {
  --font-brand: 'LINESeedSansTH', 'Sarabun', -apple-system, BlinkMacSystemFont,
                'Segoe UI', 'Helvetica Neue', Arial, 'Noto Sans Thai', sans-serif;
}

html, body, button, input, select, textarea {
  font-family: var(--font-brand);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern", "liga", "calt";
  letter-spacing: 0;
}
