header {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
	width: 100%;
	margin-top: 0!important;
}

header,
#mobmenu {
	font-family: var(--nav-font-display);
}

#header-top {
	display: none;
	height: calc(var(--nav-top-height) + var(--nav-top-curve));
	background-color: var(--nav-top-bg);
	background-image: var(--nav-top-bg-image);
	background-repeat: no-repeat;
	background-position: top;
	background-size: cover;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

#header-top .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: var(--nav-top-container-max);
	height: var(--nav-top-height);
	margin: 0 auto;
	padding: 0;
}

#header-top a {
	color: var(--nav-top-link);
	font-size: var(--nav-font-size-small);
	text-decoration: none;
	transition: color 0.15s ease;
}

#header-top a:hover,
#header-top a.current,
#header-top a.active {
	color: var(--nav-top-link-active);
}

#header-top a.current,
#header-top a.active {
	font-weight: bold;
}

#header-top .tm-left,
#header-top .tm-right {
	display: flex;
	align-items: center;
	gap: var(--nav-top-gap);
}

#header-top .tm-left {
	gap: 32px;
}

#header-top .tm-nav,
#header-top .langs {
	display: flex;
	align-items: center;
	gap: var(--nav-top-nav-gap);
}

#header-top .langs a {
	color: var(--nav-top-lang);
}

#header-top .langs a:hover,
#header-top .langs a.current,
#header-top .langs a.active {
	color: var(--nav-top-link-active);
}

#header-top .tm-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 24px;
	background-color: var(--nav-top-logo-bg);
}

#header-top .langs .icon {
	display: none;
}

#header-top .langs.disabled {
	pointer-events: none;
}

#header-top .tm-right a.login {
	display: none;
	padding: var(--nav-login-padding);
	border: 2px solid var(--nav-top-login);
	border-radius: var(--nav-button-radius);
	background-color: var(--nav-top-login-bg);
	color: var(--nav-top-login);
	font-weight: var(--nav-button-weight);
	line-height: 1;
	transition:
		background-color 0.15s ease,
		color 0.15s ease,
		border-color 0.15s ease;
}

#header-top .tm-right a.login:hover,
#header-top .tm-right a.login:focus-visible,
#header-top .tm-right a.login.active {
	border-color: var(--nav-top-login-active-bg);
	background-color: var(--nav-top-login-active-bg);
	color: var(--nav-top-login-active-text);
}

#header-top .white-container {
	position: relative;
	bottom: 0;
	width: 100%;
	height: var(--nav-white-container-height);
	border-radius: var(--nav-top-curve) var(--nav-top-curve) 0 0;
	background-color: var(--nav-bottom-bg-solid);
}

#header-bottom {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	margin: 0;
	border-radius: var(--nav-bottom-radius-mobile);
	background-color: var(--nav-bottom-bg);
	transition: margin 0.3s ease;
}

#header-bottom.edit-mode {
	margin-top: 51px;
}

#header-bottom .container {
	position: relative;
	z-index: 2;
	flex: 1 1 100%;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	max-width: none;
	height: var(--nav-bar-height-mobile);
	padding: 0 var(--nav-bar-padding-mobile);
}

#header-bottom .logo a {
	display: block;
}

#header-bottom .logo img {
	display: block;
	width: var(--nav-logo-width-mobile);
	max-width: 100%;
}

#header-bottom .logo img.logo-extra {
	display: var(--nav-logo-extra-display-mobile);
	width: var(--nav-logo-extra-width);
}

#header-bottom nav {
	z-index: 1;
	display: none;
	flex-direction: column;
	justify-content: center;
}

#header-bottom nav ul {
	flex: 1 1 auto;
	display: flex;
	flex-direction: row;
	line-height: 1.2;
	text-align: center;
	gap: var(--nav-bar-gap-items);
}

#header-bottom nav a {
	position: relative;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	color: var(--nav-link);
	font-size: var(--nav-link-size);
	text-transform: uppercase;
	cursor: pointer;
	transition: color 0.15s ease;
}

#header-bottom nav a:hover,
#header-bottom nav li.current > a {
	color: var(--nav-link-active);
}

#header-bottom .search {
	position: relative;
	flex: 1 1 auto;
	display: none;
	margin: 0 10px 0 22px;
	text-align: right;
}

