body {
    background: #302C3D;
    box-sizing: border-box;
    font-family: 'ubuntu', sans-serif;
    margin: 0;
}

*, ::before, ::after {
    box-sizing: border-box;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.location {
    position: relative;
    margin-left: auto;
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.location-name svg {
    margin-left: 5px;
}

.location-value-wrap {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 120px;
    background: #fff;
    border: 1px solid #ccc;
    display: none;
    flex-direction: column;
    z-index: 10;
    max-height: 300px;
    overflow-y: scroll;
}

.location-value-wrap a {
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
    display: block;
}

.pager {
    min-height: 1px; /* или 20px под спиннер */
}
.post-address{
    color: #fff;
    margin-bottom: 10px;
}
.post-address a{
    color: #fff;
    text-decoration: none;
}

.location-value-wrap a:hover {
    background: #f0f0f0;
}

.location:hover .location-value-wrap {
    display: flex;
}

.location-metro {
    margin-left: 15px;
}

.login-btn {
    margin-left: 50px;
}

#metro-filter {
    color: #F6055B;
    font-size: 16px;
    background: none;
    border: none;
    max-width: 160px;
}

.filter-item .inputs {
    display: none;
}

.filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter-item {
    min-width: 150px;
    height: 75px;
}

.noUi-connect {
    background: #F6055B;
}

.noUi-target {
    border: none;
    box-shadow: none;
    height: 3px;
    background: none;
    background: #F6055B;
}

.noUi-handle::after, .noUi-handle::before {
    display: none;
}

.noUi-horizontal .noUi-handle {
    width: 15px;
    height: 15px;
}

.slider-text {
    margin-bottom: 10px;
    color: #fff;
    font-size: 16px;
}

.noUi-horizontal .noUi-tooltip {
    bottom: -35px;
    background: none;
    color: #F6055B;
    border: none;
}

.noUi-handle {
    border: none;
    border-radius: 100%;
    background: #F6055B;
    cursor: default;
    box-shadow: none;
}

.d-flex {
    display: flex;
}

.filter-btn {
    width: 120px;
    height: 40px;
    background: linear-gradient(103deg, #F90203 1.04%, #FB07AE 96.86%);
    color: #fff;
    font-size: 18px;
    border: none;
    border-radius: 6px;
}

.filter-wrap {
    background: #2D2939;
    padding: 10px 0px;
}

.top-nav-wrap {
    padding: 10px 0;
}

.online-text {
    color: #fff;
    font-size: 24px;
    margin-bottom: 40px;
}

.online-item {
    width: 120px;
    height: 120px;
    overflow: hidden;
    border-radius: 100%;
    margin-right: 35px;
    border: 1px solid #F6055B;
}

img {
    max-width: 100%;
    width: 100%;
}

h1 {
    color: #fff;
}

.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
}

.bottom-info {
    width: 100%;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0));
    padding: 17px 15px;
    padding-top: 7px;
    min-height: 190px;
    display: flex;
    flex-direction: column;
}

.post .name {
    color: #fff;
    font-size: 22px;
    text-transform: capitalize;
    font-weight: 700;
    margin-bottom: 10px;
    text-decoration: none;
    display: block;
}

.post .price {
    color: #FB07AE;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.phone-icon {
    width: 41px;
    height: 41px;
    background: #35E86E;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.phone-wrap {
    border-radius: 36px;
    background: rgba(255, 255, 255, 0.41);
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: auto;
}

