* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

:root {
  --main-color: #b71c1c;
}

.header-container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}

.site-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
    background: rgb(34,34,34);
    background: linear-gradient(180deg, rgba(34,34,34,1) 0%, rgba(40,40,40,1) 35%, rgba(64,64,64,1) 100%);
}

.site-header__bottom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  border-bottom: 1px solid #efefef;
}

.unimenu__header-menu ul li a {
    text-transform: uppercase;
    font-size: 14px;
}

.unimenu__site-header__middle {
    padding: 0px 0px 0px 0px;
}

.header-contacts {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  gap: 5px;
}

.header-phone {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 5px;
  text-decoration: none;
  color: #202020;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.unimenu__contacts__address {
    margin-bottom: .8rem;
    background-color: #222;
    color: #eee;
    font-size: .9rem;
    text-align: center;
}

.header-phone:hover {
  color: var(--main-color);
}

.header-phone__icon {
  content: "";
  width: 16px;
  height: 16px;
  background: url("../../img/pds-menu/phone.svg") center center/contain no-repeat;
}

.header-phone__value {
  font-size: 18px;
  font-weight: 600;
}

.header-worktime {
  font-size: 12px;
  color: grey;
}

.header-menu {
  position: relative;
  max-width: 100%;
}

.header-menu ul {
  margin: 0;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 20px;
}

.header-menu ul li {
  list-style: none;
}

.header-menu ul li a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  padding: 15px;
  text-decoration: none;
  color: #202020;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.header-menu ul li a:hover {
  color: var(--main-color);
}

.header-menu ul li ul {
  padding: 10px 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0;
  background: #efefef;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.header-menu .submenu-item {
  cursor: pointer;
}

.header-menu .submenu-item:before {
  content: "";
  width: 12px;
  height: 12px;
  background: url("../../img/pds-menu/arrow.svg") center center/12px no-repeat;
  float: right;
  margin-top: 15px;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.burger-overlay {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.7254901961);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  z-index: 9998;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.burger-overlay:not(.show) {
  right: -50%;
  opacity: 0;
  visibility: hidden;
}

.burger-close {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 40px;
  height: 40px;
  position: fixed;
  top: 5px;
  right: 10px;
  z-index: 55;
  border: none;
  background: #fff;
  cursor: pointer;
}

.burger-close svg {
  width: 16px;
  fill: var(--main-color);
}

.burger-button {
  width: 40px;
  height: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border: none;
  background: #fff;
  cursor: pointer;
}

.burger-button svg {
  fill: var(--main-color);
}

.mobile-brand-name {
  position: absolute;
  top: 17px;
  left: 20px;
  font-weight: 700;
  font-size: 16px;
}

.burger-contacts {
  margin-top: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  border-top: 1px solid #efefef;
}

.burger-contacts__tel {
  text-decoration: none;
  color: #202020;
  font-size: 20px;
  font-weight: 700;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.burger-contacts__tel:hover {
  color: var(--main-color);
}

.burger-contacts__address {
  font-size: 12px;
  color: grey;
  margin-top: 5px;
}

ul.burger-socials {
    margin: 15px 0;
}

.burger-socials {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 15px;
  padding: 0;
}

.burger-socials__item {
  list-style: none;
}

.burger-socials__link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 30px;
  height: 30px;
}

.burger-socials__link svg {
  fill: var(--main-color);
  max-width: 100%;
}

.body-hidden {
  overflow: hidden;
}

@media all and (min-width: 992px) {
  .header-menu ul {
    position: relative;
  }

  .header-menu ul li:hover ul {
    opacity: 1;
    visibility: visible;
  }

  .header-menu ul li:hover.submenu-item:before {
    -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
            transform: rotate(180deg);
  }

  .header-menu ul li ul {
    position: absolute;
    top: 100%;
    max-height: 300px;
    overflow: auto;
    opacity: 0;
    visibility: hidden;
  }

  .header-menu ul li ul::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }

  .header-menu ul li ul::-webkit-scrollbar-track {
    background: #efefef;
  }

  .header-menu ul li ul::-webkit-scrollbar-thumb {
    background: var(--main-color);
    border-radius: 250px;
    border: 3px solid #efefef;
  }

  .header-menu ul li ul li {
    margin: 5px 0;
  }

  .header-menu ul li ul li a {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    text-align: left;
    padding: 5px 15px;
  }

  .burger-overlay,
  .burger-close,
  .burger-button,
  .mobile-brand-name,
  .burger-contacts {
    display: none;
    visibility: hidden;
    opacity: 0;
  }
}

@media all and (max-width: 1280px) {
  .header-container {
    max-width: 100%;
  }

  .header-menu ul {
    gap: 10px;
  }
}

@media all and (max-width: 991px) {
  .header-contacts {
    margin-left: auto;
    margin-right: 20px;
  }

  .site-header__bottom {
    border: none;
  }

  .mobile-menu-wrap {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 9999;
    margin: 0;
    width: auto;
    max-width: 100%;
    background: #fff;
    padding: 60px 20px 20px 20px;
    overflow: auto;
    min-width: 250px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }

  .mobile-menu-wrap::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }

  .mobile-menu-wrap::-webkit-scrollbar-track {
    background: #efefef;
  }

  .mobile-menu-wrap::-webkit-scrollbar-thumb {
    background: var(--main-color);
    border-radius: 250px;
    border: 3px solid #efefef;
  }

  .mobile-menu-wrap:before {
    content: "";
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    border-bottom: 1px solid #efefef;
  }

  .mobile-menu-wrap:not(.show) {
    right: -50%;
    opacity: 0;
    visibility: hidden;
  }

  .header-menu {
    margin-bottom: 40px;
  }

  .header-menu ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
  }

  .header-menu ul li a {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    text-align: left;
    padding-left: 0;
    padding-right: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 18px;
  }

  .header-menu ul li ul {
    padding: 15px;
    gap: 15px;
  }

  .header-menu ul li ul li a {
    font-size: 14px;
    padding: 0;
  }

  .header-menu .submenu-list {
    margin-right: -30px;
  }

  .header-menu .submenu-list:not(.show) {
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    height: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  .header-menu .submenu-item {
    position: relative;
    padding-right: 30px;
  }

  .header-menu .submenu-item:before {
    position: absolute;
    right: 0;
    width: 30px;
    height: 30px;
    margin-top: 5px;
    background-color: #efefef;
  }

  .header-menu .submenu-item.show:before {
    -webkit-transform: rotateX(180deg);
            transform: rotateX(180deg);
  }
}

@media all and (max-width: 575px) {
  .choice-city {
    gap: 5px;
  }

  .header-bar {
    gap: 10px;
  }

  .header-bar__link {
    font-size: 12px;
  }

  .header-bar__icon {
    width: 16px;
    height: 16px;
  }

  .header-worktime {
    display: none;
    visibility: hidden;
  }

  .header-logo__desc {
    font-size: 10px;
  }

  .header-phone__value {
    display: none;
    visibility: hidden;
  }

  .header-phone__icon {
    width: 40px;
    height: 40px;
    background-size: 20px;
  }

  .header-contacts {
    margin-right: 10px;
  }

  .site-header__middle {
    padding: 10px 0;
  }

  .header-logo {
    gap: 10px;
  }
}