#header-bottom .search input {
	position: relative;
	z-index: 3;
	display: inline-block;
	width: 40px;
	height: 60px;
	padding: 12px 0;
	border: 0 none;
	outline: none;
	background-color: var(--nav-search-bg);
	font-size: 14px;
	line-height: 24px;
	opacity: 0;
	cursor: pointer;
	transition:
		width 0.5s ease,
		opacity 0.2s ease 0.25s;
}

#header-bottom .search input::placeholder {
	color: transparent;
}

#header-bottom .search > i {
	position: absolute;
	top: 10px;
	left: 100%;
	z-index: 2;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 40px;
	height: 40px;
	color: var(--nav-icon);
	font-size: 24px;
	text-align: center;
	cursor: pointer;
	transform: translateX(-100%);
	transition:
		left 0.5s ease,
		transform 0.3s linear;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}

#header-bottom .search > i:hover {
	color: var(--nav-icon-hover);
}

#header-bottom.search-active .search input,
#header-bottom .search input:focus,
#header-bottom .search input:valid {
	z-index: 2;
	width: 100%;
	padding: 14px 32px;
	background-color: var(--nav-search-bg);
	opacity: 1;
	cursor: text;
	transition:
		background-color 0.3s linear,
		width 0.5s ease;
}

#header-bottom.search-active .search input::placeholder,
#header-bottom .search input:focus::placeholder,
#header-bottom .search input:valid::placeholder {
	color: var(--nav-search-placeholder);
}

#header-bottom.search-active .search input ~ i,
#header-bottom .search input:focus ~ i,
#header-bottom .search input:valid ~ i {
	left: 0;
	z-index: 3;
	cursor: default;
	transform: translateX(-25%);
}

#header-bottom .search .clear {
	position: absolute;
	top: 18px;
	right: 0;
	z-index: 1;
	opacity: 0;
	transition: opacity 0.3s linear;
}

#header-bottom.search-active .search input ~ .clear,
#header-bottom .search input:focus ~ .clear,
#header-bottom .search input:valid ~ .clear {
	z-index: 3;
	opacity: 1;
	cursor: pointer;
}

#header-bottom .search .clear i {
	display: block;
	margin-right: 10px;
	padding: 4px;
	background-color: var(--nav-search-bg);
	color: var(--nav-icon);
	font-size: 16px;
}

#header-bottom .tlmenu {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 16px;
}

#header-bottom .tlmenu a {
	display: none;
	align-self: center;
	margin: 0 8px;
	outline: none;
	text-decoration: none;
	white-space: nowrap;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}

#header-bottom .tlmenu a.login {
	display: flex;
	margin: 0;
	padding: var(--nav-login-padding);
	border: 2px solid var(--nav-login);
	border-radius: var(--nav-button-radius);
	background-color: transparent;
	color: var(--nav-login);
	font-size: var(--nav-font-size-small);
	font-weight: var(--nav-button-weight);
	line-height: 1;
	text-transform: uppercase;
	transition:
		background-color 0.15s ease,
		color 0.15s ease,
		border-color 0.15s ease;
}

#header-bottom .tlmenu a.login:focus-visible,
#header-bottom .tlmenu a.login.active {
	border-color: var(--nav-login-active-bg);
	background-color: var(--nav-login-active-bg);
}

#header-bottom .tlmenu .mobmenu {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 48px;
	height: 48px;
	border-radius: 48px;
	cursor: pointer;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}

#header-bottom .tlmenu .mobmenu.active {
	background-color: var(--nav-toggle-active-bg);
}

#header-bottom .tlmenu .mobmenu::before,
#header-bottom .tlmenu .mobmenu::after {
	content: "";
	background-color: var(--nav-toggle-icon);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
	transition: all 0.15s ease;
}

#header-bottom .tlmenu .mobmenu::before {
	width: 24px;
	height: 16px;
	-webkit-mask-image: var(--nav-icon-menu);
	mask-image: var(--nav-icon-menu);
}

#header-bottom .tlmenu .mobmenu::after {
	position: absolute;
	z-index: -1;
	width: 18px;
	height: 18px;
	-webkit-mask-image: var(--nav-icon-close);
	mask-image: var(--nav-icon-close);
	opacity: 0;
	transform: scale(0);
}

