/**
 * Premium top bar overrides (loads after front.min.css)
 */

/* Убираем горизонтальный скролл от выходящих за экран блоков (напр. отриц. margin у .navbar-collapse) */
html:has(body.header-premium) {
	overflow-x: hidden;
	max-width: 100%;
}

:root {
	--hp-bg-1: #12080c;
	--hp-bg-2: #1f1218;
	--hp-bg-3: #150a0e;
	--hp-gold: #c9a962;
	--hp-gold-soft: rgba(201, 169, 98, 0.35);
	--hp-glass: rgba(255, 255, 255, 0.06);
	--hp-text: rgba(255, 255, 255, 0.94);
	--hp-muted: rgba(255, 255, 255, 0.52);
	/* Монохром → ~#c9a962 (иконки PNG в фильтрах навбара) */
	--hp-icon-filter: brightness(0) saturate(100%) invert(79%) sepia(44%) saturate(420%)
		hue-rotate(4deg) brightness(0.96) contrast(0.9);
	--hp-icon-filter-hover: brightness(0) saturate(100%) invert(86%) sepia(38%) saturate(480%)
		hue-rotate(6deg) brightness(1.04) contrast(0.92);
	/* Карточки ленты — золотой акцент (как шапка / --hp-gold) */
	--card-accent-hi: #f5ead4;
	--card-accent-mid: #e8d5a8;
	--card-accent: #c9a962;
	--card-accent-deep: #8f6f3a;
	--card-glow: rgba(201, 169, 98, 0.42);
	--card-surface: rgba(28, 18, 24, 0.92);
	--card-surface-2: rgba(31, 22, 28, 0.94);
}

/* Фон страницы — тот же тон и градиент, что у топ-бара и кнопки города */
/*
 * front.min.css: .navbar-collapse { display:flex; flex-wrap:wrap } — вместе с float/отступами
 * даёт «две колонки» (фильтры | контент) и горизонтальный скролл на архивах/фильтрах.
 * Явно колонка: шапка → навбар → лента → футер, как на главной.
 */
body.header-premium {
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	max-width: 100vw;
	min-height: 100vh;
	overflow-x: hidden;
	box-sizing: border-box;
	background-color: var(--hp-bg-1);
	background-image: linear-gradient(
		165deg,
		var(--hp-bg-1) 0%,
		var(--hp-bg-2) 42%,
		var(--hp-bg-3) 100%
	);
	background-attachment: fixed;
	color: var(--hp-text);
}

body.header-premium > header#header,
body.header-premium > nav.navbar,
body.header-premium > section.main,
body.header-premium > button.up__button,
body.header-premium > footer.footer {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	float: none !important;
	clear: both !important;
	flex-shrink: 0;
	box-sizing: border-box;
}

body.header-premium > section.main {
	flex: 1 1 auto;
	min-height: 0;
}

body.header-premium .main {
	background: transparent;
	/* front.min: min-height: calc(100vh - 120px) — на архивах/фильтрах даёт «пустоту» и странные отступы */
	min-height: 0;
	padding-top: 0;
	padding-bottom: 1rem;
	position: relative;
	z-index: 1;
	width: 100%;
	box-sizing: border-box;
}

/*
 * front.min: .main__inner { align-items: flex-start } — лента не на всю ширину,
 * на страницах таксономии (Возраст/Молодые и т.д.) сетка и шапка выглядят «сломанными».
 */
body.header-premium .main__inner {
	display: flex;
	flex-direction: column;
	align-items: stretch !important;
	justify-content: flex-start !important;
	width: 100%;
	max-width: 100%;
	min-height: 0;
	box-sizing: border-box;
}

body.header-premium .allformspage,
body.header-premium .cards {
	width: 100%;
	max-width: 100%;
	align-self: stretch;
	box-sizing: border-box;
}

/* Заголовок страницы — как слоган в шапке (.topsearch--tagline) */
body.header-premium section.main .main__inner > h1,
body.header-premium .main__inner > h1 {
	align-self: stretch !important;
	width: 100% !important;
	text-align: center !important;
	font-family: "DM Sans", system-ui, sans-serif !important;
	font-size: clamp(2.4rem, 3.4vw, 3.12rem) !important;
	font-weight: 500 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	color: rgba(255, 255, 255, 0.78) !important;
	line-height: 1.2 !important;
	margin: 0 0 1rem !important;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
	-webkit-text-size-adjust: 100%;
}

@media (max-width: 991px) {
	body.header-premium section.main .main__inner > h1,
	body.header-premium .main__inner > h1 {
		font-size: clamp(1.35rem, 7vw, 2.25rem) !important;
	}
}

@media (max-width: 576px) {
	body.header-premium section.main .main__inner > h1,
	body.header-premium .main__inner > h1 {
		font-size: clamp(1.15rem, 6.5vw, 1.85rem) !important;
	}
}

/* Хлебные крошки — вид «строка навигации»: градиентная полоса слева + линия снизу */
body.header-premium .main__inner > p.way,
body.header-premium .way {
	font-family: "DM Sans", system-ui, sans-serif !important;
	font-size: clamp(1.02rem, 1.65vw, 1.2rem) !important;
	font-weight: 400 !important;
	letter-spacing: 0.03em !important;
	text-transform: none !important;
	color: rgba(255, 255, 255, 0.58) !important;
	line-height: 1.5 !important;
	text-shadow: none;
	-webkit-text-size-adjust: 100%;
	display: block;
	position: relative;
	max-width: 100%;
	margin: 0 0 0.75rem;
	padding: 0.2rem 0 0.5rem 0.9rem;
	border: none;
	border-bottom: 1px solid rgba(201, 169, 98, 0.16);
	box-sizing: border-box;
}

body.header-premium .main__inner > p.way::before,
body.header-premium .way::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.12rem;
	bottom: 0.42rem;
	width: 3px;
	border-radius: 2px;
	background: linear-gradient(
		180deg,
		rgba(232, 213, 168, 0.95) 0%,
		rgba(201, 169, 98, 0.55) 45%,
		rgba(201, 169, 98, 0.12) 100%
	);
	pointer-events: none;
}

body.header-premium .way a {
	color: rgba(255, 255, 255, 0.86) !important;
	font-weight: 500 !important;
	text-decoration: none !important;
	transition: color 0.2s ease;
}

body.header-premium .way a:hover {
	color: var(--hp-gold) !important;
	text-decoration: none !important;
}

@media (max-width: 991px) {
	body.header-premium .main__inner > p.way,
	body.header-premium .way {
		font-size: clamp(0.98rem, 1.95vw, 1.12rem) !important;
		padding-left: 0.75rem;
	}
}

@media (max-width: 576px) {
	body.header-premium .main__inner > p.way,
	body.header-premium .way {
		font-size: clamp(0.94rem, 3.2vw, 1.06rem) !important;
		padding-bottom: 0.45rem;
	}
}

/* Пустая лента: нет анкет — карточка по центру (font-size с !important — перебивает Bootstrap и плагины) */
body.header-premium section.main .main__inner .girls-empty,
body.header-premium .girls-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	box-sizing: border-box;
	width: 100%;
	max-width: 640px;
	margin: clamp(1.25rem, 4vw, 2.75rem) auto;
	padding: clamp(1.75rem, 5vw, 2.75rem) clamp(1.35rem, 4vw, 2.25rem);
	border-radius: 22px;
	border: 1px solid rgba(201, 169, 98, 0.28);
	background: linear-gradient(
		168deg,
		rgba(28, 16, 22, 0.94) 0%,
		rgba(14, 8, 11, 0.97) 45%,
		rgba(22, 12, 17, 0.95) 100%
	);
	box-shadow:
		0 12px 40px rgba(0, 0, 0, 0.4),
		0 0 0 1px rgba(255, 255, 255, 0.04) inset,
		0 0 28px rgba(201, 169, 98, 0.06);
	position: relative;
	overflow: hidden;
	min-height: clamp(200px, 32vh, 420px);
}

body.header-premium section.main .main__inner .girls-empty::before,
body.header-premium .girls-empty::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 2px;
	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(201, 169, 98, 0.35) 40%,
		var(--hp-gold) 50%,
		rgba(201, 169, 98, 0.35) 60%,
		transparent 100%
	);
	pointer-events: none;
}

body.header-premium section.main .main__inner .girls-empty .girls-empty__inner,
body.header-premium .girls-empty__inner {
	position: relative;
	z-index: 1;
	max-width: 28rem;
	margin: 0 auto;
}

body.header-premium section.main .main__inner .girls-empty .girls-empty__title,
body.header-premium .girls-empty .girls-empty__title {
	/* DM Sans — уже на странице (фильтры, крошки); без Cormorant = нет FOUT/мигания от Google Fonts swap */
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: clamp(1.85rem, 4.8vw, 2.55rem) !important;
	font-weight: 600;
	letter-spacing: 0.06em;
	margin: 0 0 0.95rem;
	line-height: 1.28;
	background: linear-gradient(92deg, var(--card-accent-hi) 0%, var(--card-accent-mid) 45%, var(--card-accent) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

body.header-premium section.main .main__inner .girls-empty .girls-empty__hint,
body.header-premium .girls-empty .girls-empty__hint {
	margin: 0;
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: clamp(1.12rem, 2.6vw, 1.3rem) !important;
	font-weight: 400;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.58);
}

body.header-premium section.main .main__inner .girls-empty .girls-empty__hint a,
body.header-premium .girls-empty .girls-empty__hint a {
	color: rgba(255, 252, 248, 0.88) !important;
	font-weight: 500;
	text-decoration: none !important;
	border-bottom: 1px solid rgba(201, 169, 98, 0.35);
	transition: color 0.2s ease, border-color 0.2s ease;
}

body.header-premium section.main .main__inner .girls-empty .girls-empty__hint a:hover,
body.header-premium .girls-empty .girls-empty__hint a:hover {
	color: var(--hp-gold) !important;
	border-bottom-color: rgba(201, 169, 98, 0.65);
}

body.header-premium section.main .main__inner .girls-empty.girls-empty--similar,
body.header-premium .girls-empty.girls-empty--similar {
	min-height: auto;
	max-width: 100%;
	margin: 1rem 0 1.5rem;
	padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1rem, 3vw, 1.5rem);
}

body.header-premium section.main .main__inner .girls-empty.girls-empty--similar .girls-empty__title,
body.header-premium .girls-empty.girls-empty--similar .girls-empty__title {
	font-size: clamp(1.45rem, 3.5vw, 1.88rem) !important;
	margin-bottom: 0.5rem;
}

body.header-premium section.main .main__inner .girls-empty.girls-empty--similar .girls-empty__hint,
body.header-premium .girls-empty.girls-empty--similar .girls-empty__hint {
	font-size: clamp(1.05rem, 2.25vw, 1.2rem) !important;
}

body.header-premium section.main .main__inner .girls-empty.girls-empty--search,
body.header-premium .girls-empty.girls-empty--search {
	max-width: 520px;
	min-height: clamp(180px, 28vh, 360px);
}

/* SEO-блок под h1: .textmain (archive, front-page, single) — тот же язык, что у карточек и модалки */
body.header-premium .textmain {
	width: 100%;
	box-sizing: border-box;
	margin: 2rem 0 0;
	padding: 1.5rem 1.5rem 1.65rem;
	border-radius: 18px;
	border: 1px solid rgba(201, 169, 98, 0.22);
	background: linear-gradient(
		168deg,
		rgba(28, 16, 22, 0.94) 0%,
		rgba(14, 8, 11, 0.97) 45%,
		rgba(22, 12, 17, 0.95) 100%
	);
	box-shadow:
		0 12px 40px rgba(0, 0, 0, 0.4),
		0 0 0 1px rgba(255, 255, 255, 0.04) inset,
		0 0 28px rgba(201, 169, 98, 0.06);
	position: relative;
	overflow: hidden;
	color: rgba(255, 255, 255, 0.82);
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: clamp(1.22rem, 1.7vw, 1.45rem);
	line-height: 1.65;
}

body.header-premium .textmain::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 2px;
	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(201, 169, 98, 0.35) 40%,
		var(--hp-gold) 50%,
		rgba(201, 169, 98, 0.35) 60%,
		transparent 100%
	);
	opacity: 0.9;
	pointer-events: none;
}

body.header-premium .textmain h2 {
	font-family: "Cormorant Garamond", "Times New Roman", serif !important;
	font-size: clamp(1.85rem, 3.1vw, 2.45rem) !important;
	font-weight: 600 !important;
	letter-spacing: 0.06em !important;
	color: rgba(255, 252, 248, 0.96) !important;
	margin: 0 0 1rem !important;
	padding-bottom: 0.75rem !important;
	border-bottom: 1px solid rgba(201, 169, 98, 0.2) !important;
	line-height: 1.25 !important;
}

body.header-premium .textmain p,
body.header-premium .textmain li {
	font-family: "DM Sans", system-ui, sans-serif !important;
	font-size: clamp(1.22rem, 1.7vw, 1.45rem) !important;
	line-height: 1.65 !important;
	color: rgba(255, 255, 255, 0.82) !important;
	margin: 0 0 0.85em !important;
}

body.header-premium .textmain p:last-child {
	margin-bottom: 0 !important;
}

body.header-premium .textmain a {
	color: var(--hp-gold);
	text-decoration: none;
	border-bottom: 1px solid rgba(201, 169, 98, 0.35);
	transition: color 0.2s ease, border-color 0.2s ease;
}

body.header-premium .textmain a:hover {
	color: #f5ead4;
	border-bottom-color: rgba(232, 213, 168, 0.5);
}

body.header-premium .textmain ul,
body.header-premium .textmain ol {
	padding-left: 1.25rem;
	margin: 0 0 1rem;
}

body.header-premium .textmain h3,
body.header-premium .textmain h4 {
	font-family: "Cormorant Garamond", "Times New Roman", serif;
	font-size: clamp(1.38rem, 2.1vw, 1.75rem);
	color: rgba(255, 252, 248, 0.95);
	margin: 1.25rem 0 0.5rem;
	font-weight: 600;
}

@media (max-width: 576px) {
	body.header-premium .textmain {
		padding: 1.15rem 1.1rem 1.25rem;
		margin-top: 1.5rem;
		border-radius: 14px;
	}
}

/* Профиль: полоса города / телефона / района / метро — как карточка и .textmain */
body.header-premium .forminfohead {
	width: 100%;
	box-sizing: border-box;
	margin: 0.75rem 0 1.5rem !important;
	padding: 1.5rem 1.65rem 1.55rem !important;
	min-height: 3.85rem;
	border-radius: 18px;
	border: 1px solid rgba(201, 169, 98, 0.22) !important;
	background: linear-gradient(
		168deg,
		rgba(28, 16, 22, 0.94) 0%,
		rgba(14, 8, 11, 0.97) 45%,
		rgba(22, 12, 17, 0.95) 100%
	) !important;
	box-shadow:
		0 12px 40px rgba(0, 0, 0, 0.4),
		0 0 0 1px rgba(255, 255, 255, 0.04) inset,
		0 0 28px rgba(201, 169, 98, 0.06);
	position: relative;
	overflow: hidden;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	flex-wrap: nowrap !important;
	gap: clamp(8px, 1.5vw, 18px) !important;
}

