.header-counter {
	opacity: 1;
}

.header-counter.is-hidden {
	display: none;
}

.city-switcher-trigger {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 999px;
	padding: 6px 12px;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(8px);
	font-size: 13px;
	line-height: 1;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	opacity: 0;
	pointer-events: none;
	margin-right: 10px;
}

.city-switcher-trigger.is-mounted {
	opacity: 1;
	pointer-events: auto;
}

.city-switcher-trigger:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
	border-color: rgba(0, 0, 0, 0.15);
}

.city-switcher-trigger__label {
	color: #6b7280;
}

.city-switcher-trigger__value {
	font-weight: 600;
	color: #111827;
}


.city-switcher-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: grid;
	place-items: center;
}

.city-switcher-backdrop {
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at top, rgba(17, 24, 39, 0.35), rgba(17, 24, 39, 0.6));
	backdrop-filter: blur(2px);
}

.city-switcher-panel {
	position: relative;
	z-index: 1;
	width: min(720px, 92vw);
	max-height: min(70vh, 680px);
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(17, 24, 39, 0.12);
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
	display: flex;
	flex-direction: column;
	transform: scale(0.95);
	opacity: 0;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.city-switcher-modal.is-open .city-switcher-panel {
	transform: scale(1);
	opacity: 1;
}

.city-switcher-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px 8px;
}

.city-switcher-header h2 {
	margin: 0;
	font-size: 18px;
}

.city-switcher-close {
	border: none;
	background: transparent;
	font-size: 22px;
	cursor: pointer;
	color: #6b7280;
}

.city-switcher-search {
	padding: 8px 20px 12px;
	position: relative;
}

.city-switcher-search__input {
	width: 100%;
	padding: 10px 36px 10px 12px;
	border-radius: 10px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	font-size: 14px;
}

.city-switcher-search__clear {
	position: absolute;
	right: 30px;
	top: 50%;
	transform: translateY(-50%);
	border: none;
	background: transparent;
	font-size: 18px;
	color: #9ca3af;
	cursor: pointer;
}

.city-switcher-list {
	padding: 0 20px 20px;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

.city-switcher-group__title {
	position: sticky;
	top: 0;
	background: rgba(255, 255, 255, 0.95);
	padding: 8px 0;
	font-weight: 600;
	color: #6b7280;
}

.city-switcher-group__list {
	list-style: none;
	margin: 0;
	padding: 0 0 8px;
}

.city-switcher-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 10px;
	border-radius: 10px;
	text-decoration: none;
	color: #111827;
	transition: background 0.15s ease;
}

.city-switcher-item:hover,
.city-switcher-item:focus {
	background: rgba(17, 24, 39, 0.06);
	outline: none;
}

.city-switcher-item.is-active {
	font-weight: 600;
	color: #2563eb;
}

.city-switcher-item__icon {
	color: #9ca3af;
	font-size: 12px;
	margin-left: 10px;
}

.city-switcher-seo {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

