/**
 * Плашка подтверждения города (определение по IP).
 * Отдельный файл, потому что основные стили темы только минифицированы,
 * исходников scss в репозитории нет — новые блоки оформляем рядом.
 */

.geo-city {
	position: fixed;
	left: 20px;
	bottom: 20px;
	z-index: 9999;
	width: 340px;
	max-width: calc(100vw - 40px);
	box-sizing: border-box;
	padding: 20px 22px 22px;
	background: #fff;
	border: 1px solid #e6e6e6;
	border-top: 4px solid #ED1F26;
	border-radius: 8px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .18);
	font-family: inherit;
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .25s ease, transform .25s ease;
	pointer-events: none;
}

.geo-city._visible {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.geo-city__close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	background: none;
	color: #9a9a9a;
	font-size: 22px;
	line-height: 32px;
	cursor: pointer;
}

.geo-city__close:hover {
	color: #ED1F26;
}

.geo-city__title {
	margin: 0 24px 4px 0;
	font-size: 18px;
	line-height: 1.3;
	font-weight: 700;
	color: #080302;
}

.geo-city__city {
	color: #ED1F26;
	white-space: nowrap;
}

.geo-city__note {
	margin: 0 0 16px;
	font-size: 13px;
	line-height: 1.4;
	color: #6d6d6d;
}

.geo-city__actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.geo-city__btn {
	flex: 1 1 auto;
	min-height: 42px;
	padding: 10px 16px;
	border: 1px solid #ED1F26;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
}

.geo-city__btn._yes {
	background: #ED1F26;
	color: #fff;
}

.geo-city__btn._yes:hover {
	background: #c8171d;
	border-color: #c8171d;
}

.geo-city__btn._other {
	background: #fff;
	color: #080302;
	border-color: #d5d5d5;
}

.geo-city__btn._other:hover {
	border-color: #080302;
}

@media (max-width: 600px) {
	.geo-city {
		left: 10px;
		right: 10px;
		/* Виджет Callibri сидит в правом нижнем углу (71×71 + отступ 17px)
		   и перекрывал правый край кнопки «Выбрать другой» — поднимаем плашку над ним. */
		bottom: 100px;
		bottom: calc(100px + env(safe-area-inset-bottom, 0px));
		width: auto;
		max-width: none;
		padding: 18px 18px 20px;
	}

	.geo-city__title {
		font-size: 17px;
	}
}
