body[data-aserebro-legacy-page]:not([data-aserebro-legacy-page="santehnika"]) .as-nav__in {
  min-height: 68px;
  padding: 10px 18px;
}

body[data-aserebro-legacy-page]:not([data-aserebro-legacy-page="santehnika"]) .as-logo,
body[data-aserebro-legacy-page="santehnika"] .as-header__brand {
  display: inline-flex;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

body[data-aserebro-legacy-page] .as-logo img,
body[data-aserebro-legacy-page="santehnika"] .as-header__brand img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

body[data-aserebro-legacy-page]:not([data-aserebro-legacy-page="santehnika"]) .as-nav__links {
  gap: 28px;
  font-family: var(--as-font-head);
  font-size: 16px;
  font-weight: 600;
}

body[data-aserebro-legacy-page] .as-nav__links a,
body[data-aserebro-legacy-page="santehnika"] .as-header__nav a {
  color: #fff;
  opacity: 1;
  transition: opacity var(--as-t-fast) var(--as-ease);
}

body[data-aserebro-legacy-page] .as-nav__links a:hover,
body[data-aserebro-legacy-page] .as-nav__links a[aria-current="page"],
body[data-aserebro-legacy-page="santehnika"] .as-header__nav a:hover,
body[data-aserebro-legacy-page="santehnika"] .as-header__nav a[aria-current="page"] {
  opacity: .68;
}

body[data-aserebro-legacy-page]:not([data-aserebro-legacy-page="santehnika"]) .as-nav__phone,
body[data-aserebro-legacy-page="santehnika"] .as-header__phone {
  border-radius: 999px;
  padding: 10px 16px;
  min-height: 44px;
  font-size: 13px;
}

body[data-aserebro-legacy-page]:not([data-aserebro-legacy-page="santehnika"]) .as-btn {
  border-radius: 999px;
}

body[data-aserebro-legacy-page] .as-mobile-nav {
  display: none;
  position: relative;
}

body[data-aserebro-legacy-page] .as-mobile-nav__toggle {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  background: rgba(0,0,0,.45);
  color: #fff;
  font: 600 13px/1 var(--as-font-body);
  cursor: pointer;
  list-style: none;
}

body[data-aserebro-legacy-page] .as-mobile-nav__toggle::-webkit-details-marker { display: none; }
body[data-aserebro-legacy-page] .as-mobile-nav__toggle::marker { content: ""; }
body[data-aserebro-legacy-page] .as-mobile-nav__icon {
  position: relative;
  width: 18px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}
body[data-aserebro-legacy-page] .as-mobile-nav__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  border-top: 2px solid currentColor;
  transform: translateY(-50%);
}
body[data-aserebro-legacy-page] .as-mobile-nav__panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 12px);
  right: 0;
  width: min(310px, calc(100vw - 28px));
  padding: 8px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  background: rgba(10,10,9,.98);
  box-shadow: 0 24px 64px rgba(0,0,0,.36);
}
body[data-aserebro-legacy-page] .as-mobile-nav__panel a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  font: 500 15px/1.3 var(--as-font-body);
}
body[data-aserebro-legacy-page] .as-mobile-nav__panel a:hover,
body[data-aserebro-legacy-page] .as-mobile-nav__panel a:focus-visible,
body[data-aserebro-legacy-page] .as-mobile-nav__panel a[aria-current="page"] {
  background: rgba(255,255,255,.11);
}

body[data-aserebro-legacy-page="santehnika"] {
  background: #070809;
}
body[data-aserebro-legacy-page="santehnika"] .as-header__bar {
  grid-template-columns: auto minmax(0,1fr) auto;
}
body[data-aserebro-legacy-page="santehnika"] .as-header__nav {
  flex-wrap: nowrap;
  font-family: var(--as-font-head);
  font-weight: 600;
}

@media (max-width: 1120px) {
  body[data-aserebro-legacy-page] .as-nav__links,
  body[data-aserebro-legacy-page="santehnika"] .as-header__nav {
    display: none;
  }
  body[data-aserebro-legacy-page] .as-mobile-nav {
    display: block;
  }
  body[data-aserebro-legacy-page="santehnika"] .as-header__bar {
    grid-template-columns: auto 1fr auto auto;
    gap: 14px;
    padding: 12px 0;
    min-height: 68px;
  }
}

@media (max-width: 640px) {
  body[data-aserebro-legacy-page] .as-mobile-nav__toggle {
    width: 44px;
    padding: 0;
  }
  body[data-aserebro-legacy-page] .as-mobile-nav__toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
  body[data-aserebro-legacy-page="santehnika"] .as-header__bar {
    grid-template-columns: auto 1fr auto;
  }
  body[data-aserebro-legacy-page="santehnika"] .as-header__phone {
    display: none;
  }
}

@media (max-width: 360px) {
  body[data-aserebro-legacy-page]:not([data-aserebro-legacy-page="santehnika"]) .as-h1 {
    font-size: clamp(34px, 11.75vw, 38px);
  }

  body[data-aserebro-legacy-page]:not([data-aserebro-legacy-page="santehnika"]) .as-cta__box {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-aserebro-legacy-page]:not([data-aserebro-legacy-page="santehnika"]) .as-cta__box > *,
  body[data-aserebro-legacy-page]:not([data-aserebro-legacy-page="santehnika"]) .as-cta__box .as-form {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  body[data-aserebro-legacy-page]:not([data-aserebro-legacy-page="santehnika"]) .as-cta__box .as-h2 {
    font-size: clamp(26px, 8vw, 29px);
  }
}
