.button-place {
	display: flex;
	align-items: center;
	width: 100%;
	max-width: 1024px;;
	height: 100%;;
	justify-content: flex-start;
}

.header__static{
	position: relative;
	height: 86px;
	display: flex;
	align-items: center;
	background: #812626;
	width: 100%;
	justify-content: space-evenly;
}
.menu-button{
	display: flex;
	    align-items: center;
	    gap: 0px;
	    padding: 10px 14px;
	    border: 0;
	    cursor: pointer;
	    font: inherit;
	    color: #ffffff;
	    flex-wrap: wrap;
	    width: 100px;
	    justify-content: space-evenly;
}
.menu-button__bars{
  width: 22px;
  height: 14px;
  position: relative;
  display: inline-block;
}
.menu-button__bars:before,
.menu-button__bars:after{
  content:'';
  position:absolute;
  left:0; right:0;
  height:2px;
  background:#111;
}
.menu-button__bars:before{ top:0; }
.menu-button__bars:after{ bottom:0; }
.menu-button__bars{
  background: #111;
  height:2px;
}
.menu-button__text{
  text-transform: lowercase;
}

/* ====== Offcanvas ====== */
.offcanvas{
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
}
.offcanvas__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  transition: opacity .2s ease;
}
.offcanvas__panel{
  position: absolute;
  top: 0;
  left: 0;
  width: min(360px, 88vw);
  height: 100%;
  background: #fff;
  transform: translateX(-102%);
  transition: transform .25s ease;
  outline: none;
  overflow: auto;
  padding: 16px 16px 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.offcanvas__close{
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  margin: 0 0 12px;
}

/* Открыто */
body.menu-open .offcanvas{
  pointer-events: auto;
}
body.menu-open .offcanvas__overlay{
  opacity: 1;
}
body.menu-open .offcanvas__panel{
  transform: translateX(0);
}

/* ====== Меню (единая разметка) ====== */
.mainmenu{ margin-top: 8px; }
.mainmenu__list{
  list-style: none;
  margin: 0;
  padding: 0;
}
.mainmenu__item{
  border-bottom: 1px solid #eee;
}
.mainmenu__row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.mainmenu__link{
  display: block;
  padding: 12px 6px;
  text-decoration: none;
  color: #111;
}
.mainmenu__item.is-active > .mainmenu__row .mainmenu__link{
  font-weight: 700;
}
.mainmenu__toggle{
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.mainmenu__caret{
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: rotate(45deg);
  transition: transform .15s ease;
}
.mainmenu__item.is-open .mainmenu__caret{
  transform: rotate(-135deg);
}

.mainmenu__submenu{
  list-style: none;
  margin: 0;
  padding: 0 0 10px 10px;
}
.mainmenu__subitem{}
.mainmenu__sublink{
  display: block;
  padding: 10px 6px;
  text-decoration: none;
  color: #333;
}
.mainmenu__subitem.is-active .mainmenu__sublink{
  font-weight: 700;
}

/* Блокировка скролла страницы при открытом меню */
body.menu-open{
  overflow: hidden;
}
.header{
  display: flex;
  flex-direction: column;
}
@media (max-width: 991px){
  .header__static{
    justify-content: space-evenly;
  }	
  #static.header__static{
    order: 1;
  }
  .header__container{
    order: 2;
  }
}
@media (min-width: 992px){
  #static.header__static{
    order: 2;
  }
  .header__container{
    order: 1;
  }
}
