/* EQUORS Global v3.6 — dedicated mobile app footer. Desktop footer is hidden only in mobile view. */
.eq-mobile-app-footer{display:none}
@media (max-width:900px){
  /* Hide the long desktop/mobile-content footers on phones. */
  body > footer:not(.eq-mobile-app-footer),
  main + footer:not(.eq-mobile-app-footer),
  .eq-mobile-footer{
    display:none!important;
  }

  /* Make room for the fixed app navigation. */
  html body.eq-public-shell-v6{
    padding-bottom:calc(70px + env(safe-area-inset-bottom))!important;
  }

  .eq-mobile-app-footer{
    position:fixed!important;
    inset:auto 0 0 0!important;
    z-index:80!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    width:100%!important;
    min-height:70px!important;
    padding:0 0 env(safe-area-inset-bottom)!important;
    margin:0!important;
    background:#fff!important;
    border-top:1px solid #d8d8d8!important;
    box-shadow:0 -8px 20px rgba(0,0,0,.05)!important;
    color:#111!important;
  }
  .eq-mobile-app-footer a,
  .eq-mobile-app-footer button{
    position:relative!important;
    display:flex!important;
    min-width:0!important;
    min-height:70px!important;
    padding:8px 3px 7px!important;
    margin:0!important;
    align-items:center!important;
    justify-content:center!important;
    flex-direction:column!important;
    gap:4px!important;
    border:0!important;
    border-right:1px solid #efefef!important;
    border-radius:0!important;
    background:#fff!important;
    color:#5d5d5d!important;
    box-shadow:none!important;
    font:inherit!important;
    cursor:pointer!important;
    text-align:center!important;
    -webkit-tap-highlight-color:transparent!important;
  }
  .eq-mobile-app-footer > :last-child{border-right:0!important}
  .eq-mobile-app-footer svg{
    width:21px!important;
    height:21px!important;
    display:block!important;
    fill:currentColor!important;
  }
  .eq-mobile-app-footer span{
    display:block!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:10px!important;
    line-height:1.15!important;
    font-weight:700!important;
    letter-spacing:.01em!important;
  }
  .eq-mobile-app-footer a.eq-active,
  .eq-mobile-app-footer button.eq-active,
  .eq-mobile-app-footer a[aria-current="page"]{
    color:#111!important;
  }
  .eq-mobile-app-footer a.eq-active::before,
  .eq-mobile-app-footer button.eq-active::before,
  .eq-mobile-app-footer a[aria-current="page"]::before{
    content:""!important;
    position:absolute!important;
    top:0!important;
    left:0!important;
    right:0!important;
    height:3px!important;
    background:#d7251d!important;
  }
  .eq-mobile-app-footer a:active,
  .eq-mobile-app-footer button:active{background:#f5f5f3!important}

  /* Keep the drawer above the app footer and independently scrollable. */
  html body.eq-public-shell-v6 .eq-mobile-panel{
    bottom:calc(70px + env(safe-area-inset-bottom))!important;
    max-height:calc(100dvh - 68px - 70px - env(safe-area-inset-bottom))!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
  }
}
