

/* Start:/local/components/konsultante.sutochno/objects-map/templates/.default/style.css?178951435929446*/
@import url("/local/components/konsultante.sutochno/objects-map/templates/.default/./css/filters.css");

/* =====================================================
   PHOENIX OBJECTS MAP - DARK MODERN STYLE
   VERSION: 2026-02-02-18:03 - UPDATED WITH ORANGE BUTTON
   ===================================================== */

:root {
    --primary: #ff4d15;
    --primary-hover: #e63e00;
    --secondary: #3b82f6;
    --secondary-hover: #2563eb;
    --bg-main: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: #1e293b;
    --text-main: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --white: #ffffff;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.5), 0 2px 4px -2px rgb(0 0 0 / 0.5);
}

/* Черная шапка 300px */
.phoenix-page-header {
    display: block !important;
    height: 300px !important;
    min-height: 300px !important;
    background: #000000 !important;
    width: 100% !important;
    position: relative !important;
}

.phoenix-objects-map-header {
    background: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
}

/* Стили поисковой панели перенесены в компонент search-bar */

/* =====================================================
   MAP PRICE TAGS - PREMIUM GOLD STYLE
   ===================================================== */
.phoenix-map-price-tag {
    position: absolute;
    transform: translate(-50%, -100%);
    background: var(--bg-card);
    border-radius: 20px;
    padding: 6px 12px;
    pointer-events: auto;
    cursor: pointer;
    z-index: 100000 !important;
    box-shadow: var(--shadow-md);
    font-weight: 700;
    font-size: 12px;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    margin-bottom: 12px;
    transition: all 0.2s;
    backdrop-filter: blur(4px);
    white-space: nowrap;
}

.phoenix-map-price-tag-wrap {
    position: absolute;
    z-index: 100000 !important;
    pointer-events: auto;
}

.phoenix-map-price-tag:hover {
    background: var(--bg-secondary);
    border-color: var(--primary);
    transform: scale(1.05);
}

.phoenix-map-price-tag::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 7px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--border-color);
}

.phoenix-map-price-tag.is-active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: scale(1.1);
}

.phoenix-map-price-tag.is-active::after {
    border-top-color: var(--primary);
}

/* Лайтбокс для картинок */
.phoenix-lightbox {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 10000 !important;
}

.phoenix-lightbox.is-open {
    display: block !important;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1;
}

.lightbox-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    position: relative;
    z-index: 3;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    z-index: 4;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    z-index: 4;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Стили календаря и подсказок городов перенесены в компонент search-bar */

/* Стили для неактивных фильтров */
.checkbox-button.is-disabled {
    opacity: 0.4;
    pointer-events: none;
    filter: grayscale(1);
}

.phoenix-objects-map {
    display: block;
    width: 100%;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg-main);
}

.phoenix-objects-map__layout {
    display: grid;
    grid-template-columns: 280px 1fr 45%;
    gap: 0;
    min-height: calc(100vh - 302px);
    overflow: visible;
    background: var(--bg-main);
    border: none;
    border-radius: 0;
}

.phoenix-objects-map__filter {
    background: var(--bg-main);
    border-right: 1px solid var(--border-color);
    height: auto;
    max-height: 100%;
    overflow-y: visible;
    overflow: visible;
    padding: 0;
}

.phoenix-objects-map__content {
    background: var(--bg-secondary);
    height: 100%;
    overflow-y: auto !important;
    overflow-x: visible;
    padding: 20px;
    border-right: 1px solid var(--border-color);
}

.phoenix-objects-map__map {
    height: 100vh !important;
    min-height: 100vh !important;
    position: sticky;
    top: 0;
    background: var(--bg-main);
}

.phoenix-objects-map__map-open {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    border: 0;
    background: var(--bg-main);
    color: var(--text-main);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.phoenix-objects-map__map-open:hover,
.phoenix-objects-map__map-open:focus-visible {
    background: var(--bg-secondary);
}

/* =====================================================
   CARD - HORIZONTAL PHOENIX DARK STYLE
   ===================================================== */
.phoenix-objects-map__card {
    background: var(--bg-card);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 200px 1fr auto;
    position: relative;
    transition: all 0.2s ease;
}

.phoenix-objects-map__card.is-hidden {
    display: none;
}

.phoenix-objects-map__card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--primary);
}