body.header-premium .forminfohead::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 2px;
	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(201, 169, 98, 0.35) 40%,
		var(--hp-gold) 50%,
		rgba(201, 169, 98, 0.35) 60%,
		transparent 100%
	);
	opacity: 0.9;
	pointer-events: none;
}

body.header-premium .forminfohead > div,
body.header-premium .forminfohead > h2 {
	padding: 0 !important;
}

body.header-premium .forminfohead > div {
	flex: 1 1 0;
	min-width: 0;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

body.header-premium .forminfohead > div:first-child {
	justify-content: flex-start !important;
}

body.header-premium .forminfohead > div:last-child {
	justify-content: flex-end !important;
}

body.header-premium .forminfohead > div:only-child {
	justify-content: center !important;
}

body.header-premium .forminfohead .profile__formlink {
	font-family: "DM Sans", system-ui, sans-serif !important;
	font-size: clamp(1.22rem, 1.85vw, 1.45rem) !important;
	font-weight: 500 !important;
	color: rgba(255, 252, 248, 0.96) !important;
	text-decoration: none !important;
	gap: 14px !important;
	align-items: center !important;
	transition: color 0.2s ease, opacity 0.2s ease;
}

body.header-premium .forminfohead .profile__formlink:hover {
	color: var(--hp-gold) !important;
	text-decoration: none !important;
}

body.header-premium .forminfohead .profile__formlink img {
	width: 32px !important;
	height: 32px !important;
	object-fit: contain;
	filter: var(--hp-icon-filter);
	opacity: 0.92;
	flex-shrink: 0;
}

body.header-premium .forminfohead .phone .profile__formlink {
	font-size: clamp(1.3rem, 2.05vw, 1.62rem) !important;
	font-weight: 600 !important;
	letter-spacing: 0.02em;
	color: rgba(255, 255, 255, 0.92) !important;
}

body.header-premium .forminfohead .phone .profile__formlink:hover {
	color: var(--hp-gold) !important;
}

body.header-premium .forminfohead button.profile__formlink.phone-modal-trigger--inline {
	border: none;
	background: transparent;
	cursor: pointer;
	font: inherit;
	text-align: inherit;
	padding: 0;
	margin: 0;
	-webkit-appearance: none;
	appearance: none;
}

body.header-premium .forminfohead .metro,
body.header-premium .forminfohead .region,
body.header-premium .forminfohead .phone {
	font-weight: 400 !important;
}

@media (max-width: 768px) {
	body.header-premium .forminfohead {
		flex-wrap: wrap !important;
		justify-content: flex-start !important;
		row-gap: 12px !important;
	}

	body.header-premium .forminfohead > div {
		flex: 1 1 calc(50% - 8px);
		min-width: min(100%, 200px);
		justify-content: flex-start !important;
	}

	body.header-premium .forminfohead > div:last-child {
		justify-content: flex-start !important;
	}
}

@media (max-width: 576px) {
	body.header-premium .forminfohead {
		padding: 1.15rem 1.2rem 1.2rem !important;
		min-height: 0;
		border-radius: 14px;
		gap: 10px 14px !important;
	}

	body.header-premium .forminfohead > div {
		flex: 1 1 100%;
	}
}

/* Футер — тот же язык, что у топ-бара (перебиваем header,footer и footer из front.min.css) */
body.header-premium footer.footer {
	margin-top: 0;
	background: linear-gradient(175deg, var(--hp-bg-3) 0%, var(--hp-bg-2) 48%, var(--hp-bg-1) 100%);
	color: var(--hp-text);
	border-top: 1px solid var(--hp-gold-soft);
	box-shadow:
		0 -10px 36px rgba(0, 0, 0, 0.4),
		inset 0 1px 0 rgba(255, 255, 255, 0.05);
	position: relative;
	z-index: 11;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

body.header-premium footer.footer::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 1px;
	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(201, 169, 98, 0.45) 50%,
		transparent 100%
	);
	pointer-events: none;
}

body.header-premium footer.footer .footer__inner {
	align-items: center;
	gap: clamp(12px, 2.5vw, 28px);
	padding-top: 1.25rem;
	padding-bottom: 1.25rem;
	flex-wrap: wrap;
}

body.header-premium footer.footer .footer__inner > p {
	margin: 0;
	flex: 1 1 auto;
	min-width: min(100%, 200px);
	text-align: center;
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: clamp(1.08rem, 1.45vw, 1.22rem);
	font-weight: 400;
	color: var(--hp-muted);
	letter-spacing: 0.03em;
	line-height: 1.4;
}

body.header-premium footer.footer .footer__popup {
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: clamp(1.08rem, 1.45vw, 1.22rem);
	font-weight: 500;
	color: var(--hp-gold);
	text-decoration: none;
	border-bottom: 1px solid rgba(201, 169, 98, 0.38);
	padding-bottom: 2px;
	transition: color 0.2s ease, border-color 0.2s ease;
	white-space: nowrap;
}

body.header-premium footer.footer .footer__popup:hover {
	color: #f5ead4;
	border-bottom-color: rgba(232, 213, 168, 0.55);
}

@media (max-width: 576px) {
	body.header-premium footer.footer .footer__inner {
		flex-direction: column;
		text-align: center;
		padding-top: 1rem;
		padding-bottom: 1rem;
	}

	body.header-premium footer.footer .footer__inner > p {
		order: 3;
		width: 100%;
	}

	body.header-premium footer.footer .hlogo {
		order: 1;
		justify-content: center;
	}

	body.header-premium footer.footer .footer__popup {
		order: 2;
	}
}

/* Верхняя полоса (общий header,footer в front.min.css перебиваем точечными правилами premium) */
header#header.header--premium {
	background: linear-gradient(165deg, var(--hp-bg-1) 0%, var(--hp-bg-2) 42%, var(--hp-bg-3) 100%);
	color: var(--hp-text);
	border-bottom: 1px solid var(--hp-gold-soft);
	box-shadow:
		0 8px 32px rgba(0, 0, 0, 0.45),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
	position: relative;
	z-index: 1000;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

header#header.header--premium::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 1px;
	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(201, 169, 98, 0.45) 50%,
		transparent 100%
	);
	pointer-events: none;
}

header#header.header--premium .header__inner {
	padding-top: 0.875rem;
	padding-bottom: 0.875rem;
	align-items: center;
	gap: clamp(12px, 2vw, 28px);
}

header#header.header--premium .hlogo,
body.header-premium footer.footer .hlogo {
	gap: 14px;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

header#header.header--premium .hlogo:hover,
body.header-premium footer.footer .hlogo:hover {
	opacity: 0.92;
	text-decoration: none;
}

header#header.header--premium .hlogo__mark-wrap,
body.header-premium footer.footer .hlogo__mark-wrap {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(201, 169, 98, 0.12) 100%);
	border: 1px solid rgba(201, 169, 98, 0.25);
	box-shadow:
		0 4px 16px rgba(0, 0, 0, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

header#header.header--premium .hlogo__mark,
body.header-premium footer.footer .hlogo__mark {
	display: block;
	width: 30px;
	height: 30px;
	object-fit: contain;
	filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.45));
	/* SVG в файле белый — чуть тёплый оттенок */
	opacity: 0.96;
}

header#header.header--premium .hlogo__text,
body.header-premium footer.footer .hlogo__text {
	display: flex;
	flex-direction: row;
	align-items: center;
	line-height: 1.1;
	font-family: "Cormorant Garamond", "Times New Roman", serif;
	white-space: nowrap;
}

header#header.header--premium .hlogo__title,
body.header-premium footer.footer .hlogo__title {
	font-size: clamp(1.35rem, 2.1vw, 1.85rem);
	font-weight: 600;
	letter-spacing: 0.06em;
	background: linear-gradient(120deg, #fff 0%, var(--hp-gold) 52%, #f0e6d4 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

/* Слоган: перебиваем .topsearch { width: 285px } из front.min.css и любые чужие font-size */
header#header.header--premium .header__inner > .topsearch.topsearch--tagline {
	flex: 1 1 auto !important;
	width: auto !important;
	min-width: 0 !important;
	max-width: min(96vw, 920px) !important;
	margin: 0 auto !important;
	padding: 0.25rem 0 !important;
	text-align: center !important;
	font-family: "DM Sans", system-ui, sans-serif !important;
	font-size: clamp(2.4rem, 3.4vw, 3.12rem) !important;
	font-weight: 500 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	color: rgba(255, 255, 255, 0.78) !important;
	line-height: 1.2 !important;
	opacity: 1 !important;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
	-webkit-text-size-adjust: 100%;
}

/* Кнопка выбора города (класс city__button нужен для front.min.js) — шапка и мобильный дровер */
header#header.header--premium .header-city-btn,
body.header-premium #navbar .header-city-wrap--drawer .header-city-btn {
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	margin: 0;
	font-family: "DM Sans", system-ui, sans-serif;
	color: var(--hp-text);
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.45rem 0.85rem 0.45rem 0.55rem;
	min-height: 54px;
	box-sizing: border-box;
	position: relative;
	text-align: left;
	border-radius: 14px;
	border: 1px solid rgba(201, 169, 98, 0.38);
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.09) 0%, rgba(20, 12, 16, 0.92) 48%, rgba(201, 169, 98, 0.06) 100%);
	box-shadow:
		0 6px 22px rgba(0, 0, 0, 0.42),
		inset 0 1px 0 rgba(255, 255, 255, 0.1),
		inset 0 -1px 0 rgba(0, 0, 0, 0.35);
	transition:
		border-color 0.25s ease,
		box-shadow 0.25s ease,
		transform 0.2s ease,
		background 0.25s ease;
}

/* Дровер: без иконки — больше воздуха слева от золотой полоски */
body.header-premium #navbar .header-city-wrap--drawer .header-city-btn {
	padding-left: 1.15rem;
	padding-right: 0.9rem;
}

header#header.header--premium .header-city-btn__accent,
body.header-premium #navbar .header-city-wrap--drawer .header-city-btn__accent {
	position: absolute;
	left: 0;
	top: 10px;
	bottom: 10px;
	width: 4px;
	border-radius: 0 6px 6px 0;
	background: linear-gradient(180deg, #e8d5a8 0%, var(--hp-gold) 45%, #7a5c28 100%);
	box-shadow: 0 0 12px rgba(201, 169, 98, 0.45);
	pointer-events: none;
}

header#header.header--premium .header-city-btn__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.28);
	border: 1px solid rgba(201, 169, 98, 0.22);
	color: var(--hp-gold);
	flex-shrink: 0;
}

/* В мобильном дровере иконка метки скрыта */
body.header-premium #navbar .header-city-wrap--drawer .header-city-btn__icon {
	display: none !important;
}

header#header.header--premium .header-city-btn__pin {
	display: block;
}

header#header.header--premium .header-city-btn__text,
body.header-premium #navbar .header-city-wrap--drawer .header-city-btn__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 0.1rem;
	min-width: 0;
	padding-right: 0.15rem;
}

header#header.header--premium .header-city-btn__hint,
body.header-premium #navbar .header-city-wrap--drawer .header-city-btn__hint {
	font-size: 0.65rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.45);
	line-height: 1;
}

header#header.header--premium .header-city-btn__name,
body.header-premium #navbar .header-city-wrap--drawer .header-city-btn__name {
	font-size: 0.98rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: rgba(255, 255, 255, 0.96);
	line-height: 1.15;
	white-space: nowrap;
	max-width: 11rem;
	overflow: hidden;
	text-overflow: ellipsis;
}

header#header.header--premium .header-city-btn__caret,
body.header-premium #navbar .header-city-wrap--drawer .header-city-btn__caret {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--hp-gold);
	opacity: 0.88;
	flex-shrink: 0;
	margin-left: 0.1rem;
}

header#header.header--premium .header-city-btn:hover,
body.header-premium #navbar .header-city-wrap--drawer .header-city-btn:hover {
	border-color: rgba(232, 213, 168, 0.55);
	box-shadow:
		0 10px 32px rgba(0, 0, 0, 0.48),
		0 0 0 1px rgba(201, 169, 98, 0.15) inset,
		0 0 28px rgba(201, 169, 98, 0.12);
	transform: translateY(-1px);
}

header#header.header--premium .header-city-btn:focus,
body.header-premium #navbar .header-city-wrap--drawer .header-city-btn:focus {
	outline: none;
	box-shadow:
		0 6px 22px rgba(0, 0, 0, 0.42),
		0 0 0 2px rgba(201, 169, 98, 0.55),
		0 0 20px rgba(201, 169, 98, 0.2);
}

header#header.header--premium .header-city-btn:focus:not(:focus-visible),
body.header-premium #navbar .header-city-wrap--drawer .header-city-btn:focus:not(:focus-visible) {
	box-shadow:
		0 6px 22px rgba(0, 0, 0, 0.42),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

header#header.header--premium .header-city-btn:active,
body.header-premium #navbar .header-city-wrap--drawer .header-city-btn:active {
	transform: translateY(0);
}

header#header.header--premium .navbar-toggle {
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.05);
	padding: 10px 12px;
	transition:
		background 0.22s ease,
		border-color 0.22s ease,
		box-shadow 0.22s ease,
		transform 0.18s ease;
}

header#header.header--premium .navbar-toggle:hover,
header#header.header--premium .navbar-toggle:focus {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(201, 169, 98, 0.38);
	box-shadow:
		0 0 0 1px rgba(201, 169, 98, 0.12),
		0 4px 16px rgba(0, 0, 0, 0.28);
}

header#header.header--premium .navbar-toggle:hover .icon-bar,
header#header.header--premium .navbar-toggle:focus .icon-bar {
	background: rgba(255, 255, 255, 1);
}

header#header.header--premium .navbar-toggle:active {
	transform: scale(0.96);
}

header#header.header--premium .navbar-toggle .icon-bar {
	background: rgba(255, 255, 255, 0.9);
	border-radius: 1px;
	transition: background 0.2s ease;
}

@media (max-width: 767px) {
	header#header.header--premium .navbar-toggle {
		padding: 6px 7px;
		border-radius: 9px;
	}

	header#header.header--premium .navbar-toggle .icon-bar {
		width: 18px;
	}
}

@media (max-width: 991px) {
	header#header.header--premium .header__inner > .topsearch.topsearch--tagline {
		order: 4;
		width: 100% !important;
		max-width: none !important;
		padding-top: 8px !important;
		font-size: clamp(1.35rem, 7vw, 2.25rem) !important;
	}
}

