:root {
  --red: #dc0006;
  --red-dark: #c90005;
  --text: #2d2c31;
  --muted: #66616a;
  --line: #ececf1;
  --panel: #f0eef8;
  --gold: #dba646;
  --white: #ffffff;
}
/* Автособрано: только шапка, футер и модалка обратного звонка. Не трогает контент страницы. */
.site-header *,
.site-footer *,
.form_all * {
  box-sizing: border-box;
}

.site-header,
.site-footer {
  font-family: "Roboto", Arial, sans-serif;
}

.site-header .container,
.site-footer .container {
  width: min(100% - 56px, 1181px);
  margin-inline: auto;
}

.site-footer .footer-inner.container {
  width: min(100% - 56px, 1181px);
}

.form_all .wpforms-container input,
.form_all .wpforms-container textarea,
.form_all .wpforms-container select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
}

.form_all .wpforms-container button,
.form_all .wpforms-submit,
.form_all input[type="submit"],
.form_all button[type="submit"] {
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  padding: 0 24px;
  color: #fff;
  background: var(--red);
  font-weight: 500;
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.site-header {
  background: var(--white);
}

.site-header.site-header {
  color: var(--text);
}

.site-header.site-header .header-top {
  flex-wrap: nowrap;
  padding: 0;
}

.site-header.site-header .logo {
  margin: 0;
}

.site-header.site-header .header-top a,
.site-header.site-header .top-menu a,
.site-header.site-header .category-menu a {
  color: inherit;
}

.site-header.site-header .call-button {
  color: var(--white);
  padding: 0 24px;
}

.header-top {
  display: flex;
  align-items: center;
  min-height: 70px;
  gap: 34px;
  justify-content: space-between;
}

.header-nav-slot--top {
  flex: 0 0 454px;
  min-width: 0;
}

.header-nav-slot--top .top-menu {
  width: 100%;
}

.header-nav-slot--category {
  width: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo img {
  display: block;
  width: 175px;
  height: auto;
}

.top-menu {
  display: flex;
  align-items: center;
  flex: 0 0 454px;
  gap: 22px;
  color: #36333a;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

.top-menu ul,
.category-menu ul {
  display: flex;
  align-items: center;
  gap: inherit;
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-menu li {
  position: relative;
}

.category-menu > ul {
  position: relative;
  justify-content: space-between;
  width: 100%;
}

.top-menu a {
  transition: color 0.2s ease;
}

.top-menu a:hover,
.top-menu .active,
.top-menu .current-menu-item > a {
  color: var(--red);
}

.header-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 20px;
}

.phone {
  font-size: 22px;
  line-height: 1;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
}

.call-button,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  color: var(--white);
  background: var(--red);
  font-weight: 500;
  text-transform: uppercase;
  box-shadow: 0 3px 8px rgba(220, 0, 6, 0.2);
  transition:
          background-color 0.2s ease,
          transform 0.2s ease;
}

.call-button:hover,
.primary-button:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.call-button {
  min-width: 180px;
  min-height: 38px;
  font-size: 16px;
  line-height: 1;
  font-weight: 400;
  text-transform: none;
}

.menu-button {
  position: relative;
  display: none;
  flex: 0 0 auto;
  width: 41px;
  height: 41px;
  border: 0;
  border-radius: 5px;
  background: var(--red);
  cursor: pointer;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 3px;
  border-radius: 99px;
  background: var(--white);
  content: "";
}

.menu-button span {
  top: 19px;
}

.menu-button::before {
  top: 12px;
}

.menu-button::after {
  top: 26px;
}

.header-divider {
  height: 1px;
  background: var(--line);
}

.category-menu {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 59px;
  gap: 22px;
  color: #3a3740;
  font-size: 13px;
  line-height: 1;
  font-weight: 500;
  text-transform: uppercase;
  white-space: nowrap;
}

.category-menu a {
  position: relative;
  padding-right: 16px;
}

.category-menu a::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 16px;
  height: 16px;
  background: url("../assets/images/header/menu-arrow-down-grey.svg") center / contain no-repeat;
  content: "";
  transform: translateY(-50%);
}

.category-menu a:first-child::after {
  background-image: url("../assets/images/header/menu-arrow-down-red.svg");
}

/* Вторая строка шапки (десктоп): у пунктов верхнего уровня только текст */
@media (min-width: 1201px) {
  .site-header .header-nav-slot--category .category-menu > ul > li > a > .icon {
    display: none;
  }
}

.top-menu li {
  position: relative;
}

.top-menu .sub-menu,
.category-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 30;
  display: none;
  min-width: 230px;
  margin: 0;
  padding: 12px;
  padding-top: 18px;
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  list-style: none;
  text-transform: none;
}

