.fdc-lang-switcher {
	position: relative;
	display: inline-block;
	font-size: 12px;
	line-height: 1;
	pointer-events: all;
}

.fdc-lang-switcher__toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 10px;
	border: 1px solid rgba(242, 199, 82, 0.45);
	border-radius: 4px;
	background: transparent;
	color: #f2c752;
	cursor: pointer;
	font: inherit;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	pointer-events: all;
}

.fdc-lang-switcher__toggle:hover,
.fdc-lang-switcher__toggle:focus {
	border-color: #f2c752;
	outline: none;
}

/* WooCommerce product pages style all buttons black; keep switcher readable on dark header. */
.woocommerce .fdc-lang-switcher .fdc-lang-switcher__toggle,
.woocommerce .fdc-lang-switcher .fdc-lang-switcher__toggle .fdc-lang-switcher__current,
.woocommerce .fdc-lang-switcher .fdc-lang-switcher__toggle .fdc-lang-switcher__caret {
	color: #f2c752 !important;
	background: transparent !important;
}

.woocommerce .fdc-lang-switcher .fdc-lang-switcher__toggle:hover,
.woocommerce .fdc-lang-switcher .fdc-lang-switcher__toggle:focus {
	color: #f2c752 !important;
	background: rgba(242, 199, 82, 0.12) !important;
	border-color: #f2c752 !important;
}

.fdc-lang-switcher__caret {
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
	opacity: 0.85;
}

.fdc-lang-switcher__list {
	display: none;
	position: absolute;
	left: 0;
	top: calc(100% + 6px);
	min-width: 140px;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	background: #111;
	border: 1px solid rgba(242, 199, 82, 0.35);
	border-radius: 4px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
	z-index: 10000;
}

.fdc-lang-switcher.is-open .fdc-lang-switcher__list {
	display: block;
}

.fdc-lang-switcher__list a {
	display: block;
	padding: 8px 14px;
	color: #fff;
	text-decoration: none;
	text-transform: none;
	letter-spacing: normal;
	font-size: 13px;
	white-space: nowrap;
}

.fdc-lang-switcher__list a:hover,
.fdc-lang-switcher__list a:focus,
.fdc-lang-switcher__list a[aria-current="true"] {
	background: rgba(242, 199, 82, 0.12);
	color: #f2c752;
}

/* Desktop: far left of header, aligned with logo row */
@media only screen and (min-width: 1000px) {
	#header-outer #top > .container {
		position: relative;
	}

	#header-outer .fdc-lang-switcher-wrap--desktop {
		position: absolute;
		left: 24px;
		top: 50%;
		transform: translateY(-50%);
		z-index: 300;
		pointer-events: all;
	}
}

/* Mobile: inline with header icons */
@media only screen and (max-width: 999px) {
	.fdc-lang-switcher-wrap--desktop {
		display: none !important;
	}

	.fdc-lang-switcher--mobile {
		display: inline-flex;
		vertical-align: middle;
		margin-right: 8px;
	}

	.fdc-lang-switcher--mobile .fdc-lang-switcher__toggle {
		padding: 6px 8px;
		font-size: 11px;
	}
}
