.bhdg-sidebar-enabled {
	--bhdg-sidebar-rail-width: 52px;
	box-sizing: border-box;
	padding-right: 0;
}

.bhdg-sidebar {
	--bhdg-sidebar-rail-bg: rgba(229, 229, 229, 0.85);
	--bhdg-sidebar-accent: #ed174c;
	--bhdg-sidebar-backdrop-bg: rgba(0, 0, 0, 0.3);
	--bhdg-sidebar-menu-rail-bg: #c41f4c;
	--bhdg-sidebar-menu-icon: #ffffff;
	--bhdg-sidebar-menu-bg: rgba(24, 12, 16, 1);
	--bhdg-sidebar-menu-blur: none;
	--bhdg-sidebar-menu-max-width: 640px;
	position: fixed;
	inset: 0 0 0 auto;
	z-index: 99999;
	width: var(--bhdg-sidebar-rail-width);
	font-family: inherit;
	background: var(--bhdg-sidebar-rail-bg) !important;
	transition: background-color 300ms ease;
}

.bhdg-sidebar.is-menu-open {
	--bhdg-sidebar-rail-bg: var(--bhdg-sidebar-menu-rail-bg);
	--bhdg-sidebar-accent: var(--bhdg-sidebar-menu-icon);
}

.bhdg-sidebar button.bhdg-sidebar__toggle {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 3;
	display: grid;
	width: var(--bhdg-sidebar-rail-width);
	height: 100%;
	grid-template-rows: 48px;
	align-content: start;
	place-items: center;
	padding: 0;
	border: 0;
	background: transparent !important;
	color: var(--bhdg-sidebar-accent);
	cursor: pointer;
	box-sizing: border-box;
	font-family: inherit;
	font-size: 16px;
	line-height: normal;
	border-radius: 0;
	box-shadow: none;
	appearance: none;
	transition: background-color 300ms ease, color 300ms ease;
}

.bhdg-sidebar button.bhdg-sidebar__toggle:hover,
.bhdg-sidebar button.bhdg-sidebar__toggle:focus-visible {
	background: transparent !important;
}

.bhdg-sidebar button.bhdg-sidebar__toggle:focus-visible {
	outline: 2px solid var(--bhdg-sidebar-accent);
	outline-offset: -3px;
}

.bhdg-sidebar__icon {
	position: relative;
	display: block;
	width: 27px;
	height: 27px;
}

.bhdg-sidebar__icon::before,
.bhdg-sidebar__icon::after {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 27px;
	height: 4px;
	background: currentColor;
	content: "";
	transform: translate(-50%, -50%);
	transition: transform 180ms ease;
}

.bhdg-sidebar__icon::after,
.bhdg-sidebar__close span::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.bhdg-sidebar__backdrop {
	position: fixed;
	inset: 0;
	z-index: 1;
	background: var(--bhdg-sidebar-backdrop-bg);
	opacity: 0;
	visibility: hidden;
	transition: opacity 300ms ease, visibility 300ms ease;
}

.bhdg-sidebar.is-open .bhdg-sidebar__backdrop {
	opacity: 1;
	visibility: visible;
}

.bhdg-sidebar__panel {
	position: fixed;
	top: 0;
	right: var(--bhdg-sidebar-rail-width);
	bottom: 0;
	z-index: 2;
	width: min(var(--bhdg-sidebar-menu-max-width), calc(100vw - var(--bhdg-sidebar-rail-width)));
	box-sizing: border-box;
	overflow: auto;
	background: var(--bhdg-sidebar-menu-bg);
	-webkit-backdrop-filter: var(--bhdg-sidebar-menu-blur);
	backdrop-filter: var(--bhdg-sidebar-menu-blur);
	box-shadow: none !important;
	transform: translateX(100%);
	visibility: hidden;
	transition: transform 300ms cubic-bezier(.2, .75, .25, 1), visibility 0s linear 300ms;
}

.bhdg-sidebar__panel--menu .e-con {
	border: 0 !important;
}

.bhdg-sidebar__content {
	min-height: 100%;
	box-sizing: border-box;
	padding: 64px 32px 32px;
}

.bhdg-sidebar .bhdg-sidebar__panel.is-active {
	transform: translateX(0);
	visibility: visible;
	transition-delay: 0s;
}

.bhdg-sidebar.is-open .bhdg-sidebar__icon::after {
	transform: translate(-50%, -50%) rotate(0);
}

.bhdg-sidebar.is-menu-open .bhdg-sidebar__icon::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.bhdg-sidebar.is-menu-open .bhdg-sidebar__icon::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
	.bhdg-sidebar *,
	.bhdg-sidebar *::before,
	.bhdg-sidebar *::after {
		transition-duration: 0.01ms !important;
	}
}

@media (max-width: 767px) {
	body.bhdg-sidebar-enabled {
		padding-right: 0 !important;
	}

	.bhdg-sidebar {
		width: 64px;
		height: 64px;
		inset: 0 0 auto auto;
		pointer-events: none;
		background: transparent !important;
	}

	.bhdg-sidebar button.bhdg-sidebar__toggle {
		width: 64px !important;
		height: 64px !important;
		grid-template-rows: 64px;
		background: transparent !important;
		pointer-events: auto;
	}

	.bhdg-sidebar button.bhdg-sidebar__toggle:hover,
	.bhdg-sidebar button.bhdg-sidebar__toggle:focus-visible {
		background: transparent !important;
	}

	.bhdg-sidebar__panel {
		right: 0;
		width: 100%;
	}

	.bhdg-sidebar__panel,
	.bhdg-sidebar__backdrop {
		pointer-events: auto;
	}

	.bhdg-sidebar__content {
		padding: 80px 24px 24px;
	}
}