.card__image {
    width: 200px;
    height: 180px;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
}

.card__photo {
    width: 100%;
    height: 100%;
    background-color: var(--bg-secondary);
    object-fit: cover;
    object-position: center;
}

.card__favorite {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 44px;
    height: 44px;
    background: rgba(15, 23, 42, 0.8);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    backdrop-filter: blur(4px);
}

.card__favorite:hover {
    background: var(--bg-main);
    transform: scale(1.1);
}

.card__favorite i {
    color: var(--text-muted);
    font-size: 16px;
}

.card__favorite:hover i,
.card__favorite.is-active i {
    color: var(--primary);
}

.card__content {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.card__header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.card__badge {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.card__badge--super {
    background: rgba(255, 184, 0, 0.15);
    color: #ffb800;
}

.card__hotel-info {
    color: var(--text-muted);
}

.card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    line-height: 1.3;
}

.card__title:hover {
    color: var(--primary);
}

.card__params {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: var(--text-secondary);
}

.card__params span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.card__metro {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-main);
}

.card__metro i {
    color: var(--primary);
    font-size: 14px;
}

.card__address {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.card__address i {
    color: var(--text-muted);
    font-size: 12px;
}

.card__rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.card__rating-score {
    background: var(--primary);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
}

.card__rating-count {
    font-size: 13px;
    color: var(--text-muted);
}

.card__rating-text {
    font-size: 13px;
    color: var(--text-main);
}

.card__aside {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    min-width: 160px;
    border-left: 1px solid var(--border-color);
}

.card__price {
    text-align: right;
}

.card__price-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
}

.card__price-period {
    font-size: 13px;
    color: var(--text-muted);
    margin-left: 4px;
}

.card__viewers {
    font-size: 12px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.card__viewers i {
    font-size: 11px;
}

.card__book-btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: var(--primary);
    color: var(--white);
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    margin-top: 8px;
    transition: all 0.2s;
}

.card__book-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.02);
}

/* =====================================================
   CARD GALLERY - THUMBNAILS WITH HOVER PREVIEW
   ===================================================== */
.card__gallery {
    grid-column: 1 / -1;
    display: flex;
    gap: 4px;
    padding: 0;
    border-top: 1px solid var(--border-color);
    background: var(--bg-main);
    border-radius: 0 0 16px 16px;
    position: relative;
    z-index: 100;
}

.card__gallery-thumb {
    position: relative;
    flex: 1;
    height: 60px;
    cursor: pointer;
    min-width: 0;
}

.card__gallery-thumb > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.2s;
}

.card__gallery-thumb:hover img {
    transform: scale(1.1);
}

.card__gallery-preview {
    position: fixed;
    width: 500px;
    height: 500px;
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1000;
    pointer-events: none;
    transform: scale(0.9);
    border: 1px solid var(--border-color);
}

.card__gallery-preview.is-visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.card__gallery-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card__gallery-more {
    flex: 1;
    height: 60px;
    background: rgba(15, 23, 42, 0.8);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    min-width: 0;
}

/* =====================================================
   FILTER SIDEBAR - PHOENIX DARK STYLE
   ===================================================== */
.phoenix-objects-map__filter-inner {
    padding: 0;
}

.filter__item {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.filter__item-title h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter__item-title h5::before {
    content: '';
    width: 3px;
    height: 16px;
    background: var(--primary);
    border-radius: 2px;
}

/* Switcher стиль */
.sc-switcher {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    background: var(--bg-secondary);
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.2s;
}

.sc-switcher:hover {
    border-color: var(--primary);
}

.filter-switch__content {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
    font-weight: 600;
}

.filter-switch__img {
    width: 24px;
    height: 24px;
    filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(1352%) hue-rotate(346deg) brightness(101%) contrast(101%);
}

/* Checkbox buttons */
.checkbox-filter-block__wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.checkbox-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin: 6px 0;
    cursor: pointer;
    font-size: 14px;
    width: 100%;
    background: var(--bg-secondary);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    color: var(--text-secondary);
}

.checkbox-button.is-disabled {
    color: var(--text-muted) !important;
    opacity: 0.5;
}

.checkbox-button:hover {
    border-color: var(--primary);
    color: var(--text-main);
}

.checkbox-button:has(input:checked) {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white) !important;
    font-weight: 700;
}

.checkbox-button input {
    display: none;
}