#header-bottom .tlmenu .mobmenu.active::before {
	opacity: 0;
	transform: scale(0);
}

#header-bottom .tlmenu .mobmenu.active::after {
	opacity: 1;
	transform: scale(1);
}

.cmenu {
	position: absolute;
	top: 71px;
	right: 0;
	z-index: 90;
	display: none;
}

#header-bottom .cmenu {
	z-index: -1;
	display: block;
	opacity: 0;
	pointer-events: none;
	transition:
		transform 0.15s ease,
		opacity 0.15s linear;
}

#header-bottom .cmenu.show {
	z-index: 2;
	opacity: 1;
	pointer-events: auto;
}

#menu-login {
	position: fixed;
	top: var(--nav-panel-top);
	right: 16px;
	max-width: var(--nav-panel-max-width);
	overflow-y: auto;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

#menu-login::-webkit-scrollbar {
	display: none;
}

#menu-login #channel-container {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: var(--nav-panel-frame-padding);
	overflow: hidden;
	border: var(--nav-panel-border-width) solid var(--nav-panel-border);
	border-radius: var(--nav-panel-radius);
	background-color: var(--nav-panel-frame-bg);
	color: var(--nav-panel-text);
}

#menu-login #channel-container:has(> .nav-panel-card + .nav-panel-card) {
	padding: var(--nav-panel-frame-padding-multi);
	background-color: var(--nav-panel-frame-bg-multi);
}

#menu-login .nav-panel-card {
	display: flex;
	flex-direction: column;
	gap: var(--nav-panel-item-gap);
	padding: var(--nav-panel-padding);
	border-radius: calc(var(--nav-panel-radius) - var(--nav-panel-frame-padding-multi));
	background-color: var(--nav-panel-bg);
}

#menu-login #channel-container > .nav-panel-card:only-child {
	border-radius: 0;
}

#menu-login .nav-panel-item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}

#menu-login .nav-panel-title {
	margin: 0;
	color: var(--nav-panel-text);
	font-family: var(--nav-font-display);
	font-size: var(--nav-panel-title-size);
	font-weight: var(--nav-button-weight);
	line-height: 1.2;
}

#menu-login .nav-panel-text {
	display: flex;
	flex-direction: column;
	gap: var(--nav-panel-text-gap);
}

#menu-login .nav-panel-subtitle {
	margin: 0;
	color: var(--nav-panel-text);
	font-family: var(--nav-font-display);
	font-size: var(--nav-panel-text-size);
	font-weight: var(--nav-panel-text-weight);
	line-height: 1.2;
}

#menu-login .nav-panel-actions {
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	gap: 8px;
	margin-top: 8px;
}

#menu-login .nav-panel-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: var(--nav-panel-button-height);
	padding: var(--nav-panel-button-padding);
	border: 2px solid var(--nav-panel-button-bg);
	border-radius: var(--nav-button-radius);
	background-color: var(--nav-panel-button-bg);
	color: var(--nav-panel-button-text);
	font-family: var(--nav-font-display);
	font-size: var(--nav-panel-button-size);
	font-weight: var(--nav-button-weight);
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	transition: opacity 0.15s ease;
}

#menu-login .nav-panel-btn:hover {
	opacity: 0.85;
}

#menu-login .nav-panel-btn.secondary {
	background-color: transparent;
	color: var(--nav-panel-button-bg);
}

#menu-login .nav-panel-stores {
	display: flex;
	gap: 16px;
}

#menu-login .nav-panel-stores img {
	display: block;
	height: 49px;
	width: auto;
}

#menu-login .text-button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-family: var(--nav-font-display);
	font-size: 16px;
	font-weight: var(--nav-button-weight);
}

#menu-login .divider {
	flex-grow: 0;
	width: 100%;
	height: 2px;
	background-color: var(--nav-panel-divider);
}

#menu-login .description {
	margin-top: 24px;
	color: var(--nav-panel-text);
	font-family: var(--nav-font-display);
}

#menu-login .channel-links {
	display: flex;
	gap: 7px;
	padding: 0;
}

#menu-login .img-button img {
	height: 48px;
}

