

/* Start:/bitrix/templates/aspro-allcorp3/components/bitrix/catalog/realty_objects/style.css?177989013815144*/
/* === Базовые цвета === */
body.realty-page {
    background: #fff;
    color: #000;
    font-family: Arial, sans-serif;
}

a, a:hover {
    color: #D32F2F;
}

/* === Фильтр и навигация === */
.filter-wrap,
.navigation-wrap {
    background: #F9F9F9;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

/* === Список объектов === */
.realty-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.realty-item {
    width: 280px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.realty-item img {
    width: 100%;
    height: auto;
    display: block;
}

.realty-item h2 {
    font-size: 1.2em;
    margin: 10px;
}

.realty-item h2 a {
    color: #000;
    text-decoration: none;
}

.realty-item h2 a:hover {
    color: #D32F2F;
}

.realty-item .prices {
    margin: 0 10px 10px;
    font-weight: bold;
}

.realty-item .locality,
.realty-item .date {
    margin: 0 10px 10px;
    color: #555;
}

/* === Детальная страница === */
.detail-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

/* Галерея */
.gallery {
    flex: 1 1 50%;
    min-width: 300px;
}

.gallery .main-image {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    margin-bottom: 10px;
    background: #F9F9F9;
    cursor: zoom-in;
}

.gallery .thumbs {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.gallery .thumbs .thumb-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: border-color 0.2s;
    display: block;
}
.gallery .thumbs .thumb-img.active,
.gallery .thumbs .thumb-img:hover {
    border-color: #D32F2F;
}

/* Правая колонка */
.details-sidebar {
    flex: 1 1 300px;
}

.details-sidebar h1 {
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    font-size: 28px;
    line-height: 1.2;
    margin: 0 0 20px;
    color: #000;
}

/* Секции в правой колонке */
.sidebar-section {
    margin: 15px 0;
}
.sidebar-label {
    font-size: 13px;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.sidebar-value {
    font-size: 16px;
    color: #333;
}

/* Разделитель */
.sidebar-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 20px 0;
}

/* Цены */
.prices {
    margin-bottom: 20px;
}
.price-usd, .price-byn {
    font-size: 24px;
    font-weight: 700;
    margin: 5px 0;
    color: #D32F2F;
}

/* Дополнительные цены */
.additional-prices {
    margin: 8px 0;
    font-size: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.price-label {
    font-weight: 600;
    color: #555;
    margin-right: 5px;
    white-space: nowrap;
}
.price-range {
    color: #333;
    font-weight: 500;
}

/* Организации (агентство, застройщик) */
.org-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0;
}
.org-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 4px;
    border: 1px solid #eee;
    background: #F9F9F9;
}
.org-name {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}
.org-details {
    margin-top: 5px;
    font-size: 14px;
    color: #666;
}
.org-detail-text {
    display: block;
    margin: 2px 0;
}

/* Ссылка на источник */
.source-link {
    font-size: 14px;
    color: #D32F2F;
    text-decoration: underline;
    display: inline-block;
    margin: 10px 0;
}
.source-link:hover {
    text-decoration: none;
}

/* Кнопка контактов */
.contacts-btn {
    display: inline-block;
    background: #D32F2F;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 15px;
}
.contacts-btn:hover {
    background: #b71c1c;
}

/* Модальное окно контактов */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.modal-close {
    position: absolute;
    top: 15px; right: 20px;
    font-size: 24px;
    color: #888;
    cursor: pointer;
}
.modal-close:hover {
    color: #333;
}
.modal-content h2 {
    margin-top: 0;
    color: #D32F2F;
}
.contact-phones a,
.contact-email a {
    display: block;
    margin: 8px 0;
    font-size: 18px;
    color: #333;
    text-decoration: none;
}
.contact-phones a:hover,
.contact-email a:hover {
    color: #D32F2F;
}

/* Блоки описания */
.detail-text,
.preview-text {
    margin-bottom: 30px;
    line-height: 1.6;
}
.preview-text h3 {
    color: #D32F2F;
    margin: 0 0 10px;
    font-size: 22px;
}

/* Карта */
.detail-map {
    margin-bottom: 30px;
}

/* Таблицы характеристик */
.characteristics-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
.characteristics-table th,
.characteristics-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
}
.characteristics-table td:first-child {
    font-weight: 600;
    color: #444;
    width: 40%;
}
.characteristics-table tr:hover td {
    background: #F9F9F9;
}

