
/* =============================================
   Стили в современном стиле
   ============================================= */

/* Убираем фиолетовый цвет посещённых ссылок */
a:visited {
    color: inherit !important;
}
.single-complex .py-8 {
    padding-top: 0rem!important;
}	
.py-8 {
    padding-top: 7rem!important;
}

@media (max-width: 550px) {

.post-type-archive .for-who-title {
    font-size: 23px!important;
}
	
.mobile-menu-panel {
    position: fixed;
    top: -15px!important;
}	
	
.py-8 {
    padding-top: 6rem!important;
}
	
.single-complex .container .grid {
    display: flex;
    grid-auto-flow: row;
    flex-direction: column;
    align-items: center;
}
.single-complex .grid.grid-cols-1.md\:grid-cols-4.gap-8 {
    display: flex;
    align-items: flex-start;
}

}	

/* Для всех ссылок задаём единый стиль */
a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}



/* ============================================ */
/* ДЕСКТОПНОЕ МЕНЮ */
/* ============================================ */

/* Основное меню */
.primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 32px;
}

/* Пункты с подменю */
.primary-menu .menu-item-has-children {
    position: relative;
}

/* Ссылки */
.primary-menu a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
}

.primary-menu a:hover {
    color: #ffbc48;
}

/* Стрелка для пунктов с подменю (первый уровень) */
.primary-menu > .menu-item-has-children > a::after {
    content: '▼';
    display: inline-block;
    margin-left: 6px;
    font-size: 10px;
    transition: transform 0.3s ease;
}

.primary-menu > .menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* ===== ПОДМЕНЮ ПЕРВОГО УРОВНЯ ===== */
.primary-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #f0f0f0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
    padding: 8px 0;
    margin: 0;
    list-style: none;
}

/* Показываем подменю первого уровня */
.primary-menu .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ===== ПОДМЕНЮ ВТОРОГО УРОВНЯ (Проекты → Парковый) ===== */
/* Пункт, у которого есть своё подменю */
.primary-menu .sub-menu .menu-item-has-children {
    position: relative;
}

/* Подменю второго уровня — появляется справа */
.primary-menu .sub-menu .sub-menu {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 200px;
    margin-left: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.2s ease;
}

/* Показываем подменю второго уровня при наведении */
.primary-menu .sub-menu .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Стрелка для пунктов второго уровня (вправо) */
.primary-menu .sub-menu .menu-item-has-children > a::after {
    content: '▶';
    display: inline-block;
    margin-left: 8px;
    font-size: 10px;
    float: right;
    transition: transform 0.2s ease;
}

.primary-menu .sub-menu .menu-item-has-children:hover > a::after {
    transform: translateX(2px);
}

/* Стили для пунктов подменю */
.primary-menu .sub-menu li {
    display: block;
    margin: 0;
}

.primary-menu .sub-menu a {
    display: block;
    padding: 10px 20px;
    white-space: nowrap;
}

.primary-menu .sub-menu a:hover {
    background: #fffbeb;
    color: #ffbc48;
}

/* ============================================ */
/* МОБИЛЬНОЕ МЕНЮ */
/* ============================================ */

