html {
	background-color: #0a0c0e !important;
	min-height: 100%;
	color-scheme: dark;
}

a.logo:not(.home-logo) img.logo__img,
a.logo:not(.home-logo) img {
	object-fit: contain !important;
	width: auto !important;
	height: auto !important;
	max-width: 11.5rem !important;
	max-height: 5rem !important;
	filter: none !important;
	mix-blend-mode: normal !important;
	animation: none !important;
	transform: none !important;
}

a.logo:hover img,
a.logo:hover .logo__img,
a.logo:hover .logo__img_hover {
	filter: none !important;
	transform: none !important;
	animation: none !important;
}

.body_home:has(.home-logo) .navigation a.logo {
	visibility: hidden;
	pointer-events: none;
}

@media (min-width: 1100px) {
	.body_home:has(.home-logo) .navigation__box_side_left {
		flex: 0 0 0 !important;
		width: 0 !important;
		min-width: 0 !important;
		max-width: 0 !important;
		overflow: hidden !important;
		margin: 0 !important;
		padding: 0 !important;
		gap: 0 !important;
	}

	.navigation__menu .menu__list {
		justify-content: flex-start !important;
		padding-left: 2rem !important;
	}

	.body_home:has(.home-logo) .navigation__menu .menu__list {
		padding-left: 5.5rem !important;
	}

	.navigation__menu .menu__dot {
		display: block !important;
		width: .75rem !important;
		height: .75rem !important;
		flex-shrink: 0 !important;
		background-color: transparent !important;
		background-image: url("../assets/site/templates/default/images/menu/dot.png") !important;
		background-size: cover !important;
		background-position: 50% !important;
		background-repeat: no-repeat !important;
	}
}

.l2-lang-fallback {
	position: fixed;
	top: 1rem;
	right: 1.25rem;
	z-index: 9999;
}

