/*!
Theme Name: SEX7
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.10.20
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: sex7
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

SEX7 is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */
/* Профиль: слайды с фикс./inline-шириной; flex 33% ломал Carousel.js (трек уезжал, viewport пустой). */
#mainCarousel .carousel__slide {
	flex: 0 0 auto !important;
}

#mainCarousel .carousel__viewport {
	width: 100%;
	min-height: 280px;
}
/* см. блок «Luxury page skin» — стили пагинации под тёмный фон */
.footer__popup{
	color: #fff;
    font-size: 18px;
}
.footer__popup:hover{
	color: #fff;
}

/* Шрифты подключаются в functions.php (sex7-fonts), не через @import — иначе часть правил ниже может не применяться. */

/*
 * Design tokens — Figma «Дизайн сайта №1» file rAX1EfXFgo6AxRndVO814X (главная страница):
 * 168:16 — подложка макета; 168:18 — фрейм страницы каталога (отступы контейнера, сетка);
 * 168:2084 — левый сайдбар «Подбор девушки»; 168:28 — область контента 862px;
 * 168:30 — блоки каталога (сетка карточек); 168:331 / 168:481 — карточка девушки 410×266.
 */
:root {
    --sex7-text: #1a1a1a;
    --sex7-text-muted: #5a5a5a;
    --sex7-primary: #c51718;
    --sex7-primary-dark: #9a1214;
    --sex7-gold: #fdc540;
    --sex7-accent: #c51718;
    --sex7-accent-deep: #9a1214;
    --sex7-line: rgba(200, 200, 200, 0.95);
    --sex7-surface: #ffffff;
    --sex7-surface-soft: #f5f5f5;
    --sex7-sidebar: #2a1414;
    /* Figma 168:2086 «Фон сайдбара» */
    --sex7-catalog-sidebar-surface: #361b1b;
    --sex7-radius-lg: 14px;
    --sex7-shadow-soft: 0 8px 8px rgba(0, 0, 0, 0.12);
    --sex7-shadow-card: 0 10px 28px rgba(0, 0, 0, 0.1);
    --sex7-header-h: 64px;
    /* Figma 168:28 «Область контента» */
    --sex7-catalog-content-max: 862px;
    /* Figma 168:2084 «Левый сайдбар» — ширина колонки фильтров */
    --sex7-catalog-sidebar-max: 278px;
    --sex7-catalog-h1-gap: 2.75rem;
    /* 168:18 — отступы фрейма каталога (контейнер + колонки) */
    --sex7-catalog-page-pad-x: clamp(16px, 3.6vw, 40px);
    --sex7-catalog-page-pad-y-top: clamp(8px, 1.2vw, 16px);
    --sex7-catalog-page-pad-y-bottom: clamp(24px, 3vw, 40px);
    --sex7-catalog-layout-gap: 20px;
    --sex7-catalog-main-inner-pad-x: 20px;
    --sex7-catalog-main-inner-pad-y: 8px;
    --sex7-catalog-main-inner-pad-bottom: 32px;
    --sex7-catalog-sidebar-section-pad-x: 20px;
    --sex7-catalog-sidebar-section-pad-y: 14px;
    --sex7-catalog-sidebar-head-pad-x: 20px;
    --sex7-catalog-sidebar-head-pad-y: 10px;
    --sex7-cards-grid-gap: 24px;
    /* Сайдбар каталога — обновлённый «glass-card» вид (768px+) */
    --sex7-catalog-sidebar-radius: 12px;
    --sex7-catalog-sidebar-link-hover: rgba(255, 255, 255, 0.09);
    /* Разделители между блоками фильтров (см. градиентную линию ::before у .menu__item.dropdown) */
    --sex7-catalog-sidebar-divider: rgba(255, 255, 255, 0.2);
    --sex7-catalog-sidebar-head-sep: rgba(0, 0, 0, 0.32);
}

/* Шапка на всю ширину */
header#header.header {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block;
    clear: both;
    box-sizing: border-box;
}

.navbar.navbar-default {
    display: block !important;
    align-items: stretch;
}

.navbar-default > .container {
    width: 100%;
}

@media (min-width: 768px) {
    .navbar-default .navbar-collapse.collapse,
    #navbar.navbar-collapse.collapse {
        display: flex !important;
        flex-direction: row;
        flex-wrap: wrap;
        width: 100% !important;
        align-items: flex-start;
    }
}

/* Шапка — Figma node 186:29: #c51718, 64px, Inter */
#header.header {
    background: var(--sex7-primary) !important;
    border-bottom: none !important;
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.25) !important;
    overflow-x: clip;
    max-width: 100%;
}

#header.header::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(0, 0, 0, 0.08) 100%);
    opacity: 0.35;
}

#header .header__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    min-height: var(--sex7-header-h);
}

#header .header__brand.hlogo {
    flex: 0 1 auto;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

#header .header__logo-mark {
    flex-shrink: 0;
    line-height: 0;
}

#header .header__logo-mark img {
    display: block;
    width: 48px;
    height: auto;
    max-height: 48px;
    object-fit: contain;
}

#header .hlogo__text {
    line-height: 1.1;
}

#header .hlogo__title {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(18px, 1.5vw, 24px);
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #fff;
    text-shadow: none;
    text-transform: uppercase;
}

#header .hlogo__subtitle {
    display: none;
}

#header .topsearch.header__centerline {
    flex: 1 1 200px;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    padding: 0;
    border-radius: 0;
    border: none;
    background: none;
    box-shadow: none;
    text-align: center;
    position: relative;
}

#header .topsearch__title {
    display: inline-block;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(20px, 2vw, 32px);
    font-weight: 600;
    color: #fff;
    letter-spacing: 0;
    text-shadow: none;
    white-space: nowrap !important;
}

#header .header__actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

#header .header__city {
    padding: 0;
    border-radius: 0;
    border: none;
    background: none;
    text-decoration: none;
    font-size: 16px;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    color: var(--sex7-gold) !important;
    transition: opacity 0.2s ease;
}

#header .header__city .header__region-label {
    text-decoration: underline;
    text-underline-offset: 2px;
}

#header .header__city:hover {
    background: none;
    border: none;
    opacity: 0.92;
    color: var(--sex7-gold) !important;
}

#header .header__pin {
    width: 19px;
    height: auto;
    max-height: 29px;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
}

/* Footer — Figma: чёрная полоса, белый/золотой текст */
footer.footer {
    position: relative;
    margin-top: 0 !important;
    padding: 0;
    background: #000 !important;
    color: rgba(255, 255, 255, 0.88) !important;
    border-top: 1px solid #222;
    box-shadow: none;
    overflow-x: clip;
    max-width: 100%;
}

footer.footer .footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 20px;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

footer.footer .footer__brand,
footer.footer .footer__brand:hover {
    text-decoration: none;
    color: inherit;
}

footer.footer .footer__brand-icon img {
    width: 50px;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 6px rgba(253, 197, 64, 0.35));
}

footer.footer .hlogo__text {
    line-height: 1.15;
}

footer.footer .hlogo__title {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(14px, 1.2vw, 18px);
    letter-spacing: 0.08em;
    font-weight: 700;
    color: #fff;
    text-shadow: none;
    text-transform: uppercase;
}

footer.footer .hlogo__subtitle {
    display: inline-block;
    margin-top: 4px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: none;
    color: var(--sex7-gold);
    opacity: 1;
}

footer.footer .footer__rights {
    margin: 0;
    flex: 1 1 auto;
    text-align: center;
    font-size: clamp(14px, 1.05vw, 17px);
    line-height: 1.45;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.02em;
    min-width: 200px;
}

