/* WanTopup v84.91 maintenance hotfix: header alignment, 404 intro, no changes to checkout. */
.site-header.wantopup-header .wtp-header-actions{
  display:inline-flex!important;align-items:center!important;justify-content:flex-end!important;
  flex:0 0 auto!important;gap:9px!important;min-width:0;max-width:100%;
}
.site-header.wantopup-header .wtp-header-actions .wtp-language-switcher{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 auto!important;overflow:visible!important;width:auto!important;
  white-space:nowrap!important;padding:3px!important;gap:3px!important;
}
.site-header.wantopup-header .wtp-header-actions .wtp-language-switcher button{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 auto!important;visibility:visible!important;opacity:1!important;
  font-size:12px!important;min-width:33px!important;min-height:32px!important;
  padding:5px 7px!important;
}
.site-header.wantopup-header .wtp-header-actions .wtp-language-switcher span{
  display:inline!important;visibility:visible!important;
}
.site-header.wantopup-header .wtp-header-actions .wtp-share-header-trigger{
  flex:0 0 auto!important;margin:0!important;min-width:36px!important;
  width:36px!important;height:36px!important;
}
/* Avoid competing for the same row on tablets. */
@media(max-width:1040px){
 .site-header.wantopup-header{display:flex!important;flex-wrap:wrap!important;gap:9px 12px!important;align-items:center!important;justify-content:space-between!important}
 .site-header.wantopup-header .main-nav{order:3!important;flex:1 1 100%!important;min-width:0!important;width:100%!important;justify-content:center!important}
 .site-header.wantopup-header .wtp-header-actions{order:2!important;margin-left:auto!important}
 .site-header.wantopup-header .brand{order:1!important}
}
@media(max-width:420px){
 .site-header.wantopup-header .wtp-header-actions{gap:5px!important}
 .site-header.wantopup-header .wtp-header-actions .wtp-language-switcher{gap:1px!important}
 .site-header.wantopup-header .wtp-header-actions .wtp-language-switcher button{min-width:29px!important;min-height:30px!important;padding:4px 5px!important;font-size:11px!important}
 .site-header.wantopup-header .wtp-header-actions .wtp-share-header-trigger{min-width:32px!important;width:32px!important;height:32px!important}
 .site-header.wantopup-header .brand span{font-size:14px!important}
}
/* The standard site's old main/grid rules can split the 404 number from its title.
   Keep the entire intro as a single centred block on all viewports. */
body.notfound main.wtp404{display:block!important;width:min(1120px,calc(100% - 26px))!important;max-width:1120px!important;margin:0 auto!important;box-sizing:border-box!important;text-align:center!important}
body.notfound main.wtp404 .wtp404-intro{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;width:100%!important;text-align:center!important;gap:0!important}
body.notfound main.wtp404 .wtp404-intro .wtp404-number,
body.notfound main.wtp404 .wtp404-intro h1,
body.notfound main.wtp404 .wtp404-intro > p{display:block!important;position:static!important;float:none!important;clear:both!important;width:100%!important;max-width:100%!important;text-align:center!important;margin-left:auto!important;margin-right:auto!important;transform:none!important}
body.notfound main.wtp404 .wtp404-intro .wtp404-number{font-size:clamp(64px,12vw,115px)!important;line-height:1!important;margin-bottom:10px!important}
body.notfound main.wtp404 .wtp404-intro > p:not(.wtp404-number){max-width:700px!important}
body.notfound main.wtp404 .wtp404-cards{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
@media(max-width:700px){body.notfound main.wtp404 .wtp404-cards{grid-template-columns:1fr!important}}
@media(max-width:620px){
 .site-header.wantopup-header .brand{
   width:auto!important;max-width:calc(100% - 130px)!important;flex:0 1 auto!important;
   margin:0!important;justify-content:flex-start!important;align-self:center!important;
 }
 .site-header.wantopup-header .wtp-header-actions{
   width:auto!important;max-width:130px!important;flex:0 0 auto!important;
   margin-left:auto!important;align-self:center!important;
 }
}
@media(max-width:1040px){
 .site-header.wantopup-header{
   display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
   gap:10px 12px!important;align-items:center!important;
 }
 .site-header.wantopup-header .brand{
   grid-column:1!important;grid-row:1!important;
   justify-self:start!important;justify-content:flex-start!important;
   width:auto!important;max-width:100%!important;min-width:0!important;
   margin:0!important;
 }
 .site-header.wantopup-header .wtp-header-actions{
   grid-column:2!important;grid-row:1!important;
   justify-self:end!important;align-self:center!important;
   width:auto!important;max-width:max-content!important;margin:0!important;
 }
 .site-header.wantopup-header .main-nav{
   grid-column:1 / -1!important;grid-row:2!important;
   width:100%!important;min-width:0!important;margin:0!important;
 }
}
