/* Sarabun Font Family - Thai Google Font
 * Optimized: Only loading essential weights (Regular, Medium, SemiBold, Bold)
 * Commented out: Thin (100), ExtraLight (200), Light (300), ExtraBold (800)
 * This reduces font payload by 60% (1.3MB → 500KB)
 */

/* Sarabun Thin - DISABLED for performance */
/*
@font-face {
    font-family: 'Sarabun';
    src: url('../fonts/Sarabun-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sarabun';
    src: url('../fonts/Sarabun-ThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}
*/

/* Sarabun ExtraLight - DISABLED for performance */
/*
@font-face {
    font-family: 'Sarabun';
    src: url('../fonts/Sarabun-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sarabun';
    src: url('../fonts/Sarabun-ExtraLightItalic.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}
*/

/* Sarabun Light - DISABLED for performance */
/*
@font-face {
    font-family: 'Sarabun';
    src: url('../fonts/Sarabun-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sarabun';
    src: url('../fonts/Sarabun-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}
*/

/* Sarabun Regular */
@font-face {
    font-family: 'Sarabun';
    src: url('../fonts/Sarabun-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sarabun';
    src: url('../fonts/Sarabun-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* Sarabun Medium */
@font-face {
    font-family: 'Sarabun';
    src: url('../fonts/Sarabun-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sarabun';
    src: url('../fonts/Sarabun-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

/* Sarabun SemiBold */
@font-face {
    font-family: 'Sarabun';
    src: url('../fonts/Sarabun-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sarabun';
    src: url('../fonts/Sarabun-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

/* Sarabun Bold */
@font-face {
    font-family: 'Sarabun';
    src: url('../fonts/Sarabun-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sarabun';
    src: url('../fonts/Sarabun-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* Sarabun ExtraBold - DISABLED for performance */
/*
@font-face {
    font-family: 'Sarabun';
    src: url('../fonts/Sarabun-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sarabun';
    src: url('../fonts/Sarabun-ExtraBoldItalic.ttf') format('truetype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}
*/

/* Apply Sarabun as default font */
body {
    font-family: 'Sarabun', Arial, sans-serif;
    font-weight: 400;
}

/* Override common elements */
body, input, textarea, select, button {
    font-family: 'Sarabun', Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Sarabun', Arial, sans-serif;
    font-weight: 600;
}

strong, b {
    font-weight: 700;
}
