/* =================================================================================================
   IZITOUR design tokens - quy chuan AGENTS2.md v3.0 (03/12/2026).

   MOT nguon token --izi-* cho toan bo website khach. Nap qua assets/AppAsset.php (web) va
   assets/AppAssetmobi.php (mobi) nen trang nao cung co san. File nay CHI khai bao bien, khong
   style phan tu nao -> them/sua token khong lam doi giao dien cho den khi component dung toi.

   Desktop la gia tri mac dinh trong :root. Gia tri rieng cua mobile khai bao ngay ben duoi trong
   cung file (media query <=767.98px), cung ten token.
   Gia tri la CSS px TRUOC zoom: trang Custom Tour desktop co zoom:1.1 tu 1051px
   (customtourv79-scope.css) nen kich thuoc nhin thay se lon hon ~10%.
   ================================================================================================= */
:root{
  /* Typography - font he thong, cung danh sach du phong o moi theme va ngon ngu (AGENTS2 muc 2). */
  --izi-font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,"Averta Regular",sans-serif;
  --izi-font-h1:32px;      --izi-line-h1:40px;       /* 800 - tieu de trang */
  --izi-font-h2:24px;      --izi-line-h2:32px;       /* 700 - phan lon, tieu de ngay, drawer */
  --izi-font-h3:20px;      --izi-line-h3:28px;       /* 700 - hoat dong, nhom dich vu, the */
  --izi-font-h4:16px;      --izi-line-h4:24px;       /* 700 - muc con */
  --izi-font-body:16px;    --izi-line-body:24px;     /* 400 - doan van, mo ta */
  --izi-font-small:14px;   --izi-line-small:20px;    /* 400 - chu nho, so lieu trong bang */
  --izi-font-label:14px;   --izi-line-label:20px;    /* 600 - nut, tab, nhan truong */
  --izi-font-caption:12px; --izi-line-caption:16px;  /* 500 - ghi chu ngan, thong tin phu, badge */
  --izi-font-total:28px;   --izi-line-total:36px;    /* 800 - tong gia nhom */

  /* Khoang cach (AGENTS2 muc 3). */
  --izi-space-4:4px;   --izi-space-8:8px;   --izi-space-12:12px; --izi-space-16:16px; --izi-space-20:20px;
  --izi-space-24:24px; --izi-space-32:32px; --izi-space-40:40px; --izi-space-48:48px;
  /* Khoang cach theo vi tri - doi gia tri desktop/mobile theo bang muc 3. */
  --izi-page-gutter:24px;     /* le hai ben trang */
  --izi-column-gap:24px;      /* giua cac cot chinh */
  --izi-section-gap:32px;     /* giua hai section lon */
  --izi-card-padding:24px;    /* the lon, the gia, form, drawer */
  --izi-nested-padding:16px;  /* the long / nhom dich vu */

  /* Bo goc (AGENTS2 muc 4). */
  --izi-radius-control:8px;   /* nut, tab, input, select, the nho trong danh sach dieu huong */
  --izi-radius-card:12px;     /* the tour, the dich vu, the gia, the noi dung lon, khoi ban do */
  --izi-radius-panel:16px;    /* dialog / drawer (goc lo ra) */
  --izi-radius-pill:999px;    /* badge trang thai, chip loc, avatar */

  /* Mau (AGENTS2 muc 4). */
  --izi-color-text:#17251E;
  /* Bien the thuong mai DA DUYET cho con so gia (Minh chot 03/12/2026, AGENTS2 muc 4 dong 97):
     moi so tien - tong gia, gia tung khach, gia option - dung mau nay thay vi mau chu chinh.
     Tuong phan 5.4:1 tren nen trang. */
  --izi-color-price:#C0392B;
  /* Bien the thuong mai DA DUYET cho CTA chon dich vu (Minh chot 03/12/2026): Add/Select, Added va
     Options/Rooms/Cabins/Start times trong Custom Tour. Cam dam #B45309 thay cho cam cu #E8820E
     (2.75:1 khong dat 4.5:1): chu trang tren nen = 5.0:1, chu cam tren nen commerce-soft = 4.7:1. */
  --izi-color-commerce:#B45309;
  --izi-color-commerce-soft:#FFF7ED;
  --izi-color-muted:#58675F;
  --izi-color-surface:#FFFFFF;
  --izi-color-page:#F4F6F5;
  --izi-color-divider:#DCE3DE;
  --izi-color-control-border:#79877F;
  --izi-color-primary:#08785B;
  --izi-color-primary-strong:#00604F;
  --izi-color-selected:#EAF6F0;
  --izi-color-focus:#00604F;
  --izi-color-danger:#B42318;
  --izi-color-warning:#8F4C0C;
  --izi-color-disabled-bg:#EDF1EF;
  --izi-color-disabled-text:#58675F;

  /* Do noi. */
  --izi-shadow-overlay:0 8px 24px rgb(23 37 30 / 14%);
  --izi-shadow-raised:0 2px 8px rgb(23 37 30 / 8%);

  /* Chieu cao toi thieu cua dieu khien (AGENTS2 muc 5). */
  --izi-control-standard:44px; /* nut chinh/phu, hanh dong trong the, tab, nut chi co icon */
  --izi-control-large:48px;    /* CTA chinh cua luong */
  --izi-control-compact:36px;  /* toolbar desktop mat do cao; man cam ung dung standard */
}

@media (max-width:767.98px){
  :root{
    --izi-font-h1:28px;    --izi-line-h1:36px;
    --izi-font-h2:20px;    --izi-line-h2:28px;
    --izi-font-h3:18px;    --izi-line-h3:24px;
    --izi-font-total:24px; --izi-line-total:32px;
    --izi-page-gutter:16px;
    --izi-column-gap:16px;
    --izi-section-gap:24px;
    --izi-card-padding:16px;
  }
}