.mobile-nav .menu-item-has-children {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav .menu-item-has-children > a {
    flex: 1;
}

.mobile-submenu-toggle {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.mobile-submenu-toggle.open {
    transform: rotate(180deg);
}

/* Подменю первого уровня в мобильном меню */
.mobile-nav .sub-menu {
    display: none;
    width: 100%;
    padding-left: 20px;
    background: #f8fafc;
    border-radius: 12px;
    margin: 4px 0 8px;
    list-style: none;
}

.mobile-nav .sub-menu.show {
    display: block;
}

/* Подменю второго уровня в мобильном меню */
.mobile-nav .sub-menu .sub-menu {
    padding-left: 20px;
    background: #f1f5f9;
}

.mobile-nav .sub-menu a {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    color: #475569;
    text-decoration: none;
}

.mobile-nav .sub-menu a:hover {
    color: #ffbc48;
}

/* Адаптация для планшетов и мобильных */
@media (max-width: 768px) {
    .primary-menu {
        display: none;
    }
}









.py-8 {
    padding-top: 8rem;
}
section.services-hero.text-center {
    margin-top: 55px;
}

header.bg-white.border-b.border-gray-100.sticky.top-0.z-50 {
    margin-top: 15px;
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: row;
    border-radius: 68px;
    backdrop-filter: blur(9px);
    background: rgba(232, 232, 232, 0.4);
    border: 0px;
}
 
.bg-gray-900 {
    background-color: #333f48;
}

a:hover {
    color: #55697a;
}
.dsr a {
    color: #2c7bbd !important;
}
.text-green-600 {
    color: rgb(0 0 0);
}
.bg-green-50 {
    background-color: rgb(255 255 255);
}
.text-yellow-600 {
    color: rgb(253 69 76);
}
.bg-yellow-50 {
    background-color: rgb(255 255 255);
}
.single-building .px-2 {
    padding: 0px;
}
.bg-white.rounded-xl.shadow-sm.border.p-6.hover\:shadow-md.transition {
    border: 1px solid #55697aa8;
}
.grid.md\:grid-cols-2.gap-6.skrt {
    display: flex;
}
 
.complex-template-default .w-full {
    width: auto;
}
.building-template-default .w-full {
    width: auto;
}
.flex.justify-between.items-start.dg {
    display: flex;
    flex-direction: column;
}
.dg span.px-2.py-1.text-xs.rounded.bg-green-100.text-green-800 {
    position: relative;
    top: -8px;
}
.single-flat .w-full {
    width: auto;
}
.single-complex .md\:grid-cols-2 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
}
span.px-2.py-1.bg-gray-100.text-gray-700.text-sm.rounded {
    font-size: 13px!important;
}
span.px-2.py-1.bg-blue-50.text-blue-700.text-sm.rounded {
    font-size: 13px;
}
.single-flat .bg-green-100 {
    background-color: #ffbc48 !important;
    border-radius: 22px !important;
}

.single-flat .text-green-800 {
    color: #000000 !important;
}
.korol button {
    border: 0px;
}

#view-cards .bg-green-100 {
    --tw-bg-opacity: 1;
    background-color: rgb(227 238 247);
    padding: 3px 7px !important;
    border-radius: 2px;
    color: #000 !important;
}
#view-cards .bg-yellow-100 {
    --tw-bg-opacity: 1;
    background-color: rgb(255 188 72);
    padding: 3px 7px !important;
    border-radius: 2px;
    color: #000 !important;
}


.bg-blue-600 {
    --tw-bg-opacity: 1;
    background-color: #ffbc48 !important;
    color: #000;
    border: 0px;
}
#view-toggle button.view-btn {
    border: 0px;
}

.korol button {
    height: 34px;
    display: flex;
    align-items: center;
    border-radius: 3px;
    margin: 2px;
}
.text-gray-600.ds {
    display: flex;
}
.text-blue-600 {
    color: #6a96bb;
}
.facetwp-page {
    display: flex!important;
    border-radius: 2px!important;
}
/* Основные цвета */
:root {
    --primary: #55697a;
    --primary-dark: #798895;
    --gray-bg: #f5f5f7;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    --card-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Общие стили */
body {
    font-family: 'Montserrat', sans-serif;
    color: #1a1a1a;
    background: #ffffff;
}

/* Контейнер */
.container {
    max-width: 1320px!important;
}

/* =============================================
   КАРТОЧКИ ЖК (archive-complex.php)
   ============================================= */
.complex-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
}

.complex-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
}

.complex-card-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f0f0f0;
}

.complex-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.complex-card:hover .complex-card-image img {
    transform: scale(1.03);
}

.complex-card-content {
    padding: 20px;
}

.complex-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.complex-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    color: #1a1a1a;
}

.complex-card-class {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 8px;
    background: #f0f0f0;
    border-radius: 20px;
    color: #666;
}

.complex-card-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 12px;
}

.complex-card-date {
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.complex-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 16px;
}

.complex-card-price-label {
    color: #666;
    font-size: 0.875rem;
}

.complex-card-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.complex-card-link {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
}

.complex-card-link:hover {
    text-decoration: underline;
}

.postid-172 input#price-range {
    border: none;
}

.postid-172 input[type="range"]{
    border: none;
	padding: 0px;
}

 




/* =============================================
   КАРТОЧКИ КВАРТИР (archive-flat.php)
   ============================================= */
.flat-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
}

.flat-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
}

.flat-card-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f0f0f0;
}

.flat-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.flat-card:hover .flat-card-image img {
    transform: scale(1.03);
}

.flat-card-content {
    padding: 20px;
}

.flat-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.flat-card-location {
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 12px;
}

.flat-card-features {
    display: flex;
    gap: 12px;
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.flat-card-feature {
    display: flex;
    align-items: center;
    gap: 4px;
}

.flat-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 16px;
}

.flat-card-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.flat-card-status {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 20px;
}

.flat-card-status.free {
    background: #e8f5e9;
    color: #2e7d32;
}

.flat-card-status.booked {
    background: #fff3e0;
    color: #f57c00;
}

.flat-card-status.sold {
    background: #ffebee;
    color: #c62828;
}

/* =============================================
   ФИЛЬТРЫ FACETWP
   ============================================= */
.facetwp-facet {
    margin-bottom: 24px;
}

.facetwp-dropdown {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #1a1a1a;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.facetwp-dropdown:hover {
    border-color: var(--primary);
}