@media (max-width: 576px) {
	header#header.header--premium .header__inner > .topsearch.topsearch--tagline {
		font-size: clamp(1.15rem, 6.5vw, 1.85rem) !important;
	}

	header#header.header--premium .header-city-btn {
		min-height: 48px;
		padding: 0.4rem 0.65rem 0.4rem 0.45rem;
		gap: 0.5rem;
	}

	body.header-premium #navbar .header-city-wrap--drawer .header-city-btn {
		min-height: 48px;
		padding: 0.45rem 0.75rem 0.45rem 1.1rem;
		gap: 0.5rem;
	}

	header#header.header--premium .header-city-btn__name,
	body.header-premium #navbar .header-city-wrap--drawer .header-city-btn__name {
		font-size: 1.05rem;
		max-width: 9rem;
	}

	header#header.header--premium .header-city-btn__icon {
		width: 32px;
		height: 32px;
	}
}

/* -------------------------------------------------------------------------
   Модалка выбора города — стекло + сетка, в духе premium header
   ------------------------------------------------------------------------- */

.modal__city.modal__city--premium {
	/* Выше #navbar (100000) и шапки (100001), иначе модалка не видна при открытом дровере */
	z-index: 100010 !important;
	/*
	 * iOS Safari: не даём оверлею быть scroll-container (front.min: overflow-y:auto).
	 * Иначе при фокусе в поиске и клавиатуре вьюпорт прыгает и модалка «плывёт».
	 */
	overflow: hidden !important;
	overscroll-behavior: none;
	background:
		radial-gradient(ellipse 90% 65% at 50% 35%, rgba(55, 32, 42, 0.45) 0%, transparent 55%),
		rgba(4, 2, 4, 0.82) !important;
	backdrop-filter: blur(18px) saturate(1.15);
	-webkit-backdrop-filter: blur(18px) saturate(1.15);
}

.modal__city--premium .modal__city--inner {
	max-width: min(1120px, 98vw) !important;
	padding-left: 18px;
	padding-right: 18px;
	max-height: 100%;
	box-sizing: border-box;
}

.modal__city--premium .modal__city--content {
	position: relative;
	width: 100% !important;
	/* Колонка + min-height:0 — чтобы .modal__city--box мог сжиматься и скроллиться внутри карточки */
	min-height: 0;
	padding: 0 !important;
	border-radius: 26px !important;
	border: 1px solid rgba(201, 169, 98, 0.22) !important;
	background: linear-gradient(
		168deg,
		rgba(38, 22, 30, 0.94) 0%,
		rgba(16, 9, 12, 0.97) 48%,
		rgba(24, 14, 18, 0.95) 100%
	) !important;
	box-shadow:
		0 28px 70px rgba(0, 0, 0, 0.58),
		0 0 0 1px rgba(255, 255, 255, 0.05) inset,
		0 1px 0 rgba(255, 255, 255, 0.09) inset !important;
	overflow: hidden;
	transform: translateY(16px) scale(0.97);
	transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
	/* front.min: align-items:flex-start — дети сжимаются по ширине; нужна полная ширина. */
	align-items: stretch !important;
}

.modal__city.modal__city--premium.active .modal__city--content {
	transform: translateY(0) scale(1);
}

.modal__city--premium .modal__city--content::before {
	z-index: 0;
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 3px;
	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(201, 169, 98, 0.15) 12%,
		var(--hp-gold) 50%,
		rgba(201, 169, 98, 0.15) 88%,
		transparent 100%
	);
	pointer-events: none;
}

.modal__city--premium .modal__city--content::after {
	z-index: 0;
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
	opacity: 0.5;
	pointer-events: none;
	mix-blend-mode: overlay;
}

/* Контент модалки поверх декоративных слоёв (иначе на iOS/WebKit пропадают названия городов). */
.modal__city--premium .modal__city--content > .modal__city--wrapper,
.modal__city--premium .modal__city--content > .modal__city--search-row,
.modal__city--premium .modal__city--content > .modal__city--box {
	position: relative;
	z-index: 2;
}

.modal__city--premium .modal__city--wrapper {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 1.65rem 1.75rem 1.2rem 1.85rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.modal__city--premium .modal__city--title {
	margin: 0 !important;
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: clamp(1.22rem, 2.4vw, 1.55rem);
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255, 252, 248, 0.98) !important;
	text-shadow: none;
}

.modal__city--premium .modal__city--search-row {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 0 1.75rem 1.15rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.modal__city--premium .modal__city--search-label.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.modal__city--premium .modal__city--search {
	width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 0.85rem 1.25rem;
	border-radius: 999px;
	border: 1px solid rgba(201, 169, 98, 0.38);
	background: rgba(0, 0, 0, 0.4);
	color: rgba(255, 255, 255, 0.94);
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: clamp(1.02rem, 1.65vw, 1.12rem);
	outline: none;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.modal__city--premium .modal__city--search::placeholder {
	color: rgba(255, 255, 255, 0.38);
}

.modal__city--premium .modal__city--search:focus {
	border-color: rgba(232, 213, 168, 0.55);
	box-shadow: 0 0 0 2px rgba(201, 169, 98, 0.25);
}

.modal__city--premium .modal__city--cross {
	appearance: none;
	-webkit-appearance: none;
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(0, 0, 0, 0.35);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
	transition:
		background 0.22s ease,
		border-color 0.22s ease,
		transform 0.18s ease,
		box-shadow 0.22s ease;
}

.modal__city--premium .modal__city--cross:hover {
	background: rgba(201, 169, 98, 0.14);
	border-color: rgba(201, 169, 98, 0.4);
	box-shadow:
		0 0 0 1px rgba(201, 169, 98, 0.15),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.modal__city--premium .modal__city--cross:active {
	transform: scale(0.94);
}

.modal__city--premium .modal__city--cross:focus-visible {
	outline: none;
	box-shadow: 0 0 0 2px rgba(201, 169, 98, 0.55);
}

.modal__city--premium .modal__city--cross img {
	display: block;
	width: 16px;
	height: 16px;
	filter: invert(1) brightness(1.2);
	opacity: 0.75;
	transition: opacity 0.2s ease;
}

.modal__city--premium .modal__city--cross:hover img {
	opacity: 1;
}

.modal__city--premium .modal__city--box {
	position: relative;
	z-index: 1;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 1.25rem 1.6rem 1.5rem !important;
	max-height: min(64vh, 600px);
	isolation: isolate;
	overflow-x: hidden;
	overflow-y: auto;
	scrollbar-color: rgba(201, 169, 98, 0.45) rgba(0, 0, 0, 0.35);
	scrollbar-width: thin;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap !important;
	align-items: stretch;
	align-content: stretch;
	gap: 0;
	box-sizing: border-box;
}

.modal__city--premium .modal__city--box::-webkit-scrollbar {
	width: 8px;
}

.modal__city--premium .modal__city--box::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.35);
	border-radius: 6px;
}

.modal__city--premium .modal__city--box::-webkit-scrollbar-thumb {
	background: rgba(201, 169, 98, 0.4);
	border-radius: 6px;
}

.modal__city--premium .modal__city--italia-row {
	margin-bottom: 0;
	flex-shrink: 0;
}

.modal__city--premium .modal__city--italia-row.modal__city--italia-row-hidden {
	display: none !important;
}

/* column-count только на широком экране — иначе WebKit сжимает список в «полоску» справа */
.modal__city--premium .modal__city--multi {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.modal__city--premium .modal__city--letter-block {
	break-inside: avoid;
	margin-bottom: 1.35rem;
	padding: 0.75rem 0.85rem 0.65rem;
	border-radius: 14px;
	background: rgba(0, 0, 0, 0.28);
	border: 1px solid rgba(201, 169, 98, 0.14);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.05),
		0 4px 14px rgba(0, 0, 0, 0.2);
}

.modal__city--premium .modal__city--letter-block.modal__city--letter-block-hidden {
	display: none !important;
}

.modal__city--premium .modal__city--letter {
	margin: 0 0 0.55rem;
	padding: 0 0 0.35rem;
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: clamp(1.05rem, 1.45vw, 1.2rem);
	font-weight: 700;
	letter-spacing: 0.14em;
	color: var(--hp-gold) !important;
	text-transform: uppercase;
	border-bottom: 1px solid rgba(201, 169, 98, 0.2);
}

.modal__city--premium .modal__city--chip {
	display: flex !important;
	align-items: center;
	justify-content: flex-start;
	text-align: left;
	min-height: 0;
	width: 100%;
	padding: 0.68rem 1rem !important;
	border-radius: 999px !important;
	border: 1px solid rgba(201, 169, 98, 0.2) !important;
	background: rgba(255, 255, 255, 0.05) !important;
	color: rgba(255, 255, 255, 0.92) !important;
	font-family: "DM Sans", system-ui, sans-serif !important;
	font-size: clamp(0.98rem, 1.35vw, 1.1rem) !important;
	font-weight: 500 !important;
	letter-spacing: 0.02em;
	text-decoration: none !important;
	line-height: 1.35;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
	transition:
		background 0.22s ease,
		border-color 0.22s ease,
		box-shadow 0.22s ease,
		transform 0.18s ease,
		color 0.2s ease;
}

.modal__city--premium .modal__city--chip-city {
	margin-bottom: 0.5rem;
	min-height: 2.65rem;
}

/* Читаемый текст на тёмном фоне: Bootstrap a, :visited, iOS Safari -webkit-text-fill */
.modal__city--premium a.modal__city--chip-city,
.modal__city--premium a.modal__city--chip-city:link,
.modal__city--premium a.modal__city--chip-city:visited,
.modal__city--premium a.modal__city--chip-city:hover,
.modal__city--premium a.modal__city--chip-city:focus,
.modal__city--premium a.modal__city--chip-city:active {
	color: #f8f4ec !important;
	-webkit-text-fill-color: #f8f4ec !important;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
}

.modal__city--premium a.modal__city--chip-city:hover {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	background: rgba(201, 169, 98, 0.14) !important;
}

.modal__city--premium .modal__city--chip-city.modal__city--chip-hidden {
	display: none !important;
}

.modal__city--premium .modal__city--chip:hover {
	color: #fff !important;
	background: rgba(201, 169, 98, 0.12) !important;
	border-color: rgba(201, 169, 98, 0.42) !important;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
	transform: translateY(-1px);
}

.modal__city--premium .modal__city--chip:focus {
	outline: none;
	box-shadow:
		0 0 0 2px rgba(201, 169, 98, 0.4),
		0 2px 10px rgba(0, 0, 0, 0.18);
}

/* Italia — акцентная «премиум» кнопка: градиент, золото, лёгкое свечение */
.modal__city--premium .modal__city--chip-italia {
	position: relative;
	overflow: hidden;
	justify-content: center;
	text-align: center;
	min-height: 58px;
	border-radius: 16px !important;
	font-size: clamp(1.05rem, 1.7vw, 1.15rem) !important;
	font-weight: 700 !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border-style: solid !important;
	border-width: 1px !important;
	border-color: rgba(232, 213, 168, 0.45) !important;
	background: linear-gradient(
		168deg,
		rgba(201, 169, 98, 0.22) 0%,
		rgba(90, 58, 38, 0.55) 38%,
		rgba(18, 10, 14, 0.96) 100%
	) !important;
	color: #f5ead4 !important;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.14),
		inset 0 -1px 0 rgba(0, 0, 0, 0.35),
		0 10px 32px rgba(0, 0, 0, 0.42),
		0 0 28px rgba(201, 169, 98, 0.18);
}

.modal__city--premium .modal__city--chip-italia::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(
		125deg,
		transparent 0%,
		rgba(255, 255, 255, 0.07) 42%,
		transparent 68%
	);
	pointer-events: none;
	opacity: 0.85;
}

.modal__city--premium .modal__city--chip-italia:hover {
	border-color: rgba(245, 234, 212, 0.55) !important;
	color: #fff !important;
	background: linear-gradient(
		168deg,
		rgba(232, 213, 168, 0.28) 0%,
		rgba(201, 169, 98, 0.22) 42%,
		rgba(28, 16, 20, 0.98) 100%
	) !important;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.18),
		0 14px 28px rgba(0, 0, 0, 0.35),
		0 0 36px rgba(201, 169, 98, 0.28);
	transform: translateY(-2px);
}

/* Очень широкий экран: Italia слева, сетка городов справа. До 1200px — всегда столбец (Italia сверху, список снизу). */
@media (min-width: 1200px) {
	.modal__city--premium .modal__city--box {
		flex-direction: row;
		flex-wrap: nowrap !important;
		align-items: flex-start;
		gap: 1.35rem;
	}

	.modal__city--premium .modal__city--italia-row {
		flex: 0 0 148px;
		width: 148px;
		padding: 0.25rem 1.15rem 0.25rem 0;
		border-bottom: none;
		border-right: 1px solid rgba(201, 169, 98, 0.18);
		display: flex;
		align-items: flex-start;
		justify-content: stretch;
	}

	.modal__city--premium .modal__city--italia-row .modal__city--chip-italia {
		width: 100%;
	}

	.modal__city--premium .modal__city--multi {
		column-count: 4;
		column-gap: 1.35rem;
		display: block;
	}
}

@media (max-width: 1199px) {
	.modal__city--premium .modal__city--box {
		flex-direction: column !important;
		align-items: stretch !important;
		width: 100% !important;
		max-width: 100%;
		min-width: 0;
		align-self: stretch;
		overflow-x: hidden;
		-webkit-overflow-scrolling: touch;
	}

	.modal__city--premium .modal__city--italia-row {
		width: 100%;
		max-width: 100%;
		padding: 0 0 1rem;
		border-right: none;
		border-bottom: 1px solid rgba(201, 169, 98, 0.14);
		margin-bottom: 1rem;
	}

	/* Колонки ломают flex-чипы на мобильном Safari — один столбец без column-count. */
	.modal__city--premium .modal__city--multi {
		display: flex !important;
		flex-direction: column !important;
		column-count: unset !important;
		column-gap: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		flex: 1 1 auto;
		align-self: stretch;
		box-sizing: border-box;
	}

	.modal__city--premium .modal__city--letter-block {
		width: 100%;
		max-width: 100%;
		min-width: 0;
		box-sizing: border-box;
	}

	.modal__city--premium .modal__city--chip {
		min-width: 0;
		max-width: 100%;
		overflow-wrap: anywhere;
		word-break: break-word;
	}

	.modal__city--premium a.modal__city--chip-city {
		font-size: 1.02rem !important;
		font-weight: 600 !important;
	}
}

@media (max-width: 500px) {
	.modal__city--premium .modal__city--box {
		padding: 0.85rem 1rem 1.15rem !important;
	}

	.modal__city--premium .modal__city--wrapper {
		padding: 1.25rem 1.15rem 1rem 1.2rem;
	}

	.modal__city--premium .modal__city--search-row {
		padding: 0 1.1rem 0.85rem;
	}
}

