.whb-header-bottom .bn-all-cats-toggle {
	flex: 0 0 auto;
	align-self: stretch;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: auto;
	min-height: 100%;
	margin: 0;
	padding: 0 16px 0 6px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.01em;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: none;
}

.bn-all-cats-toggle svg {
	display: block;
	width: 18px;
	height: 18px;
}

.whb-header-bottom .bn-all-cats-toggle:hover,
.whb-header-bottom .bn-all-cats-toggle.is-active {
	background: transparent;
	color: #fff;
	box-shadow: inset 0 -3px 0 #fff;
}

.bn-all-cats {
	position: fixed;
	inset: 0;
	z-index: 100000;
	visibility: hidden;
	pointer-events: none;
}

.bn-all-cats.is-open {
	visibility: visible;
	pointer-events: auto;
}

.bn-all-cats__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.bn-all-cats.is-open .bn-all-cats__overlay {
	opacity: 1;
}

.bn-all-cats__drawer {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	width: min(380px, 88vw);
	background: #fff;
	box-shadow: 4px 0 16px rgba(0, 0, 0, 0.18);
	transform: translateX(-100%);
	transition: transform 0.28s ease;
}

.bn-all-cats.is-open .bn-all-cats__drawer {
	transform: none;
}

body.admin-bar .bn-all-cats__drawer {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .bn-all-cats__drawer {
		top: 46px;
	}
}

.bn-all-cats__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 56px;
	padding: 0 8px 0 18px;
	background: #232f3e;
	color: #fff;
}

.bn-all-cats__hello {
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.bn-all-cats__hello:hover {
	color: #fff;
	text-decoration: underline;
}

.bn-all-cats__drawer .bn-all-cats__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent !important;
	color: #fff !important;
	box-shadow: none;
	cursor: pointer;
}

.bn-all-cats__close svg {
	width: 18px;
	height: 18px;
}

.bn-all-cats__viewport {
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
}

.bn-all-cats__track {
	display: flex;
	height: 100%;
	transition: transform 0.28s ease;
	transform: translateX(calc(var(--bn-panel, 0) * -100%));
}

.bn-all-cats__panel {
	flex: 0 0 100%;
	height: 100%;
	overflow-y: auto;
	background: #fff;
}

.bn-all-cats__heading,
.bn-all-cats__title {
	margin: 0;
	padding: 16px 20px 8px;
	color: #111;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

.bn-all-cats__back {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	margin: 0;
	padding: 14px 20px;
	border: 0;
	border-bottom: 1px solid #e7e7e7;
	background: #fff;
	color: #111;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-align: left;
	cursor: pointer;
}

.bn-all-cats__back svg {
	width: 16px;
	height: 16px;
}

.bn-all-cats__drawer button.bn-all-cats__back {
	font-weight: 700;
	letter-spacing: 0.04em;
	border-bottom: 1px solid #e7e7e7;
}

.bn-all-cats__drawer .bn-all-cats__back:hover,
.bn-all-cats__drawer .bn-all-cats__item:hover,
.bn-all-cats__drawer .bn-all-cats__see-all:hover {
	background: #eaeded !important;
	color: #111;
}

.bn-all-cats__drawer a.bn-all-cats__see-all,
.bn-all-cats__drawer a.bn-all-cats__item,
.bn-all-cats__drawer button.bn-all-cats__item,
.bn-all-cats__drawer button.bn-all-cats__back {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 12px;
	width: 100% !important;
	min-height: 0;
	margin: 0;
	padding: 13px 18px 13px 20px !important;
	border: 0;
	border-radius: 0;
	background: #fff;
	color: #111;
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.35;
	letter-spacing: 0;
	text-align: left !important;
	text-decoration: none;
	text-transform: none;
	cursor: pointer;
	box-shadow: none;
}

.bn-all-cats__drawer button.bn-all-cats__item {
	justify-content: space-between !important;
}

.bn-all-cats__drawer .bn-all-cats__item > span:not(.bn-all-cats__thumb),
.bn-all-cats__drawer .bn-all-cats__back span {
	flex: 1 1 auto;
	min-width: 0;
	text-align: left;
}

.bn-all-cats__see-all {
	font-weight: 700;
	font-size: 16px;
}

.bn-all-cats__item svg {
	flex: 0 0 auto;
	width: 14px;
	height: 14px;
	color: #555;
}

.bn-all-cats__thumb {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	object-fit: cover;
	background: #f3f4f6;
}

.bn-all-cats__thumb--empty {
	display: block;
}

.bn-all-cats__promos {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 8px;
	padding: 16px 16px 20px;
	border-top: 1px solid #eee;
}

.bn-all-cats__promo {
	display: block;
	overflow: hidden;
	border-radius: 10px;
	background: #f3f4f6;
}

.bn-all-cats__promo img {
	display: block;
	width: 100%;
	height: auto;
}

body.bn-all-cats-open {
	overflow: hidden;
}
