/* PM Language Manager - language switcher. Author: Khurram Aziz */

.pmlm-switcher {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	line-height: 1;
	white-space: nowrap;
}
.pmlm-switcher__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	min-height: 30px;
	padding: 4px 6px;
	border-radius: 999px;
	color: inherit !important;
	text-decoration: none !important;
	opacity: .6;
	transition: opacity .15s ease, background-color .15s ease;
}
a.pmlm-switcher__item:hover { opacity: 1; background: rgba(221, 81, 43, .08); }
.pmlm-switcher__item.is-current { opacity: 1; color: #dd512b !important; }
.pmlm-switcher__sep { opacity: .35; }

/* In the Minimog header, beside the account icon */
.header-content-inner > .pmlm-switcher--header { margin-right: 14px; }

/* Fallback when no header target was found */
.pmlm-floating {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 9999;
	padding: 6px 10px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
}

@media (max-width: 767px) {
	.header-content-inner > .pmlm-switcher--header { margin-right: 8px; font-size: 12px; }
	.pmlm-switcher__item { min-width: 26px; min-height: 26px; padding: 3px 4px; }
}
