: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");
}
.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: 100%;
  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: wrap;
  align-content: flex-start;
  align-items: flex-start;
  color: #333333;
  font-size: 16px;
  line-height: 19px;
  font-weight: 300;
  text-transform: none;
  white-space: normal;
  box-shadow: 0 8px 24px 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 > li {
  min-width: 0;
  flex: 1 1 0;
  padding: 0 32px 26px 0;
  box-sizing: border-box;
}

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

.category-menu > ul > li > .sub-menu > li:not(.menu-item-has-children):not(.mega-menu-side) {
  flex: 0 0 auto;
  padding-left: 28px;
  padding-right: 0;
  margin-left: auto;
  border-left: 0.5px solid #c8c8c9;
  min-width: 200px;
}

.category-menu > ul > li > .sub-menu > li:not(.menu-item-has-children):not(.mega-menu-side) > a {
  padding: 0 0 8px;
  color: #333333;
  font-size: 16px;
  line-height: 19px;
  font-weight: 300;
}

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

.category-menu > ul > li > .sub-menu > li > .sub-menu li + li {
  margin-top: 8px;
}

.category-menu > ul > li > .sub-menu > li > .sub-menu a {
  padding: 0;
  color: #333333;
  font-size: 16px;
  line-height: 19px;
  font-weight: 300;
}

.category-menu > ul > li > .sub-menu > .mega-menu-side {
  flex: 0 0 auto;
  padding-left: 28px;
  padding-right: 0;
  margin-left: auto;
  border-left: 0.5px solid #c8c8c9;
  align-self: stretch;
  list-style: none;
  min-width: 200px;
}

.category-menu .mega-menu-side-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  width: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-menu .mega-menu-side-list li {
  flex: 0 0 calc(50% - 14px);
  min-width: 0;
  margin: 0;
}

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

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

.category-menu .sub-menu .img {
  display: block;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 4px;
  background: #efeff4;
  margin: 0 9px 0 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 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: space-between;
gap: 12px;
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;
}

.mobile-nav-drawer__inner {
display: flex;
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 {
box-sizing: border-box;
width: 100%;
max-width: 100%;
}

.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 .category-menu .img {
display: inline-flex;
flex: 0 0 28px;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
margin-right: 8px;
font-size: 22px;
}

.site-header.is-menu-open .mobile-nav-drawer .category-menu .img img {
width: 28px;
height: 28px;
object-fit: contain;
}

.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 .top-menu .sub-menu,
.site-header.is-menu-open .category-menu .sub-menu {
position: static;
min-width: 0;
margin-top: 0;
margin-bottom: 0;
padding: 0 0 8px 12px;
border-radius: 0;
background: #fafafc;
box-shadow: none;
}

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

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

.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: center;
min-height: 51px;
margin: 0;
padding: 0 52px 0 20px;
color: #eeeeee;
font-family: "Roboto", Arial, sans-serif;
font-size: 16px;
line-height: 1.2;
font-weight: 400;
cursor: pointer;
user-select: none;
}

.footer-column h3::after {
position: absolute;
right: 17px;
top: 50%;
width: 7px;
height: 7px;
border-right: 2px solid var(--white);
border-bottom: 2px solid var(--white);
content: "";
transform: translateY(-70%) rotate(45deg);
transition: transform 0.2s ease;
}

.footer-column.is-open h3::after {
transform: translateY(-30%) 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% - 10px, 100%);
}

.header-top {
flex-wrap: nowrap;
min-height: 80px;
padding-block: 10px;
}

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

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

.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% - 26px, 100%);
padding-top: 32px;
}

.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 36px 0 13px;
font-size: 10px;
}

.footer-column h3::after {
right: 11px;
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;
}
}
