/* Loaded after the legacy template styles. */
.mobile-header-actions,
.mobile-contact,
.menu-toggle {
  display: none;
}
.table-scroll {
  min-width: 0;
  max-width: 100%;
  margin: 16px 0;
}
.table-scroll__viewport {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.table-scroll__hint {
  margin: 0 0 8px;
  color: #426477;
  font-size: 14px;
}
.table-scroll__hint[hidden] {
  display: none;
}
.table-scroll__viewport:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid #ee7629;
  outline-offset: 3px;
}
.quick-request {
  box-sizing: border-box;
  width: min(480px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 28px;
  border: 0;
  border-radius: 12px;
  color: #253e4b;
  background: #fff;
  overflow-y: auto;
}
.quick-request::backdrop {
  background: rgb(0 37 58 / 65%);
}
.quick-request h2 {
  margin: 0 48px 12px 0;
  font-size: 26px;
  line-height: 1.2;
  color: #006699;
}
.quick-request p {
  font-size: 16px;
  line-height: 1.45;
}
.quick-request__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  color: #006699;
  font-size: 32px;
  cursor: pointer;
}
.quick-request label {
  display: block;
  margin: 16px 0;
  font-size: 16px;
}
.quick-request input:not([type="checkbox"]),
.quick-request textarea {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 6px;
  padding: 12px;
  border: 1px solid #7198ac;
  border-radius: 5px;
  font: inherit;
  background: #fff;
  color: #253e4b;
}
.quick-request textarea {
  min-height: 88px;
  resize: vertical;
}
.quick-request summary {
  display: flex;
  align-items: center;
  min-height: 48px;
  cursor: pointer;
  color: #006699;
  text-decoration: underline;
}
.quick-request .quick-request__consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-height: 48px;
  font-size: 14px;
  line-height: 1.4;
}
.quick-request__consent input {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin: 0;
}
.quick-request__consent a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
}
.quick-request__submit {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 0;
  border-radius: 5px;
  background: #006a93;
  color: #fff;
  font: inherit;
  font-size: 18px;
  cursor: pointer;
}
.quick-request__submit:disabled {
  opacity: 0.65;
  cursor: wait;
}
.quick-request__status {
  margin: 12px 0 0;
}
.quick-request__status:empty {
  display: none;
}
.quick-request__status[data-error] {
  color: #a52222;
}
html.quick-request-open {
  overflow: hidden;
}
.order_phone_form .d_inp input[type="tel"],
.order_phone_form .d_inp input[type="email"] {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  padding: 8px;
  border: 2px solid #009ed4;
  font-size: 16px;
}
@media (min-width: 992px) {
  .nav_warp .menu > ul > li:focus-within > .parent {
    position: absolute;
    left: -11px;
    padding: 11px 0;
    display: block;
    width: 992px;
    background: #e9f2f8;
    z-index: 20;
  }
}
@media (max-width: 991px) {
  html {
    scroll-padding-top: 76px;
  }
  body {
    overflow-x: clip;
  }
  .wrapper {
    overflow: visible;
  }
  .site-header {
    position: sticky;
    top: 0;
    z-index: 500;
    background: #0098d1;
    box-shadow: 0 2px 8px rgb(0 0 0 / 12%);
  }
  .site-header:has(.menu_button.active) {
    z-index: 9001;
  }
  .header {
    box-sizing: border-box;
    width: 100%;
    height: 64px;
    min-height: 64px;
    padding: 8px 64px 8px 12px;
    gap: 8px;
    justify-content: space-between;
    overflow: visible;
  }
  .header .logo {
    flex: 0 0 108px;
    float: none;
    width: 108px;
    height: 48px;
    margin: 0;
    background-position: center;
    background-size: contain;
  }
  .header .logo a {
    width: 108px;
    height: 48px;
  }
  .header .logo .slogan,
  .header .phone_wpap,
  .header .search,
  .header .header-btn-callback {
    display: none;
  }
  .mobile-header-actions {
    display: flex;
  }
  .mobile-header-actions button {
    min-width: 120px;
    min-height: 48px;
    padding: 8px 12px;
    border: 0;
    color: #fff;
    background: #f5833c;
    font-size: 16px;
    cursor: pointer;
  }
  .nav_warp {
    width: 100%;
    height: 0;
  }
  .nav_warp .menu_button {
    box-sizing: border-box;
    position: absolute;
    inset: -56px 8px auto auto;
    width: 48px;
    height: 48px;
    padding: 12px 10px;
    border: 0;
    background: #fff;
    z-index: 2;
  }
  .nav_warp .menu_button .line {
    display: block;
    height: 3px;
    margin: 0 0 6px;
    border-radius: 2px;
  }
  .nav_warp .menu_button .line:last-child {
    margin-bottom: 0;
  }
  .nav_warp .menu_button.active .line:first-child,
  .nav_warp .menu_button.active:hover .line:first-child {
    transform: translateY(9px) rotate(45deg);
  }
  .nav_warp .menu_button.active .line:nth-child(2),
  .nav_warp .menu_button.active:hover .line:nth-child(2) {
    visibility: hidden;
    opacity: 0;
  }
  .nav_warp .menu_button.active .line:nth-child(3),
  .nav_warp .menu_button.active:hover .line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  .nav_warp .menu_button:not(.active):hover .line {
    transform: none;
  }
  .nav_warp .menu {
    top: 0;
    width: 100%;
    max-height: calc(100vh - 64px);
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 1;
    box-shadow: 0 6px 8px rgb(0 0 0 / 15%);
  }
  .nav_warp .menu > ul {
    display: flex;
    flex-direction: column;
    padding-bottom: 12px;
  }
  .nav_warp .menu > ul > li {
    position: relative;
  }
  .nav_warp .menu > ul > li.menu-catalog {
    order: -2;
  }
  .nav_warp .menu > ul > li.menu-services {
    order: -1;
  }
  .nav_warp .menu ul li a,
  .nav_warp .menu ul ul li a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 48px;
    height: auto;
    padding: 12px 16px;
    line-height: 1.35;
    letter-spacing: normal;
  }
  .nav_warp .menu > ul > li.has-children > a {
    padding-right: 64px;
  }
  .nav_warp .menu ul ul li a {
    padding-left: 32px;
  }
  .nav_warp .menu ul li .parent,
  .nav_warp .menu ul li:hover .parent {
    position: static;
    width: 100%;
    display: none;
    padding: 0;
  }
  .nav_warp .menu ul li.is-open > .parent {
    display: block;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 0;
    width: 48px;
    height: 48px;
    border: 0;
    border-left: 1px solid #c2d9e4;
    background: transparent;
    color: #006699;
    font-size: 24px;
    cursor: pointer;
  }
  .menu-toggle svg {
    height: 24px;
    width: 24px;
    fill: #fff;
    transition: 0.3s;
  }
  .menu-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
  }
  .mobile-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: fixed;
    bottom: max(16px, env(safe-area-inset-bottom));
    left: 16px;
    z-index: 510;
    min-width: 48px;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 28px;
    background: #006a93;
    color: #fff !important;
    box-shadow: 0 4px 14px rgb(0 0 0 / 25%);
    font-size: 16px;
    text-decoration: none !important;
  }
  .fixed-btn {
    left: 164px;
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    width: auto;
    height: 52px;
    border-radius: 28px;
    box-shadow: 0 4px 14px rgb(0 0 0 / 20%);
  }
  body:has(.quick-request[open]) .mobile-contact {
    visibility: hidden;
  }
  .footer {
    padding-bottom: 88px;
  }
  .wrapper_page {
    padding-bottom: 80px;
  }
  .cookie:not(.js-hidden) {
    bottom: 80px;
    max-height: calc(100dvh - 160px);
    overflow-y: auto;
  }
  .cookie__desc a,
  .footer .contacts a {
    display: inline-flex;
    align-items: center;
    min-width: 48px;
    min-height: 48px;
  }
  button,
  input[type="submit"],
  input[type="button"],
  [role="button"],
  .btn-new,
  .button_bottom,
  .goods-new-item__button,
  .footer-new__btn,
  .header-btn,
  [class*="b24-web-form-popup-btn"],
  .hero-slider__arrow {
    min-width: 48px;
    min-height: 48px;
    box-sizing: border-box;
  }
  .footet-new__list-item a,
  .footer-new__bottom a,
  .social_icon a,
  .section-block a,
  .documents a,
  .numeic a,
  .content a:not([class]),
  .content_nosl a:not([class]) {
    display: inline-flex;
    align-items: center;
    min-width: 48px;
    min-height: 48px;
  }
  .footer-new__list {
    gap: 0 24px;
  }
  .swiper-pagination-bullet {
    position: relative;
    margin: 0 20px !important;
  }
  .swiper-pagination-bullet::after {
    content: "";
    position: absolute;
    width: 48px;
    height: 48px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .table-scroll__viewport table {
    width: max-content !important;
    min-width: 100%;
    max-width: none;
    table-layout: auto;
  }
  .table-scroll__viewport th,
  .table-scroll__viewport td {
    min-width: 110px;
    max-width: 320px;
    white-space: normal;
    overflow-wrap: break-word;
    padding: 12px;
    line-height: 1.4;
  }
  .table-scroll__viewport th:first-child,
  .table-scroll__viewport td:first-child {
    min-width: 180px;
  }
  .table-slider {
    width: 100%;
    margin: 0;
    overflow: visible;
  }
  .table-slider .swiper-wrapper {
    display: block;
    transform: none !important;
  }
  .table-slider .swiper-slide {
    width: 100%;
  }
  .table-slider .table_wrap_scroll {
    overflow: visible;
  }
}
@media (max-width: 360px) {
  .header {
    padding-left: 8px;
  }
  .header .logo,
  .header .logo a {
    width: 96px;
    flex-basis: 96px;
  }
  .mobile-header-actions button {
    min-width: 116px;
    padding: 8px;
    font-size: 15px;
  }
  .quick-request {
    padding: 20px;
  }
}
