#mobileBottomNav{display:none}
@media(max-width:650px){
 body{padding-bottom:calc(72px + env(safe-area-inset-bottom,0px))}
 #mobileBottomNav{
  position:fixed;inset:auto 0 0;z-index:100;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));
  box-sizing:border-box;min-height:68px;padding:7px 5px calc(7px + env(safe-area-inset-bottom,0px));
  background:#fff;border-top:1px solid var(--shop-tint-border,#d5edf2);
 }
 #mobileBottomNav>button{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;
  min-width:0;min-height:50px;margin:0;padding:2px 0;border:0;border-radius:0;
  background:transparent;color:var(--shop-accent,#31b5cf);font:11px/1.3 Arial,sans-serif;
 }
 #mobileBottomNav .mobile-bottom-icon{position:relative;display:grid;place-items:center;width:26px;height:26px;line-height:0}
 #mobileBottomNav svg{display:block;flex:none;width:24px;height:24px;margin:0}
 #mobileBottomNav b{
  position:absolute;top:-5px;right:-9px;display:grid;place-items:center;
  box-sizing:border-box;min-width:17px;height:17px;padding:0 4px;border-radius:20px;
  background:var(--shop-tint,#eaf6f8);color:#217b8d;font:10px/1 Arial,sans-serif;
 }
 #mobileBottomNav>button:focus-visible{outline:2px solid var(--shop-accent,#31b5cf);outline-offset:-2px}
 #mobileBottomNav>button[aria-expanded="true"]{background:var(--shop-tint,#eaf6f8)}
}

@media(max-width:650px){
 body{padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))}
 #mobileBottomNav{
  width:100%;max-width:100%;min-width:0;min-height:80px;
  gap:0;column-gap:0;white-space:normal;overflow-x:clip;
  padding-inline:calc(5px + env(safe-area-inset-left,0px)) calc(5px + env(safe-area-inset-right,0px));
 }
 #mobileBottomNav>button{width:100%;max-width:100%;min-width:0}
 #mobileBottomNav>button>span:not(.mobile-bottom-icon){
  display:block;width:100%;max-width:100%;min-width:0;min-height:2.6em;
  padding:0 2px;white-space:normal;overflow-wrap:anywhere;text-align:center;
 }
}

@media(max-width:650px){
 #mobileBottomNav>button{
  display:grid;grid-template-rows:26px minmax(2.6em,auto);
  justify-items:center;align-items:start;align-content:start;row-gap:5px;
 }
 #mobileBottomNav .mobile-bottom-icon{align-self:start;justify-self:center}
 #mobileBottomNav>button>span:not(.mobile-bottom-icon){line-height:1.3}
}

@media(max-width:650px){
 body{padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))}
 #mobileBottomNav{min-height:60px;padding-top:5px;padding-bottom:calc(5px + env(safe-area-inset-bottom,0px))}
 #mobileBottomNav>button{min-height:49px;grid-template-rows:24px 16px;row-gap:3px;padding:2px 0}
 #mobileBottomNav .mobile-bottom-icon{width:24px;height:24px}
 #mobileBottomNav>button>span:not(.mobile-bottom-icon){min-height:0;line-height:16px;white-space:nowrap;font-size:10px;padding:0 1px}
}