/* Категории в характеристиках */
.chars-category {
    margin-bottom: 30px;
}
.chars-category-title {
    font-size: 20px;
    font-weight: 600;
    color: #D32F2F;
    margin: 0 0 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid #eee;
}

/* Вкладки */
.detail-tabs {
    margin-top: 40px;
}
.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.tab-btn {
    background: transparent;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border-radius: 6px 6px 0 0;
    transition: all 0.2s;
    border: 1px solid transparent;
}
.tab-btn:hover {
    color: #D32F2F;
    background: #f9f9f9;
}
.tab-btn.active {
    color: #D32F2F;
    border-color: #D32F2F;
    border-bottom-color: #fff;
    background: #fff;
}
.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease;
}
.tab-pane.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* iframe в вкладках */
.tab-pane iframe {
    border-radius: 8px;
    border: 1px solid #eee;
}

/* Перекраска стандартного умного фильтра */
.bx-filter {
    background: #F9F9F9;
    padding: 20px;
    border-radius: 4px;
}
.bx-filter .bx-filter-title {
    color: #D32F2F;
}
.bx-filter .btn-primary {
    background: #D32F2F;
    border-color: #D32F2F;
}

/* Перекраска постраничной навигации */
.pagination .active a {
    background: #D32F2F;
    color: #fff;
}

/* Адаптивность */
@media (max-width: 768px) {
    .detail-wrapper {
        flex-direction: column;
    }
    .realty-item {
        width: 100%;
    }
    .details-sidebar h1 {
        font-size: 24px;
    }
    .price-usd, .price-byn {
        font-size: 20px;
    }
    .tabs-nav {
        flex-direction: column;
        gap: 5px;
    }
    .tab-btn {
        border-radius: 4px;
    }
}

/* Модальное окно контактов (устаревшее, удалено) */
.popup-overlay {
    display: none;
}

/* Блок разделов */
.realty-sections {
    margin: 30px 0;
}
.realty-sections-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.realty-sections-link {
    display: inline-block;
    background: #F9F9F9;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 12px 22px;
    text-decoration: none;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}
.realty-sections-link:hover {
    background: #D32F2F;
    color: #fff;
    border-color: #D32F2F;
}

/* Адаптив */
@media (max-width: 768px) {
    .realty-sections-list {
        flex-direction: column;
        gap: 8px;
    }
    .realty-sections-link {
        padding: 10px 18px;
        font-size: 15px;
    }
}

/* Обёртка для списка и фильтра */
.realty-section-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
.realty-section-list {
    flex: 1;
    min-width: 0;
}
.realty-section-filter {
    width: 300px;
    flex-shrink: 0;
}
@media (max-width: 992px) {
    .realty-section-wrapper {
        flex-direction: column;
    }
    .realty-section-filter {
        width: 100%;
        order: -1;
    }
}

/* === Кастомная пагинация === */
.prorielt-pagination {
    margin: 30px 0;
    display: flex;
    justify-content: center;
}
.prorielt-pagination__list {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.prorielt-pagination__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #fff;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    box-sizing: border-box;
    flex-shrink: 0;
}
.prorielt-pagination__item:hover {
    background: #F9F9F9;
    border-color: #D32F2F;
    color: #D32F2F;
}
.prorielt-pagination__item--active {
    background: #D32F2F;
    color: #fff;
    border-color: #D32F2F;
    font-weight: 600;
}
.prorielt-pagination__arrow {
    padding: 0;
    width: 40px;
}
.prorielt-pagination__arrow svg {
    display: block;
    margin: 0 auto;
}
.prorielt-pagination__item--dots {
    border: none;
    background: transparent;
    pointer-events: none;
    color: #666;
}
@media (max-width: 480px) {
    .prorielt-pagination__item {
        min-width: 36px;
        height: 36px;
        font-size: 14px;
    }
    .prorielt-pagination__arrow {
        width: 36px;
    }
}