#mobmenu {
	position: fixed;
	top: 0;
	right: var(--nav-mobile-inset);
	z-index: -1;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: var(--nav-mobile-max-width);
	height: calc(100dvh - var(--nav-mobile-top));
	margin-top: var(--nav-mobile-top);
	overflow: hidden;
	visibility: hidden;
	border-radius: var(--nav-mobile-radius);
	transform: translateX(110%);
	transition:
		transform 0.15s ease-out,
		z-index 0s linear 0.15s,
		visibility 0s linear 0.15s;
}

#mobmenu.show {
	z-index: 98;
	height: auto;
	max-height: calc(100dvh - var(--nav-mobile-top));
	visibility: visible;
	background-color: var(--nav-mobile-bg);
	background-image: var(--nav-mobile-bg-image);
	background-repeat: no-repeat;
	background-position: top;
	background-size: cover;
	transform: translateX(0);
	transition: transform 0.15s ease-out;
}

header:has(#header-bottom.edit-mode) ~ #mobmenu {
	top: 51px;
}

header:has(#header-bottom.edit-mode) ~ #mobmenu.show,
header:has(#header-bottom.edit-mode) ~ #mobmenu > .container {
	max-height: calc(100dvh - var(--nav-mobile-top) - 51px);
}

#mobmenu > .container {
	flex: 1 1 auto;
	min-height: 0;
	max-height: calc(100dvh - var(--nav-mobile-top));
	max-width: none;
	padding: var(--nav-mobile-padding);
	overflow-y: auto;
	overscroll-behavior: contain;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

#mobmenu .container::-webkit-scrollbar {
	display: none;
}

#mobmenu .search {
	position: relative;
	display: var(--nav-mobile-search-display);
	align-items: center;
	height: 56px;
	margin: 32px 32px 24px;
	border: 1px solid var(--nav-mobile-search-border);
	border-radius: 4px;
	background-color: var(--nav-search-bg);
	transition:
		all 0.15s ease,
		border-width 0.01s linear;
}

#mobmenu .search input {
	flex: 1 1 auto;
	padding: 0 16px 0 10px;
	border: 0 none;
	outline: none;
	font-size: 16px;
	line-height: 2;
}

#mobmenu .search i:first-child {
	margin-left: 12px;
}

#mobmenu .search .clear {
	position: absolute;
	top: 10px;
	right: 16px;
	display: none;
	padding: 11px;
	background-color: var(--nav-search-bg);
	cursor: pointer;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}

#mobmenu.search-active {
	z-index: 101;
}

#mobmenu.search-active .search {
	height: 60px;
	margin: 0;
	padding: 18px 24px;
	border-width: 0;
	border-radius: 0;
	box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.08);
}

#mobmenu.search-active .search i:first-child {
	margin-left: 0;
}

#mobmenu.search-active .search .clear {
	display: block;
}

#mobmenu.search-active .container > *:not(.search):not(.search-suggestions) {
	display: none;
}

#mobmenu .header {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 32px;
	padding: var(--nav-mobile-header-padding);
}

#mobmenu .mob-nav {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: var(--nav-mobile-section-gap);
	width: 100%;
}

#mobmenu .mob-nav a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: var(--nav-mobile-link);
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}

#mobmenu .nav-mobile-section {
	width: 100%;
}

#mobmenu .nav-mobile-section > a,
#mobmenu .mob-nav > .nav-mobile-section > a.custom-link {
	display: inline-flex;
	font-family: var(--nav-font-display);
	font-size: var(--nav-mobile-section-size);
	line-height: var(--nav-mobile-section-line);
	font-weight: var(--nav-link-weight);
	text-transform: uppercase;
}

#mobmenu .nav-mobile-section > a.current {
	text-decoration: underline;
	text-underline-offset: var(--nav-mobile-underline-offset);
	text-decoration-thickness: var(--nav-mobile-underline);
}

#mobmenu .nav-mobile-entries {
	gap: var(--nav-mobile-entry-gap);
	margin: var(--nav-mobile-entries-top) 0 0;
	padding-left: var(--nav-mobile-entry-indent);
}

#mobmenu .nav-mobile-section.active > .nav-mobile-entries:has(li) {
	margin-bottom: var(--nav-mobile-entries-bottom);
}

