/* Modal selección de sucursal — El Che Pizza (base; colores finos vía wp_add_inline_style) */
.elche-branch-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	background: rgba(15, 23, 42, 0.65);
	backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	box-sizing: border-box;
	animation: elche-fade-in 0.25s ease;
}

.elche-branch-overlay[hidden],
.elche-branch-overlay.is-hidden {
	display: none;
}

@keyframes elche-fade-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.elche-branch-modal {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	max-width: 420px;
	width: 100%;
	padding: 32px 28px 28px;
	text-align: center;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: #0f172a;
}

.elche-branch-modal h2 {
	margin: 0 0 8px;
	font-size: 1.35rem;
	font-weight: 700;
	color: inherit;
	line-height: 1.3;
}

.elche-branch-modal .elche-branch-modal__subtitle {
	margin: 0 0 24px;
	font-size: 0.95rem;
	color: inherit;
	opacity: 0.85;
	line-height: 1.5;
}

/* Lista vertical: ancho completo, un botón por fila */
.elche-branch-actions {
	display: flex;
	flex-direction: column;
	gap: 15px;
	width: 100%;
	align-items: stretch;
	box-sizing: border-box;
}

.elche-branch-btn {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 14px 20px;
	font-size: 1rem;
	font-weight: 600;
	border: 1px solid #1b5e20;
	border-radius: 10px;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	background-color: #2e7d32;
	color: #fff;
	font-family: inherit;
}

.elche-branch-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.elche-branch-btn:active {
	transform: translateY(0);
}

.elche-branch-btn:focus {
	outline: 2px solid #81c784;
	outline-offset: 2px;
}