.top-menu .sub-menu .sub-menu,
.category-menu .sub-menu .sub-menu {
  top: -12px;
  left: calc(100% - 7px);
}

.top-menu li:hover > .sub-menu,
.top-menu li:focus-within > .sub-menu,
.category-menu li:hover > .sub-menu,
.category-menu li:focus-within > .sub-menu,
.top-menu li.is-submenu-open > .sub-menu,
.category-menu li.is-submenu-open > .sub-menu {
  display: block;
}

.top-menu .sub-menu a,
.category-menu .sub-menu a {
  display: block;
  padding: 9px 10px;
  color: #3a3740;
  font-size: 14px;
  line-height: 1.25;
  white-space: normal;
}

.top-menu .sub-menu a::after,
.category-menu .sub-menu a::after {
  display: none;
}

.mobile-menu-backdrop,
.mobile-nav-drawer {
  display: none;
}

.category-menu > ul > li > .sub-menu {
  top: 14px;
  right: 0;
  left: 0;
  z-index: 40;
  width: 100%;
  min-width: 0;
  padding: 28px 50px;
  padding-top: 40px;
  border-radius: 4px;
  display: none;
  flex-wrap: nowrap;
  align-content: flex-start;
  align-items: stretch;
  gap: 0;
  color: #333333;
  font-size: 16px;
  line-height: 19px;
  font-weight: 300;
  text-transform: none;
  white-space: normal;
  box-shadow: 0 13px 10px rgba(0, 0, 0, 0.1);
}

.category-menu > ul > li:hover > .sub-menu,
.category-menu > ul > li:focus-within > .sub-menu,
.category-menu > ul > li.is-submenu-open > .sub-menu {
  display: flex;
}

