/* Изолированные стили новой шапки. Все правила ограничены #ma-site-header. */
#header.ma-site-header {
  width: 100%;
  max-width: none !important;
  height: auto !important;
  margin: 0;
  padding: 0;
  background: #fff;
}

#ma-site-header,
#ma-site-header * {
  box-sizing: border-box;
}

#ma-site-header {
  position: relative;
  z-index: 100;
  width: 100%;
  color: #000;
  background: #fff;
  font-family: "a_AvanteInt Book", "Avenir Next", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

#ma-site-header img {
  display: block;
  max-width: 100%;
}

#ma-site-header a {
  color: inherit;
  text-decoration: none;
}

#ma-site-header ul,
#ma-site-header li {
  margin: 0;
  padding: 0;
  list-style: none;
}

#ma-site-header .ma-header__container {
  width: min(calc(100% - 64px), 1320px);
  margin: 0 auto;
  padding: 0;
}

#ma-site-header .ma-header__top {
  height: 44px;
  border-bottom: 1px solid #e6eaed;
  background: #fff;
  font-size: 12px;
}

#ma-site-header .ma-header__top-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

#ma-site-header .ma-header__top-nav {
  min-width: 0;
  flex: 1 1 auto;
}

#ma-site-header .ma-header__top-nav > ul,
#ma-site-header .ma-header__top-nav > div > ul {
  display: flex !important;
  align-items: center;
  gap: 42px;
}

#ma-site-header .ma-header__top-nav li {
  position: relative;
}

#ma-site-header .ma-header__top-nav a {
  display: flex !important;
  align-items: center;
  min-height: 43px;
  padding: 0 !important;
  color: #000 !important;
  background: transparent !important;
  border: 0 !important;
  font: inherit !important;
  white-space: nowrap;
}

#ma-site-header .ma-header__top-icon-link {
  gap: 7px;
}

#ma-site-header .ma-header__top-icon-link img {
  width: 18px;
  height: 18px;
}

#ma-site-header .ma-header__top-nav a:hover,
#ma-site-header .ma-header__top-actions a:hover {
  color: #315d73 !important;
}

#ma-site-header .ma-header__top-nav ul ul {
  position: absolute;
  z-index: 10;
  top: 100%;
  left: 0;
  display: none;
  min-width: 210px;
  padding: 8px 14px;
  border: 1px solid #e3e9ec;
  background: #fff;
  box-shadow: 0 10px 24px rgba(25, 42, 51, .13);
}

#ma-site-header .ma-header__top-nav li:hover > ul {
  display: block;
}

#ma-site-header .ma-header__top-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 0 0 auto;
}

#ma-site-header .ma-header__top-actions a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

#ma-site-header .ma-header__top-actions img {
  width: 16px;
  height: 16px;
}

#ma-site-header .ma-header__main {
  position: relative;
  height: 112px;
  background: #fff;
}

#ma-site-header .ma-header__main-inner {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: 220px minmax(155px, 1fr) minmax(155px, 1fr) 180px auto 48px 58px;
  align-items: center;
  gap: 22px;
}

#ma-site-header .ma-header__logo img {
  width: 220px;
  height: auto;
}

#ma-site-header .ma-header__contact {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #000;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
}

#ma-site-header .ma-header__contact + .ma-header__contact {
  padding-left: 26px;
  border-left: 1px solid #d8e0e4;
}

#ma-site-header .ma-header__contact-icon {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
}

#ma-site-header .ma-header__phone {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 12px;
}

#ma-site-header .ma-header__phone > a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

#ma-site-header .ma-header__phone img {
  width: 20px;
  height: 20px;
}

#ma-site-header .ma-header__callback {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border: 1px solid #315d73;
  border-radius: 2px;
  color: #315d73;
  background: #fff;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

#ma-site-header .ma-header__callback:hover {
  color: #fff;
  background: #315d73;
}