/* Мобильная модалка города — чуть крупнее типографика для чтения с экрана */
@media (max-width: 767px) {
	/*
	 * Телефон + клавиатура: не центрируем карточку по вертикали (пересчёт vh/% даёт скачки).
	 * Высоту списка ограничиваем flex’ом внутри карточки, а не отдельным 64vh.
	 */
	.modal__city--premium .modal__city--inner {
		align-items: flex-start !important;
		justify-content: center;
		min-height: 100% !important;
		max-height: 100%;
		margin-top: 0 !important;
		margin-bottom: 0 !important;
		padding-top: max(10px, env(safe-area-inset-top, 0px));
		padding-bottom: max(10px, env(safe-area-inset-bottom, 0px));
	}

	.modal__city--premium .modal__city--content {
		max-height: 100%;
	}

	.modal__city--premium .modal__city--box {
		max-height: none !important;
		flex: 1 1 auto;
		min-height: 0;
		overscroll-behavior: contain;
	}

	.modal__city--premium .modal__city--title {
		font-size: clamp(1.3rem, 4.6vw, 1.5rem);
	}

	.modal__city--premium .modal__city--search {
		font-size: clamp(1.08rem, 3.6vw, 1.16rem);
	}

	.modal__city--premium .modal__city--letter {
		font-size: clamp(1.12rem, 3.4vw, 1.3rem);
	}

	.modal__city--premium .modal__city--chip {
		font-size: clamp(1.05rem, 3.2vw, 1.14rem) !important;
	}

	.modal__city--premium a.modal__city--chip-city {
		font-size: 1.08rem !important;
	}

	.modal__city--premium .modal__city--chip-italia {
		font-size: clamp(1.12rem, 2vw, 1.24rem) !important;
	}
}

/* -------------------------------------------------------------------------
   Фильтры под шапкой — премиум, в тон body / топ-бару
   ------------------------------------------------------------------------- */

body.header-premium nav.navbar.navbar-default {
	background: linear-gradient(
		180deg,
		rgba(26, 14, 20, 0.88) 0%,
		rgba(12, 7, 10, 0.92) 100%
	) !important;
	border: none !important;
	border-bottom: 1px solid rgba(201, 169, 98, 0.2) !important;
	border-radius: 0;
	margin-bottom: 1.25rem;
	padding: 0.55rem 0;
	box-shadow:
		0 12px 36px rgba(0, 0, 0, 0.38),
		inset 0 1px 0 rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	z-index: 111;
	overflow: visible;
}

body.header-premium nav.navbar.navbar-default::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 1px;
	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(201, 169, 98, 0.35) 50%,
		transparent 100%
	);
	pointer-events: none;
}

body.header-premium .navbardef__inner {
	width: 100%;
}

/* Сетка фильтров только на планшетах/десктопе; на телефоне — только внутри раскрытого #navbar (см. max-width:767) */
body.header-premium .navbar-default .navbar-collapse {
	padding: 0.65rem 0 !important;
	border-top: none !important;
	box-shadow: none !important;
	align-items: stretch;
	overflow: visible;
}

/*
 * Bootstrap 3 + touch: без предка .navbar-nav после .dropdown-toggle вставляется .dropdown-backdrop
 * на весь экран (z-index 990) — он перекрывает .menu__item--drop (ниже), тап только закрывает выпадашку.
 * Контейнер фильтров помечен .navbar-nav; отменяем float/margin из front.min.css у этой обёртки.
 */
body.header-premium .navbar-default .navbar-drawer__scroll.navbar-nav {
	float: none !important;
	margin: 0 !important;
}

@media screen and (min-width: 768px) {
	/*
	 * front.min: .navbar-collapse { display:flex; flex-wrap:wrap } — в одной строке с соседним .container
	 * даёт «половину» ширины и прижимает сетку влево. Колонка (не рядом с .container) + margin:auto у #navbar.
	 */
	body.header-premium nav.navbar.navbar-default {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	/* Перебиваем front.min .navbar-collapse { display:flex; flex-wrap:wrap } — только сетка фильтров */
	body.header-premium .navbar-default .navbar-collapse,
	body.header-premium .navbar-default #navbar.navbar-collapse {
		display: grid !important;
		flex-direction: unset !important;
		flex-wrap: unset !important;
		align-content: start;
		justify-items: stretch;
		float: none !important;
		clear: both !important;
		width: 100% !important;
		max-width: 750px !important;
		margin-left: auto !important;
		margin-right: auto !important;
		padding-left: 15px !important;
		padding-right: 15px !important;
		min-width: 0;
		box-sizing: border-box;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 10px;
	}

	body.header-premium .header-city-wrap--drawer {
		display: none !important;
	}

	/* Обёртка скролла только для телефона; на десктопе не ломаем сетку фильтров */
	body.header-premium .navbar-default .navbar-drawer__scroll {
		display: contents;
	}

	/* Длинные подписи (напр. «Sezioni popolari»): ровная высота ряда без сдвига колонок */
	body.header-premium .navbar-default #navbar .menu__item .dropdown-toggle {
		min-height: 3.75rem;
	}
}

/*
 * Та же специфичность, что у #navbar в блоке min-width:768 — иначе max-width:750px «залипает»
 * на всём десктопе и фильтры уже контентной колонки .container (970 / 1170).
 */
@media screen and (min-width: 992px) {
	body.header-premium .navbar-default .navbar-collapse,
	body.header-premium .navbar-default #navbar.navbar-collapse {
		max-width: 970px !important;
	}
}

@media screen and (min-width: 1200px) {
	body.header-premium .navbar-default .navbar-collapse,
	body.header-premium .navbar-default #navbar.navbar-collapse {
		max-width: 1170px !important;
	}
}

body.header-premium .navbar-default .menu__item {
	position: relative;
	width: 100% !important;
	min-width: 0;
	min-height: 3.5rem;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	color: var(--hp-text) !important;
	padding: 0.45rem 0.7rem !important;
	border: 1px solid rgba(201, 169, 98, 0.28) !important;
	border-radius: 16px !important;
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0.06) 0%,
		rgba(0, 0, 0, 0.2) 100%
	) !important;
	box-shadow:
		0 2px 12px rgba(0, 0, 0, 0.25),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
	font-family: "DM Sans", system-ui, sans-serif;
	font-weight: 600;
	letter-spacing: 0.015em;
	transition:
		border-color 0.2s ease,
		background 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.15s ease;
}

/*
 * front.min.css: .navbar div > A,.dropdown-toggle { font-size: 14px } —
 * перебивает размер с родителя, без !important текст не растёт.
 */
body.header-premium .navbar-default #navbar .dropdown-toggle,
body.header-premium .navbar-default #navbar .menu__item .dropdown-toggle {
	font-size: 1.25rem !important;
	line-height: 1.35 !important;
	flex: 1;
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 100%;
	box-sizing: border-box;
}

body.header-premium .navbar-default #navbar .menu__item .div-menu,
body.header-premium .navbar-default #navbar .menu__item .div-menu span {
	font-size: inherit !important;
	line-height: inherit !important;
}

body.header-premium .navbar-default .menu__item:hover {
	border-color: rgba(232, 213, 168, 0.42) !important;
	background: rgba(201, 169, 98, 0.1) !important;
	box-shadow:
		0 6px 20px rgba(0, 0, 0, 0.3),
		0 0 20px rgba(201, 169, 98, 0.08);
	transform: translateY(-1px);
}

body.header-premium .navbar-default .menu__item.open,
body.header-premium .navbar-default .menu__item.dropdown.open {
	z-index: 80;
	border-color: rgba(201, 169, 98, 0.55) !important;
	background: rgba(201, 169, 98, 0.14) !important;
	box-shadow:
		0 0 0 1px rgba(201, 169, 98, 0.2),
		0 8px 24px rgba(0, 0, 0, 0.35);
}

body.header-premium .navbar-default #navbar div > a,
body.header-premium .navbar-default #navbar .dropdown-toggle {
	color: rgba(255, 255, 255, 0.94) !important;
	font-family: "DM Sans", system-ui, sans-serif;
	font-weight: 600;
	font-size: 1.25rem !important;
	line-height: 1.35 !important;
}

body.header-premium .navbar-default #navbar div > a:hover,
body.header-premium .navbar-default #navbar .dropdown-toggle:hover {
	opacity: 1 !important;
	color: #fff !important;
}

body.header-premium .navbar-default #navbar .div-menu {
	display: flex;
	gap: 10px;
	align-items: center;
	flex: 1;
	min-width: 0;
	justify-content: flex-start;
}

body.header-premium .navbar-default #navbar .div-menu span:not(.drop__img--in) {
	color: rgba(255, 252, 248, 0.96);
}

body.header-premium .navbar-default #navbar .sel {
	border-color: var(--hp-gold) transparent transparent transparent !important;
	opacity: 0.85;
	transition: transform 0.22s ease, opacity 0.2s ease;
}

body.header-premium .navbar-default #navbar .menu__item.dropdown.open .sel,
body.header-premium .navbar-default #navbar .menu__item.open .sel {
	transform: rotate(180deg);
	opacity: 1;
}

/* Иконки фильтров — золото как в теме (--hp-gold), не «белый пластик» */
body.header-premium .navbar-default #navbar .drop__img--in {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: linear-gradient(
		155deg,
		rgba(201, 169, 98, 0.12) 0%,
		rgba(0, 0, 0, 0.42) 55%,
		rgba(18, 10, 14, 0.55) 100%
	);
	border: 1px solid rgba(201, 169, 98, 0.32);
	box-shadow:
		0 2px 12px rgba(0, 0, 0, 0.4),
		inset 0 1px 0 rgba(255, 255, 255, 0.07),
		0 0 0 1px rgba(201, 169, 98, 0.06) inset;
	transition:
		border-color 0.22s ease,
		background 0.22s ease,
		box-shadow 0.22s ease,
		transform 0.2s ease;
}

body.header-premium .navbar-default #navbar .drop__img--in img,
body.header-premium .navbar-default #navbar .drop__img--in svg {
	width: 20px !important;
	height: 20px !important;
	max-width: 20px !important;
	max-height: 20px !important;
	object-fit: contain;
	display: block;
	filter: var(--hp-icon-filter) drop-shadow(0 1px 3px rgba(201, 169, 98, 0.35));
	opacity: 0.96;
	transition:
		opacity 0.2s ease,
		filter 0.22s ease,
		transform 0.2s ease;
}

body.header-premium .navbar-default #navbar .drop__img--in svg {
	overflow: visible;
}

body.header-premium .navbar-default #navbar .menu__item:hover .drop__img--in,
body.header-premium .navbar-default #navbar .menu__item.open .drop__img--in {
	border-color: rgba(232, 213, 168, 0.42);
	background: linear-gradient(
		155deg,
		rgba(201, 169, 98, 0.22) 0%,
		rgba(201, 169, 98, 0.08) 45%,
		rgba(10, 6, 8, 0.55) 100%
	);
	box-shadow:
		0 4px 18px rgba(0, 0, 0, 0.42),
		0 0 22px rgba(201, 169, 98, 0.2),
		inset 0 1px 0 rgba(255, 255, 255, 0.12);
	transform: translateY(-1px);
}

body.header-premium .navbar-default #navbar .menu__item:hover .drop__img--in img,
body.header-premium .navbar-default #navbar .menu__item:hover .drop__img--in svg,
body.header-premium .navbar-default #navbar .menu__item.open .drop__img--in img,
body.header-premium .navbar-default #navbar .menu__item.open .drop__img--in svg {
	opacity: 1;
	filter: var(--hp-icon-filter-hover) drop-shadow(0 2px 6px rgba(201, 169, 98, 0.45));
	transform: scale(1.05);
}

body.header-premium .navbar-default .menu__item--drop {
	background: linear-gradient(
		168deg,
		rgba(32, 18, 24, 0.98) 0%,
		rgba(12, 7, 10, 0.99) 55%,
		rgba(20, 11, 15, 0.98) 100%
	) !important;
	border: 1px solid rgba(201, 169, 98, 0.42) !important;
	border-radius: 16px !important;
	box-shadow:
		0 28px 56px rgba(0, 0, 0, 0.58),
		0 0 0 1px rgba(201, 169, 98, 0.12),
		inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
	padding: 0.75rem 0.65rem !important;
	margin-top: 8px;
	z-index: 90 !important;
	isolation: isolate;
}

body.header-premium .navbar-default .menu__item--drop.small {
	background: linear-gradient(
		168deg,
		rgb(28, 16, 20) 0%,
		rgb(14, 8, 10) 100%
	) !important;
	border: 1px solid rgba(201, 169, 98, 0.42) !important;
	border-radius: 14px !important;
	padding: 0.75rem 0.65rem !important;
}

/* Выпадашки с группами по буквам (районы, метро): front.min даёт ul по ~25% ширины — в узком дропе текст «ломается» по вертикали */
body.header-premium .navbar-default .menu__item--drop .menu__item--drop--inner {
	gap: 0.75rem;
	padding: 0.15rem 0.2rem 0.35rem;
	max-height: min(70vh, 420px);
	display: flex !important;
	flex-direction: column !important;
	flex-wrap: nowrap !important;
	align-items: stretch !important;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

body.header-premium .navbar-default .menu__item--drop .submenu__item__list,
body.header-premium .navbar-default .menu__item--drop .submenu__item__list.full,
body.header-premium .navbar-default .menu__item--drop .submenu__item__list.big {
	width: 100% !important;
	max-width: 100% !important;
	flex: 0 0 auto !important;
	min-width: 0 !important;
}

body.header-premium .navbar-default .menu__item--drop > .container {
	width: 100% !important;
	max-width: 100% !important;
	padding-left: 0.35rem !important;
	padding-right: 0.35rem !important;
	box-sizing: border-box;
}

/*
 * Двойной wrapper (.menu__item--drop--inner внутри .menu__item--drop--inner) в nav-intim-usluga,
 * nav-vozrast, nav-volosy и т.д. — в front.min у обоих overflow-y:auto → два скроллбара.
 * Скролл только у внешнего блока.
 */
body.header-premium
	.navbar-default
	.menu__item--drop
	.menu__item--drop--inner
	.menu__item--drop--inner {
	overflow: visible !important;
	max-height: none !important;
}

body.header-premium .navbar-default .menu__item--drop > .menu__item--drop--inner,
body.header-premium .navbar-default .menu__item--drop > .container > .menu__item--drop--inner {
	overflow-x: hidden;
	overflow-y: auto;
	padding-right: 0.45rem;
	-webkit-overflow-scrolling: touch;
	scrollbar-gutter: stable;
	scrollbar-width: thin;
	scrollbar-color: rgba(201, 169, 98, 0.45) rgba(0, 0, 0, 0.35);
}

body.header-premium .navbar-default .menu__item--drop > .menu__item--drop--inner::-webkit-scrollbar,
body.header-premium .navbar-default .menu__item--drop > .container > .menu__item--drop--inner::-webkit-scrollbar {
	width: 8px;
}

body.header-premium .navbar-default .menu__item--drop > .menu__item--drop--inner::-webkit-scrollbar-track,
body.header-premium .navbar-default .menu__item--drop > .container > .menu__item--drop--inner::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.35);
	border-radius: 6px;
}

body.header-premium .navbar-default .menu__item--drop > .menu__item--drop--inner::-webkit-scrollbar-thumb,
body.header-premium .navbar-default .menu__item--drop > .container > .menu__item--drop--inner::-webkit-scrollbar-thumb {
	background: rgba(201, 169, 98, 0.35);
	border-radius: 6px;
}

