/* Reuse the existing lower navigation on desktop. No additional links or menus. */
html body.reels-mode .bz-mobile-navigation{display:none!important}
@media screen and (min-width:1200px){
  html body:not(.reels-mode):not([data-area="admin"]):has(.bz-mobile-navigation:not([hidden])>a){
    --bz-desktop-nav-clear405:calc(100px + env(safe-area-inset-bottom,0px));
    padding-bottom:var(--bz-desktop-nav-clear405)!important;
  }
  html:has(>body:not(.reels-mode):not([data-area="admin"]) .bz-mobile-navigation:not([hidden])>a){
    scroll-padding-bottom:calc(100px + env(safe-area-inset-bottom,0px));
  }
  html body:not(.reels-mode):not([data-area="admin"]) .bz-mobile-navigation:not([hidden]):has(>a){
    display:grid!important;
    position:fixed;
    grid-template-columns:repeat(5,minmax(0,1fr));
    align-items:center;
    left:0!important;
    right:0!important;
    bottom:max(14px,env(safe-area-inset-bottom,0px))!important;
    width:calc(100% - 32px)!important;
    max-width:720px!important;
    min-height:68px;
    height:auto;
    box-sizing:border-box;
    margin:0 auto!important;
    padding:6px 8px!important;
    gap:4px;
    transform:none!important;
    border:1.5px solid #338665;
    border-radius:14px;
    background:#fffffff5;
    box-shadow:0 6px 24px #173e2d14;
  }
  html body:not(.reels-mode):not([data-area="admin"]) .bz-mobile-navigation:not([hidden]):has(>a)>a{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    min-height:54px;
    min-width:0;
    margin:0!important;
    padding:4px 6px!important;
    gap:3px!important;
  }
  html body:not(.reels-mode):not([data-area="admin"]) .bz-mobile-navigation:not([hidden]):has(>a)>a .bz-mobile-icon{
    width:36px!important;
    height:30px!important;
  }
  html body:not(.reels-mode):not([data-area="admin"]) .bz-mobile-navigation:not([hidden]):has(>a)>a>span:last-child{
    width:auto!important;
    max-width:100%;
    min-height:16px;
    font-size:11px!important;
    line-height:1.2;
    white-space:normal;
    overflow-wrap:normal;
    text-align:center;
  }
  /* Only known page-level action bars move; modal and dialog controls keep their own layout. */
  html body:not(.reels-mode):not([data-area="admin"]):has(.bz-mobile-navigation:not([hidden])>a) :is(.wizard-actions273,.seller204-status,.market-mobile-buy,.calc-mobile-total):not(dialog *):not([role="dialog"] *){
    bottom:var(--bz-desktop-nav-clear405)!important;
  }
  html body:not(.reels-mode):not([data-area="admin"]):has(.bz-mobile-navigation:not([hidden])>a) #toast{
    bottom:calc(var(--bz-desktop-nav-clear405) + 12px)!important;
  }
  html body:not(.reels-mode):not([data-area="admin"]):has(.bz-mobile-navigation:not([hidden])>a) #bizon-consent26 .bc26-banner{
    bottom:calc(var(--bz-desktop-nav-clear405) + 12px)!important;
    max-height:calc(100dvh - var(--bz-desktop-nav-clear405) - 28px);
    overflow:auto;
  }
}
@media print{
  html body .bz-mobile-navigation{display:none!important}
  html body:not(.reels-mode):not([data-area="admin"]):has(.bz-mobile-navigation>a){padding-bottom:0!important}
}
