/* thai */
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/28aa3a51-4928-4be5-aaeb-18b478178491.woff2") format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
/* vietnamese */
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/09bff54e-ebae-4630-9558-a20997ba8e9b.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/64443378-86b0-4365-b447-2ab31b4d7ec4.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/6d0999a6-a777-498f-a5d7-80a5eaf52394.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* thai */
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/55bb8e36-1e88-4afe-bcc1-8bfe3f0aa7f4.woff2") format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
/* vietnamese */
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/b92a1faf-d17c-4f11-9896-8a9b38fa870b.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/07bbed12-62bd-431c-b092-f8efa44b93fa.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/47e93613-3496-4e6e-ae0c-4dc084054c24.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* thai */
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/ac35a33c-55c3-47fd-83bd-17606e7ee3c4.woff2") format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
/* vietnamese */
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/cf4d1b91-99c8-44c3-8ee6-f8c635b774d0.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/38f63638-fccf-4d0d-8278-92ab989c241b.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/7a996dc3-5fbf-4122-b1f1-1e8305dc0e43.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* thai */
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/281cf85f-9f77-4a87-9ebd-ab283d44a4cd.woff2") format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
/* vietnamese */
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/0a6edf1b-6d23-45e3-bce0-25b045278bc0.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/4982fec0-a736-4b31-ac78-cbd17a676330.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/13e61763-b54c-41bb-a8e0-d0b928439f50.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* thai */
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/0007ad0b-a86f-4a5a-ad7d-9b6307062bea.woff2") format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
/* vietnamese */
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/5c2bda25-d8dd-4bdd-ac17-a9a4cca5de53.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/8e3c6ed7-6e69-43e7-a52f-8e7be68f2de4.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/2bef9972-4dbf-45b7-b243-9d41bf747400.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* thai */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/a0e2d29f-d0bd-49d3-a726-f358d7a387d1.woff2") format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
/* vietnamese */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/e2f160fc-f45e-47f6-a055-311ca161200a.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/78923da5-a90f-4592-a3d1-0546a1bcc8da.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/bceba578-6f04-4194-83c2-d754986c95cd.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* thai */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/ec2a4581-8790-476f-9a24-b61697985bc4.woff2") format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
/* vietnamese */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/12369f10-5569-4f3f-a9d7-9fd5f7bb0b90.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/7965c5b7-a8cb-47b9-8f88-bcc5e0b0dc2c.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/0076f19b-a177-4131-8526-6010c809fd0e.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* thai */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/bb2cad61-6eca-4f29-bf0b-d62998ac77d0.woff2") format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
/* vietnamese */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/0f9d223d-05c7-42ee-8d94-43d3ab5b53e4.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/0cc6f93d-186f-4c1a-ad61-11d9d9975373.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/b60eeafb-b6fa-453b-8935-b0f67babb263.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* thai */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/4dc09084-2229-49a7-9730-01a8149e1e3c.woff2") format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
/* vietnamese */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/6af06191-fc9f-43c8-8da7-0c6b2acb4e76.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/972f78d6-1669-4f8d-b077-79774e4b1fbe.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/18811d3d-73d9-4778-9eff-039f001989bd.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   Porjaithai.com — Shared stylesheet
   สีธีมหลัก #2b1f16 (น้ำตาลเข้ม) + ทอง #c9a24c / แก้ธีมทั้งเว็บได้ที่ :root
   ============================================================ */
:root{
  --red:#30271F;
  --red-dark:#30271F;
  --red-soft:#8a5a30;
  --gold:#c9a24c;
  --ink:#241d18;
  --muted:#6f6f6f;
  --line:#e8e0d3;
  --bg:#E4E0D6;
  --bg-alt:#faf7f1;
  --radius:6px;
  --wrap:1200px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Sarabun',system-ui,sans-serif;color:var(--ink);background:var(--bg);font-size:16px;line-height:1.75}
h1,h2,h3,h4,h5,.font-head{font-family:'Kanit',sans-serif;font-weight:500;line-height:1.35}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 20px}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.center{text-align:center;margin-top:36px}