/* Range inputs */
.range-number {
    display: flex;
    align-items: center;
    gap: 12px;
}

.range-number-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-secondary);
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 13px;
    transition: all 0.2s;
}

.range-number-item:focus-within {
    border-color: var(--primary);
}

.range-number-input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 4px 0;
    font-weight: 700;
    font-size: 14px;
    outline: none;
    color: var(--text-main);
}

.range-number-input::placeholder {
    color: var(--text-muted);
}

/* Filter buttons */
.phoenix-objects-map__filter-submit {
    width: calc(100% - 40px);
    margin: 20px;
    padding: 14px 24px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.phoenix-objects-map__filter-submit:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.phoenix-objects-map__filter-reset {
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    padding: 12px 24px;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.phoenix-objects-map__filter-reset:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-secondary);
    transition: 0.3s;
    border-radius: 28px;
    border: 1px solid var(--border-color);
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 3px;
    background-color: var(--white);
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--primary);
    border-color: var(--primary);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(22px);
}

/* Filter Icons */
.filter-icon {
    font-size: 20px;
    color: var(--primary);
}

.filter__item-title h5 i {
    margin-right: 8px;
    color: var(--primary);
}

.checkbox-button i {
    margin-right: 8px;
    font-size: 14px;
    color: var(--primary);
    transition: color 0.2s;
}

.checkbox-button:has(input:checked) i {
    color: var(--white);
}

/* Empty state */
.phoenix-objects-map__list:empty::after {
    content: 'Нет объектов для отображения';
    display: block;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    font-size: 18px;
    font-weight: 600;
}

/* Scrollbar styling */
.phoenix-objects-map__filter::-webkit-scrollbar,
.phoenix-objects-map__content::-webkit-scrollbar {
    width: 6px;
}

.phoenix-objects-map__filter::-webkit-scrollbar-track,
.phoenix-objects-map__content::-webkit-scrollbar-track {
    background: var(--bg-main);
}

.phoenix-objects-map__filter::-webkit-scrollbar-thumb,
.phoenix-objects-map__content::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.phoenix-objects-map__filter::-webkit-scrollbar-thumb:hover,
.phoenix-objects-map__content::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

@media (max-width: 1440px) {
    .phoenix-objects-map__layout {
        grid-template-columns: 260px 1fr 360px;
    }
}

@media (max-width: 1200px) {
    .phoenix-objects-map__layout {
        grid-template-columns: 1fr;
    }

    .phoenix-objects-map__filter {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 12px;
    }

    .phoenix-objects-map__filter-submit,
    .phoenix-objects-map__filter-reset {
        width: auto;
    }

    .phoenix-objects-map__card {
        grid-template-columns: 120px 1fr;
    }

    .phoenix-objects-map__map {
        min-height: 400px;
    }
}

@media (min-width: 768px) {
    .phoenix-objects-map {
        position: relative;
    }

    .phoenix-objects-map__layout {
        grid-template-columns: 280px 1fr 45%;
        transition: grid-template-columns .2s ease;
    }

    .phoenix-objects-map.is-filter-collapsed .phoenix-objects-map__layout {
        grid-template-columns: 0 1fr 45%;
    }

    .phoenix-objects-map__filter {
        min-width: 0;
        overflow: hidden;
        transition: opacity .2s ease;
    }

    .phoenix-objects-map.is-filter-collapsed .phoenix-objects-map__filter {
        opacity: 0;
        pointer-events: none;
    }

    .phoenix-objects-map__filter-toggle {
        position: absolute;
        z-index: 20;
        top: 16px;
        left: 264px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        padding: 0;
        border: 1px solid var(--border-color);
        border-radius: 50%;
        background: var(--bg-secondary);
        color: var(--text-main);
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(0,0,0,.25);
        transition: left .2s ease, background .2s ease, transform .2s ease;
    }

    .phoenix-objects-map__filter-toggle:hover {
        background: var(--primary);
        color: var(--white);
    }

    .phoenix-objects-map.is-filter-collapsed .phoenix-objects-map__filter-toggle {
        left: 12px;
    }

    .phoenix-objects-map.is-filter-collapsed .phoenix-objects-map__filter-toggle i {
        transform: rotate(180deg);
    }
}

