/* Visibility and the responsive threshold are emitted late by bbmh-critical. */
#bbmh-shell {
	--bbmh-header-color: #000;
	--bbmh-nav-color: #000;
	--bbmh-shop-color: #e30613;
	--bbmh-accent-color: #ff5964;
	--bbmh-admin-offset: 0px;
	font-family: "Zalando Sans Expanded", "Zalando Sans", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: #fff;
	text-align: left;
	position: static !important;
	transform: none !important;
}

#bbmh-shell *, #bbmh-shell *::before, #bbmh-shell *::after,
#bbmh-bottom-space {
	box-sizing: border-box;
}

body.admin-bar #bbmh-shell { --bbmh-admin-offset: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar #bbmh-shell { --bbmh-admin-offset: 46px; }
}

#bbmh-shell a {
	color: #fff;
	text-decoration: none;
	box-shadow: none;
	border: 0;
	background-image: none;
}

#bbmh-shell a:focus-visible, #bbmh-shell nav:focus-visible {
	outline: 2px solid #fff;
	outline-offset: -5px;
}

#bbmh-shell #bbmh-top {
	position: fixed !important;
	top: var(--bbmh-admin-offset) !important;
	right: 0 !important;
	left: 0 !important;
	width: 100% !important;
	min-height: calc(84px + env(safe-area-inset-top, 0px));
	padding: env(safe-area-inset-top, 0px) max(12px, env(safe-area-inset-right, 0px)) 0 max(12px, env(safe-area-inset-left, 0px));
	display: flex !important;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
	background: var(--bbmh-header-color) !important;
	color: #fff;
	z-index: 99990;
	border: 0;
	transform: none !important;
}

#bbmh-shell .bbmh-brand {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 60px;
	max-width: min(220px, 70vw);
	padding: 8px 0;
	line-height: 1.1;
}

#bbmh-shell .bbmh-has-tools .bbmh-brand {
	max-width: min(154px, calc(100% - 176px));
}

#bbmh-shell .bbmh-logo {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 60px;
	margin: 0;
	object-fit: contain;
}

#bbmh-shell .bbmh-brand-name {
	font-size: 16px;
	font-weight: 700;
	text-align: center;
	overflow-wrap: anywhere;
}

#bbmh-shell .bbmh-tools {
	position: absolute;
	right: max(8px, env(safe-area-inset-right, 0px));
	bottom: 0;
	height: 84px;
	display: flex;
	align-items: center;
}

#bbmh-shell .bbmh-tool {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	min-height: 44px;
	padding: 0;
	background: transparent;
}

#bbmh-shell svg { display: block; flex-shrink: 0; }

#bbmh-top-space {
	height: var(--bbmh-top-height, calc(84px + env(safe-area-inset-top, 0px)));
	pointer-events: none;
}

#bbmh-shell #bbmh-dock {
	position: fixed !important;
	bottom: 0 !important;
	left: 0 !important;
	right: 0 !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0;
	display: block;
	background: var(--bbmh-nav-color);
	color: #fff;
	z-index: 99990;
	transform: none !important;
}

#bbmh-shell #bbmh-shop {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100% !important;
	min-height: 48px;
	margin: 0 !important;
	padding: 12px max(18px, env(safe-area-inset-right, 0px)) 12px max(18px, env(safe-area-inset-left, 0px));
	border: 0 !important;
	border-radius: 0 !important;
	background: var(--bbmh-shop-color) !important;
	color: #fff !important;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
	white-space: normal;
	word-break: normal;
	overflow-wrap: break-word;
}

#bbmh-shell #bbmh-shop span { min-width: 0; }

#bbmh-shell #bbmh-nav {
	display: block;
	width: 100%;
	padding: 0 max(18px, env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) max(18px, env(safe-area-inset-left, 0px));
	margin: 0;
	background: var(--bbmh-nav-color) !important;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

#bbmh-shell #bbmh-nav::-webkit-scrollbar { display: none; width: 0; height: 0; }

#bbmh-shell .bbmh-menu {
	display: flex !important;
	align-items: stretch;
	gap: 22px;
	width: max-content;
	min-width: 100%;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

#bbmh-shell .bbmh-menu li {
	display: flex;
	flex: 0 0 auto;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

#bbmh-shell .bbmh-link {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 58px;
	padding: 8px 0;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0;
	text-transform: uppercase;
	white-space: nowrap;
	background: transparent;
}

#bbmh-shell .bbmh-link:hover,
#bbmh-shell .bbmh-link[aria-current="page"] { color: var(--bbmh-accent-color); }
#bbmh-shell .bbmh-link[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }

#bbmh-bottom-space {
	height: var(--bbmh-dock-height, calc(106px + env(safe-area-inset-bottom, 0px)));
	clear: both;
	pointer-events: none;
}

#bbmh-shell[data-keyboard-open] #bbmh-dock { display: none; }

@media print {
	#bbmh-shell, #bbmh-bottom-space { display: none !important; }
}