body.header-premium .navbar-default .menu__item--drop > .menu__item--drop--inner::-webkit-scrollbar-thumb:hover,
body.header-premium .navbar-default .menu__item--drop > .container > .menu__item--drop--inner::-webkit-scrollbar-thumb:hover {
	background: rgba(201, 169, 98, 0.5);
}

body.header-premium .navbar-default .submenu__item__list {
	background: rgb(12, 7, 10) !important;
	border: 1px solid rgba(201, 169, 98, 0.22) !important;
	border-radius: 12px !important;
	padding: 0.55rem 0.4rem !important;
	margin: 0 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.header-premium .navbar-default .submenu__item__title {
	color: var(--hp-gold) !important;
	font-family: "Cormorant Garamond", "Times New Roman", serif;
	font-weight: 600;
	font-size: clamp(1.22rem, 1.35vw, 1.42rem) !important;
	letter-spacing: 0.04em;
	padding: 0.4rem 0.55rem 0.3rem !important;
	margin-bottom: 0.3rem !important;
}

body.header-premium .navbar-default .submenu__item__list li a {
	display: flex !important;
	color: rgba(255, 255, 255, 0.9) !important;
	font-size: clamp(1.1rem, 1.22vw, 1.32rem) !important;
	line-height: 1.38 !important;
	padding: 0.65rem 0.75rem !important;
	border-radius: 8px;
	gap: 0.65rem;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	min-width: 0;
	overflow-wrap: anywhere;
}

body.header-premium .navbar-default .submenu__item__list li a .count {
	flex-shrink: 0;
	margin-left: auto;
	padding-left: 0.75rem;
	white-space: nowrap;
	font-size: 1em !important;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.48) !important;
	font-variant-numeric: tabular-nums;
}

/* Сетки метро / услуг (front.min: 13px) — тот же крупный кегль */
body.header-premium .navbar-default .menu__item--drop .pmetro li a,
body.header-premium .navbar-default .menu__item--drop .pmetro2 li a,
body.header-premium .navbar-default .menu__item--drop .pservices li a {
	font-size: clamp(1.08rem, 1.18vw, 1.26rem) !important;
	line-height: 1.38 !important;
}

body.header-premium .navbar-default .menu__item--drop .pservices p,
body.header-premium .navbar-default .menu__item--drop .pservices P {
	font-size: clamp(1.12rem, 1.2vw, 1.22rem) !important;
	color: var(--hp-gold) !important;
}

body.header-premium .navbar-default .submenu__item__list li a:hover .count {
	color: rgba(201, 169, 98, 0.85) !important;
}

body.header-premium .navbar-default .submenu__item__list li a:hover {
	color: var(--hp-gold) !important;
	background: rgba(201, 169, 98, 0.08);
}

body.header-premium .navbar-default .submenu__item__list li a.modal__menu--podlink.children {
	padding-left: 1.35rem !important;
}

body.header-premium .navbar-default .letter-block,
body.header-premium .navbar-default .letter-block-district {
	background: rgba(255, 255, 255, 0.06) !important;
	border: 1px solid rgba(201, 169, 98, 0.15);
	border-radius: 8px;
	color: rgba(255, 255, 255, 0.9) !important;
}

@media screen and (max-width: 1199px) {
	body.header-premium .navbar-default .navbar-collapse {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media screen and (max-width: 992px) {
	body.header-premium .navbar-default .navbar-collapse {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 767px) {
	/* #navbar вынесен из .container — пустой контейнер не занимает место */
	body.header-premium .navbar-default > .container {
		display: none !important;
	}

	body.header-premium .header-city-wrap--bar {
		display: none !important;
	}

	/*
	 * front.min.css: .navbar-default { height: 0 } и .navbar .navbar-collapse { position:absolute; left:-15px; … }
	 * — панель фильтров висит вне потока и съезжает влево. Возвращаем нормальный поток и ширину по контейнеру.
	 */
	body.header-premium nav.navbar.navbar-default {
		padding: 0;
		margin-bottom: 1rem;
		height: auto !important;
		min-height: unset !important;
		overflow: visible;
	}

	body.header-premium .navbardef__inner {
		position: relative;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	/* Дополнительно к inline overflow из footer.js (фиксация body при открытом меню). */
	html.sex7-nav-drawer-open,
	body.header-premium.sex7-nav-drawer-open {
		overflow: hidden !important;
		overscroll-behavior: none;
	}

	/* Закрыто по умолчанию — по клику на бургер; :not(.collapsing) чтобы не рвать анимацию Bootstrap */
	body.header-premium .navbar-default #navbar.navbar-collapse.collapse:not(.in):not(.collapsing) {
		display: none !important;
		height: 0 !important;
		min-height: 0 !important;
		overflow: hidden !important;
		padding: 0 !important;
		margin: 0 !important;
		border: none !important;
		visibility: hidden;
	}

	/*
	 * Дровер: #navbar — полноэкранный слой; padding убран, скролл у .navbar-drawer__scroll (absolute inset).
	 * Непрозрачный фон + высокий z-index, чтобы лента не просвечивала.
	 */
	body.header-premium .navbar-default #navbar.navbar-collapse.collapse.in,
	body.header-premium .navbar-default #navbar.navbar-collapse.collapsing {
		display: block !important;
		visibility: visible;
		position: fixed !important;
		left: 0 !important;
		right: 0 !important;
		top: 0 !important;
		width: 100% !important;
		max-width: 100vw !important;
		max-height: 100vh !important;
		max-height: 100dvh !important;
		max-height: 100lvh !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow: hidden !important;
		box-sizing: border-box;
		isolation: isolate;
		z-index: 100000 !important;
		border: none !important;
		filter: none !important;
		background-color: #0a0608 !important;
		background-image: linear-gradient(
			165deg,
			rgba(18, 10, 14, 1) 0%,
			rgba(8, 5, 7, 1) 38%,
			rgba(12, 7, 10, 1) 100%
		) !important;
		box-shadow:
			-12px 0 48px rgba(0, 0, 0, 0.55),
			inset 1px 0 0 rgba(201, 169, 98, 0.18) !important;
	}

	/* Bootstrap 3: 350ms по умолчанию; в footer.js TRANSITION_DURATION = 160 — синхронизируем CSS. */
	body.header-premium .navbar-default #navbar.navbar-collapse.collapsing {
		transition: height 0.16s ease !important;
		-webkit-transition: height 0.16s ease !important;
	}

	/*
	 * Класс на body из footer.js. Поднимаем nav целиком, опускаем .main (у него z-index:1 в базовых стилях).
	 * backdrop-filter на nav убираем — иначе WebKit даёт неверный контекст для position:fixed у #navbar.
	 */
	body.header-premium.sex7-nav-drawer-open nav.navbar.navbar-default {
		z-index: 100000 !important;
		position: relative;
		backdrop-filter: none !important;
		-webkit-backdrop-filter: none !important;
	}

	body.header-premium.sex7-nav-drawer-open > section.main,
	body.header-premium.sex7-nav-drawer-open .main {
		z-index: 0 !important;
		position: relative;
	}

	body.header-premium.sex7-nav-drawer-open header#header.header--premium {
		z-index: 100001;
		position: relative;
		/* Отдельная «плашка» над полноэкранным дровером */
		border-bottom: 1px solid rgba(201, 169, 98, 0.32);
		box-shadow:
			0 10px 28px rgba(0, 0, 0, 0.42),
			inset 0 -1px 0 rgba(0, 0, 0, 0.25);
	}

	body.header-premium.sex7-nav-drawer-open header#header.header--premium .header__inner {
		flex-wrap: nowrap;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		padding-top: calc(0.5rem + env(safe-area-inset-top, 0px));
		padding-bottom: 0.7rem;
	}

	/* Слоган на второй строке мешает выравниванию — скрываем, пока открыт дровер */
	body.header-premium.sex7-nav-drawer-open header#header.header--premium .header__inner > .topsearch.topsearch--tagline {
		display: none !important;
	}

	body.header-premium.sex7-nav-drawer-open header#header.header--premium .hlogo {
		flex: 1 1 auto;
		min-width: 0;
		align-items: center;
		gap: 0.65rem;
	}

	body.header-premium.sex7-nav-drawer-open header#header.header--premium .hlogo__mark-wrap {
		width: 44px;
		height: 44px;
		border-radius: 12px;
	}

	body.header-premium.sex7-nav-drawer-open header#header.header--premium .hlogo__mark {
		width: 28px;
		height: 28px;
	}

	body.header-premium.sex7-nav-drawer-open header#header.header--premium .hlogo__text {
		align-items: center;
		min-width: 0;
	}

	body.header-premium.sex7-nav-drawer-open header#header.header--premium .hlogo__title {
		font-size: clamp(1.12rem, 4.5vw, 1.38rem);
		line-height: 1.12;
		letter-spacing: 0.05em;
	}

	body.header-premium.sex7-nav-drawer-open header#header.header--premium .mobile__burger {
		display: flex;
		align-items: center;
		flex-shrink: 0;
		gap: 8px;
	}

	/*
	 * inline-flex без column ломает крестик: .icon-bar в ряд вместо колонки — rotate(±45deg) даёт «шеврон».
	 */
	body.header-premium.sex7-nav-drawer-open header#header.header--premium .navbar-toggle {
		display: inline-flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		width: 36px;
		height: 36px;
		min-width: 36px;
		min-height: 36px;
		padding: 0;
		margin: 0;
		box-sizing: border-box;
		align-self: center;
		border-radius: 9px;
	}

	body.header-premium.sex7-nav-drawer-open header#header.header--premium .navbar-toggle:hover,
	body.header-premium.sex7-nav-drawer-open header#header.header--premium .navbar-toggle:focus {
		background: rgba(255, 255, 255, 0.14);
		border-color: rgba(232, 213, 168, 0.45);
		box-shadow:
			0 0 0 1px rgba(201, 169, 98, 0.22),
			0 6px 18px rgba(0, 0, 0, 0.35);
		transform: translateY(-1px);
	}

	body.header-premium.sex7-nav-drawer-open header#header.header--premium .navbar-toggle:active {
		transform: translateY(0) scale(0.97);
		box-shadow:
			0 0 0 1px rgba(201, 169, 98, 0.15),
			0 2px 8px rgba(0, 0, 0, 0.3);
	}

	body.header-premium.sex7-nav-drawer-open header#header.header--premium .navbar-toggle .icon-bar {
		width: 18px;
		position: relative;
	}

	/*
	 * Зона скролла под шапкой: top задаётся из JS (--sex7-header-h), иначе ловим обрезку «Scegli la città».
	 * Fallback 5.75rem — если скрипт ещё не успел (редко).
	 */
	body.header-premium .navbar-default #navbar.navbar-collapse.collapsing .navbar-drawer__scroll,
	body.header-premium .navbar-default #navbar.navbar-collapse.collapse.in .navbar-drawer__scroll {
		position: absolute !important;
		left: max(16px, env(safe-area-inset-left, 0px)) !important;
		right: max(16px, env(safe-area-inset-right, 0px)) !important;
		top: calc(var(--sex7-header-h, 5.75rem) + 1rem) !important;
		bottom: max(1.75rem, env(safe-area-inset-bottom, 0px)) !important;
		width: auto !important;
		height: auto !important;
		min-width: 0 !important;
		min-height: 0 !important;
		max-height: none !important;
		box-sizing: border-box;
		overflow-x: hidden !important;
		overflow-y: scroll !important;
		-webkit-overflow-scrolling: touch !important;
		pointer-events: auto !important;
		z-index: 1;
		touch-action: pan-y !important;
		overscroll-behavior-y: contain !important;
		display: flex;
		flex-direction: column;
		gap: 10px;
		padding-top: 0.85rem;
		/* Воздух между кнопками и полосой прокрутки (8px трек + зазор) */
		padding-right: 1.25rem;
		scrollbar-gutter: stable;
		/* Запас снизу под последний фильтр + home indicator */
		padding-bottom: calc(2.5rem + env(safe-area-inset-bottom, 0px));
		scrollbar-width: thin;
		scrollbar-color: rgba(201, 169, 98, 0.45) rgba(0, 0, 0, 0.35);
	}

	body.header-premium .navbar-default #navbar.navbar-collapse.collapse.in .navbar-drawer__scroll::-webkit-scrollbar,
	body.header-premium .navbar-default #navbar.navbar-collapse.collapsing .navbar-drawer__scroll::-webkit-scrollbar {
		width: 8px;
	}

	body.header-premium .navbar-default #navbar.navbar-collapse.collapse.in .navbar-drawer__scroll::-webkit-scrollbar-track,
	body.header-premium .navbar-default #navbar.navbar-collapse.collapsing .navbar-drawer__scroll::-webkit-scrollbar-track {
		background: rgba(0, 0, 0, 0.35);
		border-radius: 6px;
	}

	body.header-premium .navbar-default #navbar.navbar-collapse.collapse.in .navbar-drawer__scroll::-webkit-scrollbar-thumb,
	body.header-premium .navbar-default #navbar.navbar-collapse.collapsing .navbar-drawer__scroll::-webkit-scrollbar-thumb {
		background: rgba(201, 169, 98, 0.35);
		border-radius: 6px;
	}

	body.header-premium .navbar-default #navbar.navbar-collapse.collapse.in .navbar-drawer__scroll::-webkit-scrollbar-thumb:hover,
	body.header-premium .navbar-default #navbar.navbar-collapse.collapsing .navbar-drawer__scroll::-webkit-scrollbar-thumb:hover {
		background: rgba(201, 169, 98, 0.5);
	}

	/*
	 * Один вертикальный скролл у .navbar-drawer__scroll. Глобально у .menu__item--drop--inner стоит max-height: min(70vh,420px)
	 * и overflow-y:auto — на телефоне это режет длинные списки и даёт «второй» скролл; снимаем ограничение внутри #navbar.
	 */
	body.header-premium .navbar-default #navbar .menu__item--drop .menu__item--drop--inner {
		max-height: none !important;
		overflow-y: visible !important;
		overflow-x: hidden !important;
	}

	body.header-premium .navbar-default #navbar .menu__item--drop > .menu__item--drop--inner,
	body.header-premium .navbar-default #navbar .menu__item--drop > .container > .menu__item--drop--inner {
		overflow-y: visible !important;
		padding-right: 0.2rem !important;
		scrollbar-gutter: auto;
	}

	/* Не накладываем свою анимацию на .collapsing — Bootstrap уже анимирует height; иначе меню не открывается/закрывается. */
	body.header-premium .navbar-default #navbar.navbar-collapse.collapse.in {
		animation: none !important;
		transform: translate3d(0, 0, 0) !important;
		opacity: 1 !important;
		/* Явная высота вьюпорта — height:auto+min-height:0 давало невидимую панель в части браузеров */
		height: 100vh !important;
		height: 100dvh !important;
		height: 100lvh !important;
		max-height: 100vh !important;
		max-height: 100dvh !important;
		max-height: 100lvh !important;
		min-height: 0 !important;
	}

	/* Блок выбора города — отдельная секция над фильтрами (не как остальные dropdown-карточки). */
	body.header-premium #navbar .header-city-wrap--drawer {
		width: 100%;
		order: -1;
		margin: 0 0 4px;
		padding: 14px 14px 18px;
		margin-bottom: 22px;
		border-radius: 18px;
		border: 1px solid rgba(232, 213, 168, 0.32);
		background: linear-gradient(
			168deg,
			rgba(201, 169, 98, 0.16) 0%,
			rgba(60, 36, 48, 0.42) 40%,
			rgba(8, 5, 8, 0.96) 100%
		);
		box-shadow:
			0 0 0 1px rgba(201, 169, 98, 0.1) inset,
			0 12px 36px rgba(0, 0, 0, 0.48),
			0 0 52px rgba(201, 169, 98, 0.1);
		box-sizing: border-box;
	}

	body.header-premium #navbar .header-city-wrap--drawer .header-city-wrap__title {
		margin: 0 0 10px;
		padding: 0;
		font-size: 0.8125rem;
		font-weight: 600;
		letter-spacing: 0.12em;
		text-transform: uppercase;
		color: rgba(232, 213, 168, 0.88);
		line-height: 1.3;
	}

	body.header-premium #navbar .header-city-wrap--drawer .header-city-btn {
		width: 100%;
		justify-content: flex-start;
		min-height: 56px;
		padding-left: 1.15rem !important;
		padding-right: 0.95rem !important;
		border-radius: 14px !important;
		border: 1px solid rgba(255, 255, 255, 0.14) !important;
		background: linear-gradient(
			155deg,
			rgba(0, 0, 0, 0.42) 0%,
			rgba(18, 10, 14, 0.88) 100%
		) !important;
		box-shadow:
			0 4px 18px rgba(0, 0, 0, 0.35),
			inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
	}

	body.header-premium #navbar .header-city-wrap--drawer .header-city-btn__hint {
		font-size: 0.75rem !important;
		color: rgba(232, 213, 168, 0.72) !important;
	}

	body.header-premium #navbar .header-city-wrap--drawer .header-city-btn__name {
		font-size: 1.125rem !important;
		max-width: 14rem;
	}

	body.header-premium .navbar-default #navbar .menu__item {
		width: 100% !important;
		display: flex !important;
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		align-items: stretch !important;
		flex: 0 0 auto !important;
		/* min-height:0 ломал высоту строки grid — соседние карточки наезжали на раскрытый дроп */
		min-height: auto !important;
		padding: 0 !important;
		border-radius: 14px !important;
		border: 1px solid rgba(201, 169, 98, 0.22) !important;
		/* hidden резал выпадашку по высоте; скролл только у #navbar */
		overflow: visible;
		font-size: 1.125rem !important;
		background: linear-gradient(
			175deg,
			rgba(255, 255, 255, 0.055) 0%,
			rgba(0, 0, 0, 0.28) 100%
		) !important;
		box-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
	}

	body.header-premium .navbar-default #navbar .menu__item:hover,
	body.header-premium .navbar-default #navbar .menu__item.open,
	body.header-premium .navbar-default #navbar .menu__item.dropdown.open {
		transform: none !important;
		border-color: rgba(201, 169, 98, 0.38) !important;
	}

	body.header-premium .navbar-default #navbar .dropdown-toggle,
	body.header-premium .navbar-default #navbar .menu__item .dropdown-toggle {
		font-size: 1.125rem !important;
		flex: 0 0 auto !important;
		min-height: 54px !important;
		padding: 0.65rem 0.95rem !important;
		width: 100%;
	}

	/*
	 * Аккордеон: один скролл у #navbar.
	 * front.min: .menu__item--drop { position:absolute; top:100% } и .small { top:calc(100%+2px) —
	 * без жёсткого сброса дроп вне потока, карточка не растёт и следующие фильтры наезжают.
	 */
	body.header-premium .navbar-default #navbar .menu__item--drop {
		position: relative !important;
		top: auto !important;
		left: auto !important;
		right: auto !important;
		bottom: auto !important;
		transform: none !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
		display: block !important;
		overflow: hidden !important;
		max-height: 0 !important;
		opacity: 0 !important;
		padding: 0 !important;
		border: none !important;
		border-radius: 0 !important;
		box-shadow: none !important;
		/* Как у «Возраст»: без отдельной тёмной «подложки» — фон карточки .menu__item */
		background: transparent !important;
		border-top: 1px solid transparent !important;
		z-index: auto !important;
		isolation: auto !important;
		pointer-events: none !important;
		flex: 0 0 auto !important;
		align-self: stretch !important;
		transition:
			max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1),
			opacity 0.28s ease,
			padding 0.28s ease,
			border-color 0.2s ease;
	}

	body.header-premium .navbar-default #navbar .menu__item.dropdown.open > .menu__item--drop,
	body.header-premium .navbar-default #navbar .menu__item.open > .menu__item--drop {
		max-height: 3200px !important;
		overflow: visible !important;
		opacity: 1 !important;
		pointer-events: auto !important;
		padding: 10px 8px 12px !important;
		border-top-color: rgba(201, 169, 98, 0.18) !important;
	}

	body.header-premium .navbar-default #navbar .menu__item--drop .menu__item--drop--inner .menu__item--drop--inner {
		padding: 0 !important;
		margin: 0 !important;
		min-height: auto !important;
		flex: 0 0 auto !important;
		align-self: stretch !important;
		width: 100% !important;
		overflow: visible !important;
		max-height: none !important;
	}

	body.header-premium .navbar-default #navbar .menu__item--drop > .container {
		width: 100% !important;
		max-width: 100% !important;
		padding: 8px 4px 10px !important;
		margin: 0 !important;
		max-height: none !important;
		overflow: visible !important;
		box-sizing: border-box;
	}

	body.header-premium .navbar-default #navbar .menu__item--drop .letter-block,
	body.header-premium .navbar-default #navbar .menu__item--drop .letter-block-district {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box;
		margin: 0 0 10px !important;
		padding: 10px 10px 8px !important;
		gap: 8px;
	}

	body.header-premium .navbar-default #navbar .menu__item--drop > .container > .menu__item--drop--inner {
		max-height: none !important;
		overflow: visible !important;
		padding-right: 0 !important;
	}

	body.header-premium .navbar-default #navbar .menu__item--drop > .menu__item--drop--inner {
		max-height: none !important;
		padding: 4px 4px 6px !important;
		gap: 8px !important;
		overflow: visible !important;
		box-sizing: border-box;
		display: flex !important;
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		align-items: stretch !important;
	}

	body.header-premium .navbar-default #navbar .menu__item--drop > .menu__item--drop--inner > .menu__item--drop--inner {
		max-height: none !important;
		overflow: visible !important;
	}

	body.header-premium .navbar-default #navbar .menu__item--drop .submenu__item__list,
	body.header-premium .navbar-default #navbar .menu__item--drop .submenu__item__list.full,
	body.header-premium .navbar-default #navbar .menu__item--drop .submenu__item__list.big {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		padding: 2px 0 4px !important;
		margin: 0 !important;
		gap: 8px !important;
		display: flex !important;
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		align-items: stretch !important;
		background: transparent !important;
		border: none !important;
		box-shadow: none !important;
	}

	body.header-premium .navbar-default #navbar .menu__item--drop .submenu__item__list li {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		float: none !important;
		box-sizing: border-box;
	}

	body.header-premium .navbar-default #navbar .menu__item--drop .submenu__item__list li a {
		padding: 13px 14px !important;
		border-radius: 12px;
		display: flex !important;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		width: 100%;
		box-sizing: border-box;
		font-size: 1.125rem !important;
		line-height: 1.4 !important;
		color: rgba(255, 255, 255, 0.95) !important;
		background: rgba(255, 255, 255, 0.06) !important;
		border: 1px solid rgba(201, 169, 98, 0.2) !important;
		transition: background 0.2s ease, border-color 0.2s ease;
	}

	body.header-premium .navbar-default #navbar .menu__item--drop .submenu__item__list li a .count {
		color: rgba(220, 205, 175, 0.75) !important;
		font-weight: 500;
	}

	body.header-premium .navbar-default #navbar .menu__item--drop .submenu__item__list li a:active {
		background: rgba(201, 169, 98, 0.12) !important;
	}

	body.header-premium .navbar-default #navbar .menu__item--drop .submenu__item__title {
		padding: 10px 12px 6px !important;
		margin: 8px 0 0 !important;
		font-size: clamp(1.2rem, 4.5vw, 1.45rem) !important;
		line-height: 1.2 !important;
		letter-spacing: 0.1em;
		text-transform: uppercase;
		opacity: 0.95;
		color: rgba(232, 213, 168, 0.95) !important;
	}

	body.header-premium .navbar-default #navbar .drop__img--in {
		transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	}

	body.header-premium .navbar-default #navbar .menu__item.dropdown.open .drop__img--in {
		transform: scale(1.04);
	}
}