footer.footer .footer__contact.footer__popup,
footer.footer .footer__popup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    font-size: 13px !important;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #fff !important;
    text-decoration: none !important;
    border: 1px solid rgba(197, 23, 24, 0.65);
    border-radius: 8px;
    background: linear-gradient(180deg, #d4191c 0%, var(--sex7-primary) 100%);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

footer.footer .footer__contact.footer__popup:hover,
footer.footer .footer__popup:hover {
    color: #fff !important;
    border-color: #ff6b6d;
    background: linear-gradient(180deg, #e02023 0%, #a81416 100%);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

/* Модалка выбора города — тот же premium blue, что попап и шапка */
.modal__city {
    background: rgba(5, 16, 38, 0.75) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.modal__city--content {
    background:
        radial-gradient(120% 90% at 0% 0%, rgba(130, 170, 220, 0.14) 0%, transparent 52%),
        linear-gradient(180deg, #152a52 0%, #0a1835 100%) !important;
    border: 1px solid rgba(175, 200, 235, 0.32);
    border-radius: 14px;
    box-shadow:
        0 24px 56px rgba(0, 8, 24, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.09);
    padding: 22px 22px 20px;
}

.modal__city--wrapper {
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(160, 190, 228, 0.2);
}

.modal__city--title {
    margin: 0 !important;
    font-family: 'Cinzel', serif !important;
    font-size: clamp(1rem, 0.6vw + 0.85rem, 1.2rem) !important;
    font-weight: 700 !important;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: #f2f7fd !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.modal__city--cross {
    width: 36px !important;
    height: 36px;
    padding: 6px;
    box-sizing: border-box;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
    filter: brightness(0) invert(1);
    opacity: 0.88;
}

.modal__city--cross:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(200, 220, 245, 0.35);
    opacity: 1;
}

.modal__city--box {
    margin-top: 16px !important;
    gap: 4px 0;
}

.modal__city .modal__city--link {
    list-style: none;
}

.modal__city .modal__city--link a.modal__city--link,
.modal__city a.modal__city--link {
    color: #c8daf0 !important;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none !important;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.modal__city .modal__city--link:hover a.modal__city--link,
.modal__city .modal__city--link a.modal__city--link:hover,
.modal__city a.modal__city--link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(190, 215, 245, 0.25);
}

.modal__city .modal__city--link:hover {
    color: inherit;
}

@media only screen and (max-width: 766px) {
    footer.footer .footer__inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    footer.footer .footer__brand {
        justify-content: center;
    }

    footer.footer .footer__rights {
        text-align: center;
        order: 2;
        min-width: 0;
    }

    footer.footer .footer__contact {
        order: 3;
    }

    footer.footer .hlogo__title {
        font-size: 13px;
    }

    footer.footer .hlogo__subtitle {
        font-size: 11px;
    }
}

/* Страница — Figma: светло-серый фон #f5f5f5 */
body {
    background: var(--sex7-surface-soft);
    color: var(--sex7-text);
    min-height: 100vh;
}

.main {
    padding: 1.25rem 0 2rem;
}

/* Хлебные крошки (анкета и др.) */
.main .way {
    margin: 0 0 0.75rem;
    font-size: 14px;
    line-height: 1.45;
    color: var(--sex7-text-muted);
}

.main .way a {
    color: var(--sex7-accent-deep);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.main .way a:hover,
.main .way a:focus-visible {
    color: var(--sex7-accent);
    border-bottom-color: rgba(95, 130, 185, 0.45);
}

.main .way__sep {
    margin: 0 0.35em;
    color: rgba(90, 107, 126, 0.65);
}

.main .way__current {
    color: var(--sex7-text);
    font-weight: 600;
}

/* Крошки чуть выше в каталоге и на анкете (плотнее к верху контентной колонки) */
.main--catalog .main__inner > .way:first-of-type {
    margin-top: -0.35rem;
    margin-bottom: 0.65rem;
}

/*
 * Каталог: сетка «сайдбар фильтров | контент» — как в Figma (тёмная колонка слева, белая зона карточек).
 */
/* Перебить Bootstrap .container { width: 1170px }, иначе 278+20+862 не помещается */
.main--catalog .container--catalog {
    width: 100% !important;
    max-width: 1320px;
    min-width: 0;
    box-sizing: border-box;
    padding-left: var(--sex7-catalog-page-pad-x);
    padding-right: var(--sex7-catalog-page-pad-x);
    padding-top: var(--sex7-catalog-page-pad-y-top);
    padding-bottom: var(--sex7-catalog-page-pad-y-bottom);
}

.catalog-layout {
    display: grid;
    /* minmax(0, …) — дочерний Bootstrap .container не раздувает колонку */
    grid-template-columns: minmax(0, var(--sex7-catalog-sidebar-max)) minmax(0, 1fr);
    gap: var(--sex7-catalog-layout-gap);
    align-items: stretch;
}

/* Bootstrap .container в колонке фильтров — единые правила для главной, районов и поиска */
.main--catalog .catalog-sidebar .container:not(.container--catalog),
.main--catalog .catalog-sidebar .container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}

.main--catalog .catalog-sidebar .menu__item--drop .catalog-sidebar__drop-inner,
.main--catalog .catalog-sidebar .menu__item--drop .catalog-sidebar__district-wrap {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.catalog-layout__main {
    min-width: 0;
    padding: 4px 2px 8px;
    border-radius: 12px;
    background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Контент как в Figma 168:28: max 862px, интервал H1 → сетка ~44px */
.catalog-layout__main .main__inner {
    box-sizing: border-box;
    width: 100%;
    max-width: var(--sex7-catalog-content-max);
    margin-left: auto;
    margin-right: auto;
    padding: var(--sex7-catalog-main-inner-pad-y) var(--sex7-catalog-main-inner-pad-x)
        var(--sex7-catalog-main-inner-pad-bottom);
}

.main--catalog .catalog-layout__main .main__inner > h1:first-of-type {
    margin-top: 0;
    margin-bottom: var(--sex7-catalog-h1-gap);
    font-size: clamp(1.125rem, 1.1vw + 0.85rem, 1.375rem);
    line-height: 1.35;
    font-weight: 700;
}

/* Листинги каталога (главная, таксономии, поиск): H1 — та же типографика, без рамки/«кнопки» */
.main--catalog .catalog-layout__main .main__inner > h1.catalog-page__title,
.main--catalog .catalog-layout__main .main__inner > h1.home-page__title {
    margin-top: 0;
    margin-bottom: var(--sex7-catalog-h1-gap);
    padding: 0;
    max-width: 22em;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(1.55rem, 1.45vw + 1.05rem, 2.1rem);
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -0.03em;
    color: #111;
    background: none;
    border: none;
    box-shadow: none;
}

.catalog-sidebar {
    align-self: stretch;
    min-width: 0;
    min-height: 100%;
    padding: 12px 10px 16px;
    border-radius: 12px;
    background: linear-gradient(180deg, #1a1010 0%, var(--sex7-sidebar) 100%);
    border: none;
    box-shadow: var(--sex7-shadow-soft);
    overflow: visible;
}

/* Две колонки: сайдбар тянется по высоте контента; липкость — у внутреннего блока (см. nav.php). */
@media (min-width: 992px) {
    .catalog-sidebar__sticky {
        position: sticky;
        top: 8px;
        z-index: 30;
    }
}

.catalog-sidebar__nav.navbar-default {
    background: transparent !important;
    border: none !important;
    border-top: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* front.min: .menu__item { border: 1px solid #fff } — фильтры вложены в #navbar, не прямые дети .navbardef__inner */
.main--catalog .catalog-sidebar .navbar-collapse,
.main--catalog .catalog-sidebar .navbar-default.catalog-sidebar__nav {
    border: none !important;
    border-top: 0 !important;
    box-shadow: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.main--catalog .catalog-sidebar .menu__item {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.catalog-sidebar .navbardef__inner {
    width: 100%;
    padding: 0;
}

.catalog-sidebar .menu__item {
    width: 100%;
    max-width: 100%;
    margin-bottom: 10px;
    border: none !important;
    box-shadow: none !important;
}

.catalog-sidebar .menu__item:last-child {
    margin-bottom: 0;
}

.catalog-sidebar .menu__item .dropdown-toggle {
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    border-radius: 8px;
    background: var(--sex7-primary) !important;
    border: 1px solid rgba(0, 0, 0, 0.18) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.catalog-sidebar .menu__item .dropdown-toggle:hover {
    filter: brightness(1.06);
}

.catalog-sidebar .menu__item .dropdown-toggle .div-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    color: #fff !important;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.catalog-sidebar .menu__item .dropdown-toggle .div-menu .drop__img--in img.imgico {
    filter: brightness(0) invert(1);
}

.catalog-sidebar .menu__item.dropdown {
    position: relative;
}

.catalog-sidebar .menu__item--drop {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    z-index: 50;
    max-height: min(280px, 50vh);
    overflow-y: auto;
    background: #fff;
}

.catalog-sidebar .menu__item--drop a {
    color: #1a1a1a;
}

/* Шапка сайдбара — «Подбор девушки» (Figma) */
.catalog-sidebar__head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    margin: -12px -10px 12px -10px;
    border-radius: 12px 12px 0 0;
    background: linear-gradient(180deg, #c51718 0%, #a81416 100%);
}

.catalog-sidebar__head-icon {
    display: flex;
    flex-shrink: 0;
    color: #fdc940;
}

.catalog-sidebar__head-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.02em;
}

/*
 * Каталог: фон и контент — от 992px (рядом с сайдбаром в две колонки).
 * Сайдбар по макету — от 768px (иначе 768–991px оставались «красные кнопки» без Figma).
 */
@media (min-width: 992px) {
    .catalog-layout__main {
        padding: 0;
        border-radius: 0;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .main--catalog .catalog-layout__main .main__inner > h1:first-of-type {
        font-size: clamp(1.25rem, 1.15vw + 1rem, 1.5rem);
        font-weight: 800;
        color: #111;
    }

    .main--catalog .catalog-layout__main .main__inner > h1.catalog-page__title,
    .main--catalog .catalog-layout__main .main__inner > h1.home-page__title {
        font-size: clamp(1.7rem, 1.3vw + 1.15rem, 2.35rem);
        font-weight: 700;
    }
}

@media (min-width: 768px) {
    .main--catalog {
        background: #f2f2f2;
    }

    /* Каталог: колонка фильтров — скругление и тень без лишних обводок */
    .catalog-sidebar {
        padding: 0;
        border-radius: var(--sex7-catalog-sidebar-radius);
        overflow: hidden;
        max-width: var(--sex7-catalog-sidebar-max);
        width: 100%;
        box-sizing: border-box;
        background: linear-gradient(165deg, #3d2828 0%, var(--sex7-catalog-sidebar-surface) 42%, #2a1515 100%) !important;
        border: none !important;
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
    }

    .catalog-sidebar__head {
        margin: 0;
        border-radius: var(--sex7-catalog-sidebar-radius) var(--sex7-catalog-sidebar-radius) 0 0;
        box-sizing: border-box;
        min-height: 48px;
        padding: 13px var(--sex7-catalog-sidebar-head-pad-x) 14px;
        display: flex;
        align-items: center;
        gap: 12px;
        background: linear-gradient(135deg, #e01e21 0%, var(--sex7-primary) 48%, #a61114 100%) !important;
        box-shadow: none;
        border-bottom: 1px solid var(--sex7-catalog-sidebar-head-sep);
    }

    .catalog-sidebar__head-title {
        font-size: 15px;
        font-weight: 700;
        letter-spacing: -0.02em;
    }

    .catalog-sidebar__head-icon {
        width: 36px;
        height: 36px;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        background: rgba(0, 0, 0, 0.14);
        box-shadow: none;
    }

    .catalog-sidebar__head-icon svg {
        width: 20px;
        height: 20px;
    }

    /* Контент: отступы 20px; разделители между секциями */
    .catalog-sidebar .navbardef__inner {
        padding: 0 0 16px 0;
    }

    /* Прямые дети #navbar — см. template-parts/nav.php */
    .catalog-sidebar .navbar-collapse > .menu__item.dropdown {
        margin-bottom: 0;
        padding: 0 var(--sex7-catalog-sidebar-section-pad-x) var(--sex7-catalog-sidebar-section-pad-y);
        border: none !important;
        box-sizing: border-box;
    }

    .catalog-sidebar .navbar-collapse > .menu__item.dropdown:first-child {
        padding-top: var(--sex7-catalog-sidebar-section-pad-y);
    }

    /* Разделитель между разделами фильтров: градиент + лёгкая тень (не сплошная 1px полоса на всю ширину) */
    .main--catalog .catalog-sidebar .navbar-collapse > .menu__item.dropdown ~ .menu__item.dropdown {
        border-top: none !important;
        padding-top: 18px;
        margin-top: 0;
        position: relative;
    }

    .main--catalog .catalog-sidebar .navbar-collapse > .menu__item.dropdown ~ .menu__item.dropdown::before {
        content: "";
        position: absolute;
        left: var(--sex7-catalog-sidebar-section-pad-x);
        right: var(--sex7-catalog-sidebar-section-pad-x);
        top: 0;
        height: 1px;
        border-radius: 1px;
        background: linear-gradient(
            90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.05) 10%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(255, 255, 255, 0.05) 90%,
            transparent 100%
        );
        box-shadow:
            0 1px 0 rgba(0, 0, 0, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.06);
        pointer-events: none;
    }

    .catalog-sidebar .menu__item {
        margin-bottom: 0;
        overflow: visible;
        border-radius: 0;
        border: none !important;
        box-shadow: none !important;
    }

    .catalog-sidebar .menu__item .dropdown-toggle {
        cursor: default;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }

    .catalog-sidebar .menu__item .dropdown-toggle:hover {
        filter: none;
    }

    .catalog-sidebar .menu__item .dropdown-toggle .sel {
        display: none;
    }

    .catalog-sidebar .menu__item .dropdown-toggle .div-menu {
        padding: 0 0 12px 0;
        align-items: center;
        gap: 11px;
        color: #fff !important;
        font-size: 15px;
        font-weight: 600;
        letter-spacing: -0.01em;
        line-height: 1.25;
    }

    .catalog-sidebar .menu__item .dropdown-toggle .div-menu .drop__img--in img.imgico {
        filter: brightness(0) saturate(100%) invert(84%) sepia(31%) saturate(1176%) hue-rotate(359deg) brightness(103%) contrast(101%);
    }

    .catalog-sidebar .menu__item .dropdown-toggle .div-menu .drop__img--in img.imgico--no-filter {
        filter: none !important;
    }

    .catalog-sidebar .menu__item.dropdown {
        position: static;
    }

    .catalog-sidebar .menu__item--drop,
    .catalog-sidebar .menu__item--drop.small {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        display: flex !important;
        flex-direction: column;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .catalog-sidebar__district-wrap,
    .catalog-sidebar__services-wrap {
        max-height: 220px;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }

    .catalog-sidebar .menu__item--drop.is-expanded .catalog-sidebar__district-wrap,
    .catalog-sidebar .menu__item--drop.is-expanded .catalog-sidebar__services-wrap {
        max-height: 5000px;
        overflow: visible;
    }

    .catalog-sidebar__show-more {
        display: block;
        width: 100%;
        max-width: 200px;
        height: auto;
        min-height: 36px;
        margin: 12px auto 0;
        padding: 8px 16px;
        box-sizing: border-box;
        font-family: 'Inter', system-ui, sans-serif;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.3;
        color: rgba(255, 255, 255, 0.92);
        background: rgba(255, 255, 255, 0.1);
        border: none;
        border-radius: 999px;
        cursor: pointer;
        text-align: center;
        transition:
            background 0.2s ease,
            color 0.2s ease;
    }

    .catalog-sidebar__show-more:hover,
    .catalog-sidebar__show-more:focus-visible {
        background: rgba(255, 255, 255, 0.18);
        color: #fff;
        outline: none;
    }

    .catalog-sidebar .menu__item--drop .container {
        width: 100% !important;
        max-width: 100%;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
    }

    .catalog-sidebar .menu__item--drop--inner {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        max-height: none !important;
        gap: 0 !important;
        width: 100%;
        background: transparent !important;
    }

    /* front.min: .submenu__item__list { background: #f5f7ff } — на тёмном сайдбаре даёт «белый на белом» */
    .catalog-sidebar .submenu__item__list {
        width: 100% !important;
        max-width: 100%;
        background: transparent !important;
        padding: 0 !important;
        margin: 0 0 6px 0 !important;
        border: none !important;
        box-shadow: none !important;
    }

    .catalog-sidebar .menu__item--drop a,
    .catalog-sidebar .menu__item--drop .modal__menu--podlink,
    .catalog-sidebar .submenu__item__list li a {
        display: block;
        padding: 7px 10px;
        min-height: 0;
        line-height: 1.35;
        color: rgba(235, 232, 232, 0.92) !important;
        font-size: 14px;
        font-weight: 500;
        border-radius: 8px;
        text-decoration: none;
        transition:
            color 0.15s ease,
            background 0.15s ease;
    }

    .catalog-sidebar .submenu__item__list li a {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
    }

    .catalog-sidebar .menu__item--drop a:hover,
    .catalog-sidebar .menu__item--drop .modal__menu--podlink:hover,
    .catalog-sidebar .submenu__item__list li a:hover {
        color: #fff !important;
        text-decoration: none;
        background: var(--sex7-catalog-sidebar-link-hover);
    }

    .catalog-sidebar .menu__item--drop .count {
        color: rgba(210, 208, 208, 0.75);
        font-weight: 500;
    }

    .catalog-sidebar .submenu__item__title {
        color: rgba(255, 255, 255, 0.42);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.05em;
        margin: 12px 0 6px;
        line-height: 1.3;
    }

    .catalog-sidebar .submenu__item__list:first-child .submenu__item__title {
        margin-top: 0;
    }
}

@media (min-width: 768px) {
    .catalog-sidebar .navbar-default .navbar-collapse.collapse,
    .catalog-sidebar #navbar.navbar-collapse.collapse {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        align-items: stretch;
    }
}

@media only screen and (max-width: 991px) {
    .catalog-layout {
        grid-template-columns: 1fr;
    }

    /* Фильтры сверху: #navbar остаётся рядом с бургером в шапке по потоку DOM */
    .catalog-sidebar {
        order: 1;
        position: static;
        margin-bottom: 12px;
    }

    .catalog-layout__main {
        order: 2;
    }
}

/* 768–991px одна колонка: иначе max-width:278px от режима «две колонки» даёт узкий блок по центру */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .main--catalog .catalog-sidebar {
        max-width: none;
        width: 100%;
    }
}

/* Только узкий экран: мобильные «кнопки» фильтров, без Figma-сайдбара */
@media only screen and (max-width: 767px) {
    /*
     * front.min.css (legacy) в @media (max-width: 767px): .navbar-default { height: 0 } и
     * .navbar .navbar-collapse { position: absolute; top: -57px; … z-index: 98 } — без селектора по странице.
     * Это ломает каталог: коллапс #navbar вылезает из сайдбара и наезжает на шапку/футер.
     */
    .catalog-sidebar .navbar.navbar-default.catalog-sidebar__nav {
        height: auto !important;
        min-height: 0 !important;
        padding: 0 !important;
        position: relative !important;
        overflow: visible !important;
    }

    .catalog-sidebar .navbar .navbar-collapse,
    .catalog-sidebar .navbar #navbar.navbar-collapse {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        z-index: auto !important;
        background: transparent !important;
        background-image: none !important;
        -webkit-background-image: none !important;
        filter: none !important;
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }

    .catalog-sidebar__show-more {
        display: none !important;
    }

    .catalog-sidebar .catalog-sidebar__district-wrap {
        max-height: none !important;
        overflow: visible !important;
    }

    .catalog-sidebar .menu__item.dropdown {
        border: none !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
    }

    .catalog-sidebar .navbar-collapse > .menu__item.dropdown ~ .menu__item.dropdown {
        border-top: none !important;
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    .catalog-sidebar .navbar-collapse > .menu__item.dropdown ~ .menu__item.dropdown::before {
        display: none !important;
    }

    .catalog-sidebar .catalog-sidebar__services-wrap {
        max-height: none !important;
        overflow: visible !important;
    }
}

/* Бургер в шапке: на десктопе скрыт; на мобиле — белые полоски на красном (не серый «квадрат»). */
@media (min-width: 768px) {
    #header .mobile__burger,
    #header .navbar-toggle {
        display: none !important;
    }
}

@media (max-width: 767px) {
    #header .navbar-toggle {
        border-color: rgba(255, 255, 255, 0.45) !important;
        background: transparent !important;
    }

    #header .navbar-toggle:hover,
    #header .navbar-toggle:focus {
        background: rgba(0, 0, 0, 0.12) !important;
    }

    #header .navbar-toggle .icon-bar {
        background-color: #fff !important;
    }
}

/* Единый «холст» страницы: без белых подложек у контейнеров (перебиваем сторонние стили) */
section.main .container,
section.main .main__inner,
section.main .allformspage {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.main h1,
.div-h2 {
    color: #111;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-shadow: none;
}

.main .paginator a,
.main .paginator span {
    background: rgba(255, 255, 255, 0.55);
    color: #24384f;
    border: 1px solid rgba(120, 150, 185, 0.45);
    border-radius: 6px;
}

.main .paginator span.active,
.main .paginator a:hover,
.main .paginator span.page-numbers.current,
.main .paginator a.page-numbers.current {
    background: var(--sex7-primary);
    color: #fff;
    border-color: var(--sex7-primary-dark);
}

.navbar-default {
    background: linear-gradient(180deg, #3d1f1f 0%, var(--sex7-sidebar) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--sex7-radius-lg);
    box-shadow: var(--sex7-shadow-soft);
}

.navbar-default .drop__img--in img.imgico {
    display: block;
    object-fit: contain;
}

.navbardef__inner {
    padding: 6px 8px;
}

.menu__item {
    border-radius: 8px;
    overflow: hidden;
}

/* Выпадающие фильтры: absolute .menu__item--drop иначе целиком режется родителем с overflow:hidden */
.navbar-default .menu__item.dropdown {
	overflow: visible;
}

.menu__item > a,
.menu__item > label {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f5f5f5 !important;
    font-weight: 600;
    border-radius: 8px;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.menu__item > a:hover,
.menu__item > label:hover {
    background: linear-gradient(180deg, rgba(197, 23, 24, 0.45) 0%, rgba(197, 23, 24, 0.2) 100%);
    border-color: rgba(253, 197, 64, 0.35);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.menu__item--drop {
    border: 1px solid #d8e2ef;
    border-radius: 10px;
    box-shadow: 0 10px 26px rgba(13, 29, 52, 0.16);
}

.menu__item--drop a {
    color: #2b3e56;
}

.form1 .name,
.form1 .phone,
.form1 .metro,
.form1 .metro a {
    color: #203249;
}

.form2det2 p:nth-child(1) {
    color: #3d5169;
    letter-spacing: 0.02em;
}

.app span strong,
.out span strong,
.main__data span strong {
    color: #14253a;
    font-weight: 600;
}

/* Сетка каталога — Figma: 2 карточки в ряд. auto-fill+minmax(410px) не влезает в 862px−padding (~830px) → всегда 1 колонка */
.allformspage,
.cards {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(410px, 1fr));
    gap: var(--sex7-cards-grid-gap);
    width: 100%;
    margin-top: 1.5rem;
    flex-wrap: unset !important;
    justify-items: center;
}

.main--catalog .catalog-layout__main .allformspage,
.main--catalog .catalog-layout__main .cards {
    margin-top: 0;
}

@media (min-width: 768px) {
    .main--catalog .catalog-layout__main .allformspage,
    .main--catalog .catalog-layout__main .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-items: center;
    }
}

.allformspage .form,
.cards .form {
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
}

.allformspage .girl-card.form,
.cards .girl-card.form {
    max-width: 410px;
    width: 100%;
    box-sizing: border-box;
}

/* В ряду карточки одной высоты; по горизонтали по-прежнему max 410px по центру ячейки */
.main--catalog .catalog-layout__main .allformspage,
.main--catalog .catalog-layout__main .cards {
    justify-items: stretch;
}

.main--catalog .catalog-layout__main .allformspage .girl-card.form,
.main--catalog .catalog-layout__main .cards .girl-card.form {
    height: 100%;
    min-height: 0;
    justify-self: center;
}

.main--catalog .catalog-layout__main .allformspage .girl-card.form .girl-card__grid,
.main--catalog .catalog-layout__main .cards .girl-card.form .girl-card__grid {
    min-height: 0;
    height: auto;
}

.form {
    border-radius: var(--sex7-radius-lg);
    overflow: hidden;
    border: 1px solid #cfdaea;
    background: linear-gradient(180deg, #f6f9fe 0%, #edf3fa 100%);
    box-shadow: var(--sex7-shadow-card);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.form:hover {
    transform: translateY(-3px);
    box-shadow:
        0 18px 40px rgba(0, 10, 28, 0.18),
        0 8px 20px rgba(18, 35, 57, 0.12);
}

.form1 {
    padding: 8px 12px 12px 12px;
    gap: 5px;
    line-height: 1.2;
    background: linear-gradient(180deg, #f1f6fc 0%, #e9f0f8 100%);
    border-bottom: 1px solid #dbe5f1;
}

.form1__field {
    gap: 6px;
    line-height: 1.2;
}

.form1 .form1__field img {
    width: 18px !important;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

/* Имя, город и телефон — один размер шрифта (как у имени) */
.form1 .name,
.form1 .name p,
.form1 .phone,
.form1 .metro,
.form1 .metro p,
.form1 .metro a {
    font-size: 15px;
    line-height: 1.2;
}

.form1 .name {
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #192d44;
}

.form1 .name p {
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.form1 .phone {
    font-weight: 600;
    color: #162b42;
}

.form1 .metro,
.form1 .metro a {
    font-weight: 600;
    color: #203249;
}

.form1 .phone:hover {
    text-decoration: none;
    color: #0f2237;
}

.form2__img--inner {
    overflow: hidden;
}

.form2 a img {
    transition: transform 0.35s ease, filter 0.35s ease;
}

.form:hover .form2 a img {
    transform: scale(1.04);
    filter: saturate(1.04) contrast(1.02);
}

.form2det {
    background: linear-gradient(180deg, #eef3fa 0%, #e3ebf5 100%);
    border-left: 1px solid #c9d8eb;
}

.form2det > .form2det1:first-of-type {
    border-bottom: 1px solid rgba(210, 222, 238, 0.95);
}

.form2det1 {
    padding: 11px 10px 12px 11px;
    gap: 8px;
    font-size: 12px;
    color: #21364e;
    background:
        radial-gradient(90% 80% at 0% 0%, rgba(186, 210, 242, 0.18) 0%, rgba(186, 210, 242, 0) 60%),
        linear-gradient(180deg, #f0f5fb 0%, #e6eef6 100%);
    border-left: 3px solid rgba(91, 124, 168, 0.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.form2det1 p:nth-child(1) {
    margin: 0 0 2px;
    padding-bottom: 7px;
    border-bottom: 1px solid rgba(195, 210, 230, 0.75);
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: #0f2238;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* строки цен/данных — типографика и лёгкие плашки в тон карточке */
.form2det1 .app span,
.form2det1 .out span,
.form2det1 .main__data span {
    padding: 5px 7px;
    margin: 0 -2px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.4;
    color: #24384f;
    background: rgba(248, 251, 255, 0.75);
    border: 1px solid rgba(207, 218, 234, 0.55);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

.form2det1 .app span strong,
.form2det1 .out span strong,
.form2det1 .main__data span strong {
    color: #0c1c30;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.app span,
.out span,
.main__data span {
    font-size: 12px;
    color: #1f344c;
}

.app span strong,
.out span strong,
.main__data span strong {
    color: #0e2136;
    font-weight: 700;
}

/* Иконка «апартаменты» — кровать в синих тонах (вместо app.png) */
.form1 .app {
    background-image: url('assets/icons/app-bed-blue.svg') !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 20px 20px !important;
}

/* Иконка «выезд» — машина в синих тонах (вместо out.png) */
.form1 .out {
    background-image: url('assets/icons/out-car-blue.svg') !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 20px 20px !important;
}

.form1 .app,
.form1 .out {
    opacity: 0.72;
    border-radius: 6px;
    box-shadow: inset 0 0 0 1px #8fa8c9;
    transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.form:hover .form1 .app,
.form:hover .form1 .out {
    opacity: 1;
    box-shadow: inset 0 0 0 1px #6b8ab8;
    transform: translateY(-1px);
}

/* Карточки в сетке: умеренная высота (чуть выше компактного варианта) */
.allformspage .form .form1,
.cards .form .form1 {
    padding: 7px 11px 9px;
    gap: 4px;
}

.allformspage .form .form1__field,
.cards .form .form1__field {
    gap: 4px;
}

.allformspage .form .form1 .form1__field img,
.cards .form .form1 .form1__field img {
    width: 17px !important;
    height: 17px;
}

.allformspage .form .form1 .name,
.allformspage .form .form1 .name p,
.allformspage .form .form1 .phone,
.allformspage .form .form1 .metro,
.allformspage .form .form1 .metro p,
.allformspage .form .form1 .metro a,
.cards .form .form1 .name,
.cards .form .form1 .name p,
.cards .form .form1 .phone,
.cards .form .form1 .metro,
.cards .form .form1 .metro p,
.cards .form .form1 .metro a {
    font-size: 15px;
    line-height: 1.18;
}

.allformspage .form .form1 .name p,
.cards .form .form1 .name p {
    line-height: 1.18;
}

.allformspage .form .form1 .app,
.allformspage .form .form1 .out,
.cards .form .form1 .app,
.cards .form .form1 .out {
    width: 26px;
    height: 26px;
    background-size: 18px 18px !important;
}

.allformspage .form .form2 a img,
.cards .form .form2 a img,
.allformspage .girl-card.form .girl-card__media a img,
.cards .girl-card.form .girl-card__media a img {
    object-position: top center;
}

.allformspage .form .form2det1,
.cards .form .form2det1,
.allformspage .girl-card.form .girl-card__price-wrap,
.cards .girl-card.form .girl-card__price-wrap {
    padding: 7px 8px 8px 9px;
    gap: 5px;
    font-size: 11.5px;
}

.allformspage .form .form2det1 p:nth-child(1),
.cards .form .form2det1 p:nth-child(1) {
    margin: 0;
    padding-bottom: 5px;
    line-height: 1.18;
    font-size: 10.5px;
    letter-spacing: 0.1em;
}

.allformspage .form .form2det1 .app,
.allformspage .form .form2det1 .out,
.allformspage .form .form2det1 .main__data,
.cards .form .form2det1 .app,
.cards .form .form2det1 .out,
.cards .form .form2det1 .main__data {
    gap: 3px;
}

.allformspage .form .form2det1 .app span,
.allformspage .form .form2det1 .out span,
.allformspage .form .form2det1 .main__data span,
.cards .form .form2det1 .app span,
.cards .form .form2det1 .out span,
.cards .form .form2det1 .main__data span {
    padding: 3px 6px;
    font-size: 11.5px;
    line-height: 1.28;
}

/*
 * SEO-блок под карточками — отдельная вёрстка (template-parts/catalog-textmain.php).
 * Перебивает устаревший .textmain из front.min.css (13px, серый фон).
 */
.main--catalog .catalog-layout__main .main__inner .textmain.textmain--catalog-seo {
    width: 100%;
    max-width: var(--sex7-catalog-content-max);
    margin: clamp(1.5rem, 3vw, 2.25rem) auto 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.55;
    background: linear-gradient(165deg, #ffffff 0%, #f8fafc 45%, #f1f5f9 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.92) inset,
        0 12px 36px rgba(15, 23, 42, 0.07);
    color: #334155;
    overflow: hidden;
}

.main--catalog .catalog-layout__main .main__inner .textmain.textmain--catalog-seo .textmain__title {
    margin: 0;
    padding: 1.2rem 1.35rem 0;
    border: none;
    box-shadow: none;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(1.05rem, 0.85vw + 0.85rem, 1.35rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    text-transform: none;
    line-height: 1.28;
    color: #0f172a;
    background: transparent;
    text-shadow: none;
}

.main--catalog .catalog-layout__main .main__inner .textmain.textmain--catalog-seo .textmain__title::after {
    content: "";
    display: block;
    width: 3rem;
    height: 3px;
    margin-top: 0.7rem;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--sex7-primary) 0%, rgba(197, 23, 24, 0.2) 100%);
}

.main--catalog .catalog-layout__main .main__inner .textmain.textmain--catalog-seo .textmain__content {
    padding: 1rem 1.35rem 1.35rem;
}

.main--catalog .catalog-layout__main .main__inner .textmain.textmain--catalog-seo .textmain__title + .textmain__content {
    padding-top: 1.15rem;
}

.main--catalog .catalog-layout__main .main__inner .textmain.textmain--catalog-seo .textmain__content p,
.main--catalog .catalog-layout__main .main__inner .textmain.textmain--catalog-seo .textmain__content li {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(0.95rem, 0.35vw + 0.88rem, 1.05rem);
    line-height: 1.65;
    color: #475569;
}

.main--catalog .catalog-layout__main .main__inner .textmain.textmain--catalog-seo .textmain__content > p:first-child {
    font-size: clamp(1rem, 0.4vw + 0.9rem, 1.12rem);
    color: #334155;
}

.main--catalog .catalog-layout__main .main__inner .textmain.textmain--catalog-seo .textmain__content p {
    margin: 0 0 0.65rem;
}

.main--catalog .catalog-layout__main .main__inner .textmain.textmain--catalog-seo .textmain__content p:last-child {
    margin-bottom: 0;
}

.main--catalog .catalog-layout__main .main__inner .textmain.textmain--catalog-seo .textmain__content ul,
.main--catalog .catalog-layout__main .main__inner .textmain.textmain--catalog-seo .textmain__content ol {
    margin: 0.4rem 0 0.6rem;
    padding-left: 1.25em;
}

.main--catalog .catalog-layout__main .main__inner .textmain.textmain--catalog-seo .textmain__content a {
    color: var(--sex7-accent-deep);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.15s ease;
}

.main--catalog .catalog-layout__main .main__inner .textmain.textmain--catalog-seo .textmain__content a:hover {
    color: var(--sex7-primary);
}

/* Кнопка «наверх» — premium blue, как шапка / футер */
button.button.up__button,
.button.up__button {
    width: 44px;
    height: 44px;
    min-width: 44px;
    max-width: none;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(145deg, #e02023 0%, var(--sex7-primary-dark) 100%);
    box-shadow:
        0 10px 22px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    color: transparent;
    font-size: 0;
    line-height: 0;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, opacity 0.2s linear;
}

button.button.up__button:hover,
.button.up__button:hover {
    background: linear-gradient(145deg, #f0282b 0%, #c51718 100%);
    border-color: rgba(253, 197, 64, 0.45);
    box-shadow:
        0 12px 26px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

button.button.up__button:focus-visible,
.button.up__button:focus-visible {
    outline: 2px solid var(--sex7-gold);
    outline-offset: 3px;
}

.up__button .up__arrow {
    width: 22px;
    height: 22px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.mobile__burger{
	display:none;
}
.modal__city-first{
	font-weight:700;
}

@media only screen and (max-width: 766px) {
	 .mobile__burger{
		display:flex;
	} 
	.topsearch{
		display:none;
	}
    #header .hlogo__title {
        font-size: 14px;
    }
}
@media only screen and (max-width: 420px) {
	.footer__popup{
		margin:15px auto;
	}	
}


.custom-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 16, 38, 0.72);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 9999;
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    max-width: 480px;
    width: 90%;
    padding: 28px 26px 26px;
    text-align: center;
    color: #d4e6f7;
    background:
        radial-gradient(120% 90% at 0% 0%, rgba(130, 170, 220, 0.14) 0%, transparent 52%),
        linear-gradient(180deg, #152a52 0%, #0a1835 100%);
    border: 1px solid rgba(175, 200, 235, 0.32);
    border-radius: 14px;
    box-shadow:
        0 24px 56px rgba(0, 8, 24, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.popup-content h2 {
    margin: 0 0 20px;
    padding: 0 36px 14px 0;
    border-bottom: 1px solid rgba(160, 190, 228, 0.22);
    font-family: 'Cinzel', serif;
    font-size: clamp(1rem, 0.5vw + 0.9rem, 1.2rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f2f7fd;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.popup-content input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    margin-bottom: 12px;
    border: 1px solid rgba(140, 170, 210, 0.42);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #f0f6fc;
    font-size: 15px;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.popup-content input::placeholder {
    color: rgba(200, 218, 242, 0.5);
}

.popup-content input:focus {
    outline: none;
    border-color: rgba(200, 225, 252, 0.65);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(100, 150, 220, 0.2);
}

.popup-content button {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 16px;
    margin-top: 4px;
    border: 1px solid rgba(210, 228, 252, 0.42);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(95, 135, 190, 0.6) 0%, rgba(42, 78, 138, 0.92) 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 6px 16px rgba(0, 12, 32, 0.35);
}

.popup-content button:hover {
    border-color: rgba(232, 240, 251, 0.55);
    background: linear-gradient(180deg, rgba(115, 155, 210, 0.72) 0%, rgba(52, 92, 158, 0.95) 100%);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0, 12, 32, 0.42);
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    color: rgba(220, 235, 255, 0.88);
    cursor: pointer;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    user-select: none;
}

.popup-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(200, 220, 245, 0.3);
}

#my-popup #form-message {
    margin-top: 14px !important;
    font-size: 14px;
    line-height: 1.45;
    color: #b8d4f0;
}

/* Доп. переопределения под Figma-шапку (перебить любые сторонние правила) */
header#header {
    position: relative !important;
    background: var(--sex7-primary) !important;
    border-bottom: none !important;
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.25) !important;
}

header#header .topsearch {
    border: none !important;
    background: none !important;
    box-shadow: none !important;
}

header#header .topsearch__title {
    color: #fff !important;
    font-size: clamp(20px, 2vw, 32px) !important;
    text-shadow: none !important;
    font-family: 'Inter', system-ui, sans-serif !important;
}

header#header .header__city {
    border: none !important;
    background: none !important;
}

/* -------------------------------------------------------------------------
   Страница анкеты (CPT girls) — Figma node 192:29: полоски #c51718, блоки, таблица как карточка
   ------------------------------------------------------------------------- */
body.sex7-anketa .main.main--catalog {
    padding-top: 0;
}

body.sex7-single-girls .sex7-profile-inner .profile-page__meta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 0 0 1.25rem;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--sex7-primary);
    border-radius: 12px;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.07);
}

body.sex7-single-girls .sex7-profile-inner .profile-page__meta .profile-page__title {
    margin: 0;
    padding: 1rem 1.1rem 0.65rem;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(1.25rem, 1.15vw + 1rem, 1.5rem);
    font-weight: 800;
    color: #111;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

body.sex7-single-girls .sex7-profile-inner .profile-page__meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1.15rem;
    margin: 0;
    padding: 0.75rem 1rem 0.9rem;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
    box-sizing: border-box;
}

body.sex7-single-girls .sex7-profile-inner .profile-page__meta-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--sex7-text-muted);
    margin-right: 0.25rem;
}

body.sex7-single-girls .sex7-profile-inner .profile-page__meta-item,
body.sex7-single-girls .sex7-profile-inner .profile-page__meta-phone {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
}

body.sex7-single-girls .sex7-profile-inner .profile-page__meta-phone {
    margin-left: auto;
}

body.sex7-single-girls .sex7-profile-inner .profile-page__meta .profile__formlink {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--sex7-text) !important;
    text-decoration: none;
}

body.sex7-single-girls .sex7-profile-inner .profile-page__meta .profile__formlink:hover {
    color: var(--sex7-primary) !important;
}

/* Figma 192:54 — галерея в колонке 862px; трек карусели не должен раздувать layout (min-width: 0 + overflow) */
body.sex7-single-girls .catalog-layout__main .main__inner.sex7-profile-inner {
    min-width: 0;
    max-width: min(100%, var(--sex7-catalog-content-max));
}

body.sex7-single-girls .sex7-profile-inner .profile-section--gallery {
    margin: 0 0 1.5rem;
    padding: 0;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--sex7-primary);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    box-sizing: border-box;
}

body.sex7-single-girls .sex7-profile-inner .profile-gallery__body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    padding: 0.65rem 0.75rem 0.75rem;
    box-sizing: border-box;
    background: linear-gradient(180deg, #f7f7f8 0%, #efeff1 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Компактная сетка: все ячейки одного размера (квадрат) */
body.sex7-single-girls .sex7-profile-inner .profile-gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.4rem;
    width: 100%;
    min-width: 0;
}

body.sex7-single-girls .sex7-profile-inner .profile-gallery__item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background: #e8e8ea;
    aspect-ratio: 1 / 1;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    outline: none;
}

body.sex7-single-girls .sex7-profile-inner .profile-gallery__item:focus-visible {
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--sex7-primary);
}

body.sex7-single-girls .sex7-profile-inner .profile-gallery__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: top;
    transition: transform 0.25s ease;
}

body.sex7-single-girls .sex7-profile-inner .profile-gallery__item:hover .profile-gallery__img {
    transform: scale(1.02);
}

body.sex7-single-girls .sex7-profile-inner .profile-gallery__video-inner {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
}

body.sex7-single-girls .sex7-profile-inner .profile-gallery__play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border-radius: 50%;
    background: rgba(197, 23, 24, 0.92);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}

body.sex7-single-girls .sex7-profile-inner .profile-gallery__play::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -6px 0 0 -4px;
    border-style: solid;
    border-width: 7px 0 7px 11px;
    border-color: transparent transparent transparent #fff;
}

@media (max-width: 991px) {
    body.sex7-single-girls .sex7-profile-inner .profile-gallery__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    body.sex7-single-girls .sex7-profile-inner .profile-gallery__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.35rem;
    }
}

@media (max-width: 479px) {
    body.sex7-single-girls .sex7-profile-inner .profile-gallery__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

body.sex7-single-girls .sex7-profile-inner .profile-section__title {
    margin: 0;
    padding: 0.85rem 1.1rem 0.75rem;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.02em;
    background: #fff;
}

/* Figma 192:146 + 192:99 — две равные колонки (Параметры | Цены), minmax(0,1fr) чтобы не ломать сетку */
body.sex7-single-girls .sex7-profile-inner .profile__data--inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
    margin: 0 0 1.5rem;
}

@media (max-width: 767px) {
    body.sex7-single-girls .sex7-profile-inner .profile__data--inner {
        grid-template-columns: 1fr;
    }
}

body.sex7-single-girls .sex7-profile-inner .profile__data--inner .formservice.formsinf1 {
    min-width: 0;
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--sex7-primary);
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

body.sex7-single-girls .sex7-profile-inner .profile__data--inner .profile-params-block .profile__data--wrap,
body.sex7-single-girls .sex7-profile-inner .profile__data--inner .profile-price-block .profile__data--wrap {
    flex: 1 1 auto;
    min-height: 0;
}

body.sex7-single-girls .sex7-profile-inner .profile__data--inner .formservice .head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0.65rem 1rem;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #111;
    text-transform: none;
    letter-spacing: 0;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body.sex7-single-girls .sex7-profile-inner .profile__data--inner .formservice .head img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: none;
    opacity: 1;
}

body.sex7-single-girls .sex7-profile-inner .profile-params__pills {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    margin: 0;
    background: #fff;
}

body.sex7-single-girls .sex7-profile-inner .profile-params__row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-start;
}

body.sex7-single-girls .sex7-profile-inner .profile-params__row--full {
    width: 100%;
}

body.sex7-single-girls .sex7-profile-inner .profile-params__tag {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.15em;
    margin: 0;
    padding: 6px 10px;
    min-height: 25px;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--sex7-text);
    border: 1px solid var(--sex7-primary);
    background: #ffdcdc;
    border-radius: 0;
}

body.sex7-single-girls .sex7-profile-inner .profile-params__tag strong {
    font-weight: 700;
    color: #111;
}

body.sex7-single-girls .sex7-profile-inner .profile-params__tag--wide {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
}

body.sex7-single-girls .sex7-profile-inner .profile-price-wrap {
    padding: 0.75rem 1rem 1rem;
    margin: 0;
    background: #fff;
    flex: 1 1 auto;
}

/* Анкета 192:99: без классов .app/.out — иначе front.min.css даёт flex и ломает сетку */
body.sex7-single-girls .sex7-profile-inner table.profile-price-table--anketa {
    width: 100%;
    border-collapse: separate;
    border-spacing: 8px 8px;
    table-layout: fixed;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 13px;
    line-height: 1.25;
}

body.sex7-single-girls .sex7-profile-inner table.profile-price-table--anketa thead th,
body.sex7-single-girls .sex7-profile-inner table.profile-price-table--anketa tbody td {
    display: table-cell !important;
    vertical-align: middle !important;
    box-sizing: border-box;
}

body.sex7-single-girls .sex7-profile-inner table.profile-price-table--anketa thead th {
    padding: 8px 6px;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    color: #fff;
    background: #361b1b;
    white-space: nowrap;
}

body.sex7-single-girls .sex7-profile-inner table.profile-price-table--anketa thead th.profile-price-table__col-time {
    text-align: left;
    padding-left: 10px;
}

body.sex7-single-girls .sex7-profile-inner table.profile-price-table--anketa tbody td {
    padding: 8px 6px;
    font-size: 13px;
    font-weight: 500;
    color: #000;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

body.sex7-single-girls .sex7-profile-inner table.profile-price-table--anketa tbody td.profile-price-table__time {
    text-align: left;
    padding-left: 10px;
    background: #eee;
}

body.sex7-single-girls .sex7-profile-inner table.profile-price-table--anketa tbody td.profile-price-table__salon,
body.sex7-single-girls .sex7-profile-inner table.profile-price-table--anketa tbody td.profile-price-table__out {
    background: #fff;
}

body.sex7-single-girls .sex7-profile-inner .profile__wrap--comment .formservice.infoform,
body.sex7-single-girls .sex7-profile-inner .profile__wrap .formservice.detailleft {
    width: 100%;
    margin: 0 0 1.5rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--sex7-primary) !important;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

body.sex7-single-girls .sex7-profile-inner .profile__wrap--comment .formservice.infoform .head,
body.sex7-single-girls .sex7-profile-inner .profile__wrap .formservice.detailleft .head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0.65rem 1rem;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #111;
    text-transform: none;
    letter-spacing: 0;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body.sex7-single-girls .sex7-profile-inner .profile__wrap--comment .formservice.infoform .head img,
body.sex7-single-girls .sex7-profile-inner .profile__wrap .formservice.detailleft .head img {
    width: 22px;
    height: 22px;
    filter: none;
}

body.sex7-single-girls .sex7-profile-inner .profile__wrap--comment .advsearchdiv2.font14 {
    padding: 1rem 1.1rem 1.25rem;
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--sex7-text);
    background: #fff;
    border: none;
}

body.sex7-single-girls .sex7-profile-inner .profile__wrap .sinfoservices {
    padding: 1.15rem 1.5rem 1.35rem;
    margin: 0;
    background: #fff;
}

body.sex7-single-girls .sex7-profile-inner .profile__wrap .sinfoservices .link-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 1.75rem;
    row-gap: 0.7rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Услуги — Figma 192:644: неактив — серая обводка + приглушённый текст; актив — красная обводка, красная галочка, чёрный текст */
body.sex7-single-girls .sex7-profile-inner .profile__wrap .sinfoservices .link-list__item a {
    position: relative;
    display: block;
    padding: 0.45rem 0.2rem 0.45rem calc(16px + 0.75rem);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    color: #b0b0b0;
    text-decoration: none;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.sex7-single-girls .sex7-profile-inner .profile__wrap .sinfoservices .link-list__item a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -8px;
    width: 16px;
    height: 16px;
    border: 1px solid #d0d0d0;
    border-radius: 2px;
    background: #fff;
    box-sizing: border-box;
}

body.sex7-single-girls .sex7-profile-inner .profile__wrap .sinfoservices .link-list__item_active a {
    color: #111 !important;
    font-weight: 600 !important;
    background: transparent !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

body.sex7-single-girls .sex7-profile-inner .profile__wrap .sinfoservices .link-list__item_active a::before {
    border-color: var(--sex7-primary);
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23c51718' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round' d='M2.5 6.1l2.3 2.2L9.5 3.5'/%3E%3C/svg%3E");
    background-size: 11px 11px;
    background-position: center;
    background-repeat: no-repeat;
}

body.sex7-single-girls .sex7-profile-inner .profile-related {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
}

body.sex7-single-girls .sex7-profile-inner .profile-related__title {
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #111;
    border-bottom: 2px solid var(--sex7-primary);
}

/* Карточки в блоке «Другие анкеты» — обводка как в макете 192:29 */
body.sex7-single-girls .sex7-profile-inner .profile-related .girl-card.form {
    border: 1px solid var(--sex7-primary) !important;
}

@media (max-width: 767px) {
    body.sex7-single-girls .sex7-profile-inner .profile-page__meta-phone {
        margin-left: 0;
        width: 100%;
    }

    body.sex7-single-girls .sex7-profile-inner .profile__wrap .sinfoservices .link-list {
        grid-template-columns: 1fr;
    }
}

/*
 * Girl card — Figma node 168:1083: 410×266, полоска 4px #c51718, заголовок 17px/800,
 * плашки #ffdcdc 25px, таблица #361b1b, строки #eee / #fff / #eee.
 */
.girl-card.form {
    position: relative;
    overflow: visible;
    min-width: 0;
    min-height: 266px;
    background: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Карточка: без классов .form2/.form2det в разметке — только .girl-card__* */
.girl-card.form .girl-card__media {
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    display: block !important;
    flex: none !important;
}

.girl-card.form .girl-card__detail {
    width: 100% !important;
    max-width: 100% !important;
    border-left: none !important;
    flex: none !important;
}

.girl-card.form:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
}

.girl-card__accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    z-index: 2;
    pointer-events: none;
    background: var(--sex7-primary);
}

.girl-card__grid {
    display: grid;
    grid-template-columns: minmax(120px, 39%) minmax(180px, 1fr);
    grid-template-rows: auto auto;
    grid-template-areas:
        "title title"
        "media detail";
    gap: 6px 10px;
    align-items: start;
    padding: 8px 12px 10px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.girl-card__title-row.girl-card__head {
    grid-area: title;
    margin: 0;
    padding: 2px 0 2px;
    align-self: start;
    background: transparent !important;
    border: none !important;
}

/* Перебить глобальный .form1 (подложка/бордер) */
.girl-card .girl-card__meta {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

/* front.min.css: .form1__field { width: calc(100% - 68px) } — в узкой колонке телефон «ломался» по буквам */
.girl-card .girl-card__meta .form1__field {
    width: 100% !important;
    max-width: 100%;
}

/* front.min.css: .form1__field p { white-space: nowrap; text-overflow: ellipsis } — обрезало район */
.girl-card .girl-card__meta .form1__field p {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

.girl-card__title-link.name.form1__field {
    display: block;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 17px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: var(--sex7-text) !important;
    text-decoration: none;
}

.girl-card__title-link:hover {
    color: var(--sex7-primary) !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.allformspage .girl-card.form .girl-card__title-link.name,
.allformspage .girl-card.form .girl-card__title-link.name p,
.cards .girl-card.form .girl-card__title-link.name,
.cards .girl-card.form .girl-card__title-link.name p {
    color: var(--sex7-text) !important;
}

.allformspage .girl-card.form .girl-card__title-link.name:hover,
.allformspage .girl-card.form .girl-card__title-link.name:hover p,
.cards .girl-card.form .girl-card__title-link.name:hover,
.cards .girl-card.form .girl-card__title-link.name:hover p {
    color: var(--sex7-primary) !important;
}

.girl-card__grid .girl-card__media {
    grid-area: media;
    display: block !important;
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    align-self: start;
    border-radius: 3px;
    overflow: hidden;
}

.girl-card__grid .girl-card__media a {
    display: block !important;
    height: auto !important;
}

.girl-card__grid .girl-card__detail {
    grid-area: detail;
    min-width: 0;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.girl-card__meta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    align-self: stretch;
    gap: 6px;
    margin: 0;
    width: 100%;
}

.girl-card__meta-row.name.metro.form1__field {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    margin: 0;
    font-size: 14px;
    line-height: 1.2;
    width: 100%;
    font-weight: 800;
}

.girl-card__phone-row {
    display: block;
    width: 100%;
}

.girl-card__phone.phone.form1__field {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 0;
    font-size: 15px;
    line-height: 1.2;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-weight: 800;
    color: var(--sex7-text) !important;
    white-space: nowrap;
}

.girl-card__phone-text {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.girl-card__meta-row p {
    margin: 0;
}

.girl-card__meta-row a {
    color: var(--sex7-text) !important;
    text-decoration: none;
}

.girl-card__meta-row a:hover {
    color: var(--sex7-primary) !important;
    text-decoration: underline;
}

.girl-card__meta-row img {
    flex-shrink: 0;
    opacity: 1;
}

.girl-card__icon {
    flex-shrink: 0;
    display: block;
}

/* Плашки: класс main__data убран — girl-card__pills--row (не цепляет глобальный .main__data из front.min) */
.girl-card__pills.girl-card__pills--row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    margin: 2px 0 4px;
    padding: 0;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.girl-card__pills.girl-card__pills--row > .girl-card__pill {
    width: auto !important;
    max-width: none;
    justify-content: center !important;
}

.girl-card__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 25px;
    padding: 0 6px;
    border: none;
    border-radius: 0;
    background: #ffdcdc;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--sex7-text);
    white-space: nowrap;
}

/* Таблица цен — тёмная шапка как в Figma (не красная) */
.girl-card .girl-card__price-wrap {
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
}

.girl-card__price-scroll {
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.girl-card__price-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.2;
    table-layout: fixed;
}

.girl-card__price-table th,
.girl-card__price-table td {
    border: 1px solid #fff;
    padding: 0 6px;
    height: 21px;
    box-sizing: border-box;
    vertical-align: middle;
    font-weight: 500;
}

/* front.min.css: .form2det1 .out { display: none }; глобальные .app/.out { display: flex } ломают ячейки — в card.php классы salon/out переименованы в girl-card__price-col--* */
.girl-card .girl-card__price-wrap .girl-card__price-table th,
.girl-card .girl-card__price-wrap .girl-card__price-table td {
    display: table-cell !important;
}

.girl-card__price-table .girl-card__price-col {
    display: table-cell !important;
    flex-direction: unset !important;
    width: auto;
}

.girl-card__price-table th {
    background: #361b1b;
    color: #fff;
    font-weight: 500;
    text-align: center;
}

.girl-card__price-table th:nth-child(1) {
    text-align: left;
    padding-left: 8px;
}

.girl-card__price-table th:nth-child(2),
.girl-card__price-table th:nth-child(3) {
    text-align: center;
}

.girl-card__price-table th:nth-child(1),
.girl-card__price-table td:nth-child(1) {
    width: 33.33%;
}

.girl-card__price-table th:nth-child(2),
.girl-card__price-table td:nth-child(2),
.girl-card__price-table th:nth-child(3),
.girl-card__price-table td:nth-child(3) {
    width: 33.33%;
}

.girl-card__price-table td {
    color: #000;
    text-align: center;
}

/* Figma: 1 час — #eee, 2 часа — белый, Ночь — #eee */
.girl-card__price-table tbody tr:nth-child(1) td {
    background: #eee;
}

.girl-card__price-table tbody tr:nth-child(2) td {
    background: #fff;
}

.girl-card__price-table tbody tr:nth-child(3) td {
    background: #eee;
}

.girl-card__price-table td:first-child {
    text-align: left;
    color: #000;
}

.girl-card__media-link {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.girl-card__image {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: 215px;
    object-fit: cover;
    object-position: top center;
}

/* Перебить .allformspage .cards .form .form1 — размеры как в Figma 168:1083 */
.girl-card.form .girl-card__meta .form1__field,
.girl-card.form .girl-card__meta .metro,
.girl-card.form .girl-card__meta .metro p,
.girl-card.form .girl-card__meta .metro a {
    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
}

.girl-card.form .girl-card__phone.phone.form1__field {
    font-size: 15px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
}

.girl-card.form .girl-card__meta .girl-card__icon--city {
    width: 16px !important;
    height: 18px !important;
    max-width: 16px !important;
    max-height: 18px !important;
    object-fit: contain;
}

.girl-card.form .girl-card__meta .girl-card__icon--district {
    width: 12px !important;
    height: 18px !important;
    max-width: 12px !important;
    max-height: 18px !important;
    object-fit: contain;
}

.girl-card.form .girl-card__phone .girl-card__icon--phone {
    width: 12px !important;
    height: 19px !important;
    max-width: 12px !important;
    max-height: 19px !important;
    object-fit: contain;
}

@media only screen and (max-width: 575px) {
    .allformspage,
    .cards {
        justify-items: stretch;
    }

    .allformspage .girl-card.form,
    .cards .girl-card.form {
        max-width: none;
        min-height: 0;
    }

    .girl-card__grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "title"
            "media"
            "detail";
        gap: 8px;
        align-items: start;
    }

    .girl-card__grid .girl-card__media {
        grid-area: media;
        max-width: 280px;
        margin: 0 auto;
        align-self: center;
    }

    .girl-card__grid .girl-card__detail {
        grid-area: detail;
        align-self: stretch;
    }

    .girl-card__image {
        max-height: 320px;
        border-radius: 4px;
    }

    .girl-card__price-table {
        font-size: 11px;
    }

    .girl-card__price-table th,
    .girl-card__price-table td {
        padding: 3px 4px;
    }

    .girl-card__pills.girl-card__pills--row {
        flex-wrap: wrap;
    }
}

/*
 * Листинги каталога (главная, районы/фильтры, поиск): тот же визуал, что на главной.
 * Перебой front.min.css: .main { padding, min-height: calc(100vh - 120px) }, .allformspage { flex }, …
 * !important — чтобы не остался «фантомный» min-height у section.main (шапка визуально «уезжает» вниз).
 */
.main.main--catalog,
section.main.main--catalog {
    padding-top: 0;
    padding-bottom: 0;
    min-height: 0 !important;
}

/*
 * front.min.css: .archive { display:flex; color:#fff; … } — задумано для маленького блока в анкете.
 * На архивах/таксономиях WordPress добавляет класс .archive на <body> — правило применяется ко всей странице.
 * Главная (статическая страница) body без .archive; страница района — с .archive, из‑за этого «не подхватывается» макет.
 * Сбрасываем только body; внутренние элементы с классом .archive по-прежнему стилизуются из front.min.
 */
body.archive {
    display: block !important;
    font-size: inherit !important;
    color: inherit !important;
    align-items: unset !important;
    gap: normal !important;
}

/*
 * Листинги: тот же CSS Grid (.catalog-layout), что на главной — без отдельного flex-режима.
 * Карточки: перебой front.min только на листингах (section без .sex7-anketa).
 */
body.sex7-catalog-listing {
    overflow-x: hidden;
    max-width: 100%;
}

body.sex7-catalog-listing section.main.main--catalog {
    min-width: 0;
    max-width: 100%;
    min-height: 0 !important;
}

.main.main--catalog:not(.sex7-anketa) .catalog-layout__main {
    overflow-x: hidden;
}

.main--catalog .catalog-sidebar .navbar-collapse,
.main--catalog .catalog-sidebar #navbar.navbar-collapse {
    overflow-x: clip;
    max-width: 100%;
    box-sizing: border-box;
}

.main--catalog .catalog-sidebar a,
.main--catalog .catalog-sidebar .modal__menu--podlink {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.main.main--catalog:not(.sex7-anketa) .allformspage,
.main.main--catalog:not(.sex7-anketa) .cards {
    display: grid !important;
    flex-wrap: unset !important;
    width: 100% !important;
    box-sizing: border-box;
}

.main.main--catalog:not(.sex7-anketa) .allformspage .girl-card.form,
.main.main--catalog:not(.sex7-anketa) .cards .girl-card.form {
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 410px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.main.main--catalog:not(.sex7-anketa) .girl-card__title-link.name,
.main.main--catalog:not(.sex7-anketa) .girl-card__meta,
.main.main--catalog:not(.sex7-anketa) .girl-card__meta a {
    text-shadow: none !important;
}

.main.main--catalog:not(.sex7-anketa) .girl-card.form .girl-card__grid {
    display: grid !important;
    grid-template-columns: minmax(120px, 39%) minmax(180px, 1fr) !important;
    grid-template-rows: auto auto !important;
    grid-template-areas:
        "title title"
        "media detail" !important;
    width: 100% !important;
    min-width: 0 !important;
}

.main.main--catalog:not(.sex7-anketa) .girl-card__title-row.girl-card__head {
    grid-area: title !important;
}

.main.main--catalog:not(.sex7-anketa) .girl-card__grid .girl-card__media {
    grid-area: media !important;
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    position: relative !important;
}

.main.main--catalog:not(.sex7-anketa) .girl-card__grid .girl-card__media a {
    display: block !important;
    height: auto !important;
}

.main.main--catalog:not(.sex7-anketa) .girl-card__grid .girl-card__detail {
    grid-area: detail !important;
    display: flex !important;
    flex-direction: column !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    position: relative !important;
}