.listing-phone {
    margin: auto;
    color: #FFF;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

.call-btn-wrap {
    margin-top: 15px;
}

.call-request-btn {
    background: linear-gradient(135deg, #FB07AE 0%, #8B05D6 100%);
    color: #FFF;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 15px;
}

.call-request-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.posts .post {
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 25px;
}

.post-wrap {
    width: 25%;
    padding: 0 10px;
}

.d-none {
    display: none;
}

.online-items {
    margin-bottom: 20px;
}

.left-col {
    max-width: 40%;
}

.breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    background: transparent; /* фон прозрачный */
    margin-bottom: 20px;
}

.breadcrumb-item {
    color: #fff; /* белый текст */
    font-size: 16px;
    font-weight: 500;
}

.breadcrumb-item a {
    color: #fff; /* ссылки тоже белые */
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #ffd700; /* при наведении — золотистый */
    text-decoration: underline;
}

.breadcrumb-item::after {
    content: "›"; /* стрелка-разделитель */
    color: #aaa;
    padding: 0 8px;
}

.breadcrumb .active {
    color: #fff;
}

.red-heading {
    color: #F6055B;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 10px;
}

.orange {
    background: #F69605;
    box-shadow: 0 4px 4px 0 rgba(246, 150, 5, 0.38);
}

.green {
    background: #45E565;
    box-shadow: 0 4px 4px 0 rgba(53, 232, 110, 0.42);
}

.purple {
    background: #AA05F6;
    box-shadow: 0 4px 4px 0 rgba(170, 5, 246, 0.38);
}

.white-heading {
    color: #FFF;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 12px;
}

.right-col {
    width: 60%;
    padding-left: 30px;
}

.right-col .phone-wrap {
    max-width: 235px;
    margin-bottom: 22px;
}

.right-col .price-wrap {
    max-width: 60%;
}

.price-list, .params-items-wrap {
    justify-content: space-between;
}

.price-item {
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    padding: 18px 35px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.price-item-wrap hr {
    margin-bottom: 18px;
    box-shadow: none;
    color: #fff;
}

.price-item-wrap {
    margin-bottom: 22px;
}

.about {
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.param-value {
    color: #F6055B;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.param-name {
    color: #999;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: lowercase;
}

.param-item {
    border-radius: 6px;
    background: #2D2939;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 18px 37px;
}

.about-wrap, .params-wrap {
    margin-bottom: 20px;
}

.service-status {
    width: 11px;
    height: 11px;
    border-radius: 4px;
    border: 1px solid #FFF;
    margin-right: 12px;
    display: flex;
}

.service-name {
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-decoration: none;
}

.service-item {
    align-items: center;
}

.service-status .selected {
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: #FB07AE;
    margin: auto;
}

.service-items-wrap {
    display: flex;
    flex-wrap: wrap; /* перенос в новые строки */
    gap: 15px; /* отступы между элементами */
    margin-bottom: 25px;
}

.service-item {
    flex: 1 1 calc(25% - 15px); /* 4 колонки (25%) */
    color: #fff;
    border-radius: 8px;
    align-items: center;
    justify-content: flex-start;
    transition: background 0.3s ease;
}

.post {
    flex-wrap: wrap;
}

.map-wrap {
    width: 100%;
    margin-bottom: 25px;
}

.info-item-wrap {
    margin-bottom: 25px;
}

.info-item {
    font-size: 16px;
    font-style: normal;
    line-height: normal;
    text-decoration: none;
    color: #FFF;
    margin-right: 10px;
}

.params-wrap {
    max-width: 70%;
}

.reviews-wrap {
    width: 100%;
    margin-bottom: 25px;
}

.review-name {
    font-weight: bold;
    font-size: 18px;
    color: #F6055B;
    margin-bottom: 10px;
}

.review-text {
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 10px;
}

.review {
    margin-bottom: 25px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    padding: 20px;
    border-radius: 12px;
}

.review-form {
    flex-direction: column;
}

.review-form .input {
    max-width: 280px;
    padding: 9px;
    border: 1px solid #c8c6c6;
    border-radius: 10px;
    margin-bottom: 15px;
}

.review-form textarea {
    max-width: 400px;
    min-height: 90px;
    padding: 9px;
    border: 1px solid #c8c6c6;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Контейнер навигации */
#w0 {
    display: flex;
    justify-content: center;
    margin: 16px 0;
}

/* Сброс базовой разметки UL */
#w0 .pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px; /* расстояние между кнопками */
    flex-wrap: wrap;
}

/* Кнопка страницы */
#w0 .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 999px; /* «пилюля» */
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .06s ease;
}

/* Ховер и активный фокус */
#w0 .page-link:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.28);
}

#w0 .page-link:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .35); /* мягкое focus-ring */
}

/* Текущая страница */
#w0 .page-item.active .page-link {
    background: #22c55e; /* зелёная активная */
    border-color: #22c55e;
    color: #0b1b10;
    cursor: default;
}

