/* ===== MOBILE MENU CORE ===== */
/* ===== MOBILE MENU CORE ===== */
/* ===== MOBILE MENU CORE ===== */

#mobileMenu {
	/* display: none; */
}

#mobileMenuBtn {
	/* display: none; */
}

@media (max-width: 925px) {

#mobileMenu {
	display: block;
}

#mobileMenuBtn {
	display: block;
}

/* BUTTON */
.mobile-menu-btn {
	/* display: block; */
	position: fixed;
	top: 14px;
	right: 33px;
	width: 22px;
	height: 14px;
	background: none;
	border: 0;
	cursor: pointer;
	z-index: 1003;
}

/* HAMBURGER */
.mobile-menu-btn span,
.mobile-menu-btn span::before,
.mobile-menu-btn span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #000;
    left: 0;
    transition: .3s;
}

.mobile-menu-btn span {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-btn span::before {
    top: -10px;
}

.mobile-menu-btn span::after {
    top: 10px;
}

/* ACTIVE -> CROSS */
.mobile-menu-btn.active span {
    background: transparent;
}

.mobile-menu-btn.active span::before {
    top: 0;
    transform: rotate(45deg);
	      background: #000;
}

.mobile-menu-btn.active span::after {
    top: 0;
    transform: rotate(-45deg);
	      background: #000;
}

/* OVERLAY */
#mobileMenuOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 1;
}

#mobileMenuOverlay.show {
    opacity: 1;
    visibility: visible;
}

/* MENU PANEL */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh; /* занимать всю высоту экрана */
    background: #fff;
    z-index: 1002;
    transition: right .35s ease;
    overflow-y: auto; /* добавляем вертикальный скрол */
    -webkit-overflow-scrolling: touch; /* плавный скрол на iOS */
    padding: 20px;
    box-sizing: border-box;
}

/* OPEN */
.mobile-menu.open {
    right: 0;
}

}





@media (max-width: 925px) {

/* SECTION */
.mobile-menu-section {
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  padding: 10px 20px;
}

.menu-sections {
    list-style: none;
    margin: 40px 0;
    padding: 0;
}

/* ITEM */
.menu-item {
    border-bottom: 1px solid #eee;
}

/* HEAD */
.menu-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
}

.menu-head a {
    font-size: 18px;
    text-decoration: none;
    color: #000;
}

/* TOGGLE (галочка) */
.menu-toggle {
    width: 16px;
    height: 16px;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: rotate(-45deg);
    transition: .3s;
}

/* OPEN STATE */
.menu-item.open > .menu-head > .menu-toggle {
    transform: rotate(45deg);
}

/* SUBMENU */
.menu-sub {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    padding-left: 15px;
}

.menu-item.open > .menu-sub {
    max-height: 600px;
}

.menu-sub a {
    display: block;
    padding: 8px 0;
    color: #333;
    text-decoration: none;
}

/* STATIC */
.mobile-menu-static {
    padding: 20px;
    border-top: 1px solid #eee;
}

.mobile-menu-static a {
    display: block;
    padding: 12px 0;
    font-weight: 600;
    text-decoration: none;
    color: #000;
}

}


.menu-level {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.menu-item .menu-level {
    padding-left: 15px;
}
/* ROOT */
.menu-root {
    list-style: none;
    margin: 40px 0;
    padding: 0;
}