/* Окна местоположения (twofingers.location) — Abrau Club */

.abrau-city {
	--ac-ink: #151515;
	--ac-muted: #7a7a7a;
	--ac-line: #e8e8e8;
	--ac-soft: #f6f6f6;
	display: flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
	font-family: 'Futura New', 'Futura New Book', sans-serif;
}

.abrau-city__pin {
	display: flex;
	flex: 0 0 auto;
	color: var(--ac-ink);
}

.abrau-city__pin svg {
	display: block;
	width: 12px;
	height: 14px;
}

.abrau-city .tfl__link-container {
	display: inline-flex;
	align-items: center;
	min-width: 0;
	text-decoration: none;
}

.abrau-city .tfl__link,
.abrau-city .tfl__link:hover,
.abrau-city .tfl__link:focus {
	border-bottom: none !important;
	color: var(--ac-ink) !important;
	font-family: 'Futura New', 'Futura New Book', sans-serif !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	cursor: pointer;
}

.abrau-city--header .tfl__link-label {
	display: none;
}

.abrau-city--header .tfl__link {
	display: block;
	max-width: 148px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.abrau-city--header .tfl__link-container::after {
	content: "";
	flex: 0 0 auto;
	width: 5px;
	height: 5px;
	margin-left: 7px;
	border-right: 1px solid var(--ac-ink);
	border-bottom: 1px solid var(--ac-ink);
	transform: translateY(-1px) rotate(45deg);
}

.abrau-city--header:hover .tfl__link,
.abrau-city--header:hover .tfl__link-container::after {
	opacity: .72;
}

/* Попап рисуется здесь, ссылка скрыта: контейнер вне меню с overflow */
.abrau-city-source {
	position: absolute;
	width: 0;
	height: 0;
	overflow: visible;
}

.abrau-city-source > .tfl__link-container {
	display: none !important;
}

@media (min-width: 993px) {
	.abrau-city--header {
		display: none !important;
	}

	/* Невидимая точка по центру шапки, чтобы окно «Ваш город?» встало по центру */
	.abrau-city-source > .tfl__link-container,
	.abrau-city-source .tfl__link {
		display: block !important;
		position: fixed !important;
		left: 50% !important;
		top: 56px !important;
		width: 1px !important;
		height: 1px !important;
		max-width: 1px !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow: hidden !important;
		opacity: 0 !important;
		pointer-events: none !important;
		border: 0 !important;
	}
}

@media (max-width: 992px) {
	.abrau-city--header {
		display: none !important;
	}
}

/* Бургер */
.abrau-city--burger {
	margin: 2px 0 18px;
	padding-bottom: 16px;
	border-bottom: 1px solid #ececec;
}

.abrau-city--burger .tfl__link-label {
	margin-right: 6px;
	color: var(--ac-muted) !important;
	font-size: 13px !important;
	line-height: 1.2;
}

.abrau-city--burger .tfl__link,
.abrau-city--burger .tfl__link:hover {
	font-size: 15px !important;
}

.abrau-city--burger:active .tfl__link {
	opacity: .6;
}

/* ===== Окно выбора города ===== */
.tfl-popup-overlay {
	background: rgba(21, 21, 21, .45) !important;
	z-index: 100000100 !important;
}

.tfl-popup {
	border: 1px solid #e8e8e8 !important;
	border-radius: 0 !important;
	box-shadow: 0 24px 64px rgba(21, 21, 21, .16) !important;
	background: #fff !important;
	color: #151515;
	font-family: 'Futura New', 'Futura New Book', sans-serif !important;
}

.tfl-popup__title {
	color: #151515 !important;
	font-family: 'Futura New', 'Futura New Book', sans-serif !important;
	font-size: 22px !important;
	font-weight: 400 !important;
	letter-spacing: -0.02em;
	line-height: 1.2 !important;
}

.tfl-popup > .tfl-popup__close {
	opacity: .55;
}

.tfl-popup > .tfl-popup__close:hover {
	opacity: 1;
}

.tfl-popup .tfl-popup__search-input {
	height: auto !important;
	margin: 0 !important;
	padding: 12px 36px 12px 0 !important;
	border: 0 !important;
	border-bottom: 1px solid #e8e8e8 !important;
	border-radius: 0 !important;
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	color: #151515 !important;
	font-family: 'Futura New', 'Futura New Book', sans-serif !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.3 !important;
}

.tfl-popup .tfl-popup__search-input:focus {
	border-bottom-color: #151515 !important;
	background-image: none !important;
	outline: none !important;
	box-shadow: none !important;
}

.tfl-popup__search-input::placeholder {
	color: #9a9a9a !important;
	opacity: 1;
}

.tfl-popup__search-icon svg,
.tfl-popup__search-icon svg path {
	fill: #9a9a9a;
}

.tfl-popup__list {
	margin: 0 0 8px;
}

.tfl-popup__list li {
	padding-bottom: 10px;
}

.tfl-popup a.tfl-popup__location-link,
.tfl-popup a.tfl-popup__location-link:hover,
.tfl-popup a.tfl-popup__location-link:focus {
	border-bottom: none !important;
	color: #151515 !important;
	font-family: 'Futura New', 'Futura New Book', sans-serif !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 1.35 !important;
	text-decoration: none !important;
}

.tfl-popup a.tfl-popup__location-link:hover {
	opacity: .55;
}

.tfl-popup__defaults a.tfl-popup__location-link {
	font-weight: 400 !important;
}

.tf-location__region {
	color: #7a7a7a !important;
	font-size: 11px !important;
	line-height: 1.3 !important;
}

.tfl-popup__nofound-mess,
.tfl-popup__nofound-mess-show {
	color: #7a7a7a !important;
	font-family: 'Futura New', 'Futura New Book', sans-serif !important;
	font-size: 15px !important;
	font-weight: 400 !important;
}

@media (max-width: 767px) {
	.tfl-popup {
		border: 0 !important;
		box-shadow: none !important;
	}

	.tfl-popup__title {
		font-size: 20px !important;
	}

	.tfl-popup__list {
		column-count: 1 !important;
	}
}

/* ===== Окно подтверждения ===== */
.tfl-define-popup {
	border: 1px solid #e8e8e8 !important;
	border-radius: 0 !important;
	background: #fff !important;
	box-shadow: 0 16px 48px rgba(21, 21, 21, .14) !important;
	color: #151515 !important;
	font-family: 'Futura New', 'Futura New Book', sans-serif !important;
	text-align: center;
	z-index: 100000100 !important;
}

.tfl-define-popup__desktop {
	border-radius: 0 !important;
	width: 300px !important;
}

.tfl-define-popup__desktop:before {
	display: none !important;
}

.tfl-define-popup__text {
	color: #151515 !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
}

.tfl-define-popup__text b,
.tfl-define-popup__text strong {
	font-weight: 400 !important;
}

.tfl-define-popup .tfl-popup__close {
	opacity: .45;
}

.tfl-define-popup .tfl-popup__close:hover {
	opacity: 1;
}

.tfl-define-popup__buttons {
	grid-template-columns: 1fr 1fr !important;
	grid-gap: 8px !important;
}

.tfl-define-popup a.tfl-define-popup__button,
.tfl-define-popup a.tfl-define-popup__button:hover,
.tfl-define-popup a.tfl-define-popup__button:focus {
	display: flex !important;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 12px !important;
	border-radius: 0 !important;
	box-sizing: border-box;
	font-family: 'Futura New', 'Futura New Book', sans-serif !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	line-height: 1.2 !important;
	letter-spacing: 0.01em;
	text-align: center;
	text-decoration: none !important;
}

.tfl-define-popup a.tfl-define-popup__main,
.tfl-define-popup a.tfl-define-popup__main:hover,
.tfl-define-popup a.tfl-define-popup__main:focus {
	background: #151515 !important;
	color: #fff !important;
	border: 1px solid #151515 !important;
}

.tfl-define-popup a.tfl-define-popup__main:hover {
	background: #000 !important;
	border-color: #000 !important;
}

.tfl-define-popup a.tfl-define-popup__second,
.tfl-define-popup a.tfl-define-popup__second:hover,
.tfl-define-popup a.tfl-define-popup__second:focus {
	background: #fff !important;
	color: #151515 !important;
	border: 1px solid #e8e8e8 !important;
}

.tfl-define-popup a.tfl-define-popup__second:hover {
	background: #f6f6f6 !important;
}

.tfl-define-popup__mobile {
	position: fixed !important;
	top: 72px !important;
	left: 50% !important;
	right: auto !important;
	width: calc(100% - 32px) !important;
	max-width: 360px !important;
	border: 1px solid #e8e8e8 !important;
	border-radius: 0 !important;
	box-shadow: 0 16px 48px rgba(21, 21, 21, .14) !important;
	transform: translateX(-50%);
	z-index: 100000100 !important;
}
