/* ========================================================================= */
/* LINE Seed Sans TH Web Font Definition                                     */
/* Clean, modern geometric Thai + Latin typeface by LINE                     */
/* ========================================================================= */

/* ------------------------------------------------------------------------- */
/* 1. Primary Family: 'LINE Seed Sans TH'                                    */
/* ------------------------------------------------------------------------- */

/* Thin (Weights 100, 200, 300) */
@font-face {
    font-family: 'LINE Seed Sans TH';
    src: url('./LINESeedSansTH_W_Th.woff2') format('woff2'),
         url('./LINESeedSansTH_W_Th.woff') format('woff'),
         url('./LINESeedSansTH_Th.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'LINE Seed Sans TH';
    src: url('./LINESeedSansTH_W_Th.woff2') format('woff2'),
         url('./LINESeedSansTH_W_Th.woff') format('woff'),
         url('./LINESeedSansTH_Th.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'LINE Seed Sans TH';
    src: url('./LINESeedSansTH_W_Th.woff2') format('woff2'),
         url('./LINESeedSansTH_W_Th.woff') format('woff'),
         url('./LINESeedSansTH_Th.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Regular / Medium (Weights 400, 500) */
@font-face {
    font-family: 'LINE Seed Sans TH';
    src: url('./LINESeedSansTH_W_Rg.woff2') format('woff2'),
         url('./LINESeedSansTH_W_Rg.woff') format('woff'),
         url('./LINESeedSansTH_Rg.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'LINE Seed Sans TH';
    src: url('./LINESeedSansTH_W_Rg.woff2') format('woff2'),
         url('./LINESeedSansTH_W_Rg.woff') format('woff'),
         url('./LINESeedSansTH_Rg.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Bold / SemiBold (Weights 600, 700) */
@font-face {
    font-family: 'LINE Seed Sans TH';
    src: url('./LINESeedSansTH_W_Bd.woff2') format('woff2'),
         url('./LINESeedSansTH_W_Bd.woff') format('woff'),
         url('./LINESeedSansTH_Bd.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'LINE Seed Sans TH';
    src: url('./LINESeedSansTH_W_Bd.woff2') format('woff2'),
         url('./LINESeedSansTH_W_Bd.woff') format('woff'),
         url('./LINESeedSansTH_Bd.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ExtraBold (Weight 800) */
@font-face {
    font-family: 'LINE Seed Sans TH';
    src: url('./LINESeedSansTH_W_XBd.woff2') format('woff2'),
         url('./LINESeedSansTH_W_XBd.woff') format('woff'),
         url('./LINESeedSansTH_XBd.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Heavy / Black (Weight 900 mapped to ExtraBold for crystal-clear Thai readability) */
@font-face {
    font-family: 'LINE Seed Sans TH';
    src: url('./LINESeedSansTH_W_XBd.woff2') format('woff2'),
         url('./LINESeedSansTH_W_XBd.woff') format('woff'),
         url('./LINESeedSansTH_XBd.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ------------------------------------------------------------------------- */
/* 2. Alias Family: 'LINESeedSansTH'                                         */
/* ------------------------------------------------------------------------- */
@font-face {
    font-family: 'LINESeedSansTH';
    src: url('./LINESeedSansTH_W_Th.woff2') format('woff2'),
         url('./LINESeedSansTH_W_Th.woff') format('woff'),
         url('./LINESeedSansTH_Th.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'LINESeedSansTH';
    src: url('./LINESeedSansTH_W_Th.woff2') format('woff2'),
         url('./LINESeedSansTH_W_Th.woff') format('woff'),
         url('./LINESeedSansTH_Th.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'LINESeedSansTH';
    src: url('./LINESeedSansTH_W_Th.woff2') format('woff2'),
         url('./LINESeedSansTH_W_Th.woff') format('woff'),
         url('./LINESeedSansTH_Th.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'LINESeedSansTH';
    src: url('./LINESeedSansTH_W_Rg.woff2') format('woff2'),
         url('./LINESeedSansTH_W_Rg.woff') format('woff'),
         url('./LINESeedSansTH_Rg.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'LINESeedSansTH';
    src: url('./LINESeedSansTH_W_Rg.woff2') format('woff2'),
         url('./LINESeedSansTH_W_Rg.woff') format('woff'),
         url('./LINESeedSansTH_Rg.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'LINESeedSansTH';
    src: url('./LINESeedSansTH_W_Bd.woff2') format('woff2'),
         url('./LINESeedSansTH_W_Bd.woff') format('woff'),
         url('./LINESeedSansTH_Bd.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'LINESeedSansTH';
    src: url('./LINESeedSansTH_W_Bd.woff2') format('woff2'),
         url('./LINESeedSansTH_W_Bd.woff') format('woff'),
         url('./LINESeedSansTH_Bd.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'LINESeedSansTH';
    src: url('./LINESeedSansTH_W_XBd.woff2') format('woff2'),
         url('./LINESeedSansTH_W_XBd.woff') format('woff'),
         url('./LINESeedSansTH_XBd.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'LINESeedSansTH';
    src: url('./LINESeedSansTH_W_XBd.woff2') format('woff2'),
         url('./LINESeedSansTH_W_XBd.woff') format('woff'),
         url('./LINESeedSansTH_XBd.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ------------------------------------------------------------------------- */
/* 3. Alias Family: 'lineseed'                                               */
/* ------------------------------------------------------------------------- */
@font-face {
    font-family: 'lineseed';
    src: url('./LINESeedSansTH_W_Th.woff2') format('woff2'),
         url('./LINESeedSansTH_W_Th.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'lineseed';
    src: url('./LINESeedSansTH_W_Th.woff2') format('woff2'),
         url('./LINESeedSansTH_W_Th.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'lineseed';
    src: url('./LINESeedSansTH_W_Th.woff2') format('woff2'),
         url('./LINESeedSansTH_W_Th.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'lineseed';
    src: url('./LINESeedSansTH_W_Rg.woff2') format('woff2'),
         url('./LINESeedSansTH_W_Rg.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'lineseed';
    src: url('./LINESeedSansTH_W_Rg.woff2') format('woff2'),
         url('./LINESeedSansTH_W_Rg.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'lineseed';
    src: url('./LINESeedSansTH_W_Bd.woff2') format('woff2'),
         url('./LINESeedSansTH_W_Bd.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'lineseed';
    src: url('./LINESeedSansTH_W_Bd.woff2') format('woff2'),
         url('./LINESeedSansTH_W_Bd.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'lineseed';
    src: url('./LINESeedSansTH_W_XBd.woff2') format('woff2'),
         url('./LINESeedSansTH_W_XBd.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'lineseed';
    src: url('./LINESeedSansTH_W_XBd.woff2') format('woff2'),
         url('./LINESeedSansTH_W_XBd.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ========================================================================= */
/* Global Typography Enforcement for LINE Seed Sans TH                      */
/* Ensures crisp rendering, proper spacing, and beautiful bold Thai text    */
/* ========================================================================= */
:root {
    --font-lineseed: 'LINESeedSansTH', 'LINE Seed Sans TH', 'lineseed', sans-serif;
}

html, body, button, input, select, textarea, optgroup {
    font-family: 'LINESeedSansTH', 'LINE Seed Sans TH', 'lineseed', sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Ensure headings and bold text look crisp, elegant and readable */
h1, h2, h3, h4, h5, h6, b, strong, .font-bold, .font-extrabold, .font-black {
    font-family: 'LINESeedSansTH', 'LINE Seed Sans TH', 'lineseed', sans-serif !important;
    letter-spacing: normal;
}

/* Soften extreme font-black so Thai text never smudges into solid blobs */
.font-black {
    font-weight: 800 !important;
}