#ma-site-header .ma-header__account,
#ma-site-header .ma-header__basket {
  min-width: 0;
  font-size: 10px;
  text-align: center;
}

#ma-site-header .ma-header__account *,
#ma-site-header .ma-header__basket * {
  float: none;
}

#ma-site-header .ma-header__account > a,
#ma-site-header .ma-header__basket > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

#ma-site-header .ma-header__account img,
#ma-site-header .ma-header__basket img {
  width: 25px;
  height: 25px;
}

#ma-site-header .ma-header__basket > a > img {
  width: 25px !important;
  height: 25px !important;
  max-width: 25px !important;
  margin: 0 auto !important;
  flex: 0 0 25px;
}

#ma-site-header .ma-header__basket {
  overflow: visible;
}

#ma-site-header .ma-header__basket a {
  color: #000 !important;
  font-size: 10px !important;
}

#ma-site-header .ma-header__toggle {
  position: absolute;
  top: 50%;
  right: max(32px, calc((100% - 1320px) / 2));
  display: none !important;
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}

#ma-site-header .ma-header__toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #315d73;
}

#ma-site-header .ma-header__nav {
  height: 54px;
  color: #fff;
  background: #294f62;
}

#ma-site-header .ma-header__nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

#ma-site-header .ma-header__main-menu {
  min-width: 0;
  height: 100%;
  flex: 1 1 auto;
}

#ma-site-header .ma-header__main-menu > ul,
#ma-site-header .ma-header__main-menu > div > ul {
  height: 100%;
  display: flex !important;
  align-items: stretch;
  justify-content: space-between;
}

#ma-site-header .ma-header__main-menu li {
  height: 100%;
  display: flex;
  align-items: stretch;
}

#ma-site-header .ma-header__main-menu a {
  height: 100%;
  display: flex !important;
  align-items: center;
  padding: 0 10px !important;
  border: 0 !important;
  color: #fff !important;
  background: transparent !important;
  font-family: inherit !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

#ma-site-header .ma-header__main-menu a:hover,
#ma-site-header .ma-header__main-menu .root-item-selected {
  background: rgba(255, 255, 255, .1) !important;
}

#ma-site-header .ma-header__search {
  position: relative;
  width: 310px;
  height: 34px;
  flex: 0 0 auto;
}

#ma-site-header .ma-header__search form {
  width: 100%;
  height: 100%;
  display: flex;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 2px;
}

#ma-site-header .ma-header__search input {
  min-width: 0;
  height: 100%;
  flex: 1 1 auto;
  margin: 0;
  padding: 0 14px;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  box-shadow: none;
  font: inherit;
  font-size: 11px;
}

#ma-site-header .ma-header__search input::placeholder {
  color: rgba(255, 255, 255, .72);
}

#ma-site-header .ma-header__search button {
  width: 42px;
  height: 100%;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

#ma-site-header .ma-header__search button img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

#ma-site-header .ma-header__sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 1380px) {
  #ma-site-header .ma-header__container { width: calc(100% - 42px); }
  #ma-site-header .ma-header__main-inner { grid-template-columns: 188px minmax(130px, 1fr) minmax(130px, 1fr) 150px auto 40px 50px; gap: 12px; }
  #ma-site-header .ma-header__logo img { width: 188px; }
  #ma-site-header .ma-header__contact { gap: 9px; font-size: 10px; }
  #ma-site-header .ma-header__contact + .ma-header__contact { padding-left: 14px; }
  #ma-site-header .ma-header__contact-icon { width: 23px; height: 23px; flex-basis: 23px; }
  #ma-site-header .ma-header__phone > a { font-size: 14px; }
  #ma-site-header .ma-header__callback { padding-inline: 15px; font-size: 10px; }
  #ma-site-header .ma-header__main-menu a { padding-inline: 7px !important; font-size: 10px !important; }
  #ma-site-header .ma-header__search { width: 260px; }
}

