/* Mobile fixes for Yandex Webmaster, 2026-07-09 */
html, body { max-width: 100%; overflow-x: hidden; }
*, *::before, *::after { box-sizing: border-box; }
img, video, iframe, table { max-width: 100%; }
.home-logo-caption { display: none !important; }
.logo-wrapper { gap: 0 !important; }
@media (max-width: 900px) {
  body { min-width: 0 !important; }
  .container, .wrapper, .content, .site-content,
  .top-header__body, .header-region, .header-contacts,
  .section-one-wrapper, .section-one-link,
  .section-one-title, .section-one-subtitle, .section-one-action {
    max-width: 100% !important;
  }
  .top-header__body {
    width: 100% !important;
    padding: 10px 14px 14px !important;
    margin: 0 auto !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px 14px !important;
    height: auto !important;
    min-height: 0 !important;
  }
  .logo-wrapper {
    width: auto !important;
    max-width: 170px !important;
    align-items: center !important;
  }
  .logo-wrapper img, .site-logo img, .logo img {
    max-width: 160px !important;
    height: auto !important;
  }
  .header-region, .header-contacts, .header-contacts__item {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    flex-wrap: wrap !important;
  }
  .header-contacts__item, .top-header__body a, .top-header__body span {
    overflow-wrap: anywhere !important;
  }
  .section_1__slider, .slick-slider, .slick-list {
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
  }
  .section_1__slider-item, .section-one-wrapper {
    min-width: 0 !important;
    max-width: 100vw !important;
  }
  .section-one-wrapper {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .section-one-title {
    font-size: clamp(24px, 7vw, 34px) !important;
    line-height: 1.15 !important;
    overflow-wrap: anywhere !important;
  }
  .section-one-subtitle {
    font-size: 15px !important;
    line-height: 1.35 !important;
  }
  .call-to-action, .section-one-action a, a.call-to-action {
    width: auto !important;
    max-width: calc(100vw - 32px) !important;
    min-height: 44px !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.25 !important;
    padding: 14px 18px !important;
  }
}
@media (max-width: 430px) {
  .top-header__body { padding-left: 10px !important; padding-right: 10px !important; }
  .section-one-wrapper { padding-left: 10px !important; padding-right: 10px !important; }
  .call-to-action, .section-one-action a, a.call-to-action { max-width: calc(100vw - 20px) !important; }
}

/* Header logo/menu alignment, 2026-07-09 */
@media (max-width: 900px) {
  .top-header__body {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .top-header__body .logo-wrapper,
  .top-header__body .header-burger-btn {
    flex: 0 0 calc(50% - 7px) !important;
    width: calc(50% - 7px) !important;
    max-width: calc(50% - 7px) !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
  }
  .top-header__body .logo-wrapper {
    justify-content: flex-start !important;
    order: 1 !important;
  }
  .top-header__body .header-burger-btn {
    justify-content: flex-end !important;
    order: 2 !important;
    margin: 0 !important;
    text-align: right !important;
  }
  .top-header__body .header-menu__mobile,
  .top-header__body .header-region,
  .top-header__body .header-contacts {
    flex: 0 0 100% !important;
    width: 100% !important;
  }
}
@media (max-width: 430px) {
  .top-header__body .logo-wrapper,
  .top-header__body .header-burger-btn {
    flex-basis: calc(50% - 5px) !important;
    width: calc(50% - 5px) !important;
    max-width: calc(50% - 5px) !important;
  }
  .top-header__body .logo-wrapper img,
  .top-header__body .logo img {
    max-width: 145px !important;
  }
}

/* Keep logo and menu on one mobile row, 2026-07-09 */
@media (max-width: 900px) {
  .top-header__body {
    column-gap: 0 !important;
    row-gap: 10px !important;
    align-content: flex-start !important;
  }
  .top-header__body .logo-wrapper,
  .top-header__body .header-burger-btn {
    flex: 0 0 50% !important;
    width: 50% !important;
    max-width: 50% !important;
  }
  .top-header__body .header-region,
  .top-header__body .header-contacts,
  .top-header__body .header-call-btns,
  .top-header__body .header-menu__mobile {
    order: 3 !important;
    display: flex !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .top-header__body .header-menu__mobile { display: block !important; order: 4 !important; }
  .top-header__body .header-call-btns { order: 5 !important; }
}

/* Compact mobile menu button and vertical alignment, 2026-07-09 */
@media (max-width: 900px) {
  .top-header__body {
    justify-content: space-between !important;
    align-items: center !important;
  }
  .top-header__body .logo-wrapper {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: calc(100% - 96px) !important;
    min-height: 54px !important;
    height: 54px !important;
    justify-content: flex-start !important;
    align-items: center !important;
  }
  .top-header__body .header-burger-btn {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 82px !important;
    min-height: 42px !important;
    height: 42px !important;
    padding: 0 10px !important;
    margin: 0 !important;
    justify-content: center !important;
    align-items: center !important;
    align-self: center !important;
    gap: 7px !important;
  }
  .top-header__body .header-burger-btn svg {
    flex: 0 0 auto !important;
    width: 20px !important;
    height: 13px !important;
  }
}
@media (max-width: 430px) {
  .top-header__body .logo-wrapper {
    max-width: calc(100% - 90px) !important;
  }
  .top-header__body .header-burger-btn {
    min-width: 78px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}

/* Visual center alignment for logo image and menu button, 2026-07-09 */
@media (max-width: 900px) {
  .top-header__body .logo-wrapper .logo {
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    line-height: 0 !important;
  }
  .top-header__body .logo-wrapper img {
    display: block !important;
    margin: 0 !important;
    max-height: 42px !important;
    object-fit: contain !important;
  }
  .top-header__body .logo-wrapper,
  .top-header__body .header-burger-btn {
    height: 42px !important;
    min-height: 42px !important;
  }
}

/* Visual center alignment for logo image and menu button, 2026-07-09 */
@media (max-width: 900px) {
  .top-header__body .logo-wrapper .logo {
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    line-height: 0 !important;
  }
  .top-header__body .logo-wrapper img {
    display: block !important;
    margin: 0 !important;
    max-height: 42px !important;
    object-fit: contain !important;
  }
  .top-header__body .logo-wrapper,
  .top-header__body .header-burger-btn {
    height: 42px !important;
    min-height: 42px !important;
  }
}

/* Rating and orange-icon list alignment, 2026-07-09 */
@media (max-width: 900px) {
  .top-header__body {
    row-gap: 4px !important;
  }
  .top-header__body .header-region {
    margin-top: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .top-header__body .header-descr-rating {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto 2px !important;
  }
  .top-header__body .home-header-rating {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .top-header__body .header-contacts {
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
    gap: 10px !important;
  }
  .top-header__body .header-contacts__col,
  .top-header__body .header-contacts__col.col-phone {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    align-items: flex-start !important;
  }
  .top-header__body .header-contacts__item,
  .top-header__body .header-contacts__item.item-phone {
    width: 100% !important;
    justify-content: flex-start !important;
    align-items: center !important;
    text-align: left !important;
    gap: 8px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .top-header__body .header-contacts__item svg {
    flex: 0 0 16px !important;
    margin: 0 !important;
  }
}

/* Mobile expert checklist hardening, 2026-07-09 */
@media (max-width: 900px) {
  html, body, .main_content {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  .top-header__body .logo-wrapper .logo {
    width: auto !important;
    max-width: 100% !important;
  }
  .top-header__body .logo-wrapper img {
    width: auto !important;
    max-width: 100% !important;
  }
  .mega-menu-wrap .mega-menu > li > a,
  .mega-menu-wrap .mega-menu .mega-menu-link,
  .top-header__body .dms-select,
  .top-header__body .header-contacts__item,
  .top-header__body .header-contacts__item.item-phone {
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
  }
  .top-header__body .dms-select {
    min-width: 165px !important;
  }
  .section_1__slider,
  .section_1__slider .slick-list {
    overflow: hidden !important;
  }
}
@media (max-width: 340px) {
  .container.header-vol2 {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  .top-header__body {
    width: 100% !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  .top-header__body .logo-wrapper {
    max-width: calc(100% - 86px) !important;
    height: 42px !important;
    min-height: 42px !important;
  }
  .top-header__body .logo-wrapper .logo {
    width: 128px !important;
    max-width: 128px !important;
  }
  .top-header__body .logo-wrapper img {
    max-width: 128px !important;
    max-height: 34px !important;
  }
  .top-header__body .header-burger-btn {
    min-width: 78px !important;
    width: 78px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 6px !important;
  }
}

/* City selector and phone emphasis, 2026-07-09 */
@media (max-width: 900px) {
  .top-header__body .header-region {
    justify-content: flex-start !important;
    text-align: left !important;
    align-items: flex-start !important;
  }
  .top-header__body .header-region .dms-container {
    width: 100% !important;
    text-align: left !important;
  }
  .top-header__body .dms-select {
    margin-left: 0 !important;
    margin-right: 0 !important;
    align-self: flex-start !important;
  }
  .top-header__body .header-contacts__item.item-phone {
    font-size: 18px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
  }
}

/* Slim fixed mobile header: logo, menu, phone only, 2026-07-09 */
@media (max-width: 900px) {
  .js-fixed-header.menu-fixed {
    height: auto !important;
    max-height: none !important;
    background: #fff !important;
    box-shadow: 0 8px 24px rgba(18,42,64,.12) !important;
  }
  .js-fixed-header.menu-fixed .container.header-vol2 {
    height: auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .js-fixed-header.menu-fixed .top-header__body {
    height: auto !important;
    min-height: 0 !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    row-gap: 6px !important;
    box-shadow: none !important;
  }
  .js-fixed-header.menu-fixed .header-region,
  .js-fixed-header.menu-fixed .header-descr-rating,
  .js-fixed-header.menu-fixed .header-menu__mobile,
  .js-fixed-header.menu-fixed .header-call-btns,
  .js-fixed-header.menu-fixed .header-contacts__col:not(.col-phone),
  .js-fixed-header.menu-fixed .header-contacts__col.col-phone .header-contacts__item:not(.item-phone) {
    display: none !important;
  }
  .js-fixed-header.menu-fixed .header-contacts {
    display: flex !important;
    order: 3 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }
  .js-fixed-header.menu-fixed .header-contacts__col.col-phone {
    display: flex !important;
    width: 100% !important;
  }
  .js-fixed-header.menu-fixed .header-contacts__item.item-phone {
    height: 36px !important;
    min-height: 36px !important;
    width: auto !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
  }
  .js-fixed-header.menu-fixed .logo-wrapper,
  .js-fixed-header.menu-fixed .header-burger-btn {
    order: 1 !important;
  }
  .js-fixed-header.menu-fixed .header-burger-btn {
    order: 2 !important;
  }
}

/* Center phone directly under fixed logo/menu row, 2026-07-09 */
@media (max-width: 900px) {
  .js-fixed-header.menu-fixed .top-header__body {
    row-gap: 0 !important;
    padding-bottom: 6px !important;
  }
  .js-fixed-header.menu-fixed .header-contacts {
    margin-top: 0 !important;
    padding-top: 0 !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .js-fixed-header.menu-fixed .header-contacts__col.col-phone {
    align-items: center !important;
  }
  .js-fixed-header.menu-fixed .header-contacts__item.item-phone {
    width: auto !important;
    margin: 0 auto !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

/* Keep phone in the same mobile position before scroll, 2026-07-09 */
@media (max-width: 900px) {
  .js-fixed-header:not(.menu-fixed) .top-header__body {
    row-gap: 0 !important;
  }
  .js-fixed-header:not(.menu-fixed) .header-contacts,
  .js-fixed-header:not(.menu-fixed) .header-contacts__col,
  .js-fixed-header:not(.menu-fixed) .header-contacts__col.col-phone {
    display: contents !important;
  }
  .js-fixed-header:not(.menu-fixed) .header-contacts__item.item-phone {
    order: 3 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    height: 36px !important;
    min-height: 36px !important;
    margin: 0 auto !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
  }
  .js-fixed-header:not(.menu-fixed) .header-region {
    order: 4 !important;
  }
  .js-fixed-header:not(.menu-fixed) .header-contacts__item:not(.item-phone) {
    order: 5 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }
  .js-fixed-header:not(.menu-fixed) .header-call-btns {
    order: 6 !important;
  }
}

/* Rating -> domain selector -> compact contact rows, 2026-07-09 */
@media (max-width: 900px) {
  .js-fixed-header:not(.menu-fixed) .header-region {
    order: 4 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    gap: 2px !important;
  }
  .js-fixed-header:not(.menu-fixed) .header-descr-rating {
    order: 1 !important;
    display: flex !important;
    width: 100% !important;
    height: 50px !important;
    margin: 0 auto !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .js-fixed-header:not(.menu-fixed) .dms-container {
    order: 2 !important;
    width: 261px !important;
    height: 34px !important;
    margin: 0 auto !important;
    text-align: left !important;
  }
  .js-fixed-header:not(.menu-fixed) .dms-select {
    width: 100% !important;
    min-height: 34px !important;
    height: 34px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    margin: 0 !important;
  }
  .js-fixed-header:not(.menu-fixed) .header-contacts__item:not(.item-phone) {
    min-height: 32px !important;
    height: 32px !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    margin: 0 !important;
    line-height: 1.2 !important;
  }
  .js-fixed-header:not(.menu-fixed) .header-call-btns {
    margin-top: 4px !important;
    gap: 6px !important;
  }
  .js-fixed-header:not(.menu-fixed) .header-call-btns a,
  .js-fixed-header:not(.menu-fixed) .header-call-btns .popup {
    min-height: 40px !important;
    height: 40px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
}

/* Align domain selector with contact rows, 2026-07-09 */
@media (max-width: 900px) {
  .js-fixed-header:not(.menu-fixed) .header-region {
    align-items: flex-start !important;
  }
  .js-fixed-header:not(.menu-fixed) .dms-container {
    width: 261px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    align-self: flex-start !important;
    text-align: left !important;
  }
  .js-fixed-header:not(.menu-fixed) .dms-container:before {
    left: 0 !important;
  }
  .js-fixed-header:not(.menu-fixed) .dms-select {
    width: 261px !important;
    margin-left: 0 !important;
    padding-left: 28px !important;
    text-align: left !important;
  }
}

/* Geo icon vertical alignment with contact icons, 2026-07-09 */
@media (max-width: 900px) {
  .js-fixed-header:not(.menu-fixed) .dms-container:before {
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
  }
}

/* Fix internal pages: rating separated from logo, 2026-07-09 */
@media (max-width: 900px) {
  .js-fixed-header:not(.menu-fixed) .logo-wrapper {
    flex-direction: row !important;
    height: 42px !important;
    min-height: 42px !important;
    overflow: hidden !important;
  }
  .js-fixed-header:not(.menu-fixed) .logo-wrapper .logo,
  .js-fixed-header:not(.menu-fixed) .logo-wrapper img {
    position: static !important;
    transform: none !important;
    margin: 0 !important;
  }
  .js-fixed-header:not(.menu-fixed) .header-descr-rating {
    order: 4 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  .js-fixed-header:not(.menu-fixed) .header-region {
    order: 5 !important;
  }
  .js-fixed-header:not(.menu-fixed) .header-contacts__item:not(.item-phone) {
    order: 6 !important;
  }
  .js-fixed-header:not(.menu-fixed) .header-call-btns {
    order: 7 !important;
  }
}

/* Region modal focus artifact fix, 2026-07-09 */
.region-block-modal__item,
.region-block-modal__item:focus,
.region-block-modal__item:active,
.region-block-modal__item:hover {
  text-decoration: none !important;
  outline: none !important;
  box-shadow: none !important;
}
.region-block-modal__item:focus-visible {
  outline: 2px solid #ef7f1a !important;
  outline-offset: -2px !important;
}
.region-block-modal__item * {
  text-decoration: none !important;
}

/* Region modal selection/focus line hard fix, 2026-07-09 */
.region-block-modal,
.region-block-modal * {
  -webkit-tap-highlight-color: transparent !important;
  -webkit-user-select: none !important;
  user-select: none !important;
  text-decoration: none !important;
}
.region-block-modal__item,
.region-block-modal__item:link,
.region-block-modal__item:visited,
.region-block-modal__item:hover,
.region-block-modal__item:active,
.region-block-modal__item:focus,
.region-block-modal__item:focus-visible {
  outline: 0 !important;
  border-color: #e6e6e6 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  background-image: none !important;
}
.region-block-modal__item::before,
.region-block-modal__item::after {
  display: none !important;
  content: none !important;
}

/* Compact cookie notice, mobile-safe tap targets, 2026-07-09 */

.cookie-bar.hidden,
.cookie-bar[hidden] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.cookie-bar {
  box-sizing: border-box !important;
  width: min(100% - 20px, 360px) !important;
  left: 50% !important;
  right: auto !important;
  bottom: 10px !important;
  transform: translateX(-50%) !important;
  padding: 8px 10px !important;
  border-radius: 10px !important;
  gap: 8px !important;
  z-index: 9999 !important;
}
.cookie-bar p {
  margin: 0 !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  max-width: 100% !important;
}
.cookie-bar a {
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}
.cookie-bar #accept-cookie,
.cookie-bar button {
  min-width: 96px !important;
  min-height: 44px !important;
  height: 44px !important;
  padding: 0 14px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  line-height: 1 !important;
  flex: 0 0 auto !important;
}
@media (max-width: 900px) {
  .cookie-bar {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    width: calc(100% - 20px) !important;
    max-width: 360px !important;
    padding: 8px 10px !important;
  }
  .cookie-bar p {
    font-size: 12px !important;
    line-height: 1.22 !important;
  }
}
@media (max-width: 340px) {
  .cookie-bar {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    text-align: center !important;
  }
  .cookie-bar #accept-cookie,
  .cookie-bar button {
    width: 100% !important;
  }
}

/* Hide cookie bar while city modal is open, 2026-07-09 */
body.region-modal-open .cookie-bar,
html.region-modal-open .cookie-bar,
.region-block-modal.region-modal-open ~ .cookie-bar {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.region-block-modal {
  z-index: 10000 !important;
}
.region-block-modal__body {
  z-index: 10001 !important;
}

/* Desktop header layout restore, 2026-07-09 */
@media (min-width: 901px) {
  .container.header-vol2 {
    width: 1400px !important;
    max-width: calc(100% - 30px) !important;
  }
  .top-header__body {
    display: grid !important;
    grid-template-columns: 260px 190px 250px 1fr 380px !important;
    grid-template-areas:
      ". . region . ."
      "logo rating contacts contacts buttons" !important;
    column-gap: 24px !important;
    row-gap: 28px !important;
    align-items: center !important;
    padding: 22px 0 36px !important;
    height: auto !important;
    min-height: 154px !important;
  }
  .top-header__body .logo-wrapper { grid-area: logo !important; }
  .top-header__body .header-descr-rating {
    grid-area: rating !important;
    width: 190px !important;
    height: 64px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
  }
  .top-header__body .home-header-rating {
    width: 190px !important;
    height: 64px !important;
    max-width: none !important;
    display: block !important;
    border: 0 !important;
    overflow: hidden !important;
  }
  .top-header__body .header-region {
    grid-area: region !important;
    width: 250px !important;
    justify-self: start !important;
  }
  .top-header__body .header-region .dms-select {
    width: 250px !important;
  }
  .top-header__body .header-contacts {
    grid-area: contacts !important;
    display: flex !important;
    gap: 42px !important;
    align-items: center !important;
  }
  .top-header__body .header-contacts__item,
  .top-header__body .header-contacts__item p {
    max-width: none !important;
  }
  .top-header__body .header-contacts__item {
    gap: 8px !important;
    align-items: center !important;
    white-space: nowrap !important;
  }
  .top-header__body .header-contacts__item > svg {
    display: block !important;
    flex: 0 0 16px !important;
  }
  .top-header__body .header-adress {
    margin: 0 !important;
    white-space: nowrap !important;
  }
  .top-header__body .header-call-btns {
    grid-area: buttons !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 14px !important;
    justify-self: end !important;
  }
  .top-header__body .header-call-btns a {
    height: 68px !important;
    min-width: 170px !important;
    padding: 14px 16px !important;
    border-radius: 8px !important;
  }
}
@media (min-width: 901px) and (max-width: 1500px) {
  .top-header__body {
    grid-template-columns: 220px 170px 220px 1fr 340px !important;
    column-gap: 18px !important;
  }
  .top-header__body .header-contacts { gap: 24px !important; }
  .top-header__body .header-call-btns a { min-width: 150px !important; }
}

/* Desktop city selector under logo, 2026-07-09 */
@media (min-width: 901px) {
  .top-header__body {
    grid-template-areas:
      "logo rating contacts contacts buttons"
      "region rating contacts contacts buttons" !important;
    row-gap: 8px !important;
    padding-top: 28px !important;
    padding-bottom: 30px !important;
    min-height: 146px !important;
  }
  .top-header__body .header-region {
    align-self: start !important;
    justify-self: start !important;
    width: 190px !important;
    height: 28px !important;
  }
  .top-header__body .header-region .dms-container {
    width: 190px !important;
  }
  .top-header__body .header-region .dms-container:before {
    width: 13px !important;
    height: 13px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
  .top-header__body .header-region .dms-select {
    width: 190px !important;
    height: 28px !important;
    min-height: 28px !important;
    padding-left: 20px !important;
    color: #222 !important;
    font-size: 14px !important;
    line-height: 18px !important;
    font-weight: 400 !important;
    font-family: "Inter", sans-serif !important;
  }
}

/* Desktop logo-city-rating alignment, 2026-07-09 */
@media (min-width: 901px) {
  .top-header__body {
    grid-template-columns: 230px 190px 1fr 380px !important;
    grid-template-areas: "brand rating contacts buttons" !important;
    column-gap: 26px !important;
    row-gap: 0 !important;
    align-items: center !important;
    min-height: 150px !important;
    padding-top: 26px !important;
    padding-bottom: 26px !important;
  }
  .top-header__body .logo-wrapper {
    grid-area: brand !important;
    align-self: start !important;
    width: 230px !important;
    max-width: 230px !important;
  }
  .top-header__body .header-region {
    grid-area: brand !important;
    align-self: end !important;
    justify-self: start !important;
    width: 185px !important;
    max-width: 185px !important;
    height: 28px !important;
    margin-left: 26px !important;
    margin-top: 0 !important;
  }
  .top-header__body .header-region .dms-container,
  .top-header__body .header-region .dms-select {
    width: 185px !important;
    max-width: 185px !important;
  }
  .top-header__body .header-region .dms-select {
    height: 28px !important;
    min-height: 28px !important;
    padding-left: 0 !important;
    padding-right: 22px !important;
    font-size: 14px !important;
    line-height: 18px !important;
    font-weight: 400 !important;
    color: #222 !important;
    background-position: right 2px center !important;
  }
  .top-header__body .header-region .dms-container:before {
    display: none !important;
  }
  .top-header__body .header-descr-rating {
    grid-area: rating !important;
    align-self: center !important;
    justify-self: start !important;
    margin: 0 !important;
  }
}
@media (min-width: 901px) and (max-width: 1500px) {
  .top-header__body {
    grid-template-columns: 220px 190px 1fr 340px !important;
    column-gap: 22px !important;
  }
  .top-header__body .header-region {
    margin-left: 24px !important;
    width: 176px !important;
    max-width: 176px !important;
  }
  .top-header__body .header-region .dms-container,
  .top-header__body .header-region .dms-select {
    width: 176px !important;
    max-width: 176px !important;
  }
}

/* Desktop six-block top header, 2026-07-09 */
@media (min-width: 901px) {
  .container.header-vol2 {
    width: min(1720px, calc(100% - 80px)) !important;
    max-width: calc(100% - 80px) !important;
  }
  .top-header__body {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    grid-template-areas: "brand rating addr phone consult director" !important;
    column-gap: 24px !important;
    row-gap: 0 !important;
    align-items: center !important;
    padding: 30px 0 !important;
    height: auto !important;
    min-height: 118px !important;
  }
  .top-header__body .logo-wrapper {
    grid-area: brand !important;
    align-self: center !important;
    justify-self: center !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    display: flex !important;
    justify-content: center !important;
  }
  .top-header__body .logo-wrapper .logo,
  .top-header__body .logo-wrapper img {
    width: auto !important;
    max-width: 190px !important;
    height: auto !important;
    max-height: 52px !important;
    object-fit: contain !important;
  }
  .top-header__body .header-region {
    grid-area: brand !important;
    align-self: end !important;
    justify-self: center !important;
    width: 190px !important;
    max-width: 190px !important;
    height: 28px !important;
    margin: 56px auto 0 !important;
  }
  .top-header__body .header-region .dms-container,
  .top-header__body .header-region .dms-select {
    width: 190px !important;
    max-width: 190px !important;
  }
  .top-header__body .header-region .dms-container:before { display: none !important; }
  .top-header__body .header-region .dms-select {
    height: 28px !important;
    min-height: 28px !important;
    padding: 0 22px 0 0 !important;
    color: #222 !important;
    font-size: 14px !important;
    line-height: 18px !important;
    font-weight: 400 !important;
    background-color: transparent !important;
    text-align: left !important;
  }
  .top-header__body .header-descr-rating {
    grid-area: rating !important;
    justify-self: center !important;
    align-self: center !important;
    width: 190px !important;
    height: 64px !important;
    margin: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .top-header__body .home-header-rating {
    width: 190px !important;
    height: 64px !important;
    max-width: none !important;
    border: 0 !important;
    display: block !important;
  }
  .top-header__body .header-contacts {
    grid-area: 1 / 3 / 2 / 5 !important;
    display: contents !important;
  }
  .top-header__body .header-contacts__col {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  .top-header__body .header-contacts__col:not(.col-phone) { grid-area: addr !important; }
  .top-header__body .header-contacts__col.col-phone { grid-area: phone !important; }
  .top-header__body .header-contacts__item,
  .top-header__body .header-contacts__item p {
    max-width: 100% !important;
    margin: 0 !important;
  }
  .top-header__body .header-contacts__item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    min-height: 22px !important;
    white-space: nowrap !important;
    text-align: center !important;
  }
  .top-header__body .header-contacts__item > svg {
    display: block !important;
    flex: 0 0 16px !important;
  }
  .top-header__body .header-call-btns {
    display: contents !important;
  }
  .top-header__body .header-call-btns .call_gager,
  .top-header__body .header-call-btns .popup.call_gager {
    grid-area: consult !important;
  }
  .top-header__body .header-call-btns .whatsup-btn {
    grid-area: director !important;
  }
  .top-header__body .header-call-btns a {
    justify-self: stretch !important;
    align-self: center !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 68px !important;
    min-height: 68px !important;
    padding: 12px 14px !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    white-space: normal !important;
  }
}
@media (min-width: 901px) and (max-width: 1450px) {
  .container.header-vol2 {
    width: min(1400px, calc(100% - 30px)) !important;
    max-width: calc(100% - 30px) !important;
  }
  .top-header__body {
    column-gap: 14px !important;
  }
  .top-header__body .logo-wrapper .logo,
  .top-header__body .logo-wrapper img {
    max-width: 170px !important;
  }
  .top-header__body .header-descr-rating,
  .top-header__body .home-header-rating {
    width: 170px !important;
  }
  .top-header__body .header-contacts__item {
    font-size: 15px !important;
  }
}

/* Desktop six-block top header nested rating hardening, 2026-07-09 */
@media (min-width: 901px) {
  .top-header__body > .header-descr-rating {
    grid-area: rating !important;
  }
  .top-header__body > .header-region {
    grid-area: brand !important;
  }
}

/* Desktop brand block center alignment, 2026-07-09 */
@media (min-width: 901px) {
  .top-header__body .logo-wrapper {
    align-self: center !important;
    justify-self: center !important;
    height: auto !important;
    margin: 0 0 24px !important;
  }
  .top-header__body .header-region {
    align-self: center !important;
    justify-self: center !important;
    width: 190px !important;
    max-width: 190px !important;
    margin: 54px auto 0 !important;
    transform: none !important;
  }
  .top-header__body .header-region .dms-container,
  .top-header__body .header-region .dms-select {
    width: 190px !important;
    max-width: 190px !important;
  }
}
@media (min-width: 901px) and (max-width: 1450px) {
  .top-header__body .header-region {
    width: 170px !important;
    max-width: 170px !important;
  }
  .top-header__body .header-region .dms-container,
  .top-header__body .header-region .dms-select {
    width: 170px !important;
    max-width: 170px !important;
  }
}

/* Desktop city visual logo text center, 2026-07-09 */
@media (min-width: 901px) {
  .top-header__body .header-region {
    transform: translateX(15px) !important;
  }
}

/* Desktop city tight under logo, 2026-07-09 */
@media (min-width: 901px) {
  .top-header__body .logo-wrapper {
    margin-bottom: 10px !important;
  }
  .top-header__body .header-region {
    margin-top: 42px !important;
    transform: translateX(15px) !important;
  }
}

/* Desktop city slight lower, 2026-07-09 */
@media (min-width: 901px) {
  .top-header__body .header-region {
    margin-top: 49px !important;
    transform: translateX(15px) !important;
  }
}

/* Desktop rating vertical center, 2026-07-09 */
@media (min-width: 901px) {
  .top-header__body > .header-descr-rating {
    align-self: center !important;
    justify-self: center !important;
    transform: none !important;
  }
}


/* Desktop header contact icons hidden, 2026-07-09 */
@media (min-width: 901px) {
  .top-header__body .header-contacts .header-contacts__item {
    gap: 0 !important;
    padding-left: 0 !important;
  }
  .top-header__body .header-contacts .header-contacts__item > svg,
  .top-header__body .header-contacts .header-contacts__item svg {
    display: none !important;
  }
}

/* Desktop rating button lower, 2026-07-09 */
@media (min-width: 901px) {
  .top-header__body > .header-descr-rating {
    transform: translateY(8px) !important;
  }
}

/* Desktop header contact columns no-overlap, 2026-07-09 */
@media (min-width: 901px) {
  .top-header__body {
    grid-template-columns: 190px 190px minmax(250px, 1fr) minmax(190px, .85fr) 260px 260px !important;
    column-gap: 28px !important;
  }
  .top-header__body .header-contacts__col {
    align-items: flex-start !important;
  }
  .top-header__body .header-contacts__item {
    justify-content: flex-start !important;
    text-align: left !important;
  }
}

/* Desktop fixed header keeps actions visible, 2026-07-09 */
@media (min-width: 901px) {
  .js-fixed-header.menu-fixed .top-header__body,
  .menu-fixed .top-header__body {
    min-height: 118px !important;
    padding: 30px 0 !important;
    display: grid !important;
    grid-template-columns: 190px 190px minmax(250px, 1fr) minmax(190px, .85fr) 260px 260px !important;
    grid-template-areas: "brand rating addr phone consult director" !important;
    column-gap: 28px !important;
    align-items: center !important;
  }
  .js-fixed-header.menu-fixed .header-call-btns,
  .menu-fixed .top-header__body .header-call-btns {
    display: contents !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .js-fixed-header.menu-fixed .header-call-btns .call_gager,
  .menu-fixed .top-header__body .header-call-btns .call_gager {
    grid-area: consult !important;
    display: flex !important;
  }
  .js-fixed-header.menu-fixed .header-call-btns .whatsup-btn,
  .menu-fixed .top-header__body .header-call-btns .whatsup-btn {
    grid-area: director !important;
    display: flex !important;
  }
}

/* Desktop fixed header compact and centered, 2026-07-09 */
@media (min-width: 901px) {
  .js-fixed-header.menu-fixed .container.header-vol2,
  .menu-fixed .container.header-vol2 {
    width: min(1760px, calc(100% - 70px)) !important;
    max-width: calc(100% - 70px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .js-fixed-header.menu-fixed .top-header__body,
  .menu-fixed .top-header__body {
    min-height: 0 !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    grid-template-columns: 210px 190px minmax(250px, 1fr) minmax(180px, .8fr) 325px 305px !important;
    column-gap: 24px !important;
  }
  .js-fixed-header.menu-fixed .top-header__body .logo-wrapper,
  .menu-fixed .top-header__body .logo-wrapper,
  .js-fixed-header.menu-fixed .top-header__body .header-region,
  .menu-fixed .top-header__body .header-region,
  .js-fixed-header.menu-fixed .top-header__body > .header-descr-rating,
  .menu-fixed .top-header__body > .header-descr-rating,
  .js-fixed-header.menu-fixed .top-header__body .header-contacts__col,
  .menu-fixed .top-header__body .header-contacts__col {
    justify-self: start !important;
  }
  .js-fixed-header.menu-fixed .top-header__body .header-region,
  .menu-fixed .top-header__body .header-region {
    transform: none !important;
  }
  .js-fixed-header.menu-fixed .top-header__body .header-call-btns a,
  .menu-fixed .top-header__body .header-call-btns a {
    height: 66px !important;
    min-height: 66px !important;
  }
}

/* Desktop header emergency compact fit, 2026-07-09 */
@media (min-width: 901px) {
  .main-head .container.header-vol2 {
    width: min(1760px, calc(100% - 40px)) !important;
    max-width: calc(100% - 40px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .main-head .top-header__body,
  .main-head .js-fixed-header.menu-fixed .top-header__body,
  .main-head .menu-fixed .top-header__body {
    grid-template-columns: 250px 210px minmax(300px, 1fr) minmax(230px, .9fr) 325px 325px !important;
    column-gap: 18px !important;
    min-height: 78px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    align-items: center !important;
  }
  .main-head .top-header__body .logo-wrapper {
    justify-self: start !important;
    margin: 0 !important;
  }
  .main-head .top-header__body .logo-wrapper .logo,
  .main-head .top-header__body .logo-wrapper img {
    max-width: 240px !important;
    max-height: 58px !important;
  }
  .main-head .top-header__body .header-region {
    justify-self: start !important;
    align-self: end !important;
    margin: 48px 0 0 18px !important;
    transform: none !important;
  }
  .main-head .top-header__body > .header-descr-rating {
    justify-self: start !important;
    transform: none !important;
  }
  .main-head .top-header__body .header-contacts__col {
    align-items: flex-start !important;
  }
  .main-head .top-header__body .header-call-btns a {
    height: 86px !important;
    min-height: 86px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
}

/* Desktop header action buttons fit viewport, 2026-07-09 */
@media (min-width: 901px) {
  .main-head .container.header-vol2 {
    width: calc(100% - 48px) !important;
    max-width: 1848px !important;
  }
  .main-head .top-header__body,
  .main-head .js-fixed-header.menu-fixed .top-header__body,
  .main-head .menu-fixed .top-header__body {
    grid-template-columns: 285px 200px minmax(300px, 1fr) minmax(210px, .85fr) 325px 300px !important;
    column-gap: 12px !important;
  }
  .main-head .top-header__body .header-call-btns a,
  .main-head .js-fixed-header.menu-fixed .top-header__body .header-call-btns a,
  .main-head .menu-fixed .top-header__body .header-call-btns a {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 68px !important;
    min-height: 68px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
  }
  .main-head .top-header__body .header-call-btns .whatsup-btn {
    font-size: 17px !important;
  }
}

/* Desktop header final button containment, 2026-07-09 */
@media (min-width: 901px) {
  .main-head .container.header-vol2 {
    width: calc(100% - 80px) !important;
    max-width: 1820px !important;
    overflow: visible !important;
  }
  .main-head .top-header__body,
  .main-head .js-fixed-header.menu-fixed .top-header__body,
  .main-head .menu-fixed .top-header__body {
    grid-template-columns: 240px 190px minmax(280px, 1fr) 210px 230px 250px !important;
    column-gap: 18px !important;
  }
  .main-head .top-header__body .header-call-btns .call_gager,
  .main-head .top-header__body .header-call-btns .popup.call_gager,
  .main-head .top-header__body .header-call-btns .whatsup-btn {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    justify-self: stretch !important;
  }
  .main-head .top-header__body .header-call-btns .whatsup-btn {
    padding-left: 12px !important;
    padding-right: 12px !important;
    font-size: 17px !important;
  }
}

/* Desktop header visible action labels, 2026-07-09 */
@media (min-width: 901px) {
  .main-head .top-header__body .header-call-btns a.call_gager,
  .main-head .top-header__body .header-call-btns a.whatsup-btn,
  .main-head .js-fixed-header.menu-fixed .top-header__body .header-call-btns a.call_gager,
  .main-head .js-fixed-header.menu-fixed .top-header__body .header-call-btns a.whatsup-btn {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    white-space: nowrap !important;
  }
}

/* Desktop header natural-width buttons, 2026-07-09 */
@media (min-width: 901px) {
  .main-head .top-header__body .header-call-btns a.call_gager,
  .main-head .js-fixed-header.menu-fixed .top-header__body .header-call-btns a.call_gager {
    width: 230px !important;
    max-width: 230px !important;
    justify-self: end !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
  .main-head .top-header__body .header-call-btns a.whatsup-btn,
  .main-head .js-fixed-header.menu-fixed .top-header__body .header-call-btns a.whatsup-btn {
    width: 250px !important;
    max-width: 250px !important;
    justify-self: end !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}

/* Desktop top header: six centered blocks with 10px side gutters, 2026-07-09 */
@media (min-width: 901px) {
  .main-head .container.header-vol2,
  .main-head .js-fixed-header.menu-fixed .container.header-vol2,
  .main-head .menu-fixed .container.header-vol2 {
    width: calc(100% - 20px) !important;
    max-width: calc(100% - 20px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: visible !important;
  }
  .main-head .top-header__body,
  .main-head .js-fixed-header.menu-fixed .top-header__body,
  .main-head .menu-fixed .top-header__body {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    grid-template-areas: "brand rating addr phone consult director" !important;
    column-gap: 16px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    justify-content: center !important;
  }
  .main-head .top-header__body .logo-wrapper,
  .main-head .top-header__body > .header-descr-rating,
  .main-head .top-header__body .header-contacts__col,
  .main-head .top-header__body .header-call-btns a.call_gager,
  .main-head .top-header__body .header-call-btns a.whatsup-btn {
    justify-self: center !important;
    max-width: 100% !important;
  }
  .main-head .top-header__body .header-region {
    justify-self: center !important;
    margin: 48px auto 0 !important;
    transform: none !important;
  }
  .main-head .top-header__body .header-call-btns a.call_gager,
  .main-head .js-fixed-header.menu-fixed .top-header__body .header-call-btns a.call_gager {
    width: min(100%, 260px) !important;
  }
  .main-head .top-header__body .header-call-btns a.whatsup-btn,
  .main-head .js-fixed-header.menu-fixed .top-header__body .header-call-btns a.whatsup-btn {
    width: min(100%, 270px) !important;
  }
}