.facetwp-dropdown:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(30, 152, 255, 0.1);
}

/* Чекбоксы для комнатности */
.facetwp-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.875rem;
    color: #1a1a1a;
    cursor: pointer;
}

.facetwp-checkbox:before {
    content: '';
    width: 18px;
    height: 18px;
    border: 2px solid #d0d0d0;
    border-radius: 4px;
    background: white;
    transition: all 0.2s ease;
}

.facetwp-checkbox.checked:before {
    background: var(--primary);
    border-color: var(--primary);
}

.facetwp-counter {
    color: #999;
    font-size: 0.75rem;
    margin-left: auto;
}

/* Слайдеры */
.facetwp-slider-wrap {
    margin-top: 10px;
}

.noUi-target {
    background: #f0f0f0;
    border: none;
    box-shadow: none;
    border-radius: 4px;
    height: 4px;
}

.noUi-connect {
    background: var(--primary);
}

.noUi-handle {
    width: 16px;
    height: 16px;
    border: 2px solid white;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    top: -6px;
    right: -8px;
}

.noUi-handle:before,
.noUi-handle:after {
    display: none;
}

.noUi-handle:hover {
    transform: scale(1.1);
}

.noUi-handle:active {
    transform: scale(0.95);
}

.facetwp-slider-label {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 0.875rem;
    color: #666;
}

/* Кнопка сброса */
.facetwp-reset {
    width: 100%;
    padding: 10px;
    background: #f5f5f7;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.2s ease;
}

.facetwp-reset:hover {
    background: #e8e8ec;
}

/* =============================================
   ПЕРЕКЛЮЧАТЕЛЬ СЕТКА/КАРТА
   ============================================= */
.view-toggle {
    display: flex;
    background: #f5f5f7;
    border-radius: 30px;
    padding: 2px;
}

.view-toggle button {
    padding: 8px 16px;
    border: none;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
    color: #666;
}

.view-toggle button.active {
    background: white;
    color: var(--primary);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* =============================================
   ПАГИНАЦИЯ
   ============================================= */
.facetwp-pager {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.facetwp-page {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #666;
    text-decoration: none;
    transition: all 0.2s ease;
}

.facetwp-page:hover {
    background: #f5f5f7;
    color: #1a1a1a;
}

.facetwp-page.active {
    background: var(--primary);
    color: white;
}
 
/* =============================================
   КАРТА
   ============================================= */
#complexes-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

/* =============================================
   ХЛЕБНЫЕ КРОШКИ
   ============================================= */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.breadcrumbs a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: var(--primary);
}

.breadcrumbs .separator {
    color: #ccc;
}

.breadcrumbs .current {
    color: #1a1a1a;
    font-weight: 500;
}

/* ===== Мобильное меню (выезжающее справа) ===== */

/* Затемнение фона */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Панель меню */
.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: white;
    z-index: 1000;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.mobile-menu-panel.active {
    right: 0;
}

/* Заголовок меню */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-close {
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
    background: none;
    border: none;
    padding: 0;
}

.mobile-menu-close:hover {
    color: #333;
}

/* Контент меню */
.mobile-menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* Мобильная навигация */
.mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.mobile-nav li {
    margin-bottom: 5px;
}

.mobile-nav-link {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.mobile-nav-link:hover {
    background: #f5f5f5;
    color: #1e98ff;
}

/* Мобильные кнопки */
.mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.mobile-btn {
    display: block;
    padding: 14px 20px;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #f5f5f5;
    color: #333;
}

.mobile-btn-primary {
    background: #1e98ff;
    color: white;
}

.mobile-btn-primary:hover {
    background: #0b7fd9;
}

/* ===== Адаптивность для избранного ===== */

/* На устройствах от 550px до 1024px */
@media (min-width: 550px) and (max-width: 1023px) {
    /* Скрываем текст "Личный кабинет" */
    .header-right .lg\:flex .text-gray-700 {
        display: none;
    }
    
    /* Избранное прижимается к бургеру */
    .favorite-icon-header {
        margin-right: 0;
    }
}

/* На маленьких экранах (до 550px) */
@media (max-width: 549px) {
    .favorites-count-header {
        font-size: 12px;
    }
}


/* Плавное появление избранного */
.favorite-icon-header {
    transition: transform 0.3s ease;
}

.favorite-icon-header:hover {
    transform: scale(1.1);
}

/* Счетчик избранного */
.favorites-count-header {
    background: #ef4444;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-left: 2px;
}

/* ===== Анимированный блок в мобильном меню ===== */
.mobile-animated-block {
    padding: 20px 0;
    text-align: center;
}

/* Анимированный круг */
.mobile-animated-circle {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
}

.mobile-circle-dashed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1.5px dashed #55697a;
    border-radius: 50%;
    animation: mobile-rotate 10s linear infinite;
}

.mobile-circle-dashed-2 {
    position: absolute;
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border: 1.5px dashed #798895;
    border-radius: 50%;
    animation: mobile-rotate-reverse 8s linear infinite;
}

.mobile-circle-dashed-3 {
    position: absolute;
    top: 20px;
    left: 20px;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    border: 1.5px dashed #a5b5c2;
    border-radius: 50%;
    animation: mobile-rotate 6s linear infinite;
}

/* Вращающиеся точки */
.mobile-dots-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
}