@media screen and (max-width: 767px) and (prefers-reduced-motion: reduce) {
	body.header-premium .navbar-default #navbar.navbar-collapse.collapsing {
		animation: none !important;
		transform: translate3d(0, 0, 0) !important;
		opacity: 1 !important;
	}

	body.header-premium .navbar-default #navbar.navbar-collapse.collapse.in {
		animation: none !important;
	}

	body.header-premium .navbar-default #navbar .menu__item--drop {
		transition: none !important;
	}
}

/* -------------------------------------------------------------------------
   Страница анкеты (single.php): цены, данные, услуги, описание
   ------------------------------------------------------------------------- */

body.header-premium .profile__data--inner {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(18px, 2.2vw, 28px);
	align-items: stretch;
	width: 100%;
	box-sizing: border-box;
}

/* Две колонки «Цены» | «Данные»: одинаковая ширина и высота */
body.header-premium .profile__data--inner > .formservice.formsinf1,
body.header-premium .profile__data--inner > .formservice.formsinf1.formsinf1sc {
	width: 100% !important;
	min-width: 0;
	height: 100%;
	align-self: stretch;
	display: flex !important;
	flex-direction: column !important;
	box-sizing: border-box;
}

body.header-premium .profile__data--inner .profile__data--wrap {
	position: relative;
	z-index: 2;
	flex: 1 1 auto;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-content: flex-start;
	align-items: stretch;
	width: 100%;
	min-height: 0;
}

body.header-premium .profile__wrap,
body.header-premium .profile__wrap--comment {
	margin-top: clamp(1.25rem, 2vw, 1.75rem);
}

body.header-premium .formservice {
	border-radius: 18px !important;
	border: 1px solid rgba(201, 169, 98, 0.22) !important;
	background: linear-gradient(
		168deg,
		rgba(28, 16, 22, 0.94) 0%,
		rgba(14, 8, 11, 0.97) 45%,
		rgba(22, 12, 17, 0.95) 100%
	) !important;
	box-shadow:
		0 12px 40px rgba(0, 0, 0, 0.4),
		0 0 0 1px rgba(255, 255, 255, 0.04) inset,
		0 0 28px rgba(201, 169, 98, 0.06);
	overflow: hidden;
	position: relative;
	box-sizing: border-box;
}

body.header-premium .formservice::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 2px;
	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(201, 169, 98, 0.35) 40%,
		var(--hp-gold) 50%,
		rgba(201, 169, 98, 0.35) 60%,
		transparent 100%
	);
	opacity: 0.9;
	pointer-events: none;
	z-index: 1;
}

body.header-premium .formservice .head {
	position: relative;
	z-index: 2;
	width: 100%;
	margin: 0;
	background: linear-gradient(
		180deg,
		rgba(40, 22, 30, 0.72) 0%,
		rgba(18, 10, 14, 0.92) 100%
	) !important;
	border-bottom: 1px solid rgba(201, 169, 98, 0.18) !important;
	font-family: "Cormorant Garamond", "Times New Roman", serif !important;
	font-size: clamp(1.22rem, 1.7vw, 1.48rem) !important;
	font-weight: 600 !important;
	letter-spacing: 0.05em;
	color: rgba(255, 252, 248, 0.96) !important;
	padding: 0.95rem 1.2rem !important;
	gap: 12px !important;
	box-shadow: none !important;
	flex-shrink: 0;
}

body.header-premium .formservice .head img {
	width: 26px !important;
	height: 26px !important;
	object-fit: contain;
	filter: var(--hp-icon-filter);
	opacity: 0.94;
	flex-shrink: 0;
}

body.header-premium .profile__data--wrap {
	position: relative;
	z-index: 2;
}

body.header-premium .formsinf1div,
body.header-premium .formsinf1divh {
	background: rgba(255, 255, 255, 0.04) !important;
	border-top: 1px solid rgba(201, 169, 98, 0.14) !important;
	color: rgba(255, 255, 255, 0.88) !important;
	font-family: "DM Sans", system-ui, sans-serif !important;
	font-size: clamp(1.06rem, 1.35vw, 1.22rem) !important;
	font-weight: 400 !important;
	padding: 0.85rem 1.1rem !important;
}

body.header-premium .formsinf1div span {
	color: var(--hp-muted) !important;
	font-weight: 500 !important;
}

body.header-premium .formsinf1divh {
	background: rgba(201, 169, 98, 0.09) !important;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-weight: 600 !important;
	color: rgba(255, 252, 248, 0.94) !important;
	font-size: clamp(1rem, 1.25vw, 1.12rem) !important;
}

body.header-premium .formsinf1divh img {
	filter: var(--hp-icon-filter);
	opacity: 0.9;
}

body.header-premium .block_info-data label {
	background: rgba(201, 169, 98, 0.12) !important;
	border: 1px solid rgba(201, 169, 98, 0.28) !important;
	color: rgba(255, 252, 248, 0.92) !important;
	font-size: clamp(0.88rem, 1.05vw, 0.98rem) !important;
	font-weight: 500 !important;
	border-radius: 8px !important;
}

/* Услуги: список-чипы */
body.header-premium .formservice .sinfoservices {
	background: transparent !important;
	padding: 1rem 1.15rem 1.35rem !important;
	border-radius: 0 !important;
	position: relative;
	z-index: 2;
}

body.header-premium .sinfoservices ul.link-list,
body.header-premium .sinfoservices .link-list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px 10px !important;
}

body.header-premium .sinfoservices .link-list__item {
	margin: 0 !important;
	padding: 0 !important;
}

body.header-premium .sinfoservices .link-list__item a {
	display: inline-block !important;
	padding: 0.5rem 0.85rem !important;
	border-radius: 10px !important;
	border: 1px solid rgba(201, 169, 98, 0.2) !important;
	background: rgba(0, 0, 0, 0.22) !important;
	color: rgba(255, 255, 255, 0.42) !important;
	font-family: "DM Sans", system-ui, sans-serif !important;
	font-size: clamp(1.02rem, 1.3vw, 1.18rem) !important;
	font-weight: 400 !important;
	text-decoration: none !important;
	margin: 0 !important;
	transition:
		color 0.2s ease,
		border-color 0.2s ease,
		background 0.2s ease;
}

