/* v0.16.29 — final scoped mobile controls/footer and desktop menu shell polish. */
/* Mobile and tablet: currency/language/profile share one controlled height,
   and only one boundary is drawn between adjacent items. */
@media(max-width:1000px){
 body #tg-global-topbar #tg-topbar-actions-group{
   --tg1629-action-height:var(--tg-currency-row-height,var(--tg-mh-topbar-action,30px));
   display:flex!important;flex-wrap:nowrap!important;gap:0!important;align-items:center!important;min-width:0!important;
 }
 body #tg-global-topbar #tg-topbar-actions-group>.tg-currency-slot-top,
 body #tg-global-topbar #tg-topbar-actions-group>.tg-language-widget,
 body #tg-global-topbar #tg-topbar-actions-group>.tg-topbar-profile{
   box-sizing:border-box!important;display:flex!important;align-items:center!important;
   height:var(--tg1629-action-height)!important;min-height:var(--tg1629-action-height)!important;
   max-height:var(--tg1629-action-height)!important;margin:0!important;padding-block:0!important;
   border:0!important;border-radius:0!important;flex-shrink:0!important;
 }
 body #tg-global-topbar #tg-topbar-actions-group #tg-global-currency.tg-global-currency,
 body #tg-global-topbar #tg-topbar-actions-group .tg-language-trigger,
 body #tg-global-topbar #tg-topbar-actions-group .tg-topbar-profile{
   box-sizing:border-box!important;height:100%!important;min-height:0!important;max-height:100%!important;
   margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;
   display:inline-flex!important;align-items:center!important;justify-content:center!important;
 }
 body #tg-global-topbar #tg-topbar-actions-group>.tg-language-widget,
 body #tg-global-topbar #tg-topbar-actions-group>.tg-topbar-profile{
   border-left:1px solid rgba(255,255,255,.28)!important;
 }
 body #tg-global-topbar #tg-topbar-actions-group>.tg-currency-slot-top{border-left:1px solid rgba(255,255,255,.28)!important;}
 body #tg-global-topbar #tg-topbar-actions-group>.tg-topbar-profile{border-right:1px solid rgba(255,255,255,.28)!important;}
 /* Full currency labels must remain visible when its panel is open. */
 body #tg-global-topbar #tg-global-currency .tg-currency-list{
   left:auto!important;right:0!important;width:max-content!important;min-width:148px!important;
   max-width:min(230px,calc(100vw - 16px))!important;overflow-x:hidden!important;
   box-sizing:border-box!important;z-index:999999!important;
 }
 body #tg-global-topbar #tg-global-currency .tg-currency-option{
   min-width:0!important;width:100%!important;white-space:nowrap!important;
   overflow:hidden!important;text-overflow:ellipsis!important;
 }
 body #tg-global-topbar .tg-language-menu{
   right:0!important;left:auto!important;width:190px!important;
   max-width:calc(100vw - 16px)!important;overflow-x:hidden!important;
 }
}
/* Nav shell itself has no visible horizontal rules; menu-item selected underlines stay. */
body #tg-global-header .tg-nav-shell{
 border-top:0!important;border-bottom:0!important;box-shadow:none!important;
}
body #tg-global-header .tg-nav-shell>.tg-container{
 border-top:0!important;border-bottom:0!important;box-shadow:none!important;
}
/* Footer intentionally centered from phone through tablet, desktop >1000 retained. */
@media(max-width:1000px){
 body #tg-global-footer.tg-brand-footer .tg-footer-main >.tg-footer-brand{
   text-align:center!important;justify-self:stretch!important;width:100%!important;min-width:0!important;
 }
 body #tg-global-footer.tg-brand-footer .tg-footer-logo{
   display:flex!important;justify-content:center!important;align-items:center!important;
   width:100%!important;margin:0 auto 18px!important;text-align:center!important;
 }
 body #tg-global-footer.tg-brand-footer .tg-footer-logo a{
   display:inline-flex!important;justify-content:center!important;max-width:100%!important;
 }
 body #tg-global-footer.tg-brand-footer .tg-footer-logo .custom-logo{
   display:block!important;width:auto!important;max-width:min(250px,88%)!important;
   max-height:105px!important;height:auto!important;object-fit:contain!important;object-position:center center!important;
 }
 body #tg-global-footer.tg-brand-footer .tg-footer-brand h3,
 body #tg-global-footer.tg-brand-footer .tg-footer-brand>p{
   text-align:center!important;margin-left:auto!important;margin-right:auto!important;
 }
 body #tg-global-footer.tg-brand-footer .tg-footer-brand>p{max-width:42ch!important;}
 body #tg-global-footer.tg-brand-footer .tg-footer-socials{
   display:flex!important;justify-content:center!important;align-items:center!important;
   width:100%!important;margin-left:auto!important;margin-right:auto!important;flex-wrap:wrap!important;
 }
 body #tg-global-footer.tg-brand-footer .tg-footer-main .tg-footer-col{text-align:center!important;min-width:0!important;}
 body #tg-global-footer.tg-brand-footer .tg-footer-main .tg-footer-col h4{
   display:table!important;margin-left:auto!important;margin-right:auto!important;
   text-align:center!important;background-position:center bottom!important;
 }
 body #tg-global-footer.tg-brand-footer .tg-footer-main .tg-footer-col h4::after{
   left:50%!important;right:auto!important;transform:translateX(-50%)!important;
 }
 body #tg-global-footer.tg-brand-footer .tg-footer-contact >ul{
   justify-content:center!important;justify-items:center!important;
 }
 body #tg-global-footer.tg-brand-footer .tg-footer-contact li{
   box-sizing:border-box!important;display:flex!important;flex-direction:column!important;
   align-items:center!important;justify-content:center!important;text-align:center!important;
   min-width:0!important;max-width:100%!important;width:100%!important;
 }
 body #tg-global-footer.tg-brand-footer .tg-footer-contact li div{
   display:flex!important;flex-direction:column!important;align-items:center!important;
   width:100%!important;min-width:0!important;text-align:center!important;
 }
 body #tg-global-footer.tg-brand-footer .tg-footer-contact a,
 body #tg-global-footer.tg-brand-footer .tg-footer-contact li div>span{
   display:block!important;max-width:100%!important;overflow-wrap:anywhere!important;
   word-break:normal!important;text-align:center!important;
 }
 body #tg-global-footer.tg-brand-footer .tg-footer-trust .tg-container{
   justify-content:center!important;justify-items:center!important;text-align:center!important;
 }
 body #tg-global-footer.tg-brand-footer .tg-footer-bottom{
   width:calc(100% - 32px)!important;display:flex!important;flex-direction:column!important;
   align-items:center!important;justify-content:center!important;text-align:center!important;gap:13px!important;
 }
 body #tg-global-footer.tg-brand-footer .tg-footer-bottom p{
   width:100%!important;max-width:100%!important;text-align:center!important;
   margin:0!important;line-height:1.6!important;
 }
 body #tg-global-footer.tg-brand-footer .tg-footer-bottom nav{
   display:flex!important;justify-content:center!important;align-items:center!important;
   flex-wrap:wrap!important;text-align:center!important;margin:0!important;
 }
}
@media(max-width:680px){
 body #tg-global-footer.tg-brand-footer .tg-footer-main >.tg-footer-brand{grid-column:1/-1!important;}
 body #tg-global-footer.tg-brand-footer .tg-footer-contact >ul{grid-template-columns:minmax(0,1fr)!important;}
 body #tg-global-footer.tg-brand-footer .tg-footer-brand h3{font-size:clamp(17px,4.3vw,21px)!important;}
 body #tg-global-footer.tg-brand-footer .tg-footer-logo .custom-logo{max-width:min(230px,90%)!important;max-height:105px!important;}
}
