/* [20 ต.ค. 2569] ท้ายเว็บ (footer) ชุดเดียวทุกหน้า — หน้าแรก + หน้าย่อยทุกหน้า (pages/layout) + ภาษาอังกฤษ (en/layout)
   เจ้าของ "เปลี่ยน footer ทุกหน้าให้เหมือนหน้าหลัก" · แก้หน้าตา footer ที่ไฟล์นี้ที่เดียว
   markup: app/Views/v3/_ft.php (ไทย) · app/Views/en/v3/_ft.php (อังกฤษ)
   ฐาน (reset) จำกัดอยู่ใน .ft — หน้าที่ใช้ Tailwind ไม่โดนกระทบ และ Tailwind preflight ไม่ทับ footer */
@font-face { font-family: 'Noto Sans Thai'; font-style: normal; font-weight: 100 900; font-stretch: 62.5% 100%; font-display: swap;
  src: url(fonts/nst-thai.woff2) format('woff2'); unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Noto Sans Thai'; font-style: normal; font-weight: 100 900; font-stretch: 62.5% 100%; font-display: swap;
  src: url(fonts/nst-latin.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; }
.ft { padding: 44px 0 calc(28px + env(safe-area-inset-bottom)); background: #0e2818; color: rgba(255, 255, 255, .78); font-family: 'Noto Sans Thai', system-ui, -apple-system, sans-serif; font-size: 14.5px; line-height: 1.7; text-align: left; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.ft *, .ft *::before, .ft *::after { box-sizing: border-box; }
.ft h3, .ft p, .ft ul { margin: 0; }
.ft ul { padding: 0; list-style: none; }
.ft a { color: inherit; }
.ft img { display: block; max-width: 100%; }
.ft button { font: inherit; color: inherit; }
.ft .ic { display: inline-block; flex: none; width: 1.25em; height: 1.25em; }
.ft .wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.ft-grid { display: grid; gap: 28px; }
.ft-brand img { height: 42px; width: auto; }
.ft-brand p { margin-top: 10px; }
.ft-soc { display: flex; gap: 10px; margin-top: 14px; }
.ft-soc a { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff; }
.ft-soc a:hover { background: rgba(255, 255, 255, .16); }
.ft-soc .ic { width: 22px; height: 22px; }
.ft h3 { margin-bottom: 10px; color: #fff; font-size: 15.5px; font-weight: 700; line-height: 1.7; }
.ft ul { display: grid; gap: 6px; }
.ft ul a { text-decoration: none; }
.ft ul a:hover { color: #fff; text-decoration: underline; }
.ft li { display: flex; align-items: center; gap: 8px; }
.ft li .ic { width: 17px; height: 17px; opacity: .8; }
.ft-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }
.ft-bot a { text-decoration: none; }
.ft-bot a:hover { color: #fff; }
.ft-legal { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.ft-ck { padding: 0; border: 0; background: none; color: inherit; font-size: 13px; cursor: pointer; }
.ft-ck:hover { color: #fff; }
@media (max-width: 639px) { .ft { padding-top: 36px; } .ft-grid { gap: 24px; } }
@media (min-width: 640px) { .ft .wrap { padding: 0 28px; } .ft-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1000px) { .ft-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }

/* ---------- กล่องยินยอมคุกกี้ ชุดเดียวทุกหน้า [20 ต.ค. 2569] (id เดิมของ cookie-consent.js) · markup app/Views/v3/_ck.php · en/v3/_ck.php ---------- */
.ck, .ckm, .ck-fab { --leaf: #00a755; --leaf-d: #007a3d; --basil: #12321f; --ink2: #56604f; --line2: #cfd9c6; --lime: #b9d532; --r-ui: 14px;
  font-family: 'Noto Sans Thai', system-ui, -apple-system, sans-serif; line-height: 1.6; text-align: left; -webkit-font-smoothing: antialiased; }
.ck *, .ckm *, .ck *::before, .ckm *::before, .ck *::after, .ckm *::after { box-sizing: border-box; }
.ck p, .ckm h3, .ckm p { margin: 0; }
.ckm h3 { font-weight: 700; color: var(--basil); line-height: 1.3; }
.ck button, .ckm button { font: inherit; }
.ck .ic, .ck-fab .ic { display: inline-block; flex: none; }
.ckm.hidden, .ck-fab.hidden { display: none !important; }
.ck .btn, .ckm .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: var(--r-ui); font-weight: 700; line-height: 1.3; text-decoration: none; cursor: pointer; }
.ck .btn-main, .ckm .btn-main { background: var(--leaf); color: #fff !important; }
.ck .btn-main:hover, .ckm .btn-main:hover { background: var(--leaf-d); }
.ckm .btn-ghost { background: #fff; color: var(--basil) !important; border: 1.5px solid var(--line2); }
.ckm .btn-ghost:hover { border-color: var(--basil); }
.ck-fab { display: none !important; }   /* หน้าแรกเดิมซ่อนปุ่มลอย (ตั้งค่าคุกกี้อยู่ใน footer แล้ว) */
.ck-fab { display: none !important; }
.ck { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; max-width: 420px; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line2); box-shadow: 0 16px 40px -18px rgba(18, 50, 31, .45); font-size: 14px; color: var(--ink2); transform: translateY(140%); transition: transform .35s ease-out; }
.ck.show { transform: none; }
.ck a { color: var(--leaf-d); font-weight: 700; }
.ck-act { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.ck-act .btn { min-height: 40px; padding: 6px 16px; font-size: 14.5px; border-radius: 10px; }
.ck-link { min-height: 40px; padding: 0 8px; border: 0; background: none; color: var(--ink2); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.ck-fab { position: fixed; left: 12px; bottom: 84px; z-index: 50; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line2); border-radius: 12px; background: #fff; color: var(--ink2); cursor: pointer; box-shadow: 0 6px 16px -10px rgba(18, 50, 31, .5); }
.ck-fab .ic { width: 20px; height: 20px; }
.ckm { position: fixed; inset: 0; z-index: 110; display: flex; align-items: flex-end; justify-content: center; }
.ckm-bg { position: absolute; inset: 0; background: rgba(6, 18, 11, .6); }
.ckm-in { position: relative; width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto; padding: 20px 18px 22px; border-radius: 22px 22px 0 0; background: #fff; }
.ckm-in h3 { font-size: 19px; }
.ckm-sub { margin-top: 6px; font-size: 14px; color: var(--ink2); }
.ckm-sub a { color: var(--leaf-d); font-weight: 700; }
.ckm-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border: 1.5px solid var(--line2); border-radius: 14px; cursor: pointer; }
.ckm-row b { display: block; font-size: 15.5px; }
.ckm-row span { display: block; font-size: 13px; color: var(--ink2); }
.ckm-row em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--leaf-d); white-space: nowrap; }
.ckm-row input { width: 22px; height: 22px; accent-color: var(--leaf); flex: none; }
.ckm-act { display: grid; gap: 8px; margin-top: 16px; }
.ckm-act .btn { min-height: 46px; font-size: 15.5px; }
@media (min-width: 640px) { .ckm { align-items: center; padding: 20px; } .ckm-in { border-radius: 22px; } .ckm-act { grid-template-columns: 1fr 1fr 1fr; } .ck { right: auto; } }
@media (min-width: 1000px) { .ck-fab { bottom: 16px; } }
