/* ===================================================================
   FONT LOADING - LOCAL + CDN FALLBACK
   =================================================================== */

/* Import Google Fonts - Lobster (có hỗ trợ tiếng Việt đầy đủ) */
@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');

/* Philosopher font - Local TTF file */
@font-face {
  font-family: 'Philosopher';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Philosopher Regular'), local('Philosopher-Regular'),
       url('Philosopher-Regular.ttf') format('truetype');
}

/* Backup Fahkwang fonts (nếu cần thiết) */
@font-face {
  font-family: 'Fahkwang';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Fahkwang Regular'), local('Fahkwang-Regular'),
       url('fahkwang-regular.woff2') format('woff2'),
       url('https://cdn.jsdelivr.net/fontsource/fonts/fahkwang@latest/thai-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Fahkwang';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local('Fahkwang Medium'), local('Fahkwang-Medium'),
       url('fahkwang-medium.woff2') format('woff2'),
       url('https://cdn.jsdelivr.net/fontsource/fonts/fahkwang@latest/thai-500-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Fahkwang';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local('Fahkwang SemiBold'), local('Fahkwang-SemiBold'),
       url('fahkwang-semibold.woff2') format('woff2'),
       url('https://cdn.jsdelivr.net/fontsource/fonts/fahkwang@latest/thai-600-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Fahkwang';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Fahkwang Bold'), local('Fahkwang-Bold'),
       url('fahkwang-bold.woff2') format('woff2'),
       url('https://cdn.jsdelivr.net/fontsource/fonts/fahkwang@latest/thai-700-normal.woff2') format('woff2');
}
 

/* Fallback to system fonts if custom fonts fail */
body {
  font-family: 'Philosopher', 'Fahkwang', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  /* Tăng kích thước font cơ bản lên 1px */
  font-size: calc(100% + 1px) !important;
  /* Cải thiện line-height để text đẹp hơn */
  line-height: 1.5;
}

 