/**
 * Barra Search — stepper de huéspedes.
 * Mismo lenguaje visual que barra-search.css (fondo blanco, acento naranja).
 */

.barra-guests {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	border-radius: 8px;
	padding: 8px 10px;
	max-width: 320px;
}

.barra-guests__label {
	font-size: 14px;
	color: #1a1a1a;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	flex-shrink: 1;
	min-width: 0;
}

.barra-guests__controls {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
	margin-left: auto;
}

.barra-guests__value {
	flex: 0 0 62px !important;
	width: 62px !important;
	min-width: 62px !important;
	max-width: 62px !important;
	box-sizing: content-box !important;
	text-align: center;
	font-size: 13px;
	color: #1a1a1a;
	border: none !important;
	background: transparent !important;
	padding: 6px 0 !important;
	height: auto !important;
}

.barra-guests__value.is-any {
	font-size: 11px;
	color: #9aa1a8; /* gris mientras dice "Cualquiera" */
}

.barra-guests__value:focus {
	outline: none;
	color: #1a1a1a;
}

.barra-guests__btn {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 1px solid #dcdfe4;
	background: #f8fafc;
	color: #1a1a1a;
	font-size: 15px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	cursor: pointer;
}

.barra-guests__btn--plus {
	border: none;
	background: #f5891f;
	color: #fff;
}

.barra-guests__btn:disabled {
	opacity: 0.4;
	cursor: default;
}

.barra-guests__btn:focus-visible {
	outline: 2px solid #f5891f;
	outline-offset: 2px;
}

/* Layout horizontal (widget de home): el campo entra como un item más del nav */
.es-search-nav--dropdowns .barra-guests {
	max-width: none;
}

@media (max-width: 480px) {
	.barra-guests__value:focus {
		font-size: 16px; /* evita auto-zoom de iOS Safari solo al tocar el campo */
	}
}