/* Global Header/Footer CSS owner for TH / EN / ZH.
   Imported after the page's local CSS by includes/site-global-header.php. */
/* Chrome typography and utility strip must not inherit each page's hero/theme style. */
.sps-global-header,.sps-global-footer,
.sps-global-utility-bar{
 font-family:Sarabun,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.sps-global-utility-bar{border-bottom:1px solid #f0f1f3;background:#fafafa}
.sps-global-utility-bar .utility-inner{
 min-height:34px;display:flex;align-items:center;justify-content:flex-end;
 gap:18px;color:#475467;font-size:12px;
}
.sps-global-utility-bar .utility-inner a{color:#475467;text-decoration:none}
.sps-global-utility-bar .utility-inner a:hover{color:#c94e00}
@media(max-width:720px){.sps-global-utility-bar{display:none}}
.sps-global-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.96);border-bottom:1px solid #e4e7ec;backdrop-filter:blur(14px)}
.sps-global-header .brand{display:flex;align-items:center;gap:11px;font-weight:800;text-decoration:none;color:#101828}
.sps-global-header .brand-copy{display:grid;line-height:1.15}
.sps-global-header .desktop-menu a{text-decoration:none;color:#344054}
.sps-global-header .desktop-menu a.active,.sps-global-header .desktop-menu a:hover{color:#c94e00}
.sps-global-header .desktop-menu .contact-link{background:#ff6600;color:#fff}
.sps-global-header .desktop-menu .contact-link:hover{background:#c94e00;color:#fff}
.sps-global-header .mobile-menu summary{cursor:pointer;list-style:none;font-weight:800}
.sps-global-header .mobile-menu summary::-webkit-details-marker{display:none}
.sps-global-header .mobile-links{position:absolute;right:0;padding:12px;background:#fff;border:1px solid #e4e7ec;border-radius:14px;box-shadow:0 20px 50px rgba(16,24,40,.1)}
.sps-global-header .mobile-links a{display:block;padding:10px 8px;border-radius:8px;text-decoration:none;color:#344054}
.sps-global-footer{padding:54px 0 24px;background:#0d0f12;color:#fff}
.sps-global-footer .footer-grid{display:grid;grid-template-columns:1.35fr .8fr .8fr;gap:38px}
.sps-global-footer h3{margin:0 0 12px;font-size:17px;color:#fff}
.sps-global-footer a{display:block;margin:7px 0;color:#e4e7ec;text-decoration:none}
.sps-global-footer a:hover{color:#fff}
.sps-global-footer p,.sps-global-footer small,.sps-global-footer .company-row{color:#98a2b3}
@media(max-width:1080px){.sps-global-footer .footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.sps-global-footer .footer-grid{grid-template-columns:1fr}}

/* Canonical chrome rules: keep only in this file. */
.site-header.sps-global-header .site-nav{
 display:flex;align-items:center;justify-content:space-between;
 width:min(1500px,calc(100% - 40px));min-height:82px;
 gap:clamp(12px,1.8vw,28px);padding:0;
}
.site-header.sps-global-header .brand{flex:0 0 auto;min-width:0}
.site-header.sps-global-header .brand-logo{width:48px;height:48px;flex:0 0 48px;object-fit:contain}
.site-header.sps-global-header .brand-copy{font-size:15px;line-height:1.2}
.site-header.sps-global-header .brand-copy small{font-size:11px;white-space:normal}
.site-header.sps-global-header .desktop-menu{
 display:flex;flex:0 1 auto;align-items:center;justify-content:flex-end;
 gap:clamp(9px,1.15vw,19px);min-width:0;width:auto;
 font:700 14px/1.4 Sarabun,system-ui,-apple-system,"Segoe UI",sans-serif;
 white-space:nowrap;
}
.site-header.sps-global-header .desktop-menu>a{padding:10px 0}
.site-header.sps-global-header .desktop-menu .contact-link{
 padding:10px 15px;border-radius:9px;color:#fff
}
.site-header.sps-global-header .desktop-menu .contact-link.active{color:#fff}
.site-header.sps-global-header .sps-global-more{position:relative;flex:0 0 auto;z-index:110}
.site-header.sps-global-header .sps-global-more>summary{
 display:flex;align-items:center;gap:5px;min-height:38px;
 padding:8px 0;color:#344054;cursor:pointer;list-style:none;font-weight:700;
}
.site-header.sps-global-header .sps-global-more>summary::-webkit-details-marker{display:none}
.site-header.sps-global-header .sps-global-more>summary.active,
.site-header.sps-global-header .sps-global-more>summary:hover,
.site-header.sps-global-header .sps-global-more[open]>summary{color:#c94e00}
.site-header.sps-global-header .sps-global-more>summary:focus-visible{
 outline:3px solid #fdba74;outline-offset:3px;border-radius:3px
}
.site-header.sps-global-header .sps-global-more-menu{
 position:absolute;top:calc(100% + 8px);right:0;min-width:190px;
 display:grid;gap:2px;padding:7px;background:#fff;border:1px solid #e4e7ec;
 border-radius:12px;box-shadow:0 16px 35px rgba(16,24,40,.16);z-index:125;
}
.site-header.sps-global-header .sps-global-more-menu a{
 display:block;padding:9px 11px;border-radius:7px;color:#344054;
 line-height:1.4;text-decoration:none
}
.site-header.sps-global-header .sps-global-more-menu a:hover,
.site-header.sps-global-header .sps-global-more-menu a.active{
 color:#c94e00;background:#fff3ea
}
.site-header.sps-global-header .desktop-menu .sps-lang{
 margin-left:0;margin-right:0;flex-shrink:0
}
.site-header.sps-global-header .mobile-menu{display:none;position:relative;margin-left:auto}
.site-header.sps-global-header .mobile-menu>summary{
 display:flex;align-items:center;justify-content:center;min-width:58px;
 min-height:42px;padding:7px 11px;background:#fff;color:#101828;
 border:1px solid #d0d5dd;border-radius:10px;
}
.site-header.sps-global-header .mobile-links{
 top:calc(100% + 8px);right:0;z-index:130;max-height:calc(100dvh - 115px);
 overflow-y:auto;min-width:245px
}
.site-header.sps-global-header .mobile-links>a.active{
 color:#c94e00;background:#fff3ea;font-weight:800
}
.site-header.sps-global-header .sps-mobile-lang-current{
 display:block;padding:8px;color:#c94e00;font-weight:800
}
.sps-global-footer .footer-grid{align-items:start}
.sps-global-footer .footer-brand{
 display:flex;align-items:center;gap:13px;max-width:100%;
 margin:0 0 14px;color:#fff;text-decoration:none
}
.sps-global-footer .footer-brand .footer-logo{
 display:block;width:72px;height:72px;flex:0 0 72px;object-fit:contain
}
.sps-global-footer .footer-brand-copy{display:grid;gap:5px;min-width:0}
.sps-global-footer .footer-brand-copy strong{font-size:18px;color:#fff;line-height:1.25}
.sps-global-footer .footer-brand-copy span{color:#cbd5e1;font-size:12px;line-height:1.4}
.sps-global-footer .sps-global-cookie-button{
 display:block;margin:7px 0;padding:0;border:0;background:transparent;
 color:#e4e7ec;text-align:left;font:inherit;cursor:pointer
}
.sps-global-footer .sps-global-cookie-button:hover{color:#fff}
.sps-global-footer .sps-global-cookie-button:focus-visible{
 outline:2px solid #ff6600;outline-offset:4px
}
@media(max-width:1199px){
 .site-header.sps-global-header .site-nav{
  display:flex;gap:12px;width:calc(100% - 32px);min-height:72px;
  padding:0
 }
 .site-header.sps-global-header .desktop-menu{display:none}
 .site-header.sps-global-header .mobile-menu{display:block}
 .site-header.sps-global-header .brand{margin-right:auto}
 .site-header.sps-global-header .brand-logo{width:44px;height:44px;flex-basis:44px}
}
@media(max-width:720px){
 .site-header.sps-global-header .site-nav{min-height:66px;width:calc(100% - 28px)}
 .site-header.sps-global-header .brand-copy{font-size:14px}
 .site-header.sps-global-header .brand-copy small{font-size:10px}
 .site-header.sps-global-header .mobile-menu{margin-left:auto}
 .sps-global-footer .footer-brand .footer-logo{width:58px;height:58px;flex-basis:58px}
 .sps-global-footer .footer-brand-copy strong{font-size:16px}
}

/* Global navigation v2: recommended Thai labels and original full desktop bar.
   The HTML has only one copy of each link: JS moves expandable links into
   this inline area at wide viewport widths, or into More on narrow desktop. */
.site-header.sps-global-header .desktop-menu{
 gap:clamp(7px,.65vw,13px);font-size:14px;flex-wrap:nowrap
}
.site-header.sps-global-header .site-nav{gap:clamp(10px,1.4vw,24px)}
.site-header.sps-global-header .sps-global-expanded{
 display:flex;align-items:center;gap:clamp(7px,.65vw,13px);flex:0 0 auto;
 min-width:0;white-space:nowrap
}
.site-header.sps-global-header .sps-global-expanded[hidden],
.site-header.sps-global-header .sps-global-more[hidden]{display:none!important}
.site-header.sps-global-header .sps-global-expanded>a{
 display:inline-flex;align-items:center;flex:0 0 auto;padding:10px 0;
 color:#344054;text-decoration:none;white-space:nowrap
}
.site-header.sps-global-header .sps-global-expanded>a:hover,
.site-header.sps-global-header .sps-global-expanded>a.active{color:#c94e00}
.site-header.sps-global-header .sps-global-more:not([open])>.sps-global-more-menu{display:none!important}
.site-header.sps-global-header .sps-global-more[open]>.sps-global-more-menu{display:grid}
.site-header.sps-global-header .sps-global-more-menu a{
 padding:10px 12px;font-weight:700;white-space:nowrap
}
.site-header.sps-global-header .desktop-menu>a,
.site-header.sps-global-header .sps-global-more>summary{flex:0 0 auto}
.site-header.sps-global-header .desktop-menu .contact-link{margin-left:0}
@media(min-width:1200px) and (max-width:1379px){
 .site-header.sps-global-header .desktop-menu{gap:clamp(10px,1vw,16px)}
 .site-header.sps-global-header .sps-global-expanded{display:none!important}
}
@media(min-width:1380px){
 .site-header.sps-global-header .sps-global-more:not([hidden]){display:block}
 .site-header.sps-global-header .sps-global-expanded:not([hidden]){display:flex}
 .site-header.sps-global-header .brand-copy{max-width:205px}
 .site-header.sps-global-header .desktop-menu{gap:clamp(7px,.65vw,12px)}
 .site-header.sps-global-header .desktop-menu .sps-lang{margin-left:2px}
}

/* Global header option B — aligned compact utility row. */
.sps-global-utility-bar{
 background:#f8fafc;border-bottom:1px solid #e4e7ec;
}
.sps-global-utility-bar>.utility-inner,
.sps-global-utility-bar>.container.utility-inner{
 box-sizing:border-box;width:min(1500px,calc(100% - 40px));
 max-width:1500px;min-height:36px;margin-inline:auto;padding:0;
 display:flex;align-items:center;justify-content:flex-end;
 gap:clamp(14px,1.45vw,24px);
}
.sps-global-utility-bar .sps-utility-contact{
 display:inline-flex;align-items:center;gap:6px;
 color:#475467;font-size:12px;font-weight:600;
 line-height:1.3;white-space:nowrap;text-decoration:none;
}
.sps-global-utility-bar .sps-utility-contact svg{
 width:14px;height:14px;flex:none;color:#667085;
}
.sps-global-utility-bar .sps-utility-contact:hover,
.sps-global-utility-bar .sps-utility-contact:focus-visible{
 color:#c94e00;
}
.sps-global-utility-bar .sps-utility-contact:hover svg{color:#c94e00}
.sps-global-utility-bar .site-ops-login--desktop{
 min-height:28px;padding:4px 12px;border-radius:7px;
 margin-left:0;background:#fff;color:#344054;
}
@media(max-width:1199px){
 /* The collapsed-navigation layout keeps one mobile Login entry and contact dock. */
 .sps-global-utility-bar{display:none!important}
 .sps-global-header .site-ops-login--mobile{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:34px;padding:6px 10px;font-size:12px;
 }
}

/* Full legal business address in every global footer locale. */
.sps-global-footer .sps-footer-company-details{
 display:grid;gap:9px;min-width:0;
}
.sps-global-footer .sps-footer-company-details small{
 display:block;line-height:1.65;
}
.sps-global-footer .sps-footer-address{
 display:grid;gap:3px;margin:0;max-width:100%;
 font-style:normal;font-size:13px;line-height:1.7;
 color:#cbd5e1;overflow-wrap:break-word;
}
.sps-global-footer .sps-footer-address strong{
 color:#f8fafc;font-size:13px;font-weight:800;
}
.sps-global-footer .sps-footer-address span{
 display:block;color:#cbd5e1;
}
