:root {
	--ouo-mbm-height: 68px;
	--ouo-mbm-bg: #ffffff;
	--ouo-mbm-text: #677078;
	--ouo-mbm-active: #0f766e;
	--ouo-mbm-border: #dfe4e8;
	--ouo-mbm-shadow: 0 12px 32px rgba(16, 24, 32, 0.12);
	--ouo-mbm-call: #0f766e;
	--ouo-mbm-line: #06c755;
	--ouo-mbm-dark: #151719;
}

.ouo-mobile-bottom-menu {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 9999;
	display: none;
	padding: 4px 12px calc(8px + env(safe-area-inset-bottom));
	pointer-events: none;
}

.ouo-mobile-bottom-menu,
.ouo-mobile-bottom-menu * {
	box-sizing: border-box;
}

.ouo-mobile-bottom-menu__inner {
	width: 100%;
	max-width: 560px;
	margin: 0 auto;
	padding: 5px;
	background: var(--ouo-mbm-bg);
	border: 1px solid var(--ouo-mbm-border);
	border-radius: 16px;
	box-shadow: var(--ouo-mbm-shadow);
	pointer-events: auto;
}

.ouo-mobile-bottom-menu__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: center;
	gap: 5px;
	width: 100%;
	min-height: 44px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.ouo-mobile-bottom-menu__item {
	min-width: 0;
	margin: 0;
}

.ouo-mobile-bottom-menu__link {
	appearance: none;
	border: 0;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	height: 44px;
	min-width: 0;
	padding: 4px 6px;
	color: var(--ouo-mbm-text);
	background: transparent;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Arial, sans-serif;
	font-size: 12px;
	font-weight: 760;
	line-height: 1.1;
	letter-spacing: 0;
	text-align: center;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
	border-radius: 12px;
	cursor: pointer;
	transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.ouo-mobile-bottom-menu__link:hover,
.ouo-mobile-bottom-menu__link:focus-visible,
.ouo-mobile-bottom-menu__item.is-active .ouo-mobile-bottom-menu__link {
	color: #ffffff;
	text-decoration: none;
	background: var(--ouo-mbm-active);
	box-shadow: 0 8px 18px rgba(15, 118, 110, 0.24);
}

.ouo-mobile-bottom-menu__item.is-call-action .ouo-mobile-bottom-menu__link {
	color: #ffffff;
	background: var(--ouo-mbm-call);
	box-shadow: 0 8px 18px rgba(15, 118, 110, 0.25);
}

.ouo-mobile-bottom-menu__item.is-line-action .ouo-mobile-bottom-menu__link {
	color: #ffffff;
	background: var(--ouo-mbm-line);
	box-shadow: 0 8px 18px rgba(6, 199, 85, 0.28);
}

.ouo-mobile-bottom-menu__link:active {
	transform: translateY(1px);
}

.ouo-mobile-bottom-menu__link:focus-visible {
	outline: 2px solid rgba(15, 118, 110, 0.36);
	outline-offset: 2px;
}

.ouo-mobile-bottom-menu__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	color: currentColor;
	flex: 0 0 auto;
}

.ouo-mobile-bottom-menu__icon svg {
	display: block;
	width: 18px;
	height: 18px;
	stroke: currentColor;
	stroke-width: 1.85;
	stroke-linecap: round;
	stroke-linejoin: round;
	fill: none;
}

.ouo-mobile-bottom-menu__label,
.ouo-mobile-bottom-menu__label-wrap {
	display: block;
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ouo-mobile-bottom-menu__language-toggle {
	gap: 6px;
	color: #ffffff;
	background: var(--ouo-mbm-dark);
	font-size: 12px;
	font-weight: 850;
	box-shadow: 0 9px 20px rgba(17, 19, 21, 0.2);
}

.ouo-mobile-bottom-menu__language-toggle:hover,
.ouo-mobile-bottom-menu__language-toggle:focus-visible,
.ouo-mobile-bottom-menu__item.is-language-open .ouo-mobile-bottom-menu__language-toggle {
	color: #ffffff;
	background: var(--ouo-mbm-dark);
	box-shadow: 0 9px 20px rgba(17, 19, 21, 0.24);
}

.ouo-mobile-bottom-menu__language-flag,
.ouo-mobile-bottom-menu__language-name {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.ouo-mobile-bottom-menu__flag-img,
.ouo-mobile-bottom-menu .trp-flag-image {
	display: block;
	width: 16px !important;
	height: 12px !important;
	object-fit: cover;
	border-radius: 4px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
	flex: 0 0 auto;
}

.ouo-mobile-bottom-menu__current-language {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	letter-spacing: 0;
}

.ouo-mobile-bottom-menu__language-panel {
	position: fixed;
	right: 14px;
	bottom: calc(var(--ouo-mbm-height) + env(safe-area-inset-bottom) + 10px);
	left: 14px;
	width: auto;
	max-width: 380px;
	margin: 0 auto;
	padding: 10px;
	color: #151719;
	background: #ffffff;
	border: 1px solid var(--ouo-mbm-border);
	border-radius: 18px;
	box-shadow: 0 18px 54px rgba(16, 24, 32, 0.2);
	opacity: 0;
	pointer-events: none;
	transform: translateY(10px) scale(0.98);
	transform-origin: bottom center;
	transition: opacity 160ms ease, transform 160ms ease;
}

.ouo-mobile-bottom-menu__item.is-language-open .ouo-mobile-bottom-menu__language-panel {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0) scale(1);
}

.ouo-mobile-bottom-menu__language-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 10px 10px;
	color: #151719;
}

.ouo-mobile-bottom-menu__language-head strong {
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
}

.ouo-mobile-bottom-menu__language-head span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 24px;
	padding: 3px 8px;
	color: #ffffff;
	background: var(--ouo-mbm-dark);
	border-radius: 999px;
	font-size: 10px;
	font-weight: 850;
	letter-spacing: 0;
}

.ouo-mobile-bottom-menu__language-head .trp-flag-image {
	width: 16px !important;
	height: 12px !important;
}

.ouo-mobile-bottom-menu__language-list {
	display: grid;
	gap: 5px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.ouo-mobile-bottom-menu__language-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 13px;
	color: #4f5962;
	font-size: 13px;
	font-weight: 750;
	line-height: 1.2;
	text-decoration: none;
	background: #f3f5f6;
	border-radius: 12px;
}

.ouo-mobile-bottom-menu__language-link small {
	color: currentColor;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0;
	opacity: 0.68;
}

.ouo-mobile-bottom-menu__language-link:hover,
.ouo-mobile-bottom-menu__language-link:focus-visible,
.ouo-mobile-bottom-menu__language-link.is-current {
	color: #ffffff;
	text-decoration: none;
	background: var(--ouo-mbm-active);
}
