/* Mobile shortcut bar for customer-facing pages */
.mobile-tabbar {
  display: none;
}

.mobile-page-nav {
  display: none;
}

@media (max-width: 620px) {
  .mobile-page-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    padding: 5px 0 8px;
    border-top: 1px solid var(--line);
  }

  .mobile-page-nav a {
    padding: 3px 0;
    color: var(--ink-2);
    font-size: 10px;
    font-weight: 500;
    text-decoration: none;
  }

  .mobile-page-nav a:active,
  .mobile-page-nav a:hover {
    color: var(--coral-dark);
  }

}

@media (max-width: 620px) {
  body.has-mobile-nav {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }

  .mobile-tabbar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 7px 10px calc(7px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255, 251, 246, 0.96);
    box-shadow: 0 -8px 24px rgba(80, 48, 43, 0.07);
    backdrop-filter: blur(14px);
  }

  .mobile-tabbar a {
    position: relative;
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
  }

  .mobile-tabbar a.is-active {
    background: var(--paper-2);
    color: var(--coral-dark);
    font-weight: 600;
  }

  .mobile-tabbar a.is-active::before {
    content: "";
    position: absolute;
    top: 5px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--coral);
  }
}