body.header-premium .sinfoservices .link-list__item a:hover {
	color: #f5ead4 !important;
	border-color: rgba(232, 213, 168, 0.35) !important;
	background: rgba(201, 169, 98, 0.08) !important;
	text-decoration: none !important;
}

body.header-premium .sinfoservices .link-list__item_active a,
body.header-premium .sinfoservices .link-list__item.link-list__item_active a {
	color: var(--hp-gold) !important;
	font-weight: 600 !important;
	border-color: rgba(201, 169, 98, 0.45) !important;
	background: rgba(201, 169, 98, 0.12) !important;
}

/* Описание */
body.header-premium .formservice.infoform .advsearchdiv2 {
	padding: 1.35rem 1.4rem 1.55rem !important;
	position: relative;
	z-index: 2;
	font-family: "DM Sans", system-ui, sans-serif !important;
	font-size: clamp(1.2rem, 1.65vw, 1.4rem) !important;
	line-height: 1.7 !important;
	font-weight: 400 !important;
	color: rgba(255, 255, 255, 0.84) !important;
}

body.header-premium .formservice.infoform .advsearchdiv2 p,
body.header-premium .formservice.infoform .font14 p {
	color: rgba(255, 255, 255, 0.84) !important;
	padding: 0 0 0.65em 0 !important;
	margin: 0 !important;
	font-weight: 400 !important;
	font-size: inherit !important;
}

body.header-premium .formservice.infoform .advsearchdiv2 p:last-child {
	padding-bottom: 0 !important;
}

@media screen and (max-width: 767px) {
	body.header-premium .profile__data--inner {
		grid-template-columns: 1fr !important;
	}

	body.header-premium .profile__data--inner > .formservice.formsinf1,
	body.header-premium .profile__data--inner > .formservice.formsinf1.formsinf1sc {
		width: 100% !important;
		height: auto;
	}
}

/* Блок «Индивидуалки рядом» (single.php): заголовок по центру */
body.header-premium .semilar h2.div-h2 {
	width: 100%;
	box-sizing: border-box;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

/* -------------------------------------------------------------------------
   Карточки анкет в ленте (template-parts/card.php) — компактно, премиум
   ------------------------------------------------------------------------- */

body.header-premium .allformspage,
body.header-premium .cards {
	gap: 10px 10px !important;
	margin-top: 1rem !important;
}

/* Сетка: 5 колонок на очень широких → 4 → 3 → 2 → 1 (gap 10px) */
body.header-premium .allformspage .form,
body.header-premium .cards .form {
	width: calc(100% / 3 - 20px / 3) !important;
}

@media screen and (min-width: 1200px) {
	body.header-premium .allformspage .form,
	body.header-premium .cards .form {
		width: calc(25% - 30px / 4) !important;
	}
}

@media screen and (min-width: 1500px) {
	body.header-premium .allformspage .form,
	body.header-premium .cards .form {
		width: calc(20% - 40px / 5) !important;
	}
}

@media screen and (max-width: 992px) {
	body.header-premium .allformspage .form,
	body.header-premium .cards .form {
		width: calc(100% / 2 - 10px / 2) !important;
	}
}

body.header-premium .allformspage .form.card-premium,
body.header-premium .cards .form.card-premium {
	position: relative;
	overflow: hidden;
	border-radius: 10px;
	border: 1px solid rgba(201, 169, 98, 0.2);
	background: linear-gradient(
		168deg,
		rgba(28, 16, 22, 0.94) 0%,
		rgba(14, 8, 11, 0.97) 45%,
		rgba(22, 12, 17, 0.95) 100%
	);
	box-shadow:
		0 8px 28px rgba(0, 0, 0, 0.45),
		0 0 0 1px rgba(255, 255, 255, 0.04) inset,
		0 0 20px rgba(201, 169, 98, 0.05);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition:
		transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.3s ease,
		border-color 0.3s ease;
}

body.header-premium .allformspage .form.card-premium::before,
body.header-premium .cards .form.card-premium::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 2px;
	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(201, 169, 98, 0.35) 28%,
		var(--card-accent-mid) 50%,
		rgba(201, 169, 98, 0.35) 72%,
		transparent 100%
	);
	opacity: 0.9;
	pointer-events: none;
	z-index: 2;
}

body.header-premium .allformspage .form.card-premium::after,
body.header-premium .cards .form.card-premium::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
	pointer-events: none;
	mix-blend-mode: overlay;
	z-index: 1;
}

body.header-premium .allformspage .form.card-premium:hover,
body.header-premium .cards .form.card-premium:hover {
	transform: translateY(-3px);
	border-color: rgba(201, 169, 98, 0.38);
	box-shadow:
		0 16px 40px rgba(0, 0, 0, 0.52),
		0 0 0 1px rgba(201, 169, 98, 0.12) inset,
		0 0 32px rgba(201, 169, 98, 0.18),
		0 0 48px var(--card-glow);
}

/* Колонка: шапка → фото → кнопка и переключатель → цены и данные */
body.header-premium .form.card-premium .form2 {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	min-height: 0;
}

body.header-premium .form.card-premium .card-premium__head {
	padding: 8px 8px 6px;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
}

body.header-premium .form.card-premium .card-premium__title {
	text-decoration: none !important;
	border: none !important;
	flex: 1 1 auto;
	min-width: 0;
	max-width: 100%;
	width: auto !important;
}

body.header-premium .form.card-premium .card-premium__head .card-premium__title.form1__field,
body.header-premium .form.card-premium .card-premium__head .card-premium__metro.form1__field {
	width: auto !important;
}

body.header-premium .form.card-premium .card-premium__head .card-premium__metro.form1__field {
	max-width: 46%;
}

body.header-premium .form.card-premium .card-premium__title p {
	margin: 0;
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: clamp(1.08rem, 1.32vw, 1.26rem) !important;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.2;
	background: linear-gradient(92deg, var(--card-accent-hi) 0%, var(--card-accent-mid) 45%, var(--card-accent) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent !important;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

body.header-premium .form.card-premium .card-premium__title:hover p {
	filter: brightness(1.06);
}

body.header-premium .form.card-premium .card-premium__metro {
	display: flex !important;
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	flex-shrink: 0;
	max-width: 46%;
	color: var(--hp-muted) !important;
	font-size: clamp(0.94rem, 1.14vw, 1.06rem) !important;
	line-height: 1.2;
	width: auto !important;
	text-align: right;
}

body.header-premium .form.card-premium .card-premium__metro-icon {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(165deg, rgba(24, 14, 18, 0.92), rgba(10, 6, 8, 0.98));
	border: 1px solid rgba(201, 169, 98, 0.28);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.05),
		0 0 10px rgba(201, 169, 98, 0.2);
}

body.header-premium .form.card-premium .card-premium__metro-icon img {
	width: 13px;
	height: 13px;
	object-fit: contain;
	display: block;
	filter: var(--hp-icon-filter);
}

body.header-premium .form.card-premium .card-premium__metro p {
	margin: 0;
	text-align: right;
	min-width: 0;
}

body.header-premium .form.card-premium .card-premium__metro a {
	color: var(--hp-gold) !important;
	text-decoration: none !important;
	font-weight: 600;
	font-size: 1em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
	display: inline-block;
	vertical-align: bottom;
}

body.header-premium .form.card-premium .card-premium__metro a:hover {
	color: #f5ead4 !important;
	text-decoration: none !important;
}

body.header-premium .form.card-premium .form2__img--inner {
	flex: none;
	width: 100%;
	position: relative;
	overflow: hidden;
	border-radius: 0;
	background: rgba(0, 0, 0, 0.45);
	aspect-ratio: 4 / 5;
	max-height: min(360px, 54vw);
}

body.header-premium .form.card-premium .form2__img--inner > a {
	display: block;
	position: absolute;
	left: 6px;
	right: 6px;
	top: 2px;
	bottom: 2px;
	width: auto;
	height: auto;
	border-radius: 7px;
	overflow: hidden;
	z-index: 1;
}

body.header-premium .form.card-premium .form2__img--inner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
}

body.header-premium .form.card-premium .card-premium__badge {
	position: absolute;
	left: 11px;
	bottom: 8px;
	z-index: 2;
	padding: 2px 7px 3px;
	border-radius: 999px;
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: 8px;
	font-weight: 600;
	letter-spacing: 0.05em;
	color: #12080c;
	background: linear-gradient(
		95deg,
		var(--card-accent-deep) 0%,
		var(--card-accent) 42%,
		var(--card-accent-mid) 100%
	);
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4), 0 0 14px rgba(201, 169, 98, 0.25);
	pointer-events: none;
}

body.header-premium .form.card-premium .form2__aside {
	position: relative;
	z-index: 3;
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	align-self: stretch;
	box-sizing: border-box;
}

body.header-premium .form.card-premium .form1 {
	position: relative;
	z-index: 3;
	background: transparent;
	border-bottom: none;
	padding: 6px 8px 5px;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	flex-wrap: nowrap;
	gap: 6px;
	width: 100%;
}

body.header-premium .form.card-premium .form1__field {
	font-family: "DM Sans", system-ui, sans-serif;
	width: 100% !important;
	max-width: 100%;
}

body.header-premium .form.card-premium .card-premium__phone-btn.phone {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100% !important;
	padding: 6px 10px !important;
	margin: 0 !important;
	border-radius: 8px;
	border: 1px solid rgba(201, 169, 98, 0.22) !important;
	background: linear-gradient(
		160deg,
		rgba(31, 18, 24, 0.96) 0%,
		rgba(18, 8, 12, 0.99) 100%
	) !important;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.06),
		0 2px 10px rgba(0, 0, 0, 0.35);
	text-decoration: none !important;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		background 0.2s ease;
	cursor: pointer;
	font: inherit;
	-webkit-appearance: none;
	appearance: none;
}

body.header-premium .form.card-premium .card-premium__phone-ico {
	width: 12px;
	height: 12px;
	flex-shrink: 0;
}

body.header-premium .form.card-premium .card-premium__phone-label {
	font-size: clamp(0.76rem, 0.88vw, 0.86rem) !important;
	font-weight: 600;
	line-height: 1.2;
	background: linear-gradient(92deg, var(--card-accent-hi) 0%, var(--card-accent-mid) 50%, var(--card-accent) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent !important;
}

body.header-premium .form.card-premium .card-premium__phone-btn:hover {
	border-color: rgba(201, 169, 98, 0.45) !important;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.08),
		0 0 16px rgba(201, 169, 98, 0.12);
}

body.header-premium .form.card-premium .form2det {
	flex: 1 1 auto;
	width: 100% !important;
	max-width: 100% !important;
	align-self: stretch;
	border-left: none;
	border-top: 1px solid rgba(201, 169, 98, 0.12);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0.18) 100%);
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	min-height: 0;
	box-sizing: border-box;
	padding: 0 0 5px;
}

body.header-premium .form.card-premium .form2det1 {
	width: 100% !important;
	max-width: 100% !important;
	align-self: stretch;
	box-sizing: border-box;
	background: transparent !important;
	font-family: "DM Sans", system-ui, sans-serif;
	font-weight: 500;
	font-size: clamp(0.74rem, 0.88vw, 0.84rem) !important;
	color: rgba(255, 255, 255, 0.78);
	padding: 5px 6px;
	line-height: 1.35;
}

body.header-premium .form.card-premium .form2det2 p:nth-child(1),
body.header-premium .form.card-premium .form2det1 p:nth-child(1) {
	font-family: "DM Sans", system-ui, sans-serif;
	font-weight: 600;
	font-size: clamp(0.6rem, 0.72vw, 0.68rem) !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(201, 169, 98, 0.75) !important;
	line-height: 1.25;
	margin-bottom: 3px;
}

body.header-premium .form.card-premium .main__data span {
	display: flex !important;
	align-items: center;
	justify-content: space-between !important;
	width: 100%;
	padding: 4px 6px;
	margin: 0 0 3px;
	border-radius: 6px;
	background: var(--card-surface);
	border: 1px solid rgba(201, 169, 98, 0.1);
	box-sizing: border-box;
	color: rgba(255, 255, 255, 0.45) !important;
	font-size: clamp(0.6rem, 0.72vw, 0.68rem) !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.28;
}

body.header-premium .form.card-premium .main__data span:last-child {
	margin-bottom: 0;
}

body.header-premium .form.card-premium .main__data span strong {
	color: var(--hp-gold) !important;
	font-weight: 700;
	font-size: clamp(0.76rem, 0.88vw, 0.84rem) !important;
	letter-spacing: 0;
	text-transform: none;
}

/* Кнопка «наверх» (.up__button) — тёмный фон + золото, как у премиум-UI */
body.header-premium button.up__button {
	width: 40px !important;
	height: 40px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 1px solid rgba(201, 169, 98, 0.45) !important;
	border-radius: 50% !important;
	background: linear-gradient(
		160deg,
		rgba(31, 18, 24, 0.96) 0%,
		rgba(18, 8, 12, 0.99) 100%
	) !important;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.08),
		0 4px 18px rgba(0, 0, 0, 0.45),
		0 0 0 1px rgba(0, 0, 0, 0.35);
	cursor: pointer;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease,
		background 0.2s ease;
}

body.header-premium button.up__button:hover {
	background: linear-gradient(
		160deg,
		rgba(201, 169, 98, 0.2) 0%,
		rgba(31, 18, 24, 0.96) 100%
	) !important;
	border-color: rgba(232, 213, 168, 0.55) !important;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.1),
		0 6px 22px rgba(0, 0, 0, 0.5),
		0 0 20px rgba(201, 169, 98, 0.16);
}

body.header-premium button.up__button .up__arrow {
	display: block;
	width: 22px;
	height: auto;
	filter: var(--hp-icon-filter);
	transition: filter 0.2s ease;
}

body.header-premium button.up__button:hover .up__arrow {
	filter: var(--hp-icon-filter-hover);
}

body.header-premium button.up__button:focus-visible {
	outline: none;
	box-shadow:
		0 0 0 2px rgba(201, 169, 98, 0.55),
		inset 0 1px 0 rgba(255, 255, 255, 0.08),
		0 4px 18px rgba(0, 0, 0, 0.45);
}

body.header-premium button.up__button:active {
	transform: translateY(1px);
}

/* Карусель галереи профиля: prev/next — премиум, полупрозрачные */
body.header-premium #mainCarousel .carousel__button {
	background: rgba(18, 8, 12, 0.52) !important;
	border: 1px solid rgba(201, 169, 98, 0.38) !important;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.09),
		0 4px 20px rgba(0, 0, 0, 0.38) !important;
	color: var(--hp-gold) !important;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		color 0.2s ease,
		opacity 0.2s ease;
}

body.header-premium #mainCarousel .carousel__button:hover:not([disabled]) {
	background: rgba(31, 18, 24, 0.78) !important;
	border-color: rgba(232, 213, 168, 0.48) !important;
	color: #f5ead4 !important;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.11),
		0 6px 24px rgba(0, 0, 0, 0.45),
		0 0 22px rgba(201, 169, 98, 0.14) !important;
}