/* === КОМПАКТНЫЙ ФИЛЬТР === */
.custom-filter {
    background: #F9F9F9;
    padding: 18px 16px;
    border-radius: 8px;
    border: 1px solid #eee;
    font-family: Arial, sans-serif;
}
.custom-filter h4 {
    margin: 0 0 14px;
    color: #D32F2F;
    font-size: 18px;
    font-weight: 600;
}
.filter-group {
    margin-bottom: 8px;
    border: none;
}
.filter-group[open] {
    margin-bottom: 12px;
}
.filter-group__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background 0.2s, border-color 0.2s;
}
.filter-group__summary::-webkit-details-marker {
    display: none;
}
.filter-group__summary:hover {
    background: #f5f5f5;
    border-color: #D32F2F;
}
.filter-group[open] .filter-group__summary {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-color: #D32F2F;
    color: #D32F2F;
}
.filter-group__arrow {
    display: inline-block;
    width: 18px;
    height: 18px;
    position: relative;
    transition: transform 0.2s;
}
.filter-group__arrow::before,
.filter-group__arrow::after {
    content: '';
    position: absolute;
    background: #666;
    transition: transform 0.2s;
}
.filter-group__arrow::before {
    top: 8px;
    left: 3px;
    width: 12px;
    height: 2px;
}
.filter-group__arrow::after {
    top: 3px;
    left: 8px;
    width: 2px;
    height: 12px;
}
.filter-group[open] .filter-group__arrow::after {
    transform: rotate(90deg);
    opacity: 0;
}
.filter-group__body {
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
}
.filter-group__body select,
.filter-group__body input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
}
.filter-group__body select:focus,
.filter-group__body input:focus {
    border-color: #D32F2F;
}
.range-row {
    display: flex;
    align-items: center;
    gap: 6px;
}
.range-row input {
    width: calc(50% - 16px);
    min-width: 60px;
}
.range-sep {
    color: #888;
    font-size: 14px;
    flex-shrink: 0;
}
.filter-btn {
    background: #D32F2F;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 8px;
    transition: background 0.2s;
}
.filter-btn:hover {
    background: #b71c1c;
}
.filter-reset {
    display: block;
    text-align: center;
    color: #888;
    font-size: 14px;
    text-decoration: none;
}
.filter-reset:hover {
    color: #D32F2F;
    text-decoration: underline;
}

/* Заголовок всего фильтра */
.filter-block {
    border: none;
}
.filter-block[open] {
    margin-bottom: 20px;
}
.filter-block__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: #D32F2F;
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    list-style: none;
    user-select: none;
    margin-bottom: 12px;
    transition: background 0.2s;
}
.filter-block__summary::-webkit-details-marker {
    display: none;
}
.filter-block__summary:hover {
    background: #b71c1c;
}
.filter-block[open] .filter-block__summary {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.filter-block .filter-group__arrow::before,
.filter-block .filter-group__arrow::after {
    background: #fff;
}

.main-photo-link {
    display: block;
    cursor: zoom-in;
}

/* Принудительная фиксация макета детальной страницы */
.detail-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
    align-items: flex-start !important;
}
.gallery {
    flex: 1 1 45% !important;
    max-width: 50% !important;
    min-width: 300px !important;
}
.details-sidebar {
    flex: 1 1 40% !important;
    max-width: 50% !important;
    min-width: 280px !important;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .gallery,
    .details-sidebar {
        max-width: 100% !important;
        flex: 1 1 100% !important;
    }
}
/* End */
/* /bitrix/templates/aspro-allcorp3/components/bitrix/catalog/realty_objects/style.css?177989013815144 */
