.custom-falang-dropup-switcher {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 999999;
	font-size: 14px;
	line-height: 1.2;
}

.custom-falang-dropup-toggle {
	display: flex;
	align-items: center;
	gap: 8px;
	background: linear-gradient(135deg, #111111 0%, #1f1f1f 100%);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	padding: 10px 14px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.24);
	cursor: pointer;
	font-weight: 600;
	line-height: 1.2;
	transition:
		transform 0.22s ease,
		box-shadow 0.22s ease,
		border-color 0.22s ease !important;
	will-change: transform;
}

.custom-falang-dropup-toggle:hover,
.custom-falang-dropup-toggle:focus {
	background: linear-gradient(135deg, #111111 0%, #1f1f1f 100%);
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.32);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
	transform: translateY(-2px);
	outline: none;
	transition:
		transform 0.22s ease,
		box-shadow 0.22s ease,
		border-color 0.22s ease !important;
}

.custom-falang-dropup-arrow {
	font-size: 10px;
	line-height: 1;
	transition: transform 0.22s ease !important;
	will-change: transform;
}

.custom-falang-dropup-switcher.is-open .custom-falang-dropup-arrow {
	transform: rotate(180deg);
}

.custom-falang-dropup-menu {
	position: absolute;
	right: 0;
	bottom: calc(100% + 10px);
	min-width: 160px;
	background: linear-gradient(135deg, #111111 0%, #1f1f1f 100%);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 14px;
	padding: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
	display: block;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(10px) scale(0.96);
	transform-origin: bottom right;
	transition:
		opacity 0.22s ease,
		transform 0.22s ease,
		visibility 0s linear 0.22s !important;
	will-change: opacity, transform;
}

.custom-falang-dropup-switcher.is-open .custom-falang-dropup-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0) scale(1);
	transition:
		opacity 0.22s ease,
		transform 0.22s ease,
		visibility 0s linear 0s !important;
}

.custom-falang-dropup-menu ul,
.custom-falang-dropup-menu li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.custom-falang-dropup-menu ul {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.custom-falang-dropup-menu a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 500;
	white-space: nowrap;
	color: #ffffff;
	transition:
		background-color 0.18s ease,
		transform 0.18s ease,
		opacity 0.18s ease !important;
}

.custom-falang-dropup-menu a:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	transform: translateX(2px);
}

.custom-falang-dropup-menu img {
	width: 18px;
	height: auto;
}

.custom-falang-dropup-menu .current-lang a,
.custom-falang-dropup-menu .lang-active a,
.custom-falang-dropup-menu .current-menu-item a {
	opacity: 0.55;
	pointer-events: none;
}

@media (max-width: 768px) {
	.custom-falang-dropup-switcher {
		right: 12px;
		bottom: 12px;
		font-size: 13px;
	}

	.custom-falang-dropup-toggle {
		padding: 9px 12px;
	}

	.custom-falang-dropup-menu {
		min-width: 145px;
	}
}