/* ---------- TOP BAR ---------- */
.topbar{background:#30271F;color:#f0e7d8;font-size:.82rem}
.topbar .wrap{display:flex;justify-content:flex-end;align-items:center;gap:18px;height:36px}
.topbar a{opacity:.9}
.topbar a:hover{opacity:1;color:#fff}
.lang{display:flex;gap:10px;align-items:center}
.lang span{width:1px;height:14px;background:rgba(255,255,255,.3)}

/* ---------- HEADER + NAV ---------- */
.site-header{background:#E4E0D6;border-bottom:3px solid var(--gold);position:sticky;top:0;z-index:60;box-shadow:0 2px 12px rgba(0,0,0,.06)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:82px}
.logo{display:flex;align-items:center;gap:12px;flex-shrink:0}
.logo-mark{width:58px;height:58px;border-radius:50%;object-fit:cover;background:#1a1310}
.logo-text b{font-family:'Kanit';font-size:1.25rem;color:var(--red);display:block;line-height:1.2}
.logo-text small{font-size:.72rem;color:var(--muted)}
.main-nav>ul{display:flex;list-style:none;align-items:center}
.main-nav>ul>li{position:relative}
.main-nav>ul>li>a{display:block;padding:14px 15px;font-family:'Kanit';font-weight:400;font-size:.95rem;border-bottom:3px solid transparent;transition:.2s}
.main-nav>ul>li>a:hover,.main-nav>ul>li.active>a{color:var(--red);border-bottom-color:var(--red)}
.has-sub>a::after{content:"▾";margin-left:6px;font-size:.75rem;opacity:.6}
.sub{position:absolute;top:100%;left:0;min-width:290px;background:#E4E0D6;border-top:3px solid var(--red);box-shadow:0 14px 34px rgba(0,0,0,.14);list-style:none;padding:8px 0;opacity:0;visibility:hidden;transform:translateY(8px);transition:.18s}
.has-sub:hover>.sub,.has-sub:focus-within>.sub{opacity:1;visibility:visible;transform:translateY(0)}
.sub li a{display:block;padding:8px 20px;font-size:.9rem;border-left:3px solid transparent}
.sub li a:hover{background:var(--bg-alt);color:var(--red);border-left-color:var(--gold)}
.sub .sub-head{padding:8px 20px 4px;font-family:'Kanit';font-size:.8rem;color:var(--muted);letter-spacing:.5px}
.sub .dash{padding-left:32px;color:#555}
.nav-toggle{display:none;background:none;border:1px solid var(--line);border-radius:4px;padding:8px 11px;font-size:1.25rem;cursor:pointer;color:var(--red)}

/* ---------- BUTTONS ---------- */
.btn{display:inline-block;font-family:'Kanit';font-size:.95rem;padding:11px 30px;border-radius:100px;transition:.2s;border:2px solid transparent;cursor:pointer}
.btn-gold{background:var(--gold);color:#1c1410;font-weight:500}
.btn-gold:hover{background:#dcb469;transform:translateY(-2px)}
.btn-ghost{border-color:#fff;color:#fff;margin-left:10px}
.btn-ghost:hover{background:#E4E0D6;color:var(--red)}
.btn-outline{border-color:var(--red);color:var(--red)}
.btn-outline:hover{background:var(--red);color:#fff}
.btn-red{background:#794129;color:#fff;border:0;padding:12px 28px;border-radius:var(--radius);font-family:'Kanit';cursor:pointer;transition:.2s}
.btn-red:hover{background:#8f5236}
.btn-reset{background:#794129;border:1px solid #794129;padding:12px 22px;border-radius:var(--radius);font-family:'Kanit';cursor:pointer;color:#fff}

/* ---------- HERO (หน้าแรก) ---------- */
.hero{position:relative;background:var(--red-dark);overflow:hidden}
.slides{position:relative;height:460px}
.slide{position:absolute;inset:0;opacity:0;transition:opacity .9s ease;display:grid;place-items:center;text-align:center;color:#fff;padding:40px 20px}
.slide.on{opacity:1}
.slide:nth-child(1){background:linear-gradient(115deg,#2b1f16,#4a3524 60%,#c9a24c 160%)}
.slide:nth-child(2){background:linear-gradient(115deg,#1c1410,#2b1f16 55%,#5a4128 130%)}
.slide:nth-child(3){background:linear-gradient(115deg,#241a12,#4a3524 50%,#e0c47a 150%)}
.slide::after{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.09) 1.5px,transparent 1.6px);background-size:22px 22px}
.slide-inner{position:relative;z-index:2;max-width:820px}
.eyebrow{display:inline-block;white-space:nowrap;border:1px solid rgba(255,255,255,.5);border-radius:100px;padding:5px 18px;font-family:'Kanit';font-size:.82rem;letter-spacing:1px;margin-bottom:18px}
.slide h2{font-size:clamp(1.7rem,4.2vw,3rem);font-weight:600;text-shadow:0 2px 16px rgba(0,0,0,.25)}
.slide p{margin-top:14px;font-size:1.02rem;opacity:.93}
.slide-actions{margin-top:26px}
.dots{position:absolute;bottom:18px;left:0;right:0;display:flex;justify-content:center;gap:9px;z-index:5}
.dots button{width:11px;height:11px;border-radius:50%;border:0;background:rgba(255,255,255,.45);cursor:pointer;padding:0}
.dots button.on{background:var(--gold);width:28px;border-radius:100px}

/* ---------- PAGE HERO (หน้าใน) ---------- */
.page-hero{background:#221713;color:#fff;padding:52px 0 46px;position:relative}
.page-hero::after{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.08) 1.5px,transparent 1.6px);background-size:22px 22px}
.page-hero .wrap{position:relative;z-index:2}
.page-hero h1{font-size:clamp(1.5rem,3.4vw,2.3rem);font-weight:600}
.page-hero p{opacity:.9;margin-top:8px}
.crumbs{font-size:.85rem;opacity:.85;margin-bottom:10px}
.crumbs a:hover{color:var(--gold)}
.crumbs span{margin:0 7px;opacity:.6}

/* ---------- SEARCH PANEL ---------- */
.search-panel{background:var(--bg-alt);border-bottom:1px solid var(--line);padding:24px 0}
.search-box{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.search-box h3{font-size:1.05rem;color:var(--red);white-space:nowrap}
.search-box select,.search-box input{font-family:'Sarabun';font-size:.95rem;padding:11px 14px;border:1px solid var(--line);border-radius:var(--radius);background:#E4E0D6;color:var(--ink)}
.search-box select{min-width:230px}
.search-box input{flex:1;min-width:200px}

/* ---------- SECTION ---------- */
section{padding:60px 0}
.sec-alt{background:var(--bg-alt)}
.sec-head{text-align:center;margin-bottom:38px}
.sec-head h2{font-size:clamp(1.5rem,3vw,2.1rem)}
.sec-head h2 b{color:var(--red);font-weight:700}
.sec-head .rule{width:70px;height:3px;background:var(--gold);margin:14px auto 0}
.sec-head p{color:var(--muted);margin-top:12px;font-size:.98rem}
.sec-head.left{text-align:left}
.sec-head.left .rule{margin-left:0}

/* ---------- CATEGORY ICONS ---------- */
.cat-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:22px}
.cat{text-align:center}
.cat .circle{width:100%;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;background:#E4E0D6;border:2px solid var(--line);font-size:2rem;transition:.25s}
.cat:hover .circle{border-color:var(--red);transform:translateY(-6px);box-shadow:0 12px 26px rgba(58,42,28,.18)}
.cat span{display:block;margin-top:10px;font-family:'Kanit';font-size:.88rem}
.cat:hover span{color:var(--red)}

/* ---------- PRODUCT CARDS ---------- */
.prod-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.prod-grid.col3{grid-template-columns:repeat(3,1fr)}
.card{background:#E4E0D6;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:.25s}
.card:hover{box-shadow:0 14px 30px rgba(0,0,0,.1);transform:translateY(-4px);border-color:#d9cfc6}
.thumb{aspect-ratio:1;background:linear-gradient(140deg,#f0ece7,#e2dbd3);display:grid;place-items:center;font-size:2.6rem;color:#b9ada1}
.card-body{padding:14px 16px 18px;display:flex;flex-direction:column;flex:1}
.card-body h4{font-size:.98rem;margin-bottom:6px}
.card-body h4 a:hover{color:var(--red)}
.card-body p{font-size:.86rem;color:var(--muted);flex:1;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card-link{margin-top:12px;font-family:'Kanit';font-size:.85rem;color:var(--red)}
.card-link:hover{text-decoration:underline}
.tag{display:inline-block;background:#794129;color:#fff;font-size:.72rem;padding:2px 9px;border-radius:3px;margin-bottom:8px;font-family:'Kanit'}

/* ---------- LAYOUT: SIDEBAR ---------- */
.with-side{display:grid;grid-template-columns:270px 1fr;gap:34px;align-items:start}
.side-box{background:#E4E0D6;border:1px solid var(--line);border-radius:var(--radius);padding:18px 20px;margin-bottom:20px}
.side-box h4{font-size:1rem;color:var(--red);padding-bottom:10px;border-bottom:2px solid var(--gold);margin-bottom:12px}
.side-box ul{list-style:none;font-size:.92rem}
.side-box li{border-bottom:1px dashed var(--line)}
.side-box li:last-child{border:0}
.side-box li a{display:block;padding:8px 0}
.side-box li a:hover{color:var(--red);padding-left:6px}
.side-box li.sub-item a{padding-left:16px;color:var(--muted);font-size:.88rem}
.side-box li.sub-item a::before{content:"– ";}
.side-box li.on>a{color:var(--red);font-weight:600}
.count{float:right;color:var(--muted);font-size:.82rem}
.result-bar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:22px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.result-bar p{font-size:.92rem;color:var(--muted)}
.result-bar select{padding:8px 12px;border:1px solid var(--line);border-radius:4px;font-family:'Sarabun'}

/* ---------- PAGINATION ---------- */
.pager{display:flex;gap:8px;justify-content:center;margin-top:38px;flex-wrap:wrap}
.pager a{min-width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--line);border-radius:4px;font-family:'Kanit';font-size:.9rem;padding:0 12px;background:#E4E0D6}
.pager a:hover{border-color:var(--red);color:var(--red)}
.pager a.on{background:var(--red);color:#fff;border-color:var(--red)}

/* ---------- PRODUCT DETAIL ---------- */
.detail{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}
.gallery .main-img{aspect-ratio:1;background:linear-gradient(140deg,#f0ece7,#ded6cd);border-radius:var(--radius);display:grid;place-items:center;font-size:5rem;color:#b9ada1;border:1px solid var(--line)}
.gallery .thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}
.gallery .thumbs div{aspect-ratio:1;background:linear-gradient(140deg,#f3efeb,#e2dbd3);border:1px solid var(--line);border-radius:4px;display:grid;place-items:center;font-size:1.4rem;color:#b9ada1;cursor:pointer}
.gallery .thumbs div:hover,.gallery .thumbs div.on{border-color:var(--red)}
.detail h1{font-size:1.6rem;margin:10px 0 14px}
.brand-line{font-size:.9rem;color:var(--muted);margin-bottom:18px}
.spec{width:100%;border-collapse:collapse;margin:20px 0;font-size:.93rem}
.spec th,.spec td{text-align:left;padding:11px 14px;border:1px solid var(--line);vertical-align:top}
.spec th{background:var(--bg-alt);width:34%;font-family:'Kanit';font-weight:400;color:var(--muted)}
.cta-box{background:var(--bg-alt);border:1px solid var(--line);border-left:4px solid var(--red);border-radius:var(--radius);padding:20px;margin-top:22px}
.cta-box h4{color:var(--red);margin-bottom:6px}
.cta-box p{font-size:.92rem;color:var(--muted);margin-bottom:14px}
.tabs{margin-top:46px}
.tab-btns{display:flex;gap:4px;border-bottom:2px solid var(--line);flex-wrap:wrap}
.tab-btns button{background:none;border:0;padding:12px 22px;font-family:'Kanit';font-size:.95rem;cursor:pointer;color:var(--muted);border-bottom:3px solid transparent;margin-bottom:-2px}
.tab-btns button.on{color:var(--red);border-bottom-color:var(--red)}
.tab-pane{display:none;padding:24px 2px;font-size:.95rem}
.tab-pane.on{display:block}
.tab-pane ul{margin-left:20px}

/* ---------- SERVICES ---------- */
.svc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.svc{background:#E4E0D6;border:1px solid var(--line);border-radius:var(--radius);padding:28px 24px;transition:.25s;position:relative;overflow:hidden}
.svc::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--gold);transform:scaleY(0);transform-origin:top;transition:.25s}
.svc:hover{box-shadow:0 14px 30px rgba(0,0,0,.09);transform:translateY(-4px)}
.svc:hover::before{transform:scaleY(1)}
.svc .ico{width:56px;height:56px;border-radius:14px;background:linear-gradient(135deg,var(--red),var(--red-soft));color:#fff;display:grid;place-items:center;font-size:1.6rem;margin-bottom:16px}
.svc h3{font-size:1.12rem;margin-bottom:8px}
.svc p{font-size:.92rem;color:var(--muted)}
.svc ul{list-style:none;margin-top:14px;font-size:.9rem}
.svc li{padding:5px 0 5px 20px;position:relative}
.svc li::before{content:"▸";position:absolute;left:0;color:var(--gold)}
.svc li a:hover{color:var(--red)}

/* ---------- STATS ---------- */
.stats{background:var(--red);color:#fff;background-image:radial-gradient(rgba(255,255,255,.07) 1.5px,transparent 1.6px);background-size:24px 24px}
.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:26px;text-align:center}
.stat .num{font-family:'Kanit';font-size:3rem;font-weight:700;color:var(--gold);line-height:1}
.stat h4{margin:8px 0 6px;font-size:1.02rem}
.stat p{font-size:.87rem;opacity:.85;line-height:1.6}

/* ---------- NEWS ---------- */
.news-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:26px}
.news-main .thumb{aspect-ratio:16/9;font-size:3rem}
.news-list{display:flex;flex-direction:column;gap:14px}
.news-item{display:flex;gap:14px;background:#E4E0D6;border:1px solid var(--line);border-radius:var(--radius);padding:12px;transition:.2s}
.news-item:hover{border-color:var(--red)}
.news-item .mini{width:96px;height:70px;flex-shrink:0;border-radius:4px;background:linear-gradient(140deg,#f0ece7,#ded6cd);display:grid;place-items:center;color:#b3a89c}
.news-item h5{font-size:.92rem;font-family:'Kanit';font-weight:400}
.news-item time{font-size:.78rem;color:var(--muted)}
.news-row{display:grid;grid-template-columns:280px 1fr;gap:22px;background:#E4E0D6;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;margin-bottom:20px;transition:.2s}
.news-row:hover{box-shadow:0 12px 26px rgba(0,0,0,.08)}
.news-row .thumb{aspect-ratio:16/10}
.news-row .rbody{padding:20px 22px 20px 0;display:flex;flex-direction:column;justify-content:center}
.news-row h3{font-size:1.15rem;margin:6px 0 10px}
.news-row h3 a:hover{color:var(--red)}
.news-row p{font-size:.92rem;color:var(--muted)}
.meta{font-size:.82rem;color:var(--muted)}
.meta .chip{background:#fdf3e3;color:#8a6300;padding:2px 10px;border-radius:3px;font-family:'Kanit';margin-right:8px}

/* ---------- BANNERS ---------- */
.banner-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.banner{position:relative;aspect-ratio:1;border-radius:var(--radius);overflow:hidden;display:grid;place-items:end start;padding:22px;color:#fff}
.banner:nth-child(1){background:linear-gradient(160deg,#2b1f16,#5a4128)}
.banner:nth-child(2){background:linear-gradient(160deg,#1c1410,#4a3524)}
.banner:nth-child(3){background:linear-gradient(160deg,#4a3524,#c9a24c)}
.banner:nth-child(4){background:linear-gradient(160deg,#241a12,#2b1f16)}
.banner:nth-child(5){background:linear-gradient(160deg,#a8863c,#2b1f16)}
.banner:nth-child(6){background:linear-gradient(160deg,#2b1f16,#150f0b)}
.banner h4{font-size:1.15rem;position:relative;z-index:2}
.banner::before{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.45),transparent 55%)}
.banner:hover{filter:brightness(1.08)}

/* ---------- ABOUT ---------- */
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:44px;align-items:center}
.about .kicker{font-family:'Kanit';color:var(--gold);letter-spacing:2px;font-size:.85rem}
.about h2{font-size:clamp(1.4rem,2.6vw,1.9rem);margin:8px 0 18px}
.about h3{font-size:1rem;color:var(--red);margin-top:20px}
.about p{font-size:.95rem;color:#4a4a4a}
.flag-art{aspect-ratio:4/3;border-radius:var(--radius);background:linear-gradient(135deg,#2b1f16,#4a3524 55%,#c9a24c);display:grid;place-items:center;color:#fff;font-family:'Kanit';font-size:1.6rem;text-align:center;padding:24px}
.value-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.value{background:#E4E0D6;border:1px solid var(--line);border-radius:var(--radius);padding:26px}
.value .n{font-family:'Kanit';font-size:.8rem;letter-spacing:2px;color:var(--gold)}
.value h3{font-size:1.1rem;margin:8px 0 8px}
.value p{font-size:.92rem;color:var(--muted)}
.timeline{border-left:2px solid var(--line);padding-left:28px;margin-top:10px}
.tl-item{position:relative;padding-bottom:26px}
.tl-item::before{content:"";position:absolute;left:-35px;top:6px;width:14px;height:14px;border-radius:50%;background:var(--red);border:3px solid #fff;box-shadow:0 0 0 2px var(--red)}
.tl-item h4{font-size:1.02rem;color:var(--red)}
.tl-item p{font-size:.92rem;color:var(--muted)}

/* ---------- CONTACT ---------- */
.contact-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:34px}
.qr-card{background:#E4E0D6;border:1px solid var(--line);border-radius:var(--radius);padding:22px;text-align:center;margin-bottom:18px}
.qr-card h4{color:var(--red);font-size:1.05rem}
.qr-card .id{font-size:.9rem;color:var(--muted);margin-bottom:14px}
.qr{width:132px;height:132px;margin:0 auto;background:repeating-conic-gradient(#241d18 0 25%,#fff 0 50%) 0 0/16px 16px;border:6px solid #fff;outline:1px solid var(--line)}
.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:38px}
.info{background:#E4E0D6;border:1px solid var(--line);border-radius:var(--radius);padding:24px;text-align:center}
.info .ico{width:50px;height:50px;border-radius:50%;background:var(--bg-alt);display:grid;place-items:center;margin:0 auto 12px;font-size:1.3rem}
.info h4{font-size:1rem;color:var(--red);margin-bottom:6px}
.info p{font-size:.92rem;color:var(--muted)}
.form-card{background:#E4E0D6;border:1px solid var(--line);border-radius:var(--radius);padding:26px}
.form-card h3{color:var(--red);margin-bottom:18px;font-size:1.1rem}
.field{margin-bottom:14px}
.field label{display:block;font-size:.88rem;margin-bottom:6px;font-family:'Kanit';font-weight:300}
.field input,.field select,.field textarea{width:100%;font-family:'Sarabun';font-size:.94rem;padding:10px 13px;border:1px solid var(--line);border-radius:4px;background:#fdfcfb}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--red);background:#E4E0D6}
.field textarea{min-height:110px;resize:vertical}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.radio-row{display:flex;gap:20px;font-size:.92rem}
.map-embed{aspect-ratio:16/7;background:linear-gradient(135deg,#e8e3dd,#d8d0c7);border-radius:var(--radius);display:grid;place-items:center;color:var(--muted);font-family:'Kanit';margin-top:38px;border:1px solid var(--line)}

/* ---------- FAQ ---------- */
.faq{max-width:840px;margin:0 auto}
.faq details{background:#E4E0D6;border:1px solid var(--line);border-radius:var(--radius);margin-bottom:12px;padding:0}
.faq summary{cursor:pointer;padding:16px 20px;font-family:'Kanit';font-size:.98rem;list-style:none;display:flex;justify-content:space-between;gap:14px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--red);font-size:1.3rem;line-height:1}
.faq details[open] summary::after{content:"–"}
.faq details[open] summary{color:var(--red);border-bottom:1px solid var(--line)}
.faq .ans{padding:16px 20px;font-size:.93rem;color:#4a4a4a}

/* ---------- FOOTER ---------- */
.site-footer{background:#221713;color:#fff;padding:56px 0 0;font-size:.9rem}
.foot-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr 1fr;gap:28px}
.site-footer h5{color:#fff;font-family:'Kanit';font-size:1rem;margin-bottom:14px}
.site-footer ul{list-style:none}
.site-footer li{margin-bottom:8px}
.site-footer a:hover{color:var(--gold)}
.foot-about p{font-size:.86rem;line-height:1.8;opacity:.8}
.social{display:flex;gap:10px;margin-top:18px}
.social a{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.09);display:grid;place-items:center;transition:.2s;font-size:.9rem}
.social a:hover{background:var(--gold);color:#1a1310}
.copyright{margin-top:44px;border-top:1px solid rgba(255,255,255,.12);padding:18px 0;text-align:center;font-size:.83rem;opacity:.75}

/* ---------- FLOATING ---------- */
.float-line{position:fixed;right:18px;bottom:18px;z-index:80;background:#06c755;color:#fff;padding:12px 20px;border-radius:100px;font-family:'Kanit';font-size:.9rem;box-shadow:0 8px 22px rgba(0,0,0,.22)}
.float-line:hover{transform:translateY(-3px)}

/* ---------- RESPONSIVE ---------- */
@media(max-width:1000px){
  .cat-grid{grid-template-columns:repeat(4,1fr)}
  .prod-grid,.prod-grid.col3{grid-template-columns:repeat(2,1fr)}
  .news-grid,.about-grid,.contact-grid,.detail,.with-side{grid-template-columns:1fr}
  .banner-grid,.svc-grid,.value-grid,.info-grid{grid-template-columns:repeat(2,1fr)}
  .stat-grid{grid-template-columns:repeat(2,1fr)}
  .foot-grid{grid-template-columns:1fr 1fr}
  .news-row{grid-template-columns:1fr}
  .news-row .rbody{padding:0 20px 20px}
  .nav-toggle{display:block}
  .main-nav{position:absolute;top:100%;left:0;right:0;background:#E4E0D6;border-top:1px solid var(--line);box-shadow:0 14px 26px rgba(0,0,0,.12);max-height:0;overflow:hidden;transition:max-height .3s ease}
  .main-nav.open{max-height:80vh;overflow-y:auto}
  .main-nav>ul{flex-direction:column;align-items:stretch;padding:8px 0}
  .main-nav>ul>li>a{padding:12px 20px;border-bottom:1px solid var(--line)}
  .sub{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border-top:0;background:var(--bg-alt);display:none}
  .has-sub.open>.sub{display:block}
  .slides{height:400px}
}
@media(max-width:560px){
  .cat-grid{grid-template-columns:repeat(3,1fr)}
  .prod-grid,.prod-grid.col3{grid-template-columns:1fr 1fr}
  .banner-grid,.stat-grid,.foot-grid,.two-col,.svc-grid,.value-grid,.info-grid{grid-template-columns:1fr}
  section{padding:44px 0}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
/* ===== Product card — cream/gold theme (scoped to product grids) ===== */
.prod-grid .card{background:#E4E0D6;border:1px solid #d8c8a6;transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease}
.prod-grid .card:hover{border-color:#c9a24c;box-shadow:0 14px 30px rgba(90,65,30,.16);transform:translateY(-4px)}
.prod-grid .thumb{position:relative;overflow:hidden;background:radial-gradient(110% 90% at 50% 38%, #f6e6c0 0%, #e6cd9b 40%, #c9a86e 78%, #a8823f 100%)}
.prod-grid .thumb::after{content:"";position:absolute;left:6%;right:6%;bottom:7%;height:16%;border-radius:50%;background:rgba(78,55,20,.45);filter:blur(10px);z-index:0;pointer-events:none}
.prod-grid .thumb img{position:relative;z-index:1;width:100%;height:100%;object-fit:cover!important;padding:0}
.prod-grid .tag{background:#794129;color:#fff;border:1px solid #794129}
/* ===== Brand gold theme — premium gold accent (buttons) ===== */
.btn-gold{background:#794129;color:#fff;font-weight:500}
.btn-gold:hover{background:#8f5236;color:#fff}
/* ===== Premium metallic gold — dividers & stat numbers ===== */
.sec-head .rule{background:#30271F!important}
.stat .num{background:linear-gradient(180deg,#e7cf9e,#c9a24c 55%,#a8823f);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
/* ===== Heading tone — warm brown #30271F + bolder (content headings on light bg) ===== */
.sec-head h2{color:#30271F;font-weight:800}
.sec-head h2 b{color:#30271F;font-weight:800}
.card h4,.card h4 a{color:#30271F;font-weight:700}
.side-box h4{color:#30271F;font-weight:700}

/* ===== IMAGE PLACEHOLDER (แทน emoji ชั่วคราว จนกว่าจะมีรูปจริง) ===== */
.ph-img{display:block;width:100%;height:100%;border-radius:inherit;background:#e7ded0 center / 42% no-repeat url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a08b6f' stroke-width='1.4'><rect x='3' y='3' width='18' height='18' rx='2'/><circle cx='8.5' cy='8.5' r='1.6'/><path d='M21 15l-5-5L5 21'/></svg>")}
.ph-img-lg{background-size:30%}
