.fnmo-currency-switcher {
	--fnmo-currency-accent: #9d2f53;
	--fnmo-currency-gold: #b98222;
	position: relative;
	z-index: 999;
	display: inline-block;
	font-family: inherit;
}

.fnmo-currency-switcher__dropdown {
	position: relative;
	margin: 0;
	padding: 0;
}

.fnmo-currency-switcher__trigger {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	cursor: pointer;
	list-style: none;
	border: 1px solid var(--fnmo-currency-gold);
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
	transition: color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.fnmo-currency-switcher__trigger::-webkit-details-marker {
	display: none;
}

.fnmo-currency-switcher__trigger::marker {
	display: none;
	content: "";
}

.fnmo-currency-switcher__trigger:hover,
.fnmo-currency-switcher__trigger:focus-visible,
.fnmo-currency-switcher__dropdown[open] .fnmo-currency-switcher__trigger {
	color: #fff;
	background: var(--fnmo-currency-accent);
	border-color: var(--fnmo-currency-accent);
	box-shadow: 0 6px 18px rgba(157, 47, 83, 0.24);
	transform: translateY(-1px);
	outline: none;
}

.fnmo-currency-switcher__trigger-flag {
	font-size: 23px;
	line-height: 1;
}

.fnmo-currency-switcher__trigger-code {
	position: absolute;
	right: -3px;
	bottom: -3px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 23px;
	height: 17px;
	padding: 0 3px;
	border: 2px solid #fff;
	border-radius: 999px;
	color: #fff;
	background: var(--fnmo-currency-accent);
	font-size: 8px;
	font-weight: 800;
	letter-spacing: 0.2px;
	line-height: 1;
}

.fnmo-currency-switcher__menu {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	width: 244px;
	margin: 0;
	padding: 8px;
	list-style: none;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 14px 38px rgba(0, 0, 0, 0.16);
}

.fnmo-currency-switcher__menu::before {
	position: absolute;
	top: -6px;
	right: 17px;
	width: 12px;
	height: 12px;
	content: "";
	background: #fff;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	border-left: 1px solid rgba(0, 0, 0, 0.1);
	transform: rotate(45deg);
}

.fnmo-currency-switcher__menu li {
	margin: 0;
	padding: 0;
}

.fnmo-currency-switcher__option {
	position: relative;
	display: flex;
	align-items: center;
	gap: 11px;
	min-height: 50px;
	padding: 7px 34px 7px 10px;
	border-radius: 9px;
	color: #292929;
	font-size: 14px;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.18s ease, color 0.18s ease;
}

.fnmo-currency-switcher__option:hover,
.fnmo-currency-switcher__option:focus-visible {
	color: var(--fnmo-currency-accent);
	background: #f8edf1;
	outline: none;
}

.fnmo-currency-switcher__option.is-active {
	color: var(--fnmo-currency-accent);
	background: #fbf3f6;
}

.fnmo-currency-switcher__flag {
	flex: 0 0 28px;
	font-size: 23px;
	line-height: 1;
}

.fnmo-currency-switcher__label {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 2px;
}

.fnmo-currency-switcher__label strong {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.4px;
}

.fnmo-currency-switcher__label small {
	overflow: hidden;
	color: #626262;
	font-size: 11px;
	font-weight: 400;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fnmo-currency-switcher__check {
	position: absolute;
	right: 12px;
	color: var(--fnmo-currency-accent);
	font-size: 15px;
	font-weight: 800;
}

@media (max-width: 480px) {
	.fnmo-currency-switcher__trigger {
		width: 40px;
		height: 40px;
	}

	.fnmo-currency-switcher__trigger-flag {
		font-size: 20px;
	}

	.fnmo-currency-switcher__menu {
		position: fixed;
		top: auto;
		right: 12px;
		bottom: 16px;
		left: 12px;
		width: auto;
		max-width: none;
		padding: 10px;
		border-radius: 16px;
		box-shadow: 0 12px 42px rgba(0, 0, 0, 0.22);
	}

	.fnmo-currency-switcher__menu::before {
		display: none;
	}

	.fnmo-currency-switcher__option {
		min-height: 56px;
	}

	.fnmo-currency-switcher__label small {
		font-size: 12px;
	}
}
