.bonencia-burger {
	display: inline-flex;
	font-family: "Inter", Arial, sans-serif;
}

.bonencia-burger__toggle {
	width: 42px;
	height: 42px;
	padding: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	color: #000;
	background: transparent !important;
	border: 0;
	border-radius: 0;
	cursor: pointer;
}

.bonencia-burger__toggle span {
	display: block;
	width: 22px;
	height: 1.5px;
	margin-inline: auto;
	background: currentColor;
}

.bonencia-burger__toggle:hover,
.bonencia-burger__toggle:focus,
.bonencia-burger__toggle:focus-visible,
.bonencia-burger__toggle:active {
	color: #000;
	background: transparent !important;
	outline: none;
	box-shadow: none;
}

.bonencia-burger__overlay {
	position: fixed;
	inset: 0;
	z-index: 999998;
	background: rgba(0, 0, 0, .55);
	opacity: 0;
	transition: opacity .3s ease;
}

.bonencia-burger__panel {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 999999;
	width: min(420px, 90vw);
	height: 100dvh;
	padding: 28px;
	color: #000;
	background: #fff;
	box-shadow: -10px 0 35px rgba(0, 0, 0, .15);
	overflow-y: auto;
	transform: translateX(105%);
	visibility: hidden;
	transition: transform .35s ease, visibility .35s;
}

.bonencia-burger.is-open .bonencia-burger__overlay { opacity: 1; }
.bonencia-burger.is-open .bonencia-burger__panel { transform: translateX(0); visibility: visible; }
body.bonencia-menu-open { overflow: hidden; }

.bonencia-burger__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 22px;
	border-bottom: 1px solid #000;
}

.bonencia-burger__title {
	font-size: 22px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
}

.bonencia-burger__close {
	width: 40px;
	height: 40px;
	padding: 0;
	color: #000;
	background: transparent;
	border: 0;
	font: 300 38px/1 Arial, sans-serif;
	cursor: pointer;
}

.bonencia-burger__search {
	display: flex;
	margin: 30px 0;
	border-bottom: 1px solid #000;
}

.bonencia-burger__search input {
	min-width: 0;
	width: 100%;
	padding: 13px 4px;
	color: #000;
	background: transparent;
	border: 0;
	border-radius: 0;
	outline: 0;
	font: 400 16px/1.4 "Inter", Arial, sans-serif;
}

.bonencia-burger__search button {
	width: 46px;
	padding: 10px;
	color: #000;
	background: transparent !important;
	border: 0;
	cursor: pointer;
}

.bonencia-burger__search button:hover,
.bonencia-burger__search button:focus,
.bonencia-burger__search button:focus-visible,
.bonencia-burger__search button:active {
	color: #000 !important;
	background: transparent !important;
	border-color: transparent !important;
	outline: none;
	box-shadow: none !important;
}

.bonencia-burger__search svg {
	width: 21px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
}

.bonencia-burger__menu,
.bonencia-burger__menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bonencia-burger__menu > li { border-bottom: 1px solid #ddd; }
.bonencia-burger__menu a {
	display: block;
	padding: 16px 2px;
	color: #000;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.bonencia-burger__menu a:hover,
.bonencia-burger__menu .current-menu-item > a { opacity: .55; }
.bonencia-burger__menu .sub-menu { padding: 0 0 10px 18px; }
.bonencia-burger__menu .sub-menu a { padding: 9px 2px; font-size: 14px; text-transform: none; }

@media (max-width: 480px) {
	.bonencia-burger__panel { width: 100%; padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
	.bonencia-burger__panel, .bonencia-burger__overlay { transition: none; }
}