@media (min-width: 768px) {
    .phoenix-objects-map.is-filter-collapsed .phoenix-objects-map__layout {
        grid-template-columns: 0 1fr 45% !important;
    }

    .phoenix-objects-map.is-filter-collapsed .phoenix-objects-map__filter {
        width: 0 !important;
        min-width: 0 !important;
        opacity: 0 !important;
        pointer-events: none !important;
        overflow: hidden !important;
    }

    .phoenix-objects-map:not(.is-filter-collapsed) .phoenix-objects-map__filter {
        width: 280px;
        opacity: 1;
        pointer-events: auto;
    }
}

.map-object-popup {
    display: none;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    z-index: 10001;
    animation: popupFadeIn 0.2s ease-out;
}

.map-object-popup.is-open {
    display: block;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.map-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    color: #222;
    font-size: 20px;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.map-popup-close:hover {
    background: #fff;
    transform: scale(1.1);
}

.map-popup-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.map-popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-popup-favorite {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    color: #222;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.map-popup-favorite:hover {
    transform: scale(1.1);
}

.map-popup-favorite.is-favorite {
    color: #ff385c;
}

.map-popup-content {
    padding: 16px;
}

.map-popup-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.map-popup-rating-score {
    background: #00a699;
    color: #fff;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
}

.map-popup-rating-reviews {
    font-size: 13px;
    color: #717171;
}

.map-popup-title {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.map-popup-address {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0;
    font-size: 13px;
    color: #717171;
}

.map-popup-address i {
    font-size: 12px;
}

.map-popup-params {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #717171;
}

.map-popup-params span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.map-popup-params i {
    font-size: 12px;
}

.map-popup-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding-top: 12px;
    border-top: 1px solid #ebebeb;
}

.map-popup-price-value {
    font-size: 20px;
    font-weight: 700;
    color: #222;
}

.map-popup-price-period {
    font-size: 14px;
    color: #717171;
}

/* =====================================================
   CUSTOM MAP POPUP (OVERLAY)
   ===================================================== */
.map-object-popup {
    display: none;
    position: absolute;
    width: 280px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 5000; /* Поверх карты */
    overflow: hidden;
    transform: translate(-50%, -100%); /* Центрируем по горизонтали и сдвигаем вверх */
    margin-top: -15px; /* Отступ от пина */
    pointer-events: auto;
}

.map-object-popup.is-visible {
    display: block;
    animation: popupFadeIn 0.2s ease-out;
}

.map-popup-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #717171;
    transition: all 0.2s;
    z-index: 10;
}

.phoenix-objects-map__visible-count {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    color: #e7e9f3;
    font-weight: 700;
    font-size: 22px;
    line-height: 1;
    white-space: nowrap;
}

/* ponytail: result controls must remain in the list column despite legacy global header styles. */
.phoenix-objects-map .phoenix-objects-map__list-header {
    position: static;
    inset: auto;
    width: auto;
}

.phoenix-objects-map__list-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    padding: 0 0 16px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
}
.phoenix-objects-map__list-header .phoenix-objects-map__sort {
    display: flex;
    align-items: end;
    gap: 16px;
    padding: 0;
}
.phoenix-objects-map__list-header .phoenix-objects-map__sort label { min-width: 185px; }
.phoenix-objects-map__list-header .phoenix-objects-map__sort .phoenix-objects-map__favorites-first { min-width: auto; padding-bottom: 8px; }
@media (max-width: 900px) {
    .phoenix-objects-map__list-header,
    .phoenix-objects-map__list-header .phoenix-objects-map__sort { align-items: stretch; flex-direction: column; gap: 12px; }
}

.map-popup-close:hover {
    background: #fff;
    color: #222;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.map-popup-content {
    padding: 16px;
}

.map-popup-title {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.map-popup-address {
    font-size: 13px;
    color: #717171;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.map-popup-params {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #484848;
}

.map-popup-price {
    display: flex;
    align-items: baseline;
    padding-top: 12px;
    border-top: 1px solid #ebebeb;
}

.map-popup-price-value {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-right: 6px;
}

.map-popup-price-period {
    font-size: 13px;
    color: #717171;
}

.map-popup-link {
    display: inline-block;
    margin-top: 12px;
    color: #ff385c;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.map-popup-link:hover {
    text-decoration: underline;
}

/* ponytail: server pager stays after the 24-card SSR slice; no client-side hidden cards. */
.phoenix-objects-map__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 28px 0 12px;
}