/* Disabled (стрелки, если нельзя листать) */
#w0 .page-item.disabled .page-link {
    opacity: .45;
    cursor: not-allowed;
    pointer-events: none;
}

/* Стрелки «пред/след» — чуть уже */
#w0 .page-item.prev .page-link,
#w0 .page-item.next .page-link {
    min-width: 36px;
    padding: 0 12px;
}

/* Лёгкий клик-эффект */
#w0 .page-link:active {
    transform: translateY(1px);
}

.prev, .next {
    display: none;
}

.no-review {
    color: #F6055B;
    font-size: 16px;
    text-align: center;
}

.page-text {
    color: #fff;
}

.menu-btn {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text);
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform .08s ease, border-color .2s ease, background .2s ease;
}

.menu-btn:hover {
    border-color: rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .06)
}

.menu-btn:active {
    transform: translateY(1px)
}

.menu-btn__label {
    font-weight: 600
}

/* Бэкдроп */
.backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    backdrop-filter: saturate(120%) blur(2px);
    z-index: 10;
    opacity: 0;
    transition: opacity .25s ease;
}

.backdrop.is-visible {
    opacity: 1
}

/* Сайдбар */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: min(86vw, 340px);
    background: #302C3D;
    transform: translateX(-101%);
    transition: transform .28s cubic-bezier(.2, .8, .2, 1);
    z-index: 11;
    display: flex;
    flex-direction: column;
}

.sidebar.is-open {
    transform: none
}

/* Контент сайдбара */
.sidebar__close {
    align-self: flex-end;
    margin: 8px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.sidebar__close:hover {
    border-color: rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .06)
}

.sidebar__nav {
    display: flex;
    flex-direction: column;
    padding: 8px 14px 18px;
    overflow-y: auto;
}

.sidebar__nav a {
    color: #fff;
    text-decoration: none;
    margin-bottom: 15px;
}

.accordion {
    --bg: #111;
    --text: #fff;
    --accent: #F6055B;
    --border: rgba(255, 255, 255, .18);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--text);
}

.accordion__item {
    overflow: hidden;
}

.accordion__btn {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: transparent;
    color: inherit;
    border: 0;
    cursor: pointer;
    text-align: left;
    font-weight: 700;
    padding-left: 0;
}


.accordion__chev {
    width: 18px;
    height: 18px;
    transition: transform .2s ease;
}

.accordion__btn[aria-expanded="true"] .accordion__chev {
    transform: rotate(180deg);
}

.accordion__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .25s ease;
}

.accordion__panel[data-open="true"] {
    grid-template-rows: 1fr;
}

.accordion__inner {
    overflow: hidden;
}

.accordion__list {
    list-style: none;
    margin: 0;
    padding: 0 16px 14px;
    display: grid;
    gap: 8px;
}

.accordion__list li {
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
}

.no-scroll {
    overflow: hidden;
}

.cabinet-link {
    display: flex;
    align-items: center;
}

/* Базово — ничего не ломаем на десктопе */
.filter-open, .filter-close {
    display: none;
}

.rek-block{
    font-style: normal;
    font-weight: 300;
    font-size: 10px;
    line-height: 141.4%;
    text-align: center;
    color: #FFFFFF;
    position: absolute;
    top: 25px;
    right: 23px;
    opacity: 0.4;
    border: 1px solid #FFFFFF;
    box-sizing: border-box;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    border-radius: 4px;
    transform: rotate(-10.78deg);
    padding: 5px;
    width: 77px;
    z-index: 1;
}

#sort-select{
    padding: 9px 10px;
    border-radius: 5px;
    border: 1px solid #fff;
    background: #2d2939;
    color: #fff;
    margin-bottom: 15px;
}
.filter-fast__list{
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 20px;
    display: flex;
    overflow-x: auto;
}
.filter-fast__list a{
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    border: 1px solid #fff;
    border-radius: 5px;
    padding: 5px 15px;
    font-size: 14px;
    white-space: nowrap;
    margin-right: 15px;
}
.video{
    max-width: 100%;
}

/* ===== Call modal ===== */
.call__modal-bg{
    position: fixed;
    inset: 0;
    display: none;                /* показываем через .active */
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0,0,0,.55);
    z-index: 9999;
    backdrop-filter: blur(2px);
}

