/* MARBLE STORY V3.8.47 — standalone shared Header/Footer design.
   The ms-shell-* namespace is intentional: no bare body, h1, nav, a, ul or .container rules.
   Load LAST in the <head> of every public page. Bootstrap classes remain for collapse behavior. */
.ms-shell-header.ms-lux-header,
.ms-shell-footer.ms-footer { box-sizing:border-box; isolation:isolate; }
.ms-shell-header.ms-lux-header *,
.ms-shell-footer.ms-footer *,
.ms-shell-header.ms-lux-header *::before,
.ms-shell-footer.ms-footer *::before,
.ms-shell-header.ms-lux-header *::after,
.ms-shell-footer.ms-footer *::after {box-sizing:border-box;}
.ms-shell-header.ms-lux-header { position:relative!important; z-index:1040; width:100%; margin:0!important; padding:0!important; background:#fff!important; box-shadow:0 2px 6px rgba(6,26,48,.08); line-height:1.45; border:0; }
.ms-shell-header.ms-lux-header.ms-shell-lang-th {font-family:'Noto Sans Thai','Kanit',sans-serif!important;}
.ms-shell-header.ms-lux-header.ms-shell-lang-en {font-family:'Kanit',sans-serif!important;}
.ms-shell-header.ms-lux-header .ms-lux-top {display:block; height:70px!important; padding:0!important; margin:0!important; background:linear-gradient(105deg,#0c2c4b,#081d34 75%)!important; color:#fff!important;}
.ms-shell-header.ms-lux-header .ms-lux-container { width:100%!important; max-width:1600px!important; margin:0 auto!important; padding-left:4.7%!important; padding-right:4.7%!important;}
.ms-shell-header.ms-lux-header .ms-lux-top-inner {display:flex!important; align-items:center!important; justify-content:space-between!important; gap:24px; height:100%;}
.ms-shell-header.ms-lux-header .ms-lux-brand {display:flex!important; flex-direction:row!important; align-items:center!important; gap:15px; min-width:0; color:#fff!important; text-decoration:none!important; border:0!important; background:transparent!important; margin:0!important; padding:0!important;}
.ms-shell-header.ms-lux-header .ms-lux-upload-logo {display:block; max-width:min(320px,55vw)!important; max-height:56px!important; width:auto!important; height:auto!important; object-fit:contain;}
.ms-shell-header.ms-lux-header .ms-lux-mark {width:65px;flex:0 0 65px;display:flex;}
.ms-shell-header.ms-lux-header .ms-lux-mark svg{display:block;width:100%;height:auto;}
.ms-shell-header.ms-lux-header .ms-lux-brand-name{display:flex;flex-direction:column;line-height:1.1;white-space:nowrap;}
.ms-shell-header.ms-lux-header .ms-lux-brand-name strong{color:#fff!important;font-family:'Kanit',sans-serif;font-size:clamp(21px,2.45vw,31px);font-weight:500;letter-spacing:-.04em;}
.ms-shell-header.ms-lux-header .ms-lux-brand-name sup{font-size:9px;vertical-align:top;}
.ms-shell-header.ms-lux-header .ms-lux-brand-name small{color:#fff!important;font-family:'Kanit',sans-serif;font-size:clamp(7px,.8vw,10px);margin-top:6px;font-weight:600;}
.ms-shell-header.ms-lux-header .ms-lux-top-links{display:flex!important;align-items:center!important;gap:clamp(15px,3.2vw,50px);font-size:13px;font-weight:500;white-space:nowrap;}
.ms-shell-header.ms-lux-header .ms-lux-top-links>a,
.ms-shell-header.ms-lux-header .ms-lux-top-links>span {color:#fff!important;font:inherit!important;text-decoration:none!important;background:transparent!important;}
.ms-shell-header.ms-lux-header .ms-lux-top-links i {font-size:16px;margin-right:5px;}
.ms-shell-header.ms-lux-header .ms-lux-languages{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;font-size:13px;font-weight:500;}
.ms-shell-header.ms-lux-header .ms-lux-languages a,
.ms-shell-header.ms-lux-header .ms-lux-languages span{color:#fff!important;background:transparent!important;text-decoration:none!important;}
.ms-shell-header.ms-lux-header .ms-lux-languages a:not(.is-current){opacity:.75;}
.ms-shell-header.ms-lux-header .ms-lux-languages a:hover{color:#e0ad51!important;}
.ms-shell-header.ms-lux-header .ms-lux-nav {display:flex!important;position:relative!important;min-height:53px; padding:0!important;margin:0!important;background:#fff!important;border:0!important;box-shadow:none!important;}
.ms-shell-header.ms-lux-header .ms-lux-nav-inner {display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:53px;gap:8px;}
.ms-shell-header.ms-lux-header .ms-lux-menu{display:flex;flex-direction:row;align-items:center;gap:clamp(13px,2.3vw,37px);padding:0!important;margin:0 28px 0 0!important;list-style:none!important;width:100%;}
.ms-shell-header.ms-lux-header .ms-lux-menu>li {list-style:none!important;position:relative;margin:0!important;padding:0!important;}
.ms-shell-header.ms-lux-header .ms-lux-menu .nav-link{position:relative;display:block!important;font-family:inherit!important;font-size:clamp(12px,1.16vw,15px)!important;font-weight:500!important;line-height:1.5!important;color:#142037!important;text-decoration:none!important;text-transform:none!important;letter-spacing:normal!important;white-space:nowrap;padding:16px 1px 15px!important;margin:0!important;background:transparent!important;border:0!important;}
.ms-shell-header.ms-lux-header .ms-lux-menu .nav-link:hover{color:#b57d20!important;}
.ms-shell-header.ms-lux-header .ms-lux-menu .nav-link.active::after{content:'';position:absolute;bottom:7px;left:0;right:0;height:2px;background:#bd8b32;}
.ms-shell-header.ms-lux-header .ms-lux-menu .dropdown-menu{position:absolute;z-index:1050;margin:0;padding:8px 0!important;list-style:none!important;background:#fff!important;border:0!important;border-radius:4px!important;box-shadow:0 13px 30px rgba(6,26,48,.16);min-width:220px;}
.ms-shell-header.ms-lux-header .ms-lux-menu .dropdown-menu:not(.show){display:none;}
.ms-shell-header.ms-lux-header .ms-lux-menu .dropdown-item{display:block;padding:7px 16px!important;color:#142037!important;background:transparent!important;font-family:inherit!important;font-size:14px!important;text-transform:none!important;text-decoration:none!important;white-space:normal;}
.ms-shell-header.ms-lux-header .ms-lux-menu .dropdown-item:hover{background:#f8f3e8!important;color:#142037!important;}
.ms-shell-header.ms-lux-header .ms-lux-quote{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 auto;margin-left:auto!important;padding:8px 19px!important;background:linear-gradient(115deg,#c28c35,#af7724)!important;color:#fff!important;font-family:inherit!important;font-size:13px!important;font-weight:500!important;line-height:1.5!important;text-decoration:none!important;text-transform:none!important;border:0!important;border-radius:5px!important;white-space:nowrap;box-shadow:0 1px 7px rgba(132,96,29,.17);}
.ms-shell-header.ms-lux-header .ms-lux-quote:hover{filter:brightness(.92);}
.ms-shell-header.ms-lux-header .ms-lux-toggler{border:0!important;background:transparent!important;box-shadow:none!important;color:#142037!important;padding:5px!important;margin:0!important;}
.ms-shell-header.ms-lux-header .ms-lux-menu-label{font-family:inherit;font-size:12px;margin-left:5px;}
.ms-shell-footer.ms-footer {position:relative!important;clear:both!important;width:100%!important;background:#14263c!important;color:#fff!important;margin:0!important;padding:24px 0!important;border:0!important;font-size:14px!important;line-height:1.65!important;}
.ms-shell-footer.ms-footer.ms-shell-lang-th{font-family:'Noto Sans Thai','Kanit',sans-serif!important;}
.ms-shell-footer.ms-footer.ms-shell-lang-en{font-family:'Kanit',sans-serif!important;}
.ms-shell-footer.ms-footer .ms-shell-footer-inner{width:100%;max-width:1700px!important;margin:0 auto!important;padding-left:3.2%!important;padding-right:3.2%!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;}
.ms-shell-footer.ms-footer .ms-shell-footer-nav{display:flex!important;flex-wrap:wrap!important;gap:16px!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;}
.ms-shell-footer.ms-footer a{font-family:inherit!important;font-size:inherit!important;font-weight:400!important;color:#e0e7f2!important;text-decoration:none!important;text-transform:none!important;letter-spacing:normal!important;background:transparent!important;}
.ms-shell-footer.ms-footer a:hover{color:#fff!important;text-decoration:underline!important;text-underline-offset:4px;}
.ms-shell-footer.ms-footer strong{color:#fff!important;}
.ms-shell-footer.ms-footer img{display:block;max-width:min(260px,75vw);max-height:76px;width:auto;height:auto;object-fit:contain;}
.ms-shell-footer.ms-footer .small{font-size:12px!important;line-height:1.5!important;}
@media(min-width:992px){.ms-shell-header.ms-lux-header .ms-lux-nav .navbar-collapse{display:flex!important;flex-grow:1!important;}.ms-shell-header.ms-lux-header .ms-lux-menu{justify-content:space-between;}}
@media(max-width:1199.98px){.ms-shell-header.ms-lux-header .ms-lux-top-links{gap:15px;font-size:11px;}.ms-shell-header.ms-lux-header .ms-lux-menu{gap:13px!important;}.ms-shell-header.ms-lux-header .ms-lux-menu .nav-link{font-size:12px!important;}.ms-shell-header.ms-lux-header .ms-lux-quote{padding:8px 12px!important;}}
@media(max-width:991.98px){
.ms-shell-header.ms-lux-header .ms-lux-top-links>a,.ms-shell-header.ms-lux-header .ms-lux-top-links>span{display:none!important;}
.ms-shell-header.ms-lux-header .ms-lux-nav-inner{flex-wrap:wrap!important;min-height:57px;}
.ms-shell-header.ms-lux-header .ms-lux-nav .navbar-collapse{order:3;flex:0 0 100%!important;width:100%;}
.ms-shell-header.ms-lux-header .ms-lux-nav .navbar-collapse:not(.show):not(.collapsing){display:none!important;}
.ms-shell-header.ms-lux-header .ms-lux-nav .navbar-collapse.show{display:block!important;}
.ms-shell-header.ms-lux-header .ms-lux-toggler{display:inline-flex!important;align-items:center;}
.ms-shell-header.ms-lux-header .ms-lux-menu{flex-direction:column!important;align-items:stretch!important;gap:0!important;width:100%;margin:0!important;padding-bottom:10px!important;}
.ms-shell-header.ms-lux-header .ms-lux-menu>li{width:100%;}
.ms-shell-header.ms-lux-header .ms-lux-menu .nav-link{font-size:14px!important;padding:10px 5px!important;white-space:normal;}
.ms-shell-header.ms-lux-header .ms-lux-menu .nav-link.active::after{bottom:3px;right:auto;width:35px;}
.ms-shell-header.ms-lux-header .ms-lux-menu .dropdown-menu{position:static!important;float:none!important;width:100%;box-shadow:none!important;border-left:2px solid #bd8b32!important;padding-left:10px!important;}
}
@media(max-width:767.98px){
.ms-shell-header.ms-lux-header .ms-lux-container{padding-left:18px!important;padding-right:18px!important;}
.ms-shell-header.ms-lux-header .ms-lux-brand{gap:7px;}
.ms-shell-header.ms-lux-header .ms-lux-mark{width:40px;flex-basis:40px;}
.ms-shell-header.ms-lux-header .ms-lux-brand-name strong{font-size:clamp(17px,4vw,23px);}
.ms-shell-header.ms-lux-header .ms-lux-brand-name small{font-size:6px;}
.ms-shell-footer.ms-footer{padding:20px 0!important;}
.ms-shell-footer.ms-footer .ms-shell-footer-inner{padding-left:20px!important;padding-right:20px!important;align-items:flex-start!important;}
}
@media(max-width:420px){
.ms-shell-header.ms-lux-header .ms-lux-top{height:64px!important;}
.ms-shell-header.ms-lux-header .ms-lux-top-inner{gap:7px;}
.ms-shell-header.ms-lux-header .ms-lux-brand-name strong{font-size:16px;}
.ms-shell-header.ms-lux-header .ms-lux-mark{width:35px;flex-basis:35px;}
.ms-shell-header.ms-lux-header .ms-lux-languages{gap:5px;font-size:11px;}
.ms-shell-header.ms-lux-header .ms-lux-upload-logo{max-width:min(240px,55vw)!important;}
}