.phoenix-objects-map__pagination-pages { display: flex; gap: 8px; }
.phoenix-objects-map__pagination-pages a,
.phoenix-objects-map__pagination-pages .is-current {
    display: grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    padding: 0 10px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
}
.phoenix-objects-map__pagination-pages a:hover,
.phoenix-objects-map__pagination-pages .is-current { border-color: var(--primary); background: var(--primary); }
.phoenix-objects-map__pagination-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 20px;
    border-radius: 10px;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
}
.phoenix-objects-map__pagination-button:hover { color: var(--white); filter: brightness(1.08); }
@media (max-width: 640px) {
    .phoenix-objects-map__pagination { gap: 8px; }
    .phoenix-objects-map__pagination-pages { order: 3; width: 100%; justify-content: center; }
}

@keyframes popupFadeIn {
    from { opacity: 0; transform: translate(-50%, -95%); }
    to { opacity: 1; transform: translate(-50%, -100%); }
}

/* ponytail: native select and existing sidebar only. */
.phoenix-objects-map__sort{display:grid;gap:10px;padding:0 0 16px;color:#e7e9f3;font-size:13px}.phoenix-objects-map__sort label{display:grid;gap:5px}.phoenix-objects-map__sort select{min-height:36px;border:1px solid #475569;border-radius:7px;background:#1e293b;color:#fff;padding:0 9px}.phoenix-objects-map__favorites-first{display:flex!important;grid-template-columns:auto 1fr;align-items:center;gap:8px}.card__favorite.is-active i{font-weight:900}

/* End */


/* Start:/local/components/konsultante.sutochno/search-bar/templates/.default/style.css?178951436112776*/
/* =====================================================
   PHOENIX SEARCH BAR - REUSABLE COMPONENT
   ===================================================== */

:root {
    --primary: #ff4d15;
    --primary-hover: #e63e00;
    --bg-main: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: #1e293b;
    --text-main: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --white: #ffffff;
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.5), 0 2px 4px -2px rgb(0 0 0 / 0.5);
}

@media (min-width: 768px) {
    .phoenix-search-bar-header .bar-wrap,
    .phoenix-search-bar-header .bar {
        display: flex !important;
        width: 80vw !important;
        max-width: none !important;
    }
}


.phoenix-search-bar-header {
    height: auto;
    min-height: 80px;
    background: var(--bg-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.bar-wrap {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}

.bar {
    background: var(--bg-card);
    border-radius: 100px;
    padding: 0;
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 850px;
    border: 1px solid var(--border-color);
    height: 60px;
    display: flex;
    align-items: center;
    overflow: visible;
}

.bar-search {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 8px;
}

.bar-search__item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 0 20px;
    position: relative;
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 30px;
    flex: 1 !important;
}

.bar-search__item-calendar {
    flex: 1 !important;
}

.bar-search__item--guests {
    flex: 2 !important;
}

.bar-search__item:hover {
    background: var(--bg-secondary);
}

.bar-search__item.has-separator::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    bottom: 25%;
    width: 1px;
    background: var(--border-color);
}

.suggest-input {
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    width: 100%;
    outline: none;
}

.suggest-input::placeholder {
    color: var(--text-muted);
}

.datepicker-search__label, 
.select-guests--btn .title {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 2px;
    text-transform: uppercase;
}

.datepicker-search__item, 
.select-guests--btn .body {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.bar-search__apply {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%) !important;
    border: none !important;
    border-radius: 100px !important;
    padding: 0 60px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    color: var(--white) !important;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5) !important;
    font-weight: 700 !important;
    font-size: 16px !important;
}

.bar-search__apply:hover {
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%) !important;
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 8px 28px rgba(255, 107, 53, 0.6) !important;
}

.bar-search__apply:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3) !important;
}

.apply-search__text {
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
}

.bar-search__apply i {
    color: var(--white);
    transition: color 0.2s;
}

/* Выпадающий список городов */
.city-suggestions {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: #000000;
    border: 1px solid #333333;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
}

.city-suggestions:empty,
.city-suggestions__list:empty {
    display: none;
}

.city-suggestions__list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.city-suggestions__item {
    padding: 12px 20px;
    color: #ffffff;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.city-suggestions__item:hover {
    background: #1a1a1a;
}