body.header-premium #mainCarousel .carousel__button:focus-visible {
	outline: none;
	box-shadow:
		0 0 0 2px rgba(201, 169, 98, 0.55),
		inset 0 1px 0 rgba(255, 255, 255, 0.09),
		0 4px 20px rgba(0, 0, 0, 0.38) !important;
}

body.header-premium #mainCarousel .carousel__button[disabled] {
	opacity: 0.32 !important;
	cursor: default;
}

/* =============================================================================
   Мобильный адаптив: контейнер, лента карточек, пагинация, тач
   ============================================================================= */

/* Пагинация ленты — в стиле премиум (читаемо на телефоне) */
body.header-premium .paginator {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 1.25rem 0 0;
	padding: 0 4px 1rem;
	box-sizing: border-box;
}

body.header-premium .paginator a,
body.header-premium .paginator span {
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: clamp(0.9rem, 2.8vw, 1rem);
	font-weight: 500;
	min-width: 2.75rem;
	min-height: 2.75rem;
	padding: 0.45rem 0.65rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	text-decoration: none !important;
	color: rgba(255, 255, 255, 0.75) !important;
	background: rgba(0, 0, 0, 0.25);
	border: 1px solid rgba(201, 169, 98, 0.22);
	box-sizing: border-box;
	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease;
}

body.header-premium .paginator a:hover,
body.header-premium .paginator span.current,
body.header-premium .paginator .page-numbers.current {
	color: #12080c !important;
	background: linear-gradient(145deg, var(--card-accent-mid), var(--card-accent));
	border-color: rgba(201, 169, 98, 0.45);
}

body.header-premium .paginator span.page-numbers.dots {
	opacity: 0.55;
	cursor: default;
}

body.header-premium .paginator a:focus-visible {
	outline: none;
	box-shadow: 0 0 0 2px rgba(201, 169, 98, 0.55);
}

@media screen and (max-width: 767px) {
	/* front.min: .navbar-collapse position:absolute — контейнер навбара в потоке */
	body.header-premium nav.navbar.navbar-default {
		position: relative;
		z-index: 998;
		width: 100%;
		display: block;
		overflow: visible;
	}

	/* Повтор после блока выше: иначе z-index:998 перебивает слой открытого дровера. */
	body.header-premium.sex7-nav-drawer-open nav.navbar.navbar-default {
		z-index: 100000 !important;
		backdrop-filter: none !important;
		-webkit-backdrop-filter: none !important;
	}

	body.header-premium .navbar.navbar-default > .container {
		position: relative;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	body.header-premium .navbardef__inner {
		position: relative;
		width: 100%;
		min-height: 0;
	}

	body.header-premium {
		overflow-x: clip;
	}

	body.header-premium .container {
		padding-left: max(14px, env(safe-area-inset-left, 0px));
		padding-right: max(14px, env(safe-area-inset-right, 0px));
	}

	body.header-premium section.main .main__inner,
	body.header-premium .main .main__inner {
		width: 100%;
		box-sizing: border-box;
	}

	body.header-premium .allformspage,
	body.header-premium .cards {
		gap: 10px !important;
		margin-top: 0.85rem !important;
	}

	/* Две карточки в ряд: ячейка — половина минус gap (gap 10px) */
	body.header-premium .allformspage .form,
	body.header-premium .cards .form {
		width: calc(50% - 5px) !important;
		min-width: 0 !important;
		box-sizing: border-box !important;
	}

	body.header-premium .allformspage .form.card-premium,
	body.header-premium .cards .form.card-premium {
		max-width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	/* В 2 колонки фото не тянем на пол-экрана по высоте */
	body.header-premium .form.card-premium .form2__img--inner {
		max-height: min(52vh, 280px);
		aspect-ratio: 4 / 5;
	}

	body.header-premium .form.card-premium .form2__img--inner > a {
		left: 8px;
		right: 8px;
		top: 4px;
		bottom: 4px;
		border-radius: 8px;
	}

	body.header-premium .form.card-premium .form1 {
		padding: 5px 5px 4px !important;
		gap: 5px !important;
	}

	/* Кнопка «Показать телефон» — зона нажатия ≥ 44px */
	body.header-premium .form.card-premium .card-premium__phone-btn.phone {
		min-height: 44px;
		padding: 8px 6px !important;
	}

	body.header-premium .form.card-premium .card-premium__phone-ico {
		width: 14px;
		height: 14px;
	}

	body.header-premium .form.card-premium .card-premium__phone-label {
		font-size: clamp(0.68rem, 2.8vw, 0.78rem) !important;
	}

	body.header-premium .form.card-premium .main__data span {
		min-height: 30px;
		padding: 4px 5px;
		align-items: center;
		font-size: clamp(0.52rem, 2.1vw, 0.62rem) !important;
	}

	body.header-premium .form.card-premium .card-premium__head {
		padding: 6px 6px 5px;
		gap: 6px;
	}

	body.header-premium .form.card-premium .form2det {
		padding: 0 0 5px !important;
	}

	body.header-premium .form.card-premium .form2det1 {
		padding: 4px 4px !important;
		font-size: clamp(0.65rem, 2.6vw, 0.76rem) !important;
	}

	body.header-premium .form.card-premium .card-premium__title p {
		font-size: clamp(0.82rem, 3.2vw, 0.95rem) !important;
		line-height: 1.15 !important;
		-webkit-line-clamp: 2;
	}

	body.header-premium .form.card-premium .card-premium__metro {
		font-size: clamp(0.72rem, 2.9vw, 0.82rem) !important;
	}

	body.header-premium .form.card-premium .card-premium__metro-icon {
		width: 18px;
		height: 18px;
	}

	body.header-premium .form.card-premium .card-premium__badge {
		font-size: 7px;
		left: 6px;
		bottom: 5px;
		padding: 2px 5px 2px;
	}

	body.header-premium .paginator {
		gap: 6px;
		margin-top: 1rem;
		padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
	}

	body.header-premium .paginator a,
	body.header-premium .paginator span {
		min-width: 2.5rem;
		min-height: 2.5rem;
		font-size: 0.92rem;
	}
}

@media screen and (max-width: 565px) {
	body.header-premium .allformspage,
	body.header-premium .cards {
		gap: 8px !important;
		margin-top: 0.75rem !important;
	}

	/* Тот же 2-колоночный ряд, зазор чуть меньше на очень узких экранах */
	body.header-premium .allformspage .form,
	body.header-premium .cards .form {
		width: calc(50% - 4px) !important;
	}

	body.header-premium .allformspage .form.card-premium,
	body.header-premium .cards .form.card-premium {
		border-radius: 10px;
		max-width: 100% !important;
	}
}

/* Узкий экран: имя и город столбцом — без перегруза одной строки */
@media screen and (max-width: 420px) {
	body.header-premium .form.card-premium .card-premium__head {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
	}

	body.header-premium .form.card-premium .card-premium__head .card-premium__metro.form1__field {
		max-width: 100%;
		justify-content: flex-end;
	}

	body.header-premium .form.card-premium .card-premium__title p {
		-webkit-line-clamp: 3;
	}
}

/* Тач-экраны: без «парения» при скролле */
@media (hover: none) and (pointer: coarse) {
	body.header-premium .allformspage .form.card-premium:hover,
	body.header-premium .cards .form.card-premium:hover {
		transform: none;
		box-shadow:
			0 8px 28px rgba(0, 0, 0, 0.45),
			0 0 0 1px rgba(255, 255, 255, 0.04) inset,
			0 0 20px rgba(201, 169, 98, 0.05);
		border-color: rgba(201, 169, 98, 0.2);
	}
}

/* -------------------------------------------------------------------------
   Модалка телефона — премиум (как карточки / шапка: золото, тёплый тёмный фон)
   ------------------------------------------------------------------------- */

body.phone-modal-open {
	overflow: hidden;
}

.phone-modal {
	position: fixed;
	inset: 0;
	z-index: 10050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px))
		max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
	box-sizing: border-box;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition:
		opacity 0.28s ease,
		visibility 0.28s ease;
}

.phone-modal.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.phone-modal__backdrop {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 85% 55% at 50% 25%, rgba(80, 52, 38, 0.35) 0%, transparent 55%),
		radial-gradient(ellipse 70% 50% at 85% 75%, rgba(40, 22, 28, 0.45) 0%, transparent 50%),
		rgba(4, 2, 4, 0.82);
	backdrop-filter: blur(18px) saturate(1.1);
	-webkit-backdrop-filter: blur(18px) saturate(1.1);
}

.phone-modal__panel {
	position: relative;
	isolation: isolate;
	width: 100%;
	max-width: min(360px, 100%);
	border-radius: 30px;
	padding: 28px 22px 22px;
	box-sizing: border-box;
	overflow: hidden;
	background: linear-gradient(
		168deg,
		rgba(38, 22, 30, 0.94) 0%,
		rgba(18, 8, 12, 0.97) 48%,
		rgba(24, 14, 18, 0.95) 100%
	);
	border: 1px solid rgba(201, 169, 98, 0.28);
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.05) inset,
		0 28px 70px rgba(0, 0, 0, 0.58),
		0 0 40px rgba(201, 169, 98, 0.1),
		0 1px 0 rgba(255, 255, 255, 0.09) inset;
	transform: translateY(12px) scale(0.96);
	opacity: 0;
	transition:
		transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.3s ease;
}

/* Верхняя золотая полоса — как у modal__city--premium */
.phone-modal__panel::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 3px;
	border-radius: 30px 30px 0 0;
	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(201, 169, 98, 0.25) 20%,
		rgba(232, 213, 168, 0.65) 50%,
		rgba(201, 169, 98, 0.35) 80%,
		transparent 100%
	);
	pointer-events: none;
	z-index: 2;
}

/* Диагональный «стеклянный» блик снизу слева */
.phone-modal__panel::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(
		32deg,
		transparent 0%,
		transparent 42%,
		rgba(255, 248, 240, 0.05) 48%,
		rgba(201, 169, 98, 0.07) 52%,
		transparent 58%,
		transparent 100%
	);
	pointer-events: none;
	z-index: 0;
}

.phone-modal.is-open .phone-modal__panel {
	transform: translateY(0) scale(1);
	opacity: 1;
}

.phone-modal__stars {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	border-radius: inherit;
	opacity: 0.35;
	background-image:
		radial-gradient(1px 1px at 10% 15%, rgba(255, 255, 255, 0.45) 50%, transparent 50%),
		radial-gradient(1px 1px at 24% 42%, rgba(245, 234, 212, 0.25) 50%, transparent 50%),
		radial-gradient(1px 1px at 76% 22%, rgba(255, 255, 255, 0.4) 50%, transparent 50%),
		radial-gradient(1px 1px at 90% 48%, rgba(255, 255, 255, 0.22) 50%, transparent 50%),
		radial-gradient(1px 1px at 52% 68%, rgba(232, 213, 168, 0.35) 50%, transparent 50%),
		radial-gradient(1.5px 1.5px at 38% 86%, rgba(201, 169, 98, 0.35) 50%, transparent 50%),
		radial-gradient(1px 1px at 66% 54%, rgba(255, 252, 248, 0.3) 50%, transparent 50%);
}

.phone-modal__head,
.phone-modal__number,
.phone-modal__call,
.phone-modal__close-secondary {
	position: relative;
	z-index: 3;
}

.phone-modal__head {
	display: block;
	margin-bottom: 18px;
	min-height: 38px;
}

.phone-modal__title {
	margin: 0;
	padding: 4px 44px 0;
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: clamp(0.95rem, 3.6vw, 1.12rem);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(201, 169, 98, 0.88);
	text-align: center;
	line-height: 1.25;
}

.phone-modal__x {
	position: absolute;
	top: 0;
	right: 0;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	border: 1px solid rgba(201, 169, 98, 0.42);
	background: linear-gradient(160deg, rgba(31, 18, 24, 0.9) 0%, rgba(18, 8, 12, 0.95) 100%);
	color: rgba(255, 252, 248, 0.95);
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		background 0.2s ease;
}
.phone-modal__x:hover {
	border-color: rgba(232, 213, 168, 0.55);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.08),
		0 0 18px rgba(201, 169, 98, 0.18);
}
.phone-modal__x:focus-visible {
	outline: none;
	box-shadow: 0 0 0 2px rgba(201, 169, 98, 0.45);
}

.phone-modal__number {
	margin: 0 0 22px;
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: clamp(1.12rem, 4vw, 1.42rem);
	font-weight: 700;
	letter-spacing: 0.03em;
	text-align: center;
	line-height: 1.35;
	word-break: break-word;
	background: linear-gradient(92deg, var(--card-accent-hi) 0%, var(--card-accent-mid) 45%, var(--card-accent) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.phone-modal__call {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 52px;
	margin: 0 0 12px;
	padding: 14px 20px;
	border-radius: 999px;
	text-decoration: none !important;
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: clamp(0.92rem, 3.2vw, 1rem);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	background: linear-gradient(
		160deg,
		rgba(31, 18, 24, 0.96) 0%,
		rgba(18, 8, 12, 0.99) 100%
	);
	border: 1px solid rgba(201, 169, 98, 0.38);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.06),
		0 4px 18px rgba(0, 0, 0, 0.45),
		0 0 28px rgba(201, 169, 98, 0.14);
	transition:
		transform 0.15s ease,
		box-shadow 0.2s ease,
		border-color 0.2s ease;
}
.phone-modal__call span {
	background: linear-gradient(92deg, var(--card-accent-hi) 0%, var(--card-accent-mid) 50%, var(--card-accent) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent !important;
}
.phone-modal__call:hover {
	transform: translateY(-1px);
	border-color: rgba(201, 169, 98, 0.55);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.08),
		0 6px 22px rgba(0, 0, 0, 0.5),
		0 0 28px rgba(201, 169, 98, 0.22);
}
.phone-modal__call:active {
	transform: translateY(0);
}
.phone-modal__call-ico {
	flex-shrink: 0;
	color: var(--card-accent-mid);
	filter: var(--hp-icon-filter);
	opacity: 0.95;
}

.phone-modal__close-secondary {
	display: block;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 12px 16px;
	border-radius: 999px;
	border: 1px solid rgba(201, 169, 98, 0.18);
	background: rgba(12, 6, 10, 0.55);
	color: rgba(255, 255, 255, 0.78);
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: 0.95rem;
	font-weight: 500;
	cursor: pointer;
	transition:
		border-color 0.2s ease,
		background 0.2s ease,
		color 0.2s ease;
}
.phone-modal__close-secondary:hover {
	border-color: rgba(201, 169, 98, 0.32);
	background: rgba(22, 12, 16, 0.65);
	color: rgba(255, 252, 248, 0.9);
}
.phone-modal__close-secondary:focus-visible {
	outline: none;
	box-shadow: 0 0 0 2px rgba(201, 169, 98, 0.4);
}

@media (prefers-reduced-motion: reduce) {
	.phone-modal.is-open .phone-modal__panel {
		transition: opacity 0.2s ease;
	}
}