.call__modal-bg.active{
    display: flex;
}

.profile__modal{
    width: 100%;
    max-width: 520px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    overflow: hidden;
    transform: translateY(8px);
    opacity: 0;
    animation: modalIn .18s ease-out forwards;
}

@keyframes modalIn{
    to { transform: translateY(0); opacity: 1; }
}

.profile__modal-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid #eef0f2;
}

.profile__modal-title{
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    color: #111827;
}

.profile__modal-close{
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    transition: background .15s ease, transform .15s ease;
}

.profile__modal-close:hover{
    background: #f3f4f6;
}

.profile__modal-close:active{
    transform: scale(.96);
}

.profile__modal-close svg{
    width: 18px;
    height: 18px;
    fill: #111827;
    opacity: .9;
}

.profile__modal-text{
    padding: 14px 18px 0;
    font-size: 14px;
    line-height: 1.45;
    color: #4b5563;
}

.profile__modal-form{
    padding: 16px 18px 18px;
    display: grid;
    gap: 12px;
}

.profile__modal-form-input,
.profile__modal-form-textarea{
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    color: #111827;
    background: #fff;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.profile__modal-form-input::placeholder,
.profile__modal-form-textarea::placeholder{
    color: #9ca3af;
}

.profile__modal-form-input:focus,
.profile__modal-form-textarea:focus{
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}

.profile__modal-form-textarea{
    min-height: 110px;
    resize: vertical;
}

.profile__modal-form-btn{
    width: 100%;
    border: 0;
    border-radius: 12px;
    padding: 12px 14px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}

/* если у тебя уже есть .btn — это можно убрать.
   Если нет — оставь: */
.btn{
    background: #111827;
    color: #fff;
    box-shadow: 0 10px 24px rgba(17,24,39,.22);
}

.profile__modal-form-btn:hover{
    filter: brightness(1.05);
}

.profile__modal-form-btn:active{
    transform: translateY(1px);
}

/* reCAPTCHA чтобы не ломала сетку */
.profile__modal-form .g-recaptcha{
    transform-origin: 0 0;
}

/* адаптив: ужимаем reCAPTCHA на маленьких экранах */
@media (max-width: 380px){
    .profile__modal{
        border-radius: 14px;
    }
    .profile__modal-form .g-recaptcha{
        transform: scale(.92);
    }
}

/* Мобильный/планшетный режим */
@media (max-width: 1199px) {
    .filter-open {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 14px;
        border-radius: 25px;
        border: 1px solid #FB07AE;
        background: #302c3d;
        cursor: pointer;
        margin-left: auto;
        color: #fff;
    }

    /* Бэкдроп */
    .filter-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .5);
        opacity: 0;
        transition: opacity .25s ease;
        z-index: 900;
    }

    .filter-backdrop.is-visible {
        opacity: 1;
    }

    /* Выезжающая панель */
    .filter-wrap {
        position: fixed;
        top: 0;
        left: 0;
        height: 100dvh;
        width: min(100vw, 320px);
        color: #fff;
        z-index: 1000;
        box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
        transform: translateX(-101%);
        transition: transform .28s cubic-bezier(.2, .8, .2, 1);
    }

    .filter-wrap.is-open {
        transform: none;
    }

    /* Кнопка закрытия */
    .filter-close {
        position: absolute;
        top: 8px;
        right: 8px;
        width: 36px;
        height: 36px;
        border-radius: 10px;
        border: none;
        background: #2d2939;
        cursor: pointer;
        font-size: 22px;
        display: block;
        color: #fff;
    }

    /* Контейнер и форма в колонку */
    .filter-wrap .container {
        overflow: auto;
        height: 100%;
    }

    .filter {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    /* Элементы фильтра столбцом */
    .filter-item {
        min-width: 200px;
        align-items: center;
    }

    .metro-filter {
        height: 40px;
        width: 100%;
    }
}

.posts {
    margin: 0 -10px;
}

/* Блокировка скролла страницы при открытой панели */
body.no-scroll {
    overflow: hidden;
}

/* Online status styles */
.online-status {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}
.online-status.online {
    color: #4CAF50;
    font-weight: 500;
    position: relative;
    padding-left: 20px;
}

