/* [hps_page_selector] – mobile first, touch targets >= 44px */
.hps-city-selector {
	position: relative;
	width: 100%;
}

.hps-city-selector__input {
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	padding: 10px 16px;
	font-size: 16px; /* >= 16px: no zoom on focus in iOS Safari */
	line-height: 1.4;
	color: #1D1D2C;
	background: #fff;
	border: 2px solid #1D1D2C;
	border-radius: 24px;
	-webkit-appearance: none;
	appearance: none;
}

.hps-city-selector__input::placeholder {
	color: #5c5c6b;
	opacity: 1;
}

.hps-city-selector__input:focus {
	outline: none;
}

.hps-city-selector__input:focus-visible {
	outline: 3px solid #1D1D2C;
	outline-offset: 2px;
}

.hps-city-selector__list {
	position: absolute;
	z-index: 1000;
	top: 100%;
	left: 0;
	right: 0;
	box-sizing: border-box;
	max-height: min(60vh, 22rem);
	margin: 6px 0 0;
	padding: 4px 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	list-style: none;
	background: #fff;
	border: 1px solid #c9c9d1;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(29, 29, 44, 0.15);
}

.hps-city-selector__list[hidden] {
	display: none;
}

.hps-city-selector__option {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 44px;
	margin: 0;
	padding: 8px 16px;
	color: #1D1D2C;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.hps-city-selector__option[aria-selected="true"] {
	color: #fff;
	background: #1D1D2C;
}

.hps-city-selector__title {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
}

.hps-city-selector__title mark {
	color: inherit;
	background: none;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.hps-city-selector__context {
	font-size: 13px;
	line-height: 1.3;
	opacity: 0.8;
}

.hps-city-selector__message {
	display: flex;
	align-items: center;
	min-height: 44px;
	margin: 0;
	padding: 8px 16px;
	font-size: 14px;
	color: #5c5c6b;
}

.hps-visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

@media (hover: hover) {
	.hps-city-selector__option:hover {
		color: #fff;
		background: #1D1D2C;
	}
}

@media (forced-colors: active) {
	.hps-city-selector__option[aria-selected="true"] {
		outline: 2px solid Highlight;
		outline-offset: -2px;
	}
}