.l2-lang-fallback.l2-lang-inline,
.layout-navigation .l2-lang-fallback {
	position: relative;
	top: auto;
	right: auto;
	z-index: 30;
	min-width: 3.25rem;
	min-height: 2.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.layout-navigation button[data-dropdown-toggle]:has(img[src*="lang/"]),
.layout-navigation a.btn:has(img[src*="lang/"]) {
	display: none !important;
}

.l2-lang-fallback.lang {
	width: auto;
	padding-right: 1.5625rem;
	padding-left: .625rem;
	font-weight: 700;
	color: #8a8174;
	box-sizing: border-box;
	font-family: Intro, "Open Sans", Tahoma, Arial, sans-serif;
}

.l2-lang-fallback .lang__current {
	display: grid;
	grid-auto-flow: column;
	justify-content: flex-start;
	align-items: center;
	gap: .375rem;
	cursor: pointer;
	grid-template-columns: 1.75rem 1fr;
	width: 100%;
	position: relative;
	padding-left: .375rem;
	font-weight: 600;
	z-index: 0;
}

.l2-lang-fallback .lang__current:before,
.l2-lang-fallback .lang__current:after {
	display: block;
	content: "";
	position: absolute;
	top: 50%;
	background-size: contain;
	background-position: 50%;
	background-repeat: no-repeat;
}

.l2-lang-fallback .lang__current:before {
	left: 50%;
	transform: translate(-50%, -50%);
	background-image: url("../assets/site/templates/default/images/lang/bg.png");
	width: 4rem;
	height: 4rem;
}

.l2-lang-fallback .lang__current:after {
	background-image: url("../assets/site/templates/default/images/lang/arrow-down.png");
	width: .75rem;
	height: .375rem;
	right: -1.5rem;
	transform: translateY(-50%);
	pointer-events: none;
}

.l2-lang-fallback .lang__name {
	display: flex;
	justify-content: center;
	align-items: center;
	text-transform: uppercase;
	color: #fff;
}

/* Global lang picker — keep official pt/en/es/ru/uk codes readable */
.navigation__lang .lang__list,
.lang.notranslate .lang__list,
.l2-lang-fallback .lang__list {
	min-width: 3.25rem !important;
	width: auto !important;
	overflow: visible !important;
}

.navigation__lang .lang__link,
.lang.notranslate .lang__link,
.l2-lang-fallback .lang__link {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	grid-template-columns: 1fr !important;
	white-space: nowrap !important;
	min-width: 3.25rem !important;
	width: auto !important;
	overflow: visible !important;
}

.navigation__lang .lang__name,
.lang.notranslate .lang__name,
.l2-lang-fallback .lang__name {
	overflow: visible !important;
	text-overflow: clip !important;
	white-space: nowrap !important;
}

.l2-lang-fallback:hover .lang__list {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.l2-lang-fallback .lang__link {
	display: grid;
	align-items: center;
	text-decoration: none;
	padding: .3125rem .625rem;
	color: #fff;
	white-space: nowrap;
}

.l2-lang-fallback .lang__link:hover {
	background: hsla(0, 0%, 100%, .05);
}

/* Auth / forgot-password — stop title & button text clipping */
body.is-site-auth .box,
body.is-site-register .box,
body.is-site-auth .auth-forgot-box {
	overflow: visible !important;
	max-height: none !important;
	max-width: 32rem !important;
	margin-top: 0 !important;
}

body.is-site-auth .layout-content,
body.is-site-register .layout-content {
	overflow-x: hidden !important;
	overflow-y: auto !important;
}

body.is-site-auth .box-title,
body.is-site-auth .box > h1,
body.is-site-auth .box h1,
body.is-site-register .box > h1,
body.is-site-register .box h1 {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	white-space: normal !important;
	overflow: visible !important;
	text-overflow: clip !important;
	line-height: 1.35 !important;
	letter-spacing: .06em !important;
	text-align: center !important;
	word-break: normal !important;
	overflow-wrap: anywhere;
	padding: .2rem .35rem .4rem !important;
	border-bottom: 0 !important;
}

body.is-site-auth .description,
body.is-site-register .description,
body.is-site-auth .form-label,
body.is-site-register .form-label {
	white-space: normal !important;
	overflow: visible !important;
	line-height: 1.45 !important;
}

body.is-site-auth .btn,
body.is-site-register .btn,
body.is-site-auth .box .btn,
body.is-site-register .box .btn {
	overflow: visible !important;
	white-space: normal !important;
	height: auto !important;
	min-height: 2.5rem !important;
	line-height: 1.3 !important;
	padding: .7rem 1rem !important;
	letter-spacing: .1em !important;
}

/* Admin hero replaces banner.png — cover fill like original (desktop/tablet/mobile). */
.bg.is-hero-video,
.bg.is-hero-image {
	overflow: hidden;
	background: #07090b;
}
.body_home .bg.is-hero-video,
.body_home .bg.is-hero-image {
	height: 100dvh;
	min-height: 46rem;
}
.bg.is-hero-video .bg__video,
.bg.is-hero-image .bg__img {
	position: absolute !important;
	inset: 0 !important;
	left: 0 !important;
	top: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	object-position: 18% 42% !important;
	transform: none !important;
	z-index: 1 !important;
	pointer-events: none;
	border: 0;
	background: #07090b;
}
.bg.is-hero-video .bg__video {
	-webkit-mask: none !important;
	mask: none !important;
	-webkit-mask-image: none !important;
	mask-image: none !important;
	filter: none !important;
}
.body_home .bg.is-hero-video {
	-webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, rgba(0,0,0,.55) 88%, transparent 100%) !important;
	mask-image: linear-gradient(180deg, #000 0%, #000 72%, rgba(0,0,0,.55) 88%, transparent 100%) !important;
}
.body_home .bg.is-hero-video::after,
.body_home .bg.is-hero-image::after {
	z-index: 2;
}
@media (max-width: 900px) {
	.body_home .bg.is-hero-video,
	.body_home .bg.is-hero-image { min-height: 36rem; }
}
@media (max-width: 600px) {
	.body_home .bg.is-hero-video,
	.body_home .bg.is-hero-image {
		min-height: 28rem;
		height: 78dvh;
	}
}

