.mobile-nav {
  display: none;
}

@media (max-width: 980px) {
  .mobile-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    display: flex !important;
    justify-content: flex-start !important;
    gap: 2px;
    overflow-x: auto;
    padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
    border-top: 1px solid #dfe5ec;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -8px 28px rgba(20, 35, 60, 0.08);
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-nav::-webkit-scrollbar {
    display: none;
  }

  .mobile-nav a {
    display: grid !important;
    flex: 1 0 68px;
    min-width: 68px;
    min-height: 50px;
    align-content: center;
    justify-items: center;
    gap: 2px;
    padding: 5px 3px !important;
    border-radius: 10px;
    color: #667085 !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
  }

  .mobile-nav a svg {
    display: block;
    width: 20px;
    height: 20px;
    margin: 0;
    flex: 0 0 20px;
    color: inherit;
  }

  .mobile-nav a span {
    display: block;
    margin: 0 !important;
    font-size: 10px !important;
    line-height: 1.1 !important;
  }

  .mobile-nav a.active {
    color: #246ee9 !important;
    background: #eef5ff;
  }
}

