/* Keep every catalogue reachable as the main navigation grows. */
.header .header-phone { display: none; }
.header .nav { gap: 13px; }
@media (max-width: 1400px) {
  .header .nav {
    display: none;
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    max-height: calc(100dvh - 88px);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    box-shadow: 0 15px 20px #0001;
    border-top: 1px solid var(--line);
    padding: 18px 32px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .header .nav.open { display: flex; }
  .header .nav a { padding: 12px; font-size: 14px; }
  .header .menu-toggle { display: block; padding: 5px; line-height: 1; }
  .header .header-phone { display: none; }
}
@media (max-width: 780px) {
  .header .nav { top: 72px; max-height: calc(100dvh - 72px); padding: 20px; }
}