.category-menu > ul > li > .sub-menu > .mega-menu-main,
.category-menu > ul > li > .sub-menu > .mega-menu-side {
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-menu > ul > li > .sub-menu.has-mega-menu-columns > .mega-menu-main {
  flex: 2 1 66.666%;
}

.category-menu > ul > li > .sub-menu.has-mega-menu-columns > .mega-menu-side {
  flex: 1 1 33.333%;
  max-width: 33.333%;
  padding-left: 28px;
  border-left: 1px solid #e0e0e0;
  box-sizing: border-box;
}

.category-menu > ul > li > .sub-menu.has-mega-menu-main-only > .mega-menu-main {
  flex: 1 1 100%;
  width: 100%;
}

.category-menu .mega-menu-main-list {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-menu .mega-menu-main-list > li {
  flex: 0 0 33.333%;
  max-width: 33.333%;
  min-width: 0;
  padding: 0 32px 26px 0;
  box-sizing: border-box;
}

.category-menu .mega-menu-main-list > li.yes_img > a,
.category-menu .mega-menu-main-list > li.menu-item-has-children > a {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  padding: 0;
  color: #333333;
  font-size: 16px;
  line-height: 19px;
  font-weight: 500;
}

.category-menu .mega-menu-main-list > li > .sub-menu {
  position: static;
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0 0 0 57px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.category-menu .mega-menu-main-list > li > .sub-menu li + li {
  margin-top: 10px;
}

.category-menu .mega-menu-main-list > li > .sub-menu a {
  padding: 0;
  color: #666666;
  font-size: 16px;
  line-height: 19px;
  font-weight: 400;
}

.category-menu > ul > li > .sub-menu > .mega-menu-side {
  align-self: stretch;
}

.category-menu .mega-menu-side-list {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-menu > ul > li > .sub-menu.has-mega-menu-side-only > .mega-menu-side {
  flex: 1 1 100%;
  width: 100%;
  min-width: 0;
  max-width: none;
  padding-left: 0;
  border-left: 0;
}

.category-menu > ul > li > .sub-menu.has-mega-menu-side-only .mega-menu-side-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px 32px;
  max-width: none;
  width: 100%;
}

.category-menu > ul > li > .sub-menu.has-mega-menu-side-only .mega-menu-side-list li {
  margin: 0;
  min-width: 0;
}

.category-menu > ul > li > .sub-menu.has-mega-menu-side-only .mega-menu-side-list li + li {
  margin-top: 0;
}

.category-menu > ul > li > .sub-menu.has-mega-menu-side-only .mega-menu-side-list a {
  display: block;
  padding: 0;
  color: #333333;
  font-size: 16px;
  line-height: 19px;
  font-weight: 500;
}

.category-menu .mega-menu-side-list li {
  margin: 0;
}

.category-menu .mega-menu-side-list li + li {
  margin-top: 14px;
}

.category-menu .mega-menu-side-list a {
  display: block;
  padding: 0;
  color: #333333;
  font-size: 16px;
  line-height: 19px;
  font-weight: 500;
}

.category-menu .mega-menu-side-list > li.no_img > a .img {
  display: none;
}

.category-menu .sub-menu .img {
  display: block;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 4px;
  background: transparent;
  margin: 0;
}

.category-menu .sub-menu .img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-menu .sub-menu .info,
.category-menu .sub-menu .text {
  display: block;
}
.site-footer {
  color: #d7d7d7;
  background: #333333;
}

.footer-inner {
  padding: 48px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 330px minmax(220px, 1fr) 380px;
  align-items: center;
  gap: 36px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
}

.footer-logo img {
  display: block;
  width: 212px;
  height: auto;
}

.socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--red);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 29px 29px;
}

.social-vk {
  background-image: url("../assets/images/footer/soc-vk.svg");
}

.social-tg {
  background-image: url("../assets/images/footer/soc-tg.svg");
  background-size: 27px 27px;
}

.social-max {
  background-image: url("../assets/images/footer/soc-max.svg");
  background-size: 29px 29px;
}

.social-yt {
  background-image: url("../assets/images/footer/soc-yt.svg");
  background-size: 29px 29px;
}

.social-vk-fill {
  background-image: url("../assets/images/footer/soc-vk-fill.svg");
  background-size: 29px 29px;
}

.footer-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  justify-self: end;
  width: min(100%, 380px);
}

.footer-search input {
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 4px 0 0 4px;
  padding: 0 12px;
  color: #303030;
  background: var(--white);
  font: inherit;
  font-size: 14px;
}

.footer-search button {
  position: relative;
  height: 40px;
  border: 0;
  border-radius: 0 4px 4px 0;
  background: var(--red) url("../assets/images/footer/search-button-iocn.svg") center / 22px 22px no-repeat;
  cursor: pointer;
}

.footer-search button::before {
  display: none;
}

.footer-search button::after {
  display: none;
}

.footer-contacts {
  display: grid;
  grid-template-columns: 330px minmax(260px, 1fr) minmax(300px, 0.98fr);
  grid-template-areas:
"phone address time"
"email address time";
  gap: 18px 58px;
  margin-top: 57px;
}

.footer-contact {
  position: relative;
  margin: 0;
  padding-left: 42px;
  color: #d5d5d5;
  font-size: 18px;
  line-height: 1.37;
  font-weight: 400;
}

.footer-contact::before {
  position: absolute;
  left: 0;
  top: -1px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background-color: #5b5b5b;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 11px 11px;
  content: "";
}

.contact-phone {
  grid-area: phone;
}

.contact-phone::before {
  background-image: url("../assets/images/footer/contact-phone.svg");
}

.contact-email {
  grid-area: email;
}

.contact-email::before {
  background-image: url("../assets/images/footer/contact-email.svg");
}

.contact-address {
  grid-area: address;
}

.contact-address::before {
  background-image: url("../assets/images/footer/contact-location.svg");
}

.contact-time {
  grid-area: time;
}

