/**
 * Widget Elementor: selector de sucursal (header).
 * Aspecto base; la mayoría de estilos vienen de los controles de Elementor.
 */
.elche-branch-widget {
	position: relative;
	display: inline-block;
	line-height: 1.35;
	max-width: 100%;
}

.elche-branch-widget__bar {
	display: inline-flex;
	align-items: stretch;
	max-width: 100%;
	box-sizing: border-box;
}

.elche-branch-widget__trigger {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
	color: inherit;
	cursor: pointer;
	font: inherit;
	text-align: left;
}

.elche-branch-widget__chev-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	margin: 0;
	padding: 0 4px;
	border: none;
	background: transparent;
	cursor: pointer;
	font: inherit;
	line-height: 1;
	color: inherit;
	opacity: 0.75;
}

.elche-branch-widget__chev-btn:hover {
	opacity: 1;
}

.elche-branch-widget__pin {
	display: flex;
	flex-shrink: 0;
	line-height: 0;
}

.elche-branch-widget__label {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35em;
	align-items: baseline;
	min-width: 0;
}

.elche-branch-widget__panel {
	position: absolute;
	left: 0;
	top: calc(100% + 6px);
	z-index: 100000;
	width: max-content;
	max-width: min(100vw - 24px, 320px);
	box-sizing: border-box;
}

.elche-branch-widget__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.elche-branch-widget__item {
	margin: 0;
	padding: 0;
}

.elche-branch-widget__item:last-child .elche-branch-widget__option {
	border-bottom-width: 0;
	border-bottom-style: none;
}

.elche-branch-widget__option {
	display: block;
	width: 100%;
	margin: 0;
	box-sizing: border-box;
	text-align: left;
	border: none;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	font: inherit;
	color: inherit;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.elche-branch-widget__option:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: -2px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
