/* Shared LT/EN switcher — wi-bar + Blocksy header shortcode */

.wi-b2b-lang,
.inb2b-lang {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	padding: 3px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.12);
	vertical-align: middle;
}

.wi-b2b-lang button,
.inb2b-lang button {
	appearance: none;
	border: 0;
	background: transparent;
	margin: 0;
	padding: 6px 10px;
	min-height: 0;
	font: 600 11px/1 ui-monospace, Menlo, Consolas, monospace;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.62);
	cursor: pointer;
	border-radius: 4px;
	transition: color 0.15s ease, background 0.15s ease;
}

.wi-b2b-lang button:hover:not(.is-active),
.inb2b-lang button:hover:not(.is-active) {
	color: #fff;
}

.wi-b2b-lang button.is-active,
.inb2b-lang button.is-active {
	background: #a8df68;
	color: #28352c;
}

.wi-bar__lang {
	display: flex;
	align-items: center;
	flex: none;
	margin-right: 8px;
}

/* Blocksy header placement (shortcode widget) */
#header [data-row="middle"] .inb2b-lang--header,
.ct-header [data-row="middle"] .inb2b-lang--header {
	order: 0;
	margin-right: 20px;
	align-self: center;
}

@media (max-width: 768px) {
	.wi-b2b-lang button,
	.inb2b-lang button {
		padding: 5px 8px;
		font-size: 10px;
	}

	#header [data-row="middle"] .inb2b-lang--header,
	.ct-header [data-row="middle"] .inb2b-lang--header {
		margin-right: 12px;
	}
}