@media (max-width: 1100px) {
  #ma-site-header .ma-header__top-nav > ul,
  #ma-site-header .ma-header__top-nav > div > ul { gap: 24px; }
  #ma-site-header .ma-header__main-inner { grid-template-columns: 170px 1fr 1fr 132px auto 38px 45px; gap: 8px; }
  #ma-site-header .ma-header__logo img { width: 170px; }
  #ma-site-header .ma-header__contact { font-size: 9px; }
  #ma-site-header .ma-header__contact + .ma-header__contact { padding-left: 8px; }
  #ma-site-header .ma-header__phone > a { font-size: 12px; }
  #ma-site-header .ma-header__phone > span { font-size: 9px; }
  #ma-site-header .ma-header__callback { min-height: 38px; padding-inline: 10px; font-size: 9px; }
  #ma-site-header .ma-header__main-menu a { font-size: 9px !important; }
  #ma-site-header .ma-header__search { width: 225px; }
}

@media (max-width: 900px) {
  #ma-site-header .ma-header__container { width: calc(100% - 36px); }
  #ma-site-header .ma-header__top { height: 38px; }
  #ma-site-header .ma-header__top-nav a { min-height: 37px; }
  #ma-site-header .ma-header__top-nav li:nth-child(3),
  #ma-site-header .ma-header__top-nav li:nth-child(4) { display: none; }
  #ma-site-header .ma-header__main { height: 86px; }
  #ma-site-header .ma-header__main-inner { display: flex; justify-content: space-between; gap: 16px; padding-right: 58px; }
  #ma-site-header .ma-header__logo img { width: 176px; }
  #ma-site-header .ma-header__contact,
  #ma-site-header .ma-header__callback,
  #ma-site-header .ma-header__account,
  #ma-site-header .ma-header__basket { display: none !important; }
  #ma-site-header .ma-header__phone { margin-left: auto; }
  #ma-site-header .ma-header__phone > a { font-size: 14px; }
  #ma-site-header .ma-header__phone > span { font-size: 10px; }
  #ma-site-header .ma-header__toggle { right: 18px; display: block !important; }
  #ma-site-header .ma-header__nav { position: absolute; z-index: 20; left: 0; right: 0; height: auto; display: none; padding: 12px 0 18px; box-shadow: 0 12px 28px rgba(23, 40, 50, .22); }
  #ma-site-header .ma-header__nav.is-open { display: block; }
  #ma-site-header .ma-header__nav-inner { display: block; height: auto; }
  #ma-site-header .ma-header__main-menu { height: auto; }
  #ma-site-header .ma-header__main-menu > ul,
  #ma-site-header .ma-header__main-menu > div > ul { display: block !important; height: auto; }
  #ma-site-header .ma-header__main-menu li { display: block; height: auto; }
  #ma-site-header .ma-header__main-menu a { height: 42px; padding: 0 !important; font-size: 11px !important; }
  #ma-site-header .ma-header__search { width: 100%; margin-top: 10px; }
}

@media (max-width: 640px) {
  #ma-site-header .ma-header__container { width: calc(100% - 28px); }
  #ma-site-header .ma-header__top-nav > ul,
  #ma-site-header .ma-header__top-nav > div > ul { gap: 18px; }
  #ma-site-header .ma-header__top-nav li:nth-child(2) { display: none; }
  #ma-site-header .ma-header__top-actions { gap: 15px; }
  #ma-site-header .ma-header__main { height: 76px; }
  #ma-site-header .ma-header__logo img { width: 151px; }
  #ma-site-header .ma-header__phone { display: none !important; }
  #ma-site-header .ma-header__toggle { right: 14px; }
}

@media (max-width: 380px) {
  #ma-site-header .ma-header__top-nav li:nth-child(5) { display: none; }
  #ma-site-header .ma-header__top-actions a:first-child { display: none; }
}
