.wpmm {
	--wpmm-bg: #000;
	--wpmm-text: #fff;
	--wpmm-accent: #fff;
	--wpmm-font: 16px;
	--wpmm-speed: 200ms;
	position: relative;
	font-size: var(--wpmm-font);
}

.wpmm.wpmm--inactive {
	display: none;
}

.wpmm__toggle,
.wpmm__close {
	background: none;
	border: 0;
	color: var(--wpmm-text);
	cursor: pointer;
	padding: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.wpmm__toggle {
	position: fixed;
	top: 12px;
	right: 12px;
	z-index: 10001;
	width: 44px;
	height: 44px;
}

.wpmm__bar {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--wpmm-text);
	margin: 4px 0;
	transition: transform var(--wpmm-speed) ease, opacity var(--wpmm-speed) ease;
}

.wpmm--open .wpmm__bar:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.wpmm--open .wpmm__bar:nth-child(2) {
	opacity: 0;
}

.wpmm--open .wpmm__bar:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

.wpmm__overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	transition: opacity var(--wpmm-speed) ease;
	z-index: 10000;
}

.wpmm__panel {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(84vw, 360px);
	background: var(--wpmm-bg);
	color: var(--wpmm-text);
	transform: translateX(100%);
	transition: transform var(--wpmm-speed) ease;
	z-index: 10002;
	display: flex;
	flex-direction: column;
	box-shadow: -2px 0 12px rgba(0, 0, 0, 0.3);
}

.wpmm--open .wpmm__overlay {
	opacity: 1;
}

.wpmm--open .wpmm__panel {
	transform: translateX(0);
}

.wpmm__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wpmm__brand img {
	max-height: 36px;
	width: auto;
}

.wpmm__logo-text {
	font-weight: 600;
}

.wpmm__content {
	overflow-y: auto;
	padding: 8px 0 24px;
	flex: 1;
}

.wpmm__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wpmm__list a {
	display: block;
	color: inherit;
	text-decoration: none;
	padding: 12px 20px;
}

.wpmm__list li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wpmm__list .sub-menu {
	display: none;
	padding-left: 12px;
}

.wpmm__list .wpmm-sub-open > .sub-menu {
	display: block;
}

.wpmm__list .menu-item-has-children > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.wpmm__chevron {
	display: inline-block;
	margin-left: 8px;
	width: 10px;
	height: 10px;
	border-right: 2px solid var(--wpmm-text);
	border-bottom: 2px solid var(--wpmm-text);
	transform: rotate(45deg);
	transition: transform var(--wpmm-speed) ease;
}

.wpmm__list .wpmm-sub-open > a .wpmm__chevron {
	transform: rotate(-135deg);
}

.wpmm__notice {
	padding: 12px 20px;
	font-size: 14px;
	opacity: 0.8;
}

body.wpmm-lock {
	overflow: hidden;
}