#mobmenu .nav-mobile-entries a {
	color: var(--nav-mobile-entry);
	font-family: var(--nav-font-display);
	font-size: var(--nav-mobile-entry-size);
	font-weight: var(--nav-mobile-entry-weight);
	line-height: var(--nav-mobile-entry-line);
	text-transform: uppercase;
}

#mobmenu .nav-mobile-entries li.current > a,
#mobmenu .nav-mobile-entries a:hover {
	color: var(--nav-mobile-link);
	font-weight: var(--nav-link-weight);
}

#mobmenu .nav-mobile-entries li.has-children > a {
	flex: 1 1 auto;
}

#mobmenu .nav-toggle {
	color: var(--nav-mobile-link);
}

#mobmenu .nav-toggle i {
	font-size: 10px;
}

#mobmenu .nav-mobile-children {
	padding-left: 16px;
}

#mobmenu .nav-mobile-children a {
	color: var(--nav-mobile-child);
	font-size: 14px;
	font-weight: normal;
	text-transform: none;
}

#mobmenu .nav-mobile-children a:hover,
#mobmenu .nav-mobile-children li.current > a {
	color: var(--nav-mobile-link);
}

#mobmenu .langs {
	display: flex;
	align-items: center;
	gap: var(--nav-mobile-lang-gap);
	padding: var(--nav-mobile-lang-track-padding);
	border-radius: 999px;
	background-color: var(--nav-mobile-lang-track);
}

#mobmenu .nav-mobile-langs {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: var(--nav-mobile-langs-top);
}

#mobmenu .nav-mobile-langs::before {
	content: "";
	flex: 0 0 auto;
	width: var(--nav-mobile-lang-icon-size);
	height: var(--nav-mobile-lang-icon-size);
	background-color: var(--nav-mobile-lang-icon-color);
	-webkit-mask: var(--nav-mobile-lang-icon) center / 66% no-repeat;
	mask: var(--nav-mobile-lang-icon) center / 66% no-repeat;
}

#mobmenu .langs a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--nav-mobile-lang-size);
	height: var(--nav-mobile-lang-size);
	border-radius: 999px;
	background-color: var(--nav-mobile-lang-bg);
	color: var(--nav-mobile-link);
	font-size: var(--nav-mobile-lang-font-size);
	font-weight: var(--nav-link-weight);
	text-decoration: none;
	opacity: var(--nav-mobile-lang-opacity);
	transition:
		background-color 0.15s ease,
		color 0.15s ease,
		opacity 0.15s ease;
}

#mobmenu .langs a.current,
#mobmenu .langs a.active,
#mobmenu .langs a:hover {
	background-color: var(--nav-mobile-lang-active-bg);
	color: var(--nav-mobile-lang-active-text);
	opacity: 1;
}

#mobmenu .langs.disabled {
	pointer-events: none;
}

#mobmenu .footer {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: var(--nav-mobile-footer-gap) 0 0;
	padding: var(--nav-mobile-footer-padding);
	border-radius: var(--nav-mobile-radius);
	background-color: var(--nav-mobile-footer-bg);
	color: var(--nav-mobile-footer-text);
}

#mobmenu .footer a {
	color: var(--nav-mobile-footer-text);
	text-decoration: none;
}

#mobmenu .footer .link {
	display: flex;
	align-items: center;
	gap: 18px;
}

#mobmenu .footer .notes {
	font-family: var(--nav-font);
	font-size: var(--nav-font-size-small);
	font-weight: 300;
	line-height: 1.3;
}

@media (hover: hover) and (pointer: fine) {
	#header-bottom .tlmenu a.login:hover {
		border-color: var(--nav-login-active-bg);
		background-color: var(--nav-login-active-bg);
	}
}