.contact-time::before {
  background-image: url("../assets/images/footer/contact-working-hours.svg");
}

.footer-main-menu {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  min-height: 60px;
  margin-top: 32px;
  border-radius: 8px;
  background: #545454;
}

.footer-main-menu a {
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 0 24px;
  color: #eeeeee;
  font-size: 15px;
  line-height: 1.37;
  font-weight: 400;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.08fr 1.02fr 0.9fr 1.05fr 1.02fr 0.98fr;
  gap: 36px;
  margin-top: 35px;
  padding-bottom: 48px;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-column h3 {
  margin: 0 0 10px;
  color: #f0f0f0;
  font-size: 15px;
  line-height: 1.15;
  font-weight: 700;
}

.footer-column h3 a {
  color: inherit;
  font: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-decoration: none;
}

.footer-column h3 a:hover {
  color: var(--white);
}

.footer-column__toggle {
  display: none;
}

.footer-column a {
  color: #a8a8a8;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 400;
}

.footer-column a:hover,
.footer-bottom a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 67px;
  border-top: 1px solid #474747;
  color: #9e9e9e;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 400;
}

.footer-bottom a {
  color: #bcbcbc;
  text-decoration: underline;
  text-underline-offset: 0;
}

.form_all {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(31, 28, 39, 0.55);
}

.form_all_main {
  position: relative;
  width: min(100%, 420px);
  padding: 32px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 24px 60px rgba(31, 28, 39, 0.24);
}

.form_all .title {
  margin: 0 34px 22px 0;
  color: #303238;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 600;
  text-transform: uppercase;
}

.form_all .desc {
  margin-top: 14px;
  color: #8a8590;
  font-size: 12px;
  line-height: 1.3;
}

.form_all .close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 24px;
  height: 24px;
}

.form_all .close i {
  position: absolute;
  top: 11px;
  left: 0;
  width: 24px;
  height: 2px;
  background: #303238;
}

.form_all .close i:first-child {
  transform: rotate(45deg);
}

.form_all .close i:last-child {
  transform: rotate(-45deg);
}

.form_all input,
.form_all textarea,
.form_all select {
  width: 100%;
  min-height: 48px;
}