.online-status.online::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 10px;
    height: 10px;
    background-color: #16a34a;
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 0 2px rgba(22,163,74,.2); /* лёгкое свечение */
}

.single-block-about-video{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
    margin-top: 10px;
}
.info-item-wrap .d-flex{
    flex-wrap: wrap;
}

.listing-slick img{
    min-height: 270px;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }

    .params-wrap {
        max-width: 100%;
    }
}

@media (max-width: 1200px) {
    .post-wrap {
        width: 33%;
    }
    .service-item{
        flex: 1 1 calc(33% - 15px);
    }
}

@media (max-width: 992px) {
    .post-wrap {
        width: 50%;
    }
    .service-item{
        flex: 1 1 calc(50% - 15px);
    }

    .left-col {
        max-width: 100%;
    }

    .right-col {
        max-width: 100%;
        width: 100%;
        padding: 0;
        padding-top: 20px;
    }
}

@media (max-width: 768px) {
    .params-wrap {
        max-width: 100%;
    }
    .params-items-wrap{
        flex-wrap: wrap;
        justify-content: unset;
    }
    .param-item{
        margin-right: 15px;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .service-item{
        flex: 1 1 calc(100% - 15px);
    }
    .right-col .price-wrap{
        max-width: 100%;
    }
    .post-wrap {
        width: 100%;
        padding: 0;
    }

    .container {
        padding: 0 10px;
    }

    .posts {
        margin: 0;
    }

    .login-btn {
        display: none;
    }
}

@media (max-width: 400px) {
    .location {
        display: none;
    }

    .menu-btn {
        margin-left: auto;
    }
}

@media (max-width: 380px) {
    .price-item {
        padding: 13px 26px;
    }
}

/* =============================================
   Skeleton Loaders & Animations
   ============================================= */

/* Skeleton карточка */
.skeleton-card {
    width: 25%;
    padding: 0 10px;
    margin-bottom: 25px;
}

.skeleton-card .skeleton-inner {
    background: #3d3850;
    border-radius: 25px;
    overflow: hidden;
}

.skeleton-card .skeleton-image {
    width: 100%;
    padding-top: 125%;
    background: linear-gradient(90deg, #3d3850 25%, #4a4560 50%, #3d3850 75%);
    background-size: 200% 100%;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-card .skeleton-content {
    padding: 15px;
}

.skeleton-card .skeleton-text {
    height: 14px;
    margin-bottom: 10px;
    border-radius: 4px;
    background: linear-gradient(90deg, #3d3850 25%, #4a4560 50%, #3d3850 75%);
    background-size: 200% 100%;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-card .skeleton-text.skeleton-title {
    width: 70%;
    height: 18px;
}

.skeleton-card .skeleton-text.skeleton-metro {
    width: 50%;
}

.skeleton-card .skeleton-text.skeleton-price {
    width: 40%;
}

.skeleton-card .skeleton-btn {
    height: 40px;
    margin-top: 10px;
    border-radius: 20px;
    background: linear-gradient(90deg, #3d3850 25%, #4a4560 50%, #3d3850 75%);
    background-size: 200% 100%;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

@keyframes skeleton-pulse {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Анимация появления карточек */
.post-wrap {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.4s ease forwards;
}

.post-wrap.no-animation {
    opacity: 1;
    transform: none;
    animation: none;
}

/* Staggered появление для новых карточек */
.post-wrap.animate-in:nth-child(4n+1) { animation-delay: 0.05s; }
.post-wrap.animate-in:nth-child(4n+2) { animation-delay: 0.1s; }
.post-wrap.animate-in:nth-child(4n+3) { animation-delay: 0.15s; }
.post-wrap.animate-in:nth-child(4n+4) { animation-delay: 0.2s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Posts Loader */
.posts-loader {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
    gap: 12px;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(251, 7, 174, 0.2);
    border-top-color: #FB07AE;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loader-text {
    color: #aaa;
    font-size: 14px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Skeleton responsive */
@media (max-width: 1200px) {
    .skeleton-card {
        width: 33.333%;
    }
}

@media (max-width: 768px) {
    .skeleton-card {
        width: 50%;
    }
}

@media (max-width: 480px) {
    .skeleton-card {
        width: 50%;
        padding: 0 5px;
    }
}

/* AJAX Filter styles */
.filter-results-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 10px 20px;
    background: rgba(246, 5, 91, 0.08);
    border-radius: 50px;
    font-size: 14px;
    color: #fff;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-results-count::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #F6055B;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.filter-results-count strong {
    color: #F6055B;
    font-size: 16px;
    font-weight: 700;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(246, 5, 91, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(246, 5, 91, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(246, 5, 91, 0);
    }
}

.no-results {
    padding: 40px 20px;
    text-align: center;
    color: #666;
    font-size: 16px;
    width: 100%;
}

.filter-skeleton-wrap {
    display: contents;
}

.filter-skeleton-wrap .posts-loader {
    width: 100%;
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;
}

.posts {
    transition: opacity 0.3s ease;
}

.post-wrap.animate-in {
    animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Native Gallery Styles */
.native-gallery {
    position: relative;
    width: 100%;
}
.gallery-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}
.gallery-slides {
    position: relative;
    aspect-ratio: 3 / 4;
    background: #1a1a1a;
}
.gallery-slides.has-loaded {
    aspect-ratio: unset;
}
.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 1;
}
.gallery-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 2;
}
.gallery-slide.prev-active {
    z-index: 1;
}
.gallery-slide.loaded .gallery-placeholder {
    display: none;
}
.gallery-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}
.gallery-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #e74c3c;
    border-radius: 50%;
    animation: gallery-spin 0.8s linear infinite;
}
@keyframes gallery-spin {
    to { transform: rotate(360deg); }
}
.gallery-image {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-slide.loaded .gallery-image {
    opacity: 1;
}
.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10;
}
.gallery-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}
.gallery-prev {
    left: 10px;
}
.gallery-next {
    right: 10px;
}
.gallery-fullscreen {
    top: 10px;
    right: 10px;
    transform: none;
}
.gallery-counter {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 14px;
    z-index: 10;
}
.gallery-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.gallery-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}
.gallery-dot.active {
    background: #e74c3c;
    transform: scale(1.2);
}

/* Fullscreen mode */
.native-gallery.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.native-gallery.fullscreen .gallery-container {
    width: 100%;
    height: calc(100% - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.native-gallery.fullscreen .gallery-slide {
    display: none;
    width: 100%;
    height: 100%;
}
.native-gallery.fullscreen .gallery-slide.active {
    display: flex;
    align-items: center;
    justify-content: center;
}
.native-gallery.fullscreen .gallery-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.native-gallery.fullscreen .gallery-fullscreen svg path {
    d: path("M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3m0 18v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3");
}
.native-gallery.fullscreen .gallery-pagination {
    position: absolute;
    bottom: 20px;
}

/* Listing Gallery (Swiper) */
.listing-gallery {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}
.listing-gallery .swiper-wrapper {
    height: 100%;
}
.listing-gallery .swiper-slide {
    height: auto;
    cursor: pointer;
}
.listing-gallery .swiper-slide picture,
.listing-gallery .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.listing-gallery-prev,
.listing-gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.2s ease, background 0.2s ease;
}
.listing-gallery:hover .listing-gallery-prev,
.listing-gallery:hover .listing-gallery-next {
    opacity: 1;
}
.listing-gallery-prev:hover,
.listing-gallery-next:hover {
    background: rgba(0, 0, 0, 0.7);
}
.listing-gallery-prev {
    left: 8px;
}
.listing-gallery-next {
    right: 8px;
}
.listing-gallery-pagination {
    position: absolute !important;
    bottom: 8px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    gap: 6px;
    z-index: 10;
    transform: none !important;
}
.listing-gallery-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    margin: 0 !important;
    opacity: 1 !important;
}
.listing-gallery-pagination .swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.8);
}
.listing-gallery-pagination .swiper-pagination-bullet-active {
    background: #fff;
    transform: scale(1.2);
}
@media (max-width: 768px) {
    .listing-gallery-prev,
    .listing-gallery-next {
        width: 28px;
        height: 28px;
        opacity: 0.7;
    }
    .listing-gallery-prev {
        left: 4px;
    }
    .listing-gallery-next {
        right: 4px;
    }
}