@media screen and (max-width: 767px) {
	#mobmenu,
	#mobmenu.show {
		left: 0;
		right: 0;
		width: 100%;
		max-width: none;
	}

	#mobmenu.show {
		height: calc(100lvh - var(--nav-mobile-top));
		max-height: none;
		border-radius: 0;
		background-color: var(--nav-mobile-backdrop);
		background-image: none;
	}

	#mobmenu.show .container {
		box-sizing: border-box;
		display: flex;
		flex-direction: column;
		height: 100%;
		max-height: none;
		padding-bottom: calc(8px + 100lvh - 100dvh);
		border-radius: var(--nav-mobile-radius);
		background-color: var(--nav-mobile-bg);
		background-image: var(--nav-mobile-bg-image);
		background-repeat: no-repeat;
		background-position: top;
		background-size: cover;
	}

	header:has(#header-bottom.edit-mode) ~ #mobmenu.show {
		height: calc(100lvh - var(--nav-mobile-top) - 51px);
		max-height: none;
	}

	header:has(#header-bottom.edit-mode) ~ #mobmenu.show .container {
		max-height: none;
	}

	#mobmenu.show .container > .header {
		margin-bottom: var(--nav-mobile-footer-gap);
	}

	#mobmenu.show .container > .footer {
		margin-top: auto;
	}

	#menu-login,
	#menu-login.show {
		left: var(--nav-panel-inset-mobile);
		right: var(--nav-panel-inset-mobile);
		width: auto;
		max-width: none;
	}

	#menu-login #channel-container {
		border-width: var(--nav-panel-border-width-mobile);
	}

	#header-bottom.edit-mode #menu-login {
		top: calc(var(--nav-panel-top) + 51px);
	}

	#mobmenu.show ~ main,
	header:has(#menu-login.show) ~ main {
		opacity: 0;
	}

	header:has(#menu-login.show)::before {
		content: "";
		position: fixed;
		top: 0;
		right: 0;
		bottom: -100vh;
		left: 0;
		z-index: -1;
		background-color: var(--nav-mobile-backdrop);
		pointer-events: none;
	}

	body:has(#mobmenu.show) .sticky-cta,
	body:has(#menu-login.show) .sticky-cta {
		display: none;
	}
}

@media screen and (min-width: 768px) {
	#header-bottom {
		max-width: var(--nav-bar-max);
	}

	#header-bottom .container {
		padding: 0 var(--nav-bar-padding);
	}

	#header-bottom .logo {
		flex: 0 0 auto;
		display: flex;
		align-items: baseline;
		gap: var(--nav-logo-gap);
	}

	#header-bottom .logo img.logo-extra {
		display: block;
	}

	#mobmenu {
		left: auto;
		width: 50%;
	}

	#mobmenu.show {
		right: 32px;
	}

	#menu-login {
		right: 80px;
	}
}

@media screen and (min-width: 1200px) {
	#header-top {
		display: block;
	}

	#header-top .container {
		padding: 0 32px;
	}

	#header-top .tm-right a.login {
		display: block;
	}

	#header-bottom {
		--nav-float-top: var(--nav-float-top-desktop);
		--nav-float-sticky: var(--nav-float-sticky-desktop);
		margin: var(--nav-float-top-desktop) 40px 0;
		border-radius: var(--nav-bottom-radius-desktop);
		transition: none;
	}
	
	#header-bottom .container {
		justify-content: unset;
		gap: var(--nav-bottom-gap);
	}

	#header-bottom.sticky {
		margin: var(--nav-float-sticky-desktop) auto;
		transition: margin-top 0.3s ease;
	}

	#header-bottom.edit-mode {
		--nav-float-offset: 54px;
	}

	#header-bottom .container {
		height: var(--nav-bar-height);
	}

	#header-bottom .logo img {
		width: var(--nav-logo-width);
	}

	#header-bottom nav {
		display: flex;
		width: 60%;
	}

	#header-bottom nav li {
		position: relative;
		display: flex;
		align-items: center;
	}

	#header-bottom nav a {
		white-space: nowrap;
	}

	#header-bottom.search-active nav {
		position: absolute;
		opacity: 0;
	}

	#header-bottom .tlmenu a:not(.login) {
		display: block;
	}

	#header-bottom .tlmenu .mobmenu,
	#header-bottom .tlmenu a.login {
		display: none;
	}

	#menu-login {
		top: var(--nav-panel-top-desktop);
		right: var(--nav-panel-right-desktop);
	}
}

@media screen and (min-width: 1472px) {
	#header-top .container {
		padding: 0;
	}

	#header-bottom {
		margin-left: auto;
		margin-right: auto;
	}
}

.corner-baselayout {
	display: contents;
}

main:has(> footer),
main:has(> .corner-baselayout > footer) {
	display: flex;
	flex-direction: column;
}

main > footer,
main > .corner-baselayout > footer {
	order: 1;
}