.city-suggestions__item:hover .city-name {
    color: #d4a531;
}

.city-name {
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 2px;
}

.city-region {
    font-size: 12px;
    color: #888888;
}

.bar-search__item--city {
    position: relative;
    flex: 4 !important;
}

/* Попап гостей */
.select-guests__main {
    position: absolute;
    top: calc(100% + 20px);
    right: 0;
    background: var(--bg-card);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    padding: 32px;
    z-index: 1000;
    width: 360px;
    border: 1px solid var(--border-color);
    display: none;
}

.select-guests__main.is-open {
    display: block !important;
}

.guests-counter, 
.select-guests__add-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.guests-counter__text strong, 
.add-child__text strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
}

.guests-counter__text span, 
.add-child__text span {
    font-size: 14px;
    color: var(--text-muted);
}

.guests-counter__editing, 
.add-child__editing {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-main);
}

.ui-button.pale-blue {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-main);
    font-weight: 900;
    font-size: 20px;
}

.ui-button.pale-blue:hover {
    background: var(--bg-card);
    border-color: var(--primary);
    color: var(--primary);
}

.guests-counter__value, 
.add-child__value {
    font-size: 18px;
    font-weight: 700;
    min-width: 24px;
    text-align: center;
    color: var(--text-main);
}

.select-guests__pets {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.select-guests__pets-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
}

.ui-switcher {
    width: 48px;
    height: 28px;
    background: var(--primary);
    border-radius: 100px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
}

.ui-switcher__dot {
    width: 22px;
    height: 22px;
    background: var(--white);
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.select-guests__pets-switcher input:checked + .ui-switcher__dot {
    left: 23px;
}

.select-guests__main hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 0;
}

.ui-button.dark {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    margin-top: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.ui-button.dark:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Попап календаря */
.phoenix-search-calendar {
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 0;
    z-index: 1000;
    width: 960px;
    display: none;
    user-select: none;
    overflow: hidden;
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
}

.phoenix-search-calendar.is-open {
    display: block !important;
    border: 1px solid var(--border-color);
}

.calendar-navigation {
    position: absolute;
    top: 45px;
    left: 40px;
    right: 40px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 30;
}

.calendar-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    color: var(--text-main);
}

.calendar-nav-btn:hover {
    background: var(--bg-card);
    border-color: var(--border-color);
    transform: scale(1.05);
}

.calendar-months-container {
    padding: 48px 60px 30px;
    background: var(--bg-card);
}

.calendar-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.calendar-month {
    min-width: 0;
}

.calendar-month-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
    text-align: center;
    text-transform: capitalize;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.weekday {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    padding: 8px 0;
}

.weekday.holiday {
    color: var(--primary);
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.day.empty {
    cursor: default;
    pointer-events: none;
}

.day.disabled {
    color: var(--text-muted);
    opacity: 0.3;
    cursor: not-allowed;
}

.day.holiday {
    color: var(--primary);
}

.day:not(.empty):not(.disabled):hover {
    background: var(--bg-secondary);
    transform: scale(1.05);
}

.day.is-start,
.day.is-end {
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
}

.day.is-in-range {
    background: rgba(255, 77, 21, 0.1);
    color: var(--text-main);
}

.day.is-hover-range {
    background: rgba(255, 77, 21, 0.05);
}

.day.is-hover-target {
    background: rgba(255, 77, 21, 0.2);
}

.calendar-tooltip {
    position: fixed;
    background: var(--text-main);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    pointer-events: none;
    z-index: 10000;
    white-space: nowrap;
    display: none;
}

.calendar-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background: var(--bg-card);
}

.calendar-quick-links {
    display: flex;
    gap: 16px;
}

.quick-link {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 12px 24px;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.quick-link:hover {
    border-color: var(--border-color);
    background: var(--bg-card);
    transform: translateY(-1px);
}

.calendar-reset {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    padding: 12px 20px;
    transition: all 0.2s;
    text-decoration: underline;
}

.calendar-reset:hover {
    color: var(--primary);
}

.calendar-bottom-hint {
    background: rgba(255, 77, 21, 0.05);
    padding: 20px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
}

/* End */
/* /local/components/konsultante.sutochno/objects-map/templates/.default/style.css?178951435929446 */
/* /local/components/konsultante.sutochno/search-bar/templates/.default/style.css?178951436112776 */
