/**
 * Selector de idioma (Polylang) — esquina superior derecha, encima del contenido.
 */
.halma-lang-switcher {
	position: fixed;
	top: 0.75rem;
	right: 0.75rem;
	z-index: 100050;
	margin: 0;
	padding: 0;
	font-family: var(--wp--preset--font-family--halma-sans, system-ui, sans-serif);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.02em;
}

.halma-lang-switcher__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.65rem;
	align-items: center;
	justify-content: flex-end;
	list-style: none;
	margin: 0;
	padding: 0.35rem 0.65rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
	backdrop-filter: blur(8px);
}

.halma-lang-switcher__item a {
	color: var(--wp--preset--color--contrast, #1a1a1a);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	padding: 0.15rem 0;
}

.halma-lang-switcher__item a:hover,
.halma-lang-switcher__item a:focus {
	border-bottom-color: currentColor;
	outline: none;
}

.halma-lang-switcher__item--current a {
	font-weight: 600;
	opacity: 0.55;
	pointer-events: none;
	cursor: default;
}

@media (prefers-reduced-motion: reduce) {
	.halma-lang-switcher__item a:hover {
		border-bottom-color: transparent;
	}
}
