/*
 * TranslatePress - Brandagy: the shortcode / action switcher.
 * The theme's own rows (header, drawer, footer) keep their own styles and
 * only share the data-attribute contract. Colours and sizes come from the
 * theme's tokens; the fallbacks match tokens.css.
 */
.brandagy-language-switcher {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 44px;
	padding-inline: 0.75rem;
	border-radius: 999px;
	color: var(--ink, #163300);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
}

.brandagy-language-switcher:hover,
.brandagy-language-switcher:focus-visible {
	background: var(--surface-secondary, #f4f7ee);
}

.brandagy-language-switcher__label {
	color: var(--text, #163300);
}

.brandagy-language-switcher__tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	min-height: 1.75rem;
	padding-inline: 0.5rem;
	border: 1px solid var(--line, #d7dcd2);
	border-radius: 999px;
	font-size: 0.8125rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	direction: ltr;
}

.brandagy-language-switcher.is-tag {
	padding-inline: 0;
}

.brandagy-language-switcher.is-list {
	gap: 0.25rem;
}

.brandagy-language-switcher__item {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding-inline: 0.75rem;
	border-radius: 999px;
	color: inherit;
	text-decoration: none;
}

.brandagy-language-switcher__item:hover,
.brandagy-language-switcher__item:focus-visible {
	background: var(--surface-secondary, #f4f7ee);
}

.brandagy-language-switcher__item.is-current {
	color: var(--text-muted, #5b6b53);
	font-weight: 500;
}
