html.orbit header > div > nav .group > div > div :is(a, p, .text-sm) {
  font-family: inherit;
  font-size: var(--header-nav-size);
  font-weight: var(--header-nav-weight);
  color: var(--foreground);
}

html.orbit header > div > nav .group a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -2px;
}

html.orbit header > div > nav .group:has(:focus-visible) > div {
  transition: none;
}

html.orbit header > div > div > a[href^='tel:'] {
  font-family: inherit;
  font-size: var(--header-nav-size);
  font-weight: var(--header-nav-weight);
  letter-spacing: normal;
  color: inherit; /* 21.11: над тёмными блоками шапка светлая — телефон вместе с ней */
}

html.orbit.orbit header > div > div .cursor-pointer button {
  --header-audit-background: #121214;
  --header-audit-color: #fff;
  height: 42px;
  min-height: 42px;
  border-radius: 999px !important;
  padding: 0 20px !important;
  font-size: 14px !important;
  font-weight: 500;
  background: var(--header-audit-background) !important;
  color: var(--header-audit-color) !important;
}

html.orbit.orbit header > div > div .cursor-pointer button:hover {
  filter: none;
  background: color-mix(in srgb, var(--header-audit-background) 86%, var(--header-audit-color)) !important;
}

html.orbit.orbit header > div > div .cursor-pointer button:focus-visible {
  outline: 2px solid var(--header-audit-background);
  outline-offset: 3px;
}

html.orbit.orbit header.orbit-header-dark > div > div .cursor-pointer button,
html.orbit.orbit[data-orbit-theme='dark'] header > div > div .cursor-pointer button {
  --header-audit-background: #fff;
  --header-audit-color: #121214;
}

@media (width > 1250px) {
  /* The phone grows to the left and the button to the right of their existing gap. */
  html.orbit.orbit header {
    --header-controls-growth: 36px;
  }
}

@media (1000px < width <= 1250px) {
  html.orbit.orbit header {
    --header-controls-growth: 53px;
  }
}

@media (width <= 360px) {
  html.orbit.orbit header > div > div .cursor-pointer button {
    padding-inline: clamp(9px, (100vw - 302px) / 2, 20px) !important;
  }
}
