.uts-footer-wrap { position:relative; font-family:Inter,sans-serif; }
:host-context(html:lang(th)) .uts-footer-wrap,
html:lang(th) .uts-footer-wrap { font-family:"Noto Sans Thai",sans-serif; }
.uts-footer { padding:30px 0 80px; background:#064936; color:rgba(255,255,255,.76); font-size:16px; }
.uts-footer__brand a { display:inline-flex; align-items:center; gap:9px; color:#fff; text-decoration:none; }
.uts-footer__brand img { display:block; width:auto; height:56px; max-width:220px; object-fit:contain; object-position:left center; margin-left:-20px;}
.uts-footer__brand>p { margin:12px 0 0; font-size:16px; line-height:1.65; }
.uts-footer__divider { height:1px; margin:26px 0 20px; background:rgba(255,255,255,.8); }
.uts-footer__grid { display:grid; grid-template-columns:minmax(0,1fr) 360px; gap:70px; }
.uts-footer__legal { display:flex; min-height:172px; flex-direction:column; }
.uts-footer__legal p { margin:0; font-size:16px; line-height:1.75; }
.uts-footer__legal p:nth-child(2) { margin-top:auto; }
.uts-footer a { color:inherit; text-decoration:none; }
.uts-footer a:hover { color:#fff; }
.uts-footer__legal small { margin-top:6px; font-size:15px; line-height:1.65; }
.uts-footer__contact h2 { margin:0 0 14px; color:#fff; font-size:18px; }
.uts-footer__contact>a,.uts-footer__contact>div { display:flex; align-items:flex-start; gap:12px; font-size:16px; }
.uts-footer__contact>a>svg,.uts-footer__contact>div>svg { margin-top:4px; }
.uts-footer__contact>div { margin-top:10px; }
.uts-footer__contact svg { flex:0 0 auto; width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1; }
.uts-footer__contact p { margin:0; line-height:1.7; }
.uts-footer__socials { display:flex; gap:8px; margin-top:16px; margin-left:30px;}
.uts-footer__socials a { display:flex; width:32px; height:32px; align-items:center; justify-content:center; border-radius:50%; background:#e4e6e6; color:#000; }
.uts-footer__socials svg { width:16px; height:16px; fill:currentColor; }
.uts-footer__social--instagram svg { width:15px; height:15px; }
.uts-footer__social--line svg { width:14px; height:16px; }
.uts-footer__socials a:hover { color:#000; }
.uts-footer-float { position:fixed; z-index:2147483000; right:8px; bottom:20px; display:flex; align-items:center; flex-direction:column; gap:10px; isolation:isolate; }
.uts-footer-float__menu { display:flex; visibility:hidden; align-items:center; flex-direction:column; gap:10px; padding-top:30px; opacity:0; transform:translateY(12px) scale(.92); transform-origin:bottom center; pointer-events:none; transition:opacity .2s,transform .2s,visibility .2s; }
.uts-footer-float.is-open .uts-footer-float__menu { visibility:visible; opacity:1; transform:none; pointer-events:auto; }
.uts-footer-float__menu>a,.uts-footer-float__menu>.uts-footer-float__messenger-wrap,.uts-footer-float__toggle { box-sizing:border-box; flex:0 0 60px; width:60px; height:60px; min-width:60px; min-height:60px; }
.uts-footer-float__messenger,.uts-footer-float__line,.uts-footer-float__toggle { box-sizing:border-box; display:flex; width:100%; height:100%; align-items:center; justify-content:center; padding:0; overflow:hidden; border:0; border-radius:50%; box-shadow:0 6px 18px rgba(0,0,0,.2); cursor:pointer; text-decoration:none; transition:.2s; }
.uts-footer-float__messenger:hover,.uts-footer-float__line:hover,.uts-footer-float__toggle:hover { transform:translateY(-3px) scale(1.03); }
.uts-footer-float__toggle { position:relative; background:transparent; transition:opacity .2s,transform .2s,visibility .2s; }
.uts-footer-float__toggle img { display:block; height:100%; object-fit:cover; }
.uts-footer-float.is-open .uts-footer-float__toggle { visibility:hidden; opacity:0; transform:scale(.6); pointer-events:none; }
.uts-footer-float__messenger-wrap { position:relative; }
.uts-footer-float__messenger { background:#2196F3; }
.uts-footer-float__messenger svg,.uts-footer-float__line svg { display:block; width:100%; height:100%; }
.uts-footer-float__line { background:#00b800; }
.uts-footer-float__close { position:absolute; top:-30px; right:4px; z-index:1; display:flex; box-sizing:border-box; width:20px; height:20px; min-width:20px; min-height:20px; align-items:center; justify-content:center; padding:0; border:0; border-radius:0; background:transparent; color:#000; box-shadow:none; cursor:pointer; }
.uts-footer-float__close svg { width:20px; height:20px; fill:currentColor; }

/*
 * The LiveChat SDK is loaded eagerly (see footer.js) so its bubble is ready
 * as soon as step 1 is opened instead of lagging behind Messenger/Line.
 * Until then, force-hide it with CSS as a reliable guard against the brief
 * flash that can occur before LiveChatWidget.call('hide') takes effect.
 * `body.uts-livechat-open` is toggled by footer.js when our menu opens.
 */
#chat-widget-container { display:none !important; }
body.uts-livechat-open #chat-widget-container { display:block !important; }
@media(max-width:760px){.uts-footer{padding:36px 0 28px}.uts-footer__grid{grid-template-columns:1fr;gap:34px}.uts-footer__legal{min-height:0}.uts-footer__legal p:nth-child(2){margin-top:26px}.uts-footer-float{right:12px;bottom:14px}.uts-footer__contact{max-width:420px}}
