/**
 * ESPE Selector de sede
 *
 * @package Widgets_ESPE
 */

.wespe-sede-switcher {
	box-sizing: border-box;
}

.wespe-sede-switcher *,
.wespe-sede-switcher *::before,
.wespe-sede-switcher *::after {
	box-sizing: inherit;
}

.wespe-sede-switcher__title {
	margin: 0 0 0.75rem;
	font-size: inherit;
	font-weight: 600;
	line-height: 1.3;
}

.wespe-sede-switcher__buttons {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0.5rem;
}

/* Enlace con clases Premium Addons: el aspecto base lo aporta el CSS del tema / Premium. */
.wespe-sede-switcher__btn.premium-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	line-height: 1.25;
	transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.wespe-sede-switcher__btn.premium-button .premium-button-text-icon-wrapper {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.wespe-sede-switcher__btn.premium-button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

/* Estado activo: refuerzo visual (no compite con :hover del kit) */
.wespe-sede-switcher__btn.premium-button.is-active:not(:hover) {
	box-shadow: inset 0 0 0 2px rgba(0, 106, 68, 0.45);
}

.wespe-sede-switcher__btn.premium-button.is-active .premium-button-text-icon-wrapper span {
	font-weight: 600;
}

.wespe-sede-switcher__footer {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 0.5rem 0.75rem;
	margin: 0;
}

.wespe-sede-switcher__footer-icon {
	display: inline-flex;
	flex-shrink: 0;
	margin-top: 0.15em;
	color: inherit;
}

.wespe-sede-switcher__footer-icon svg {
	display: block;
}

.wespe-sede-switcher__footer-copy {
	margin: 0;
	flex: 1 1 auto;
	min-width: 0;
	line-height: 1.45;
}

.wespe-sede-switcher__footer-prefix {
	font-weight: inherit;
}

.wespe-sede-switcher__footer-dynamic {
	font-weight: 600;
}
