/* GS Multilingual — frontend language switcher */

.gsml-switcher {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-left: 16px;
	white-space: nowrap;
	vertical-align: middle;
}

/* Pill style — compact RU | EN */
.gsml-lang {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 24px;
	padding: 0 6px;
	border-radius: 12px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: rgba(255, 255, 255, 0.65);
	text-decoration: none;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.15);
	transition: all 0.2s ease;
	line-height: 1;
}

.gsml-lang:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.18);
	border-color: rgba(255, 255, 255, 0.3);
}

.gsml-lang.is-active {
	color: #fff;
	background: var(--gs-orange, #E63A0A);
	border-color: var(--gs-orange, #E63A0A);
}

.gsml-sep {
	color: rgba(255, 255, 255, 0.3);
	font-size: 11px;
	font-weight: 400;
	user-select: none;
}

/* Inside the header-top contacts block */
.header-top__contacts {
	display: flex;
	align-items: center;
	gap: 12px;
}
.header-top__contacts .gsml-switcher {
	margin-left: 0;
}

/* Mobile: keep the switcher but smaller */
@media (max-width: 480px) {
	.gsml-switcher {
		margin-left: 8px;
	}
	.gsml-lang {
		min-width: 24px;
		height: 22px;
		font-size: 10px;
		padding: 0 5px;
	}
}

/* Fallback positioning if injected at body level (shouldn't normally happen) */
body > .gsml-switcher {
	position: fixed;
	top: 8px;
	right: 8px;
	z-index: 9999;
	background: rgba(8, 24, 38, 0.85);
	padding: 4px 6px;
	border-radius: 16px;
	backdrop-filter: blur(8px);
}