.mobile-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #55697a;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform-origin: 0 0;
    animation: mobile-pulse 2s ease-in-out infinite;
}

.mobile-dot-1 { transform: rotate(0deg) translate(50px) rotate(0deg); animation-delay: 0s; }
.mobile-dot-2 { transform: rotate(45deg) translate(50px) rotate(-45deg); animation-delay: 0.25s; }
.mobile-dot-3 { transform: rotate(90deg) translate(50px) rotate(-90deg); animation-delay: 0.5s; }
.mobile-dot-4 { transform: rotate(135deg) translate(50px) rotate(-135deg); animation-delay: 0.75s; }
.mobile-dot-5 { transform: rotate(180deg) translate(50px) rotate(-180deg); animation-delay: 1s; }
.mobile-dot-6 { transform: rotate(225deg) translate(50px) rotate(-225deg); animation-delay: 1.25s; }
.mobile-dot-7 { transform: rotate(270deg) translate(50px) rotate(-270deg); animation-delay: 1.5s; }
.mobile-dot-8 { transform: rotate(315deg) translate(50px) rotate(-315deg); animation-delay: 1.75s; }

/* Логотип в центре */
.mobile-center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #55697a;
    box-shadow: 0 2px 10px rgba(85, 105, 122, 0.2);
    font-size: 10px;
}

/* Текст */
.mobile-title {
    font-size: 18px;
    font-weight: 700;
    color: #55697a;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.mobile-description {
    font-size: 12px;
    color: #798895;
    margin-bottom: 20px;
    line-height: 1.5;
    padding: 0 15px;
}

/* Анимации */
@keyframes mobile-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes mobile-rotate-reverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes mobile-pulse {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% { 
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Мобильные кнопки (обновленные) */
.mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.mobile-btn {
    display: block;
    padding: 14px 20px;
    text-align: center;
    text-decoration: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #f5f5f5;
    color: #333;
}

.mobile-btn:hover {
    background: #e5e5e5;
    transform: translateY(-2px);
}

.mobile-btn-primary {
    background: #55697a;
    color: white;
}

.mobile-btn-primary:hover {
    background: #3e4f5d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(85, 105, 122, 0.3);
}

/* Анимация появления для элементов */
.mobile-animated-block .mobile-animated-circle {
    animation: fadeInScale 0.5s ease forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 550px) {

.flex.justify-between.items-center.mb-6 {
    display: flex;
    align-items: flex-start;
}
.post-type-archive-complex .flex.justify-between.items-center.mb-6 {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
}
.post-type-archive-complex .price-filter-wrapper {
    min-width: 270px !important;padding: 8px 10px !important;
}


.post-type-archive-complex ._field_12d5r_38 {
    padding: 8px 0px;
}



button#view-map {
    height: 40px;
    font-size: 12px;
}

button#view-grid {
    height: 40px;
    font-size: 11px;
}
button#mobile-filters-toggle {
    font-size: 12px;
}
h1 {
    font-size: 22px !important;
}

.sksort .text-gray-600 {
        font-size: 12px;
        display: flex;
        position: relative;
        top: 12px;
}

.facetwp-counts {
    font-size: 12px !important;
}

.flex.justify-between.items-center.mb-6 {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
}
.facetwp-sort select {
    padding: 8px 14px 8px 16px !important;
    font-size: 13px !important;
    color: #1e293b !important;
    background: white !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 30px !important;
    cursor: pointer !important;
    appearance: none !important;
    background-image: url(data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E) !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
}

h2.text-2xl.font-bold {
        font-size: 22px;
        margin-bottom: 10px;
}
	
button.view-btn {
    height: 32px!important;
    border-radius: 2px!important;
    margin: 0px!important;
    display: flex;
    align-items: center;
    font-size: 11px!important;
}

.single-building .flex.justify-between.items-center.mb-6 {
    display: flex;
    flex-direction: column;
}
    .floor-row {
        flex-direction: row!important;
        align-items: flex-start !important;
        display: flex;
    }
	
.single-building td.px-6.py-4 {
    padding: 1px;
    font-size: 12px;
}

.single-building th.px-6.py-3.text-left.text-sm.font-semibold.text-gray-600 {
    padding: 0px;
}


}