.overflow-hidden {
  overflow: hidden;
}
@media (max-width: 1100px) {
  .site-header .container,
  .site-footer .container {
    width: min(100% - 44px, 1000px);
  }

  .header-top {
    gap: 22px;
  }

  .top-menu {
    gap: 18px;
  }

  .phone {
    font-size: 18px;
  }

  .call-button {
    min-width: 150px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-search {
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
  }

  .footer-contacts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
  "phone email"
  "address time";
    gap: 22px;
  }

  .footer-main-menu {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1200px) {
  .header-top {
    min-height: 84px;
    gap: 24px;
    padding-block: 12px;
  }

  .logo img {
    width: 175px;
  }

  body.mobile-nav-open {
    overflow: hidden;
  }

  .mobile-menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 48;
    background: rgba(31, 28, 39, 0.48);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
            opacity 0.28s ease,
            visibility 0.28s ease;
  }

  .site-header.is-menu-open .mobile-menu-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-nav-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    width: 300px;
    max-width: 100%;
    background: #ffffff;
    box-shadow: -10px 0 36px rgba(31, 28, 39, 0.14);
    transform: translate3d(100%, 0, 0);
    visibility: hidden;
    pointer-events: none;
    transition:
            transform 0.3s ease,
            visibility 0.3s ease;
  }

  .site-header.is-menu-open .mobile-nav-drawer {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-nav-drawer__header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-end;
    padding: 12px 16px;
    border-bottom: 1px solid #efeff4;
    background: #ffffff;
  }

  .mobile-nav-drawer__brand {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
    color: #333333;
    text-decoration: none;
  }

  .mobile-nav-drawer__logo {
    display: block;
    flex: 0 0 auto;
    width: 40px;
    height: auto;
  }

  .mobile-nav-drawer__brand-text {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
    line-height: 1.15;
  }

  .mobile-nav-drawer__name {
    font-weight: 700;
    font-size: 17px;
  }

  .mobile-nav-drawer__tagline {
    font-size: 13px;
    font-weight: 400;
    color: #5b5860;
  }

  .mobile-nav-drawer__close {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    background: #dddde2;
    cursor: pointer;
  }

  .mobile-nav-drawer__close-icon {
    position: relative;
    display: block;
    width: 16px;
    height: 16px;
  }

  .mobile-nav-drawer__close-icon::before,
  .mobile-nav-drawer__close-icon::after {
    position: absolute;
    left: 0;
    top: 50%;
    width: 16px;
    height: 2px;
    border-radius: 1px;
    background: #ffffff;
    content: "";
  }

  .mobile-nav-drawer__close-icon::before {
    transform: translateY(-50%) rotate(45deg);
  }

  .mobile-nav-drawer__close-icon::after {
    transform: translateY(-50%) rotate(-45deg);
  }

  .mobile-nav-drawer__scroll {
    flex: 1;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
  }

  .mobile-nav-drawer__inner {
    display: flex;
    position: relative;
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .mobile-nav-drawer__inner .header-nav-slot--top {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .mobile-nav-drawer__footer {
    flex-shrink: 0;
    padding: 20px 16px 24px;
    border-top: 1px solid #efeff4;
    background: #ffffff;
  }

  .mobile-nav-drawer__phone {
    margin-bottom: 10px;
    text-align: center;
  }

  .mobile-nav-drawer__phone a {
    color: #333333;
    font-weight: 700;
    font-size: 20px;
    line-height: 23px;
  }

  .mobile-nav-drawer__callback {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 10px 30px;
    border: 0;
    border-radius: 4px;
    background: #d10000;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
  }

  .mobile-nav-drawer .header-nav-slot--top,
  .mobile-nav-drawer .header-nav-slot--category {
    display: block;
    width: 100%;
  }

  .header-top > .header-nav-slot--top {
    display: none;
  }

  .site-header > .header-divider + .header-nav-slot--category {
    display: none;
  }

  .top-menu,
  .category-menu,
  .header-divider {
    display: none;
  }

  .site-header.is-menu-open .top-menu,
  .site-header.is-menu-open .category-menu {
    display: flex;
  }

  .site-header.is-menu-open .mobile-nav-drawer .top-menu {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    z-index: auto;
    flex: none;
    width: 100%;
    max-width: 100%;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    flex-direction: column;
    align-items: stretch;
  }

  .site-header.is-menu-open .mobile-nav-drawer .category-menu {
    position: static;
    flex: none;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    min-height: 0;
    white-space: normal;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    box-shadow: none;
  }

  .site-header.is-menu-open .top-menu ul,
  .site-header.is-menu-open .category-menu ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .site-header.is-menu-open .category-menu > ul {
    width: 100%;
  }

  .site-header.is-menu-open .category-menu > ul > li {
    width: 100%;
  }

  .site-header.is-menu-open .mobile-nav-drawer .category-menu > ul > li > a {
    position: relative;
    display: flex;
    min-height: 50px;
    box-sizing: border-box;
    align-items: center;
    padding: 11px 44px 11px 20px;
    border: 1px solid #efeff4;
    margin: 0 0 -1px 0;
    border-right: 0;
    border-left: 0;
    color: #333333;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.1;
    text-transform: none;
    white-space: normal;
  }

  .site-header.is-menu-open .mobile-nav-drawer .category-menu > ul > li > a::after {
    display: none;
  }

  .site-header.is-menu-open .mobile-nav-drawer .category-menu > ul > li.menu-item-has-children > a::after {
    position: absolute;
    top: 50%;
    right: 20px;
    display: block;
    width: 7px;
    height: 7px;
    border-right: 2px solid #9a97a0;
    border-bottom: 2px solid #9a97a0;
    background: none;
    transform: translateY(-65%) rotate(-45deg);
    content: "";
  }

  .site-header.is-menu-open .mobile-nav-drawer .img {
    display: none !important;
  }

  .site-header.is-menu-open .mobile-nav-drawer .mobile-nav-drawer__inner .sub-menu,
  .site-header.is-menu-open .mobile-nav-drawer .category-menu > ul > li:hover > .sub-menu,
  .site-header.is-menu-open .mobile-nav-drawer .category-menu > ul > li:focus-within > .sub-menu,
  .site-header.is-menu-open .mobile-nav-drawer .category-menu > ul > li.is-submenu-open > .sub-menu,
  .site-header.is-menu-open .mobile-nav-drawer .top-menu li:hover > .sub-menu,
  .site-header.is-menu-open .mobile-nav-drawer .top-menu li:focus-within > .sub-menu {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .site-header.is-menu-open .mobile-nav-drawer .category-menu .icon {
    display: inline-flex;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-right: 12px;
    font-size: 22px;
    line-height: 1;
    color: #d10000;
  }

  .site-header.is-menu-open .mobile-nav-drawer .category-menu .icon i {
    display: block;
    font-size: 22px;
    line-height: 1;
  }

  .site-header.is-menu-open .mobile-nav-drawer .category-menu .info,
  .site-header.is-menu-open .mobile-nav-drawer .category-menu .text {
    flex: 1;
    min-width: 0;
  }

  .site-header.is-menu-open .mobile-nav-drawer .category-menu > ul > li.menu-item-has-children > a {
    font-weight: 700;
  }

  .site-header.is-menu-open .mobile-nav-drawer .top-menu > ul > li > a {
    display: flex;
    min-height: 44px;
    box-sizing: border-box;
    align-items: center;
    padding: 11px 20px;
    border: 1px solid #efeff4;
    margin: 0 0 -1px 0;
    border-right: 0;
    border-left: 0;
    color: #333333;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.1;
  }

  .site-header.is-menu-open .mobile-nav-drawer .top-menu .current-menu-item > a {
    border-color: #d10000;
    background: #d10000;
    color: #ffffff !important;
    font-weight: 500;
  }

  .site-header.is-menu-open .mobile-nav-drawer nav.top-menu > a {
    display: flex;
    min-height: 44px;
    box-sizing: border-box;
    align-items: center;
    padding: 11px 20px;
    border: 1px solid #efeff4;
    margin: 0 0 -1px 0;
    border-right: 0;
    border-left: 0;
    color: #333333;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.1;
  }

  .site-header.is-menu-open .mobile-nav-drawer nav.top-menu > a.active {
    border-color: #d10000;
    background: #d10000;
    color: #ffffff !important;
    font-weight: 500;
  }

  .site-header.is-menu-open .mobile-nav-drawer .top-menu .sub-menu a {
    border: 0;
    margin: 0;
    padding: 8px 0 8px 12px;
    min-height: 0;
    font-size: 14px;
  }

  .site-header.is-menu-open .mobile-nav-drawer .mobile-nav-drawer__inner .top-menu .sub-menu,
  .site-header.is-menu-open .mobile-nav-drawer .mobile-nav-drawer__inner .category-menu .sub-menu {
    position: static;
    min-width: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0 !important;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    display: none !important;
  }

  .site-header.is-menu-open .category-menu > ul > li > .sub-menu {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: stretch;
  }

  .site-header.is-menu-open .category-menu > ul > li > .sub-menu > .mega-menu-main,
  .site-header.is-menu-open .category-menu > ul > li > .sub-menu > .mega-menu-side {
    flex: 1 1 auto;
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    border-left: 0;
  }

  .site-header.is-menu-open .category-menu .mega-menu-main-list > li {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 0;
  }

  .site-header.is-menu-open .category-menu > ul > li > .sub-menu > li,
  .site-header.is-menu-open .category-menu > ul > li > .sub-menu .mega-menu-main-list > li {
    max-width: 100%;
    padding: 0;
    margin-left: 0;
    border-left: 0;
    min-width: 0;
  }

  .mobile-submenu-panel {
    display: none;
    flex-direction: column;
    background: #ffffff;
  }

  .mobile-submenu-panel.is-active {
    display: flex;
  }

  .mobile-submenu-panel.is-behind {
    display: none;
  }

  .mobile-submenu-back {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    border: 0;
    border-bottom: 1px solid #efeff4;
    background: #ffffff;
    color: #333333;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    text-align: left;
  }

  .mobile-submenu-back__arrow {
    font-size: 20px;
  }

  .mobile-submenu-parent {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 50px;
    box-sizing: border-box;
    padding: 11px 20px;
    border-bottom: 1px solid #efeff4;
    color: #333333;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
  }

  .mobile-submenu-parent::after {
    display: none !important;
  }

  .mobile-submenu-parent:hover,
  .mobile-submenu-parent:focus-visible {
    color: var(--red);
  }

  .mobile-submenu-parent .img {
    display: none !important;
  }

  .mobile-submenu-panel > .menu-item {
    display: block;
  }

  .mobile-submenu-panel > .menu-item > a {
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 11px 44px 11px 20px;
    border-bottom: 1px solid #efeff4;
    color: #333333;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
    position: relative;
  }

  .mobile-submenu-panel > .menu-item > a .img {
    display: none !important;
  }

  .mobile-submenu-panel > .menu-item.menu-item-has-children > a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    width: 7px;
    height: 7px;
    border-right: 2px solid #9a97a0;
    border-bottom: 2px solid #9a97a0;
    transform: translateY(-65%) rotate(-45deg);
  }

  .mobile-submenu-panel > .menu-item > .sub-menu {
    display: none;
  }

  .site-header.is-menu-open .category-menu > ul > li > .sub-menu > li + li {
    margin-top: 14px;
  }

  .site-header.is-menu-open .category-menu > ul > li > .sub-menu > li > .sub-menu {
    padding-left: 12px;
  }

  .site-header.is-menu-open .mega-menu-side-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .site-header.is-menu-open .mega-menu-side {
    padding-left: 0;
    border-left: 0;
    max-width: 100%;
    min-width: 0;
    margin-left: 0;
  }

  .header-actions {
    margin-left: auto;
    gap: 10px;
  }

  .phone {
    margin-right: 12px;
    font-size: 18px;
  }

  .call-button {
    min-width: 190px;
    min-height: 41px;
    font-size: 16px;
  }

  .menu-button {
    display: inline-flex;
  }
  .footer-inner {
    padding-top: 43px;
  }

  .footer-top {
    grid-template-columns: minmax(230px, 1fr) minmax(320px, 380px);
    align-items: start;
    gap: 36px 42px;
  }

  .footer-logo img {
    width: 180px;
  }

  .socials {
    grid-column: 1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 15px;
  }

  .footer-search {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    width: 100%;
  }

  .footer-search input,
  .footer-search button {
    height: 41px;
  }

  .footer-contacts {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
  "phone email"
  "address time";
    gap: 23px 80px;
    margin-top: 50px;
  }

  .footer-contact {
    padding-left: 37px;
    font-size: 18px;
    line-height: 1.42;
    font-weight: 400;
  }

  .footer-main-menu {
    display: none;
  }

  .footer-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 31px;
    padding-bottom: 19px;
    overflow: hidden;
    border-radius: 8px;
    background: #565656;
  }

  .footer-column {
    position: relative;
    display: block;
    min-height: 51px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-column:last-child {
    display: none;
  }

  .footer-column h3 {
    display: flex;
    align-items: stretch;
    min-height: 51px;
    margin: 0;
    padding: 0 0 0 20px;
    color: #eeeeee;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 400;
  }

  .footer-column h3 a,
  .footer-column h3 .footer-column__title {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    padding-right: 8px;
    color: inherit;
    text-decoration: none;
  }

  .footer-column h3 .footer-column__title {
    cursor: default;
  }

  .footer-column__toggle {
    display: flex;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: inherit;
  }

  .footer-column__toggle::after {
    width: 7px;
    height: 7px;
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    content: "";
    transform: rotate(45deg);
    transition: transform 0.2s ease;
  }

  .footer-column.is-open .footer-column__toggle::after {
    transform: rotate(-135deg);
  }

  .footer-column > a {
    display: none;
  }

  .footer-column.is-open {
    padding-bottom: 14px;
  }

  .footer-column.is-open > a {
    display: block;
    padding: 6px 52px 6px 20px;
    color: #cfcfcf;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 400;
  }

  .footer-bottom {
    min-height: 83px;
    border-top: 0;
    font-size: 14px;
    font-weight: 400;
  }
}
@media (max-width: 620px) {
  .site-header .container,
  .site-footer .container {
    width: min(100% - 30px, 100%);
    margin-inline: auto;
  }
  .header-top {
    flex-wrap: nowrap;
    min-height: 80px;
    padding-block: 10px;
  }

  .header-actions {
    width: auto;
    margin-left: auto;
  }

  .header-actions .phone,
  .header-actions .call-button {
    display: none;
  }

  .mobile-nav-drawer__callback {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .menu-button {
    width: 36px;
    height: 36px;
  }

  .menu-button span,
  .menu-button::before,
  .menu-button::after {
    left: 9px;
    width: 18px;
    height: 3px;
  }

  .menu-button::before {
    top: 10px;
  }

  .menu-button span {
    top: 17px;
  }

  .menu-button::after {
    top: 24px;
  }
  .footer-inner {
    width: min(100% - 30px, 100%);
    margin-inline: auto;
    padding-top: 32px;
  }

  body.home .footer-inner {
    padding-top: 64px;
  }

  .footer-top,
  .footer-contacts,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .footer-top {
    gap: 19px;
  }

  .footer-logo {
    justify-self: center;
  }

  .footer-logo img {
    width: 121px;
  }

  .socials {
    grid-column: auto;
    grid-row: auto;
    justify-content: center;
    gap: 9px;
  }

  .social-link {
    width: 22px;
    height: 22px;
    background-size: 16px 16px;
  }

  .social-tg {
    background-size: 15px 15px;
  }

  .social-max,
  .social-yt,
  .social-vk-fill {
    background-size: 16px 16px;
  }

  .footer-search {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
  }

  .footer-search input,
  .footer-search button {
    height: 34px;
  }

  .footer-search {
    grid-template-columns: minmax(0, 1fr) 35px;
  }

  .footer-search button {
    background-size: 22px 22px;
  }

  .footer-contacts {
    grid-template-areas:
  "phone"
  "email"
  "address"
  "time";
    gap: 8px;
    margin-top: 18px;
  }

  .footer-contact {
    padding-left: 27px;
    font-size: 12px;
    line-height: 1.32;
  }

  .footer-contact::before {
    top: -1px;
    width: 16px;
    height: 16px;
    background-size: 8px 8px;
  }

  .footer-main-menu a {
    min-height: 52px;
  }

  .footer-columns {
    margin-top: 22px;
    padding-bottom: 0;
    border-radius: 5px;
  }

  .footer-column {
    min-height: 41px;
  }

  .footer-column h3 {
    min-height: 41px;
    padding: 0 0 0 13px;
    font-size: 10px;
  }

  .footer-column__toggle {
    flex-basis: 36px;
  }

  .footer-column__toggle::after {
    width: 5px;
    height: 5px;
    border-width: 0 1.5px 1.5px 0;
  }

  .footer-column.is-open {
    padding-bottom: 8px;
  }

  .footer-column.is-open > a {
    padding: 4px 36px 4px 13px;
    font-size: 10px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    min-height: 83px;
    padding-block: 18px;
    font-size: 10px;
  }

}
.header-actions .call-button {
  color: white!important;
}

/* Иконки в мобильном меню (главная: без media-queries/chrome-only) */
.site-header.is-menu-open .mobile-nav-drawer .category-menu > ul > li > a .img,
.site-header.is-menu-open .mobile-nav-drawer .category-menu > ul > li > a .icon {
  display: inline-flex !important;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-right: 12px;
}

.site-header.is-menu-open .mobile-nav-drawer .category-menu > ul > li > a .img img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.site-header.is-menu-open .mobile-nav-drawer .category-menu > ul > li > a .icon i {
  display: block;
  font-size: 22px;
  line-height: 1;
  color: #d10000;
}

.site-header.is-menu-open .mobile-nav-drawer .category-menu > ul > li > a .info,
.site-header.is-menu-open .mobile-nav-drawer .category-menu > ul > li > a .text {
  display: block;
  flex: 1;
  min-width: 0;
}

.site-header.is-menu-open .mobile-nav-drawer .category-menu > ul > li.menu-item-has-children > a {
  font-weight: 700;
}