:root {
	--primary:var(--primary);
	--tablehead: #2c3338;
	--tablethead: #1c1d1c;
    --brand: #507154;
	--price: #000;
    --brand-dark: #3d5f41;
    --brand-light: #e2f0e6;
    --accent-blue: #003767;
    --border-gray: #d9e2e9;
    --card-bg: #ffffff;
    --text-main: #1e3b4f;
    --text-soft: #4f6f82;
    --radius-md: 10px;
    --radius-lg: 10px;
    --radius-xl: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 90px;
    scroll-behavior: smooth;
    scrollbar-color: #6f8b73 #edf2ed;
    scrollbar-width: thin;
}

/* ===== ЕДИНЫЙ СТИЛЬ ПРОКРУТКИ ===== */
* {
    scrollbar-color: #6f8b73 #edf2ed;
    scrollbar-width: thin;
}

*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

*::-webkit-scrollbar-track {
    background: #edf2ed;
    border-radius: 999px;
}

*::-webkit-scrollbar-thumb {
    min-height: 42px;
    border: 3px solid #edf2ed;
    border-radius: 999px;
    background: #6f8b73;
}

*::-webkit-scrollbar-thumb:hover {
    background: #507154;
}

*::-webkit-scrollbar-corner {
    background: #edf2ed;
}

body {
    color: #1e2a36;
    line-height: 1.5;
	/*padding-top: 90px;*/
}

.alert-danger{
	color: #fff;
	background-color: red;
}
.page-title {margin-bottom:20px; }
 /* Прелоадер на весь экран */
        .preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #ffffff00;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 2000;
            transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s ease;
        }

        body.loaded .preloader {
            opacity: 0;
            visibility: hidden;
        }

        /* Контейнер для логотипа с анимацией перекатывания */
        .logo-container {
            width: 200px;
            height: 200px;
            position: relative;
            cursor: default;
            animation: rollBrick 2.5s infinite cubic-bezier(0.25, 0.1, 0.25, 1);
            transform-origin: center center;
            filter: drop-shadow(0 15px 10px rgba(0,0,0,0.1));
        }

        /* Анимация перекатывания как кирпич */
        @keyframes rollBrick {
            0% {
                transform: perspective(800px) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
            }
            20% {
                transform: perspective(800px) rotateX(10deg) rotateY(15deg) rotateZ(5deg) translateY(-10px);
            }
            40% {
                transform: perspective(800px) rotateX(-5deg) rotateY(30deg) rotateZ(10deg) translateY(-5px);
            }
            60% {
                transform: perspective(800px) rotateX(8deg) rotateY(45deg) rotateZ(0deg) translateY(5px);
            }
            80% {
                transform: perspective(800px) rotateX(-3deg) rotateY(60deg) rotateZ(-5deg) translateY(-5px);
            }
            100% {
                transform: perspective(800px) rotateX(0deg) rotateY(720deg) rotateZ(0deg) translateY(0);
            }
        }

        /* Дополнительный эффект "кирпичности" — лёгкое искажение */
        .logo-container svg {
            width: 100%;
            height: 100%;
            display: block;
            transition: filter 0.3s;
        }

        /* Текстовый блок под логотипом */
        .preloader-text-block {
            margin-top: 30px;
            text-align: center;
            opacity: 0;
            animation: fadeInText 1.5s forwards 0.5s;
        }

        @keyframes fadeInText {
            0% { opacity: 0; transform: translateY(15px); }
            100% { opacity: 1; transform: translateY(0); }
        }

        /* Основной текст (ЕВРАЗИЯ KST) */
        .main-brand {
            font-size: 2.2rem;
            font-weight: 400;
            letter-spacing: 6px;
            color: #2b2b2b;
            text-transform: uppercase;
            line-height: 1.2;
        }

        /* Подзаголовок (Агентство недвижимости) */
        .sub-brand {
            font-size: 1rem;
            font-weight: 300;
            letter-spacing: 3px;
            color: #5a5a5a;
            text-transform: uppercase;
            margin-top: 8px;
            border-top: 1px solid #010101;
            padding-top: 12px;
            display: inline-block;
        }

        /* Основной контент (появляется после загрузки) */
        .content {
            max-width: 1200px;
            width: 90%;
            margin: 2rem auto;
            opacity: 0;
            transition: opacity 1s ease;
            pointer-events: none;
            text-align: center;
        }

        body.loaded .content {
            opacity: 1;
            pointer-events: all;
        }





/* ===== ХЛЕБНЫЕ КРОШКИ ===== */
.breadcrumbs {
    margin: 20px 0 10px;
    color: #f6f9fb;
    font-size: 14px;
    background: #50715417;
    padding: 21px 18px;
    border-radius: 6px;
}

.breadcrumbs a {
    color: #f6f9fb;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumbs a:hover {
    color: var(--primary);
}
		

.footer {
	background: #1e3b4f;
	color: white;
	padding: 36px 0;
	margin-top: 40px;
}
.footer .container {
	display: flex;
	justify-content: space-between;
}

/* ===== ДЕСКТОПНАЯ ШАПКА ===== */
.header {
	/*position: fixed;*/
	/*top: 0;*/
	/*left: 0;*/
	right: 0;
	background: white;
	box-shadow: 0 2px 8px rgba(0,55,103,0.05);
	padding: 12px 0;
	border-bottom: 3px solid var(--primary);
	z-index: 1000;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
	transform: translateY(0);
	opacity: 1;
}

.header.header-hidden {
	transform: translateY(-100%);
	opacity: 0.95;
	pointer-events: none;
}
.header-wrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 0;
}
.logo {
	display: flex;
	align-items: center;
	gap: 10px;
}
.logo-icon { font-size: 30px; color: var(--primary-text); }
.logo-text { font-weight: 800; font-size: 26px; color: #003458; letter-spacing: -0.3px; }
.logo-text span { color: var(--primary-text); }

.nav-links a {
	color: #3d4246;
	text-decoration: none;
	margin: 0 18px;
	font-size: 15px;
	font-weight: 500;
}
.nav-links a.active { color: var(--primary-text); border-bottom: 3px solid var(--primary); padding-bottom: 5px; }

.user-actions {
	display: flex;
	align-items: center;
	gap: 24px;
}
.btn-add {
	background: var(--primary);
	color: white;
	border: none;
	padding: 10px 22px;
	border-radius: 30px;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	transition: 0.15s;
}
.btn-add:hover { background: var(--brand-dark); }
.avatar { font-size: 30px; color: #8aa9c0; }

/* ===== МОБИЛЬНАЯ ШАПКА ===== */
.mobile-header {
	display: none;
	background: white;
	padding: 12px 16px;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid var(--border-gray);
	position: sticky;
	top: 0;
	z-index: 10;
	backdrop-filter: blur(10px);
	background: rgba(255,255,255,0.95);
}

.mobile-logo {
	display: flex;
	align-items: center;
	gap: 6px;
}

.mobile-logo i {
	font-size: 24px;
	color: var(--primary);
}

.mobile-logo span {
	font-weight: 800;
	font-size: 20px;
	color: #003458;
}

.mobile-logo span span {
	color: var(--primary);
}

.mobile-actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

.mobile-actions i {
	font-size: 22px;
	color: #2d506a;
}

.add-btn-mob {
	background: var(--primary);
	color: white;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	box-shadow: 0 4px 8px rgba(80, 113, 84, 0.3);
}

/* ===== МОБИЛЬНАЯ НАВИГАЦИЯ ===== */
.scroll-nav {
	display: none;
	padding: 12px 16px 8px;
	white-space: nowrap;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	background: white;
	border-bottom: 1px solid var(--border-gray);
}

.scroll-nav::-webkit-scrollbar {
	display: none;
}

.nav-chip {
	display: inline-flex;
	background: #f0f5f9;
	padding: 8px 16px;
	border-radius: 8px;
	margin-right: 8px;
	font-weight: 500;
	font-size: 14px;
	color: #2d506a;
	border: 1px solid #dde5ea;
}

.nav-chip.active {
	background: var(--primary);
	color: white;
	border-color: var(--primary);
}

.nav-chip i {
	margin-right: 6px;
	font-size: 16px;
}

/* ===== ФИЛЬТР ===== */
.filter-region-link {
    position: relative;
    display: inline-block;
}

.region-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 30px;
    padding: 0px 0px;
    color: #1e506b;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s;
}



.region-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #d1e2ed;
    border-radius: 10px;
    padding: 8px 0;
    min-width: 200px;
    box-shadow: 0 4px 14px rgba(0, 45, 65, 0.1);
    z-index: 100;
    display: none;
    margin-top: 5px;
}

.region-dropdown.show {
    display: block;
}

.region-dropdown a {
    display: block;
    padding: 10px 20px;
    color: #1e506b;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.region-dropdown a:hover {
    background: var(--brand-light);
    color: var(--primary);
}

/* Обновленные стили для фильтра */
.filter-section {
    background: white;
    border-radius: var(--radius-md);
    padding: 14px 18px;
    margin-bottom: 30px;
    box-shadow: 0 4px 14px rgba(0, 45, 65, 0.06);
    border: 1px solid #7e9a8157;
}

.filter-grid {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fbfbfb;
    border: 1px solid #d1e2ed;
    border-radius: 30px;
    padding: 3px 15px;
    height: 45px;
}

.filter-item i {
    color: var(--primary);
    font-size: 16px;
}

.filter-item select,
.filter-item input {
    border: none;
    background: transparent;
    font-weight: 500;
    color: #1e506b;
    outline: none;
    font-size: 14px;
    cursor: pointer;
}

.filter-item select {
    min-width: 85px;
}

.filter-item.price-range {
    padding: 6px 12px;
}

.price-input {
    width: 70px;
    text-align: center;
}

.price-input::placeholder {
    color: #a0c0d2;
}

.filter-item .separator {
    color: #a0c0d2;
    font-weight: 500;
    margin: 0 2px;
}

/* Чекбоксы */
.filter-checkboxes {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 5px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #1e506b;
    cursor: pointer;
    white-space: nowrap;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
}

.notification-toggle-label {
    font-weight: 600;
    white-space: normal;
}

/* Кнопка На карте */
.filter-map-btn {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 30px;
    padding: 0 22px;
    height: 48px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: 0.15s;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.filter-map-btn:hover {
    background: var(--brand-light);
}

.filter-map-btn i {
    font-size: 16px;
}

/* Кнопка Найти */
.filter-submit {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 0 28px;
    height: 48px;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    transition: 0.15s;
    white-space: nowrap;
}

.filter-submit:hover {
    background: var(--brand-dark);
}

/* Динамические поля */
.dynamic-fields {
    display: contents;
}

/* ===== ПАНЕЛЬ УПРАВЛЕНИЯ СПИСКОМ (НОВЫЙ БЛОК) ===== */
        .list-controls {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 18px;
            background: #ffffff;
            padding: 12px 16px;
            border-radius: 14px;
            border: 1px solid #d5e4d7;
            box-shadow: 0 8px 22px rgba(48, 75, 54, 0.06);
        }
        .found-count {
            font-size: 16px;
            font-weight: 600;
            color: #304b36;
        }
        .found-count span {
            color: var(--primary);
            font-weight: 800;
            font-size: 18px;
            margin-right: 5px;
        }
        .sort-controls {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        .sort-label {
            font-size: 14px;
            color: #718077;
        }
        .sort-options {
            display: flex;
            gap: 8px;
        }
        .sort-option {
            padding: 6px 16px;
            border-radius: 30px;
            font-weight: 600;
            font-size: 13px;
            cursor: pointer;
            border: 1px solid #d5e4d7;
            background: #ffffff;
            color: #456052;
            transition: 0.15s;
            text-decoration: none;
        }
        .sort-option:hover {
            border-color: #507154;
        }
        .sort-option.active {
            background: #507154;
            color: white;
            border-color: #507154;
        }


/* РАЗДВИЖНАЯ ПАНЕЛЬ ФИЛЬТРА */
.expand-btn {
	background: #eaf3f0;
	border: 1px solid var(--brand-light);
	border-radius: 30px;
	padding: 10px 18px;
	font-weight: 700;
	color: var(--brand-dark);
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	margin-left: auto;
}
.expand-btn .material-icons { font-size: 22px; }
.expand-panel {
	display: none;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	background: #f8fdfe;
	margin-top: 18px;
	padding: 24px 28px;
	border-radius: var(--radius-md);
	border: 1px solid #c7e0d9;
}
.expand-panel.show { display: grid; }
.panel-field {
	display: flex;
	flex-direction: column;
}
.panel-field label {
	font-size: 12px;
	font-weight: 700;
	color: #3b735b;
	margin-bottom: 6px;
	text-transform: uppercase;
}
.panel-field input, .panel-field select {
	padding: 10px 0;
	border: none;
	background: transparent;
	border-bottom: 2px solid #c2ddcf;
	font-weight: 500;
	color: #1b4c33;
	outline: none;
}

/* ===== ОСНОВНАЯ СЕТКА ===== */
        .content-grid {
            display: grid;
            grid-template-columns: minmax(0, 10fr) minmax(0, 4fr);
            gap: 18px;
            margin: 18px 0;
            min-width: 0;
        }

        /* левая колонка — карточки */
        .listing-grid {
            display: flex;
            flex-direction: column;
            gap: 14px;
            min-width: 0;
        }

        /* большие карточки */
        .card {
            background: #ffffff;
            height: 200px;
            min-width: 0;
            width: 100%;
            box-sizing: border-box;
            border-radius: 14px;
            border: 1px solid #d5e4d7;
            display: flex;
            padding: 0;
            gap: 0;
            box-shadow: 0 8px 22px rgba(48, 75, 54, 0.06);
            transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
            position: relative;
        }
        .card:hover {
            box-shadow: 0 14px 28px rgba(48, 75, 54, 0.14);
            border-color: #507154;
            transform: translateY(-2px);
        }
        .card--exclusive {
            border-color: #87a88b;
            background: #f4f8f4;
        }

        /* слайдер фото */
        .card-slider {
            position: relative;
            width: 250px;
            min-height: 194px;
            background: #edf4ee;
            overflow: hidden;
            flex-shrink: 0;
            border-radius: 8px 0 0 8px;
        }
        .slider-container {
            position: relative;
            width: 100%;
            height: 217px;
        }
        .search-card-image-skeleton {
            position: absolute;
            inset: 0;
            z-index: 0;
            display: block;
            background: linear-gradient(110deg, #e6f0e8 8%, #f7fbf8 18%, #e6f0e8 33%);
            background-size: 200% 100%;
            animation: search-card-image-skeleton 1.25s linear infinite;
        }
        .search-card-image.is-image-ready .search-card-image-skeleton,
        .search-card-image.is-image-error .search-card-image-skeleton {
            display: none;
        }
        .slider-container .search-card-slide.is-image-loading.active {
            opacity: 0;
        }
        @keyframes search-card-image-skeleton {
            to { background-position: -200% 0; }
        }
        .slider-container .slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0;
            transition: opacity 0.3s ease-in-out;
            display: block;
        }
        .slider-container .slide.active {
            opacity: 1;
            z-index: 1;
        }
        .badge-data {
            position: absolute;
            top: 10px;
            left: 10px;
            background: #363636;
            backdrop-filter: blur(2px);
            color: white;
            padding: 3px 10px;
            border-radius: 6px;
            font-size: 11px;
            font-weight: 500;
            z-index: 20;
        }
        .badge-verified-ribbon {
            position: absolute;
            top: 32px;
            right: -40px;
            transform: rotate(40deg);
            background: #f5b342;
            color: #304b36;
            font-size: 12px;
            font-weight: 700;
            padding: 4px 34px;
            z-index: 21;
            white-space: nowrap;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
        }
        .badge-exclusive-ribbon {
            position: absolute;
            bottom: 15px;
            left: 10px;
            background: #507154;
            color: #fff;
            font-size: 11px;
            font-weight: 700;
            padding: 4px 10px;
            border-radius: 8px;
            z-index: 22;
            white-space: nowrap;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
        }
        .badge-exclusive-ribbon + .badge-verified-ribbon {
            top: 34px;
        }
        .slider-nav {
            position: absolute;
            bottom: 10px;
            right: 10px;
            display: flex;
            gap: 6px;
            z-index: 20;
        }
        .slider-nav span {
            background: rgba(255, 255, 255, 0.9);
            color: #333;
            width: 32px;
            height: 32px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 15px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.2);
            transition: all 0.2s;
            backdrop-filter: blur(2px);
        }
        .slider-nav span:hover {
            background: white;
            transform: scale(1.05);
        }
        .indicator {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.6);
            cursor: pointer;
            transition: all 0.2s;
        }
        .indicator.active {
            background: var(--primary);
            transform: scale(1.2);
        }

        .card-info {
            flex: 2;
            min-width: 0;
            overflow: hidden;
            padding: 0px 10px 5px 15px;
            color: inherit;
            text-decoration: none;
        }
        .card-header {
            display: flex;
			justify-content: space-between;
            align-items: center;
            gap: 16px;
            margin-bottom: 8px;
            min-width: 0;
            flex-wrap: nowrap;
        }
        .card-title {
            display: block;
            flex: 1 1 auto;
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-size: 17px;
            font-weight: 700;
            color: #363636;
            line-height: 1.3;
        }
        .card-badges {
            display: flex;
            flex: 0 0 auto;
            min-width: 0;
            max-width: 40%;
            gap: 8px;
            flex-wrap: wrap;
            justify-content: flex-end;
        }
		/* Стили для тултипов */
[title] {
    position: relative;
    cursor: pointer;
}

/* Основной блок тултипа */
[title]:hover::after {
    content: attr(title);
    position: absolute;
    /* Центрирование */
    bottom: calc(100% + 0px); /* Всегда над элементом с небольшим зазором */
    left: 50%;
    transform: translateX(-50%);
    
    /* Оформление */
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 400;
    white-space: nowrap;
    z-index: 9999;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    /* Анимация появления (по желанию) */
    animation: tooltipFade 0.2s ease-in-out;
}

/* Треугольник (стрелочка) */
[title]:hover::before {
    content: '';
    position: absolute;
    bottom: calc(100% + -9px); /* Стык с элементом */
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.85) transparent transparent transparent;
    z-index: 9999;
    pointer-events: none;
}

/* Чтобы родной браузерный тултип не мешал (необязательно, но желательно) */
/* [title] { pointer-events: auto; } */

@keyframes tooltipFade {
    from { opacity: 0; transform: translateX(-50%) translateY(5px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
        .badge-hot {
            background: #fc3e3e;
            color: white;
            padding: 4px 7px;
            border-radius: 30px;
            font-size: 11px;
            font-weight: 700;
        }
        .badge-top {
            background: #ff6d00;
            color: white;
            padding: 4px 8px;
            border-radius: 30px;
            font-size: 11px;
            font-weight: 900;
        }
		.badge-tops {
            background: #ff6d00;
            color: white;
            padding: 4px 8px;
            border-radius: 30px;
            font-size: 11px;
            font-weight: 900;
        }
		.badge-vip {
            background: #ffb01b;
            color: white;
            padding: 4px 7px;
            border-radius: 30px;
            font-size: 11px;
            font-weight: 700;
        }
		.badge-vips {
			position: absolute;
			top: 10px;
			right: 15px;
			background: #ffb01b;
			color: white;
			padding: 4px 7px;
			border-radius: 30px;
			font-size: 11px;
			font-weight: 700;
		}
		.badge-vipplus {
            background: #ffb01b;
            color: white;
            padding: 4px 7px;
            border-radius: 30px;
            font-size: 11px;
            font-weight: 700;
        }
		.badge-bargain {
			position:absolute;
			left:10px;
			bottom:10px;
			width:111px;
            background: #ffe213;
            color: #545151;
            padding: 2px 8px;
            border-radius: 30px;
            font-size: 11px;
            font-weight: 600;
			z-index:999;
        }
        .card-location {
            display: flex;
            align-items: baseline;
            gap: 6px;
            min-width: 0;
            overflow: hidden;
            color: #456052;
            font-size: 14px;
            margin-bottom: 12px;
            background: #f4f8f4;
            padding: 5px 5px 5px 10px;
            border-radius: var(--radius);
            width: 100%;
        }
        .card-location .material-icons { font-size: 15px; color: #507154; }
        .card-location-text {
            display: block;
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .card-params {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin: 10px 0 0px 10px;
        }
        .param {
            display: flex;
            align-items: baseline;
            gap: 4px;
            font-weight: 600;
            color: #456052;
        }
        .param .material-icons { color: #507154; font-size: 15px; }
        .param .label {
            font-size: 12px;
            color: #718077;
            margin-left: 0px;
            margin-top: 2px;
        }

        .card-description {
            display: block;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-size: 14px;
            color: #5f6e63;
            line-height: 1.5;
            margin-top: 10px;
            border-top: 1px dashed #c1ddd0;
            padding-top: 10px;
        }

        .card-side {
            min-width: 195px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-between;
            border-left: 1px solid #e1ebe3;
            padding: 16px 16px 16px 18px;
        }

        /* Узкий десктоп: сохраняем горизонтальную карточку и не даём тексту раздвигать её. */
        @media (min-width: 769px) and (max-width: 1285px) {
            .card-slider {
                width: clamp(190px, 24vw, 250px);
            }

            .card-info {
                padding-inline: 10px;
            }

            .card-title {
                font-size: clamp(14px, 1.25vw, 17px);
            }

            .card-location {
                font-size: clamp(12px, 1.05vw, 14px);
            }

            .card-params {
                min-width: 0;
                overflow: hidden;
                flex-wrap: nowrap;
                gap: clamp(4px, .8vw, 12px);
                margin-left: 0;
            }

            .card-params .param {
                flex: 1 1 0;
                min-width: 0;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                font-size: clamp(10px, .9vw, 14px);
            }

            .card-params .param .material-icons {
                flex: 0 0 auto;
                font-size: clamp(11px, 1vw, 15px);
            }

            .card-params .param .label {
                font-size: clamp(9px, .7vw, 12px);
                white-space: nowrap;
            }

            .card-side {
                min-width: clamp(160px, 17vw, 195px);
                padding-inline: 10px;
            }
        }
        .price-block {
            text-align: right;
        }
        .price-main {
            font-size: 21px;
            font-weight: 800;
            color: #363636;
            line-height: 1.2;
        }
        .price-meta {
            color: #507154;
            font-size: 13px;
            margin: 5px 0 10px;
        }
        .badge-owner {
			display: inline-block;
            background: #edf4ee;
            color: #456052;
            border: 1px solid #d5e4d7;
			border-radius: 20px;
			padding: 2px 10px;
			font-size: 12px;
			font-weight: 600;
			width: 100%;
			text-align: center;
		}
        .badge-agent {
			display: flex;
			background: #507154;
			color: #ffffff;
			border: 1px solid #4c7050;
			border-radius: 20px;
			padding: 2px 10px;
			font-size: 12px;
			font-weight: 600;
			width: 100%;
			text-align: center;
		}
        .card-actions {
            width: 100%;
        }
        .btn-flat {
            background: #507154;
            color: white;
            border: none;
            padding: 12px 16px;
            border-radius: 30px;
            font-weight: 700;
            width: 100%;
            cursor: pointer;
            margin-bottom: 20px;
        }
        .btn-flat:hover { background: #3d5f41; }
        .card-footnote {
            font-size: 11px;
            color: #678f7b;
            display: flex;
            justify-content: space-between;
            width: 100%;
            margin-top: 15px;
        }
        .card-footnote i { color: #507154; }
        .card-footnote .favorite-btn.active i { color: var(--danger); }

        /* ===== ПРАВАЯ КОЛОНКА ===== */
        .right-sidebar {
            display: flex;
            flex-direction: column;
            min-width: 0;
        }

        /* Заголовок правого блока (НОВЫЙ) */
        .sidebar-title {
            font-size: 18px;
            font-weight: 800;
            color: #304b36;
            margin-bottom: 5px;
            padding: 0 5px;
        }
        .sidebar-title span {
            color: var(--primary);
            font-size: 14px;
            font-weight: 600;
            margin-left: 10px;
        }

        /* мини-карточки */
        .mini-card {
            background: white;
            border-radius: var(--radius);
            border: 1px solid #7e9a8157;
            overflow: hidden;
            transition: 0.1s;
            display: flex;
            align-items: stretch;
            min-width: 0;
            min-height: 115px;
			margin-bottom: 10px;
        }
        .mini-card:hover { border-color: var(--primary);box-shadow: var(--shadow);}
        .mini-card-link {
            display: block;
            min-width: 0;
            max-width: 100%;
        }
        .mini-photo {
            width: 115px;
            flex-shrink: 0;
            background: #ffffff;
            position: relative;
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23507154" opacity="0.15"><path d="M3 13h8V3H3v10zm0 8h8v-6H3v6zm10 0h8V11h-8v10zm0-18v6h8V3h-8z"/></svg>');
            background-repeat: no-repeat;
            background-position: center;
            background-size: 50px;
        }
        .mini-photo img {
			position: absolute;
			top: 9px;
			left: 10px;
			width: 89%;
			height: 84%;
			object-fit: cover;
			border-radius: var(--radius);
		}
        .mini-content {
            flex: 1;
            min-width: 0;
            padding: 8px 14px;
            display: flex;
            flex-direction: column;
        }
        .mini-title {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 600;
            font-size: 15px;
            color: #002a41;
            margin-bottom: 0px;
        }
        .mini-title > span {
            display: block;
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .mini-price {
            color: #3f403f;
            font-weight: 800;
            font-size: 16px;
            min-width: 0;
            max-width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
		.mini-desc{
			color: #2e3230;
            font-weight: 500;
		}
        .mini-location {
            display: flex;
            align-items: center;
            gap: 4px;
            min-width: 0;
            overflow: hidden;
            color: #507154;
            margin-bottom: 0px;
            font-size: 12px;
        }
        .mini-location .material-icons { font-size: 13px; }
        .mini-location-text {
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .mini-desc {
            font-size: 12px;
            color: #2e3230;
            border-top: 1px dashed #c9e2d3;
            padding-top: 6px;
            margin-top: auto;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }





/* ===== КАЛЬКУЛЯТОР ===== */
.calc-mini {
	background: linear-gradient(135deg, #ffffff 0%, #f6fbfa 100%);
	border-radius: 24px;
	padding: 32px 36px;
	margin: 30px 0 20px;
	border: 1px solid #cce8df;
	box-shadow: 0 16px 50px rgba(34, 107, 79, 0.10);
	display: flex;
	gap: 36px;
	flex-wrap: wrap;
	position: relative;
	overflow: hidden;
}
.calc-mini::before {
	content: '';
	position: absolute;
	top: -60px;
	right: -60px;
	width: 220px;
	height: 220px;
	background: radial-gradient(circle, rgba(80, 154, 124, 0.10) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}
.calc-mini::after {
	content: '';
	position: absolute;
	bottom: -80px;
	left: -80px;
	width: 280px;
	height: 280px;
	background: radial-gradient(circle, rgba(242, 201, 93, 0.10) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}
.calc-left { flex: 2; min-width: 280px; position: relative; z-index: 1; }
.calc-head { margin-bottom: 24px; }
.calc-head h3 {
	font-size: 26px;
	font-weight: 800;
	color: #0c3a2e;
	margin: 0 0 6px;
	display: flex;
	align-items: center;
	gap: 12px;
}
.calc-head-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	background: linear-gradient(135deg, var(--primary) 0%, #2f5f4b 100%);
	color: #fff;
	border-radius: 12px;
	box-shadow: 0 6px 14px rgba(61, 139, 107, 0.30);
}
.calc-subtitle {
	font-size: 15px;
	color: #5e7a72;
	margin: 0;
	padding-left: 54px;
	line-height: 1.55;
}
.calc-fields-grid {
	display: grid;
	/* Поля калькулятора всегда идут парой в строке на десктопах и ноутбуках. */
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}
.calc-field {
	background: #ffffff;
	border: 1px solid #d4ebe4;
	border-radius: 16px;
	padding: 16px 18px;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.calc-field:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(61, 139, 107, 0.10);
	border-color: #a7d6c6;
}
.calc-field label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: 14px;
	color: #1f4a3d;
	margin-bottom: 4px;
}
.calc-field label i {
	color: var(--primary);
	font-size: 14px;
}
.calc-hint {
	font-size: 12px;
	color: #759384;
	margin: 0 0 10px;
	line-height: 1.45;
	min-height: 34px;
}
.calc-input-wrap {
	display: flex;
	align-items: center;
	border: 1px solid #c5ded4;
	border-radius: 12px;
	background: #f9fcfb;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.calc-input-wrap:focus-within {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(61, 139, 107, 0.12);
}
.calc-input-wrap input[type="text"] {
	flex: 1;
	border: none;
	background: transparent;
	padding: 11px 12px;
	font-size: 15px;
	font-weight: 700;
	color: #0c3a2e;
	outline: none;
	min-width: 0;
}
.calc-input-unit {
	padding: 0 12px;
	font-size: 13px;
	font-weight: 700;
	color: var(--primary);
	background: #eaf5f1;
	align-self: stretch;
	display: inline-flex;
	align-items: center;
	border-left: 1px solid #d4ebe4;
}
.calc-value {
	display: block;
	margin-top: 8px;
	font-size: 12px;
	font-weight: 600;
	color: var(--primary);
}
.calc-right {
	flex: 1;
	min-width: 260px;
	background: linear-gradient(160deg, #ffffff 0%, #f1f8f5 100%);
	border-radius: 20px;
	padding: 28px;
	border: 1px solid #cbe7de;
	text-align: center;
	position: relative;
	z-index: 1;
	box-shadow: inset 0 0 30px rgba(61, 139, 107, 0.04);
}
.calc-result-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--primary);
	background: #ffffff;
	border: 1px solid #cbe7de;
	border-radius: 20px;
	padding: 5px 12px;
	margin-bottom: 12px;
}
.calc-result-label {
	font-weight: 600;
	color: #5e7a72;
	font-size: 15px;
	margin-bottom: 6px;
}
.calc-amount {
	font-size: 48px;
	font-weight: 900;
	color: #1f4a3d;
	line-height: 1;
	margin: 12px 0 18px;
	text-shadow: 0 2px 0 rgba(255,255,255,0.8);
}
.calc-result-rows {
	background: #ffffff;
	border-radius: 14px;
	padding: 14px 16px;
	margin: 0 0 16px;
	border: 1px dashed #c5ded4;
}
.calc-result-rows .sum {
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	color: #5e7a72;
	padding: 7px 0;
	border-bottom: 1px solid #eef5f3;
}
.calc-result-rows .sum:last-child { border-bottom: none; }
.calc-result-rows .sum span {
	font-weight: 800;
	color: #1f4a3d;
}
.calc-right .sum-text {
	font-size: 11px;
	color: #8ba89e;
	line-height: 1.4;
	margin: 0 0 16px;
}
.calc-right .btn-primary {
	border-radius: 12px;
	padding: 13px 20px;
	font-weight: 700;
	box-shadow: 0 8px 18px rgba(61, 139, 107, 0.28);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.calc-right .btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 24px rgba(61, 139, 107, 0.35);
}
@media (max-width: 768px) {
	.calc-mini { padding: 24px; gap: 24px; }
	.calc-fields-grid { grid-template-columns: 1fr; }
	.calc-right { min-width: unset; width: 100%; }
	.calc-amount { font-size: 36px; }
}

/* ===== МОДАЛЬНОЕ ОКНО ЗАЯВКИ НА ИПОТЕКУ ===== */
.calc-modal {
	background: linear-gradient(135deg, #ffffff 0%, #f6fbfa 100%);
	border-radius: 24px;
	padding: 34px;
	border: 1px solid #cce8df;
	box-shadow: 0 24px 70px rgba(34, 107, 79, 0.18);
	position: relative;
	overflow: hidden;
}
.calc-modal::before {
	content: '';
	position: absolute;
	top: -70px;
	right: -70px;
	width: 200px;
	height: 200px;
	background: radial-gradient(circle, rgba(80, 154, 124, 0.10) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}
.calc-modal::after {
	content: '';
	position: absolute;
	bottom: -90px;
	left: -90px;
	width: 260px;
	height: 260px;
	background: radial-gradient(circle, rgba(242, 201, 93, 0.10) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}
.calc-modal > * { position: relative; z-index: 1; }
.calc-modal .modal-close {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #eaf5f1;
	border-radius: 50%;
	color: #1f4a3d;
	font-size: 22px;
	transition: background 0.2s ease, color 0.2s ease;
	z-index: 2;
}
.calc-modal .modal-close:hover {
	background: #ffeded;
	color: #c62828;
}
.calc-modal-head {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 26px;
}
.calc-modal-icon {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	background: linear-gradient(135deg, var(--primary) 0%, #2f5f4b 100%);
	color: #fff;
	border-radius: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	box-shadow: 0 6px 16px rgba(61, 139, 107, 0.30);
}
.calc-modal-head h2 {
	font-size: 24px;
	font-weight: 800;
	color: #0c3a2e;
	margin: 0 0 6px;
}
.calc-modal-subtitle {
	font-size: 14px;
	color: #5e7a72;
	margin: 0;
	line-height: 1.5;
}
.calc-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.calc-form-row {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 18px;
}
.calc-form-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.calc-form-field label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: 13px;
	color: #1f4a3d;
}
.calc-form-field label i {
	color: var(--primary);
	font-size: 13px;
}
.calc-form-control {
	border: 1px solid #c5ded4;
	border-radius: 12px;
	background: #f9fcfb;
	padding: 12px 14px;
	font-size: 14px;
	color: #0c3a2e;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	width: 100%;
}
.calc-form-control::placeholder { color: #9db8ad; }
.calc-form-control:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(61, 139, 107, 0.12);
	background: #ffffff;
}
textarea.calc-form-control { resize: vertical; min-height: 86px; }
.calc-select-wrap {
	position: relative;
}
.calc-select-wrap::after {
	content: '\f078';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 12px;
	color: var(--primary);
	pointer-events: none;
}
.calc-select-wrap select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	padding-right: 38px;
	cursor: pointer;
}
.calc-form-message {
	padding: 12px 14px;
	border-radius: 12px;
	font-size: 13px;
	font-weight: 600;
	text-align: center;
}
.calc-form-message[style*="color: rgb(46, 125, 54)"],
.calc-form-message[style*="color: #2e7d32"] {
	background: #e8f5e9;
}
.calc-form-message[style*="color: rgb(198, 40, 53)"],
.calc-form-message[style*="color: #c62828"] {
	background: #ffebee;
}
.calc-form-success {
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 10px;
	padding: 28px 22px;
	border-radius: 16px;
	background: linear-gradient(135deg, #e8f5e9 0%, #d4edda 100%);
	border: 1px solid #b2dfba;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 10px 30px rgba(46, 125, 50, 0.12);
	animation: calcSuccessPop 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.calc-form-success.active {
	display: flex;
}
@keyframes calcSuccessPop {
	0% { opacity: 0; transform: scale(0.92) translateY(12px); }
	100% { opacity: 1; transform: scale(1) translateY(0); }
}
.calc-success-icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #2e7d32;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 30px;
	box-shadow: 0 8px 22px rgba(46, 125, 50, 0.28);
}
.calc-success-title {
	font-size: 22px;
	font-weight: 800;
	color: #1b5e20;
	line-height: 1.25;
}
.calc-success-text {
	font-size: 15px;
	font-weight: 500;
	color: #2e7d32;
	line-height: 1.4;
}
.calc-form-submit {
	border-radius: 12px;
	padding: 14px 20px;
	font-weight: 700;
	font-size: 15px;
	box-shadow: 0 8px 18px rgba(61, 139, 107, 0.28);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.calc-form-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 24px rgba(61, 139, 107, 0.35);
}
@media (max-width: 576px) {
	.calc-modal { padding: 24px 20px; }
	.calc-form-row { grid-template-columns: 1fr; }
}

/* ===== НАВИГАЦИЯ ПО КАТЕГОРИЯМ (НОВЫЙ БЛОК) ===== */
.category-nav {
	background: #ffffff;
	border-radius: 14px;
	padding: 0px 18px;
	margin: 15px 0 20px;
	box-shadow: 0 8px 22px rgba(48, 75, 54, 0.06);
	border: 1px solid #d5e4d7;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 25px;
}
.category-nav a {
	color: #456052;
	text-decoration: none;
	font-size: 15px;
	font-weight: 500;
	transition: 0.15s;
	white-space: nowrap;
}
.category-nav a:hover {
	color: var(--primary);
}
.category-nav a.active {
	color: var(--primary);
	border-bottom: 2px solid var(--primary);
	padding-bottom: 3px;
}
.category-nav .separator {
	color: #a9bcae;
	font-weight: 300;
}

/* ===== ОТЗЫВЫ ===== */
.reviews-section {
	position: relative;
	margin: 30px 0 40px;
}

.reviews-slider {
	display: flex;
	gap: 18px;
	overflow: hidden;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
}

.reviews-slider .review-card {
	background: white;
	border-radius: var(--radius);
	padding: 22px;
	border: 1px solid #deefe7;
	flex: 0 0 calc(33.333% - 12px);
	display: flex;
	flex-direction: column;
	min-height: 185px;
	scroll-snap-align: start;
}

.reviewer {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 14px;
}

.reviewer-avatar {
	width: 48px;
	height: 48px;
	background: var(--brand-light);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	color: var(--primary);
	flex-shrink: 0;
}

.stars {
	color: #f5b342;
	letter-spacing: 1px;
}

.review-text-wrapper {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.review-text-truncated {
	color: #424344;
	line-height: 1.5;
	font-style: italic;
	font-size: 14px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 15px;
	flex: 1;
	padding-right: 5px;
}

.review-text-truncated.expanded {
	-webkit-line-clamp: unset;
	overflow: visible;
}

.review-expand-btn {
	background: none;
	border: none;
	color: var(--primary);
	cursor: pointer;
	font-weight: 500;
	padding: 0;
	margin-top: auto;
	text-align: left;
	text-decoration: underline;
	font-size: 14px;
	transition: color 0.2s;
}

.review-expand-btn:hover {
	color: var(--brand-dark);
}

.slider-nav-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: white;
	border: 1px solid var(--border-gray);
	border-radius: 50%;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--primary);
	font-size: 18px;
	transition: all 0.3s;
	z-index: 5;
}

.slider-nav-btn:hover {
	background: var(--primary);
	color: white;
	border-color: var(--primary);
}

.slider-nav-btn.prev {
	left: -22px;
}

.slider-nav-btn.next {
	right: -22px;
}

/* ===== ПАГИНАЦИЯ ===== */
.pagination {
	display: flex; justify-content: center; gap: 8px; margin: 40px 0 30px;
}
.page {
	background: white; padding: 10px 20px; border-radius: 8px; font-weight: 700; color: var(--primary);
	border: 1px solid #c9e0d4; cursor: pointer;
}
.page.active { background: var(--primary); color: white; border: none; }

.footer {
	background: #1f384b; color: white; padding: 36px 0; margin-top: 40px; border-top: 4px solid var(--primary);
}

/* Нижняя навигация (только на мобильных) */
.bottom-nav {
	display: none;
	background: white;
	border-top: 1px solid var(--border-gray);
	justify-content: space-around;
	padding: 8px 16px 12px;
	position: sticky;
	bottom: 0;
	z-index: 10;
	backdrop-filter: blur(10px);
	background: rgba(255,255,255,0.95);
}

.nav-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	color: #8aa9c0;
	font-size: 12px;
}

.nav-item i {
	font-size: 22px;
	margin-bottom: 2px;
}

.nav-item.active {
	color: var(--primary);
	font-weight: 500;
}
		
/* Кнопка назад */
.back-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--primary);
	font-weight: 500;
	font-size: 14px;
	text-decoration: none;
	margin: 10px 0 20px;
	padding: 8px 0;
}
.back-link:hover {
	color: var(--brand-dark);
}

/* Основной лэйаут - 8 и 4 колонки */
.object-layout {
	display: grid;
	grid-template-columns: calc(100% - 400px) 402px;
	gap: 24px;
	width: 100%;
}

/* Левая колонка (8 колонок) */
.left-column {
	background: white;
	border-radius: var(--radius);
	border: 1px solid var(--border-gray);
	padding: 24px;
}

/* Галерея с прокруткой миниатюр */
.object-gallery {
	margin-bottom: 30px;
	position: relative;
}
.main-image {
	aspect-ratio: 16/9;
	background: var(--brand-light);
	border-radius: var(--radius);
	overflow: hidden;
	margin-bottom: 15px;
	cursor: pointer;
	transition: opacity 0.2s;
}
.main-image:hover {
	opacity: 0.9;
}
.main-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Кнопка избранного на фото */
.favorite-on-image {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 5;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: white;
	border: 1px solid var(--border-gray);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.favorite-on-image i {
	font-size: 20px;
	color: #1e3b4f;
}
.favorite-on-image.active {
	background: #ffeded;
	border-color: #ff6b6b;
}
.favorite-on-image.active i {
	color: #ff6b6b;
}
.favorite-on-image:hover {
	transform: scale(1.1);
}

/* Контейнер для миниатюр с горизонтальной прокруткой */
.gallery-thumbs-container {
	position: relative;
	width: 100%;
}
.gallery-thumbs {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding: 5px 0 10px;
	scrollbar-width: thin;
	scrollbar-color: var(--primary) var(--border-gray);
	-webkit-overflow-scrolling: touch;
}
.gallery-thumbs::-webkit-scrollbar {
	height: 6px;
}
.gallery-thumbs::-webkit-scrollbar-track {
	background: var(--border-gray);
	border-radius: 10px;
}
.gallery-thumbs::-webkit-scrollbar-thumb {
	background: var(--primary);
	border-radius: 10px;
}

.thumb {
	flex: 0 0 auto;
	width: 93px;
	height: 65px;
	background: var(--brand-light);
	border-radius: var(--radius-md);
	overflow: hidden;
	cursor: pointer;
	border: 2px solid transparent;
	transition: all 0.2s;
}
.thumb:hover {
	border-color: var(--primary);
}
.thumb.active {
	border-color: var(--primary);
}
.thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Заголовок и цена */
.object-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 25px;
}
.object-title h1 {
	font-size: 28px;
	font-weight: 700;
	color: #424344;
	margin-bottom: 8px;
}
.object-location {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--text-soft);
}
.object-location i {
	color: var(--primary);
}
.object-price-block {
	text-align: right;
}
.object-prices {
	font-size: 36px;
	font-weight: 700;
	color: var(--primary);
	line-height: 1.2;
}
.object-price-label {
	font-size: 14px;
	color: var(--text-soft);
}

/* Кнопки действий с тултипами */
.action-buttons {
	display: flex;
	gap: 10px;
	margin: 15px 0 5px;
}
.action-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 20px;
	border-radius: 30px;
	font-weight: 500;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.2s;
	border: none;
	background: #f0f5f9;
	color: #1e3b4f;
}
.action-btn i {
	font-size: 16px;
}

/* Тултипы */
[data-tooltip]:before {
	content: attr(data-tooltip);
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%) translateY(-8px);
	background: #1e2a36;
	color: white;
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 500;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	transition: all 0.2s;
	pointer-events: none;
	z-index: 100;
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
[data-tooltip]:hover:before {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(-12px);
}

/* Ссылка "Пожаловаться на объявление" */
.complaint-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--text-soft);
	font-size: 13px;
	text-decoration: none;
	margin: 10px 0;
	padding: 6px 12px;
	border-radius: 30px;
	background: #f0f5f9;
	transition: all 0.2s;
	cursor: pointer;
}
.complaint-link:hover {
	color: #ff6b6b;
	background: #ffeded;
}
.complaint-link i {
	font-size: 14px;
}

/* Модальное окно */
.modal-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
	z-index: 1000;
	backdrop-filter: blur(5px);
}
.modal-overlay.active {
	display: flex;
	align-items: center;
	justify-content: center;
}
.claim-modal {
	background: white;
	border-radius: var(--radius);
	padding: 30px;
	max-width: 500px;
	width: 90%;
	max-height: 120vh;
	position: relative;
	box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.modal-close {
	position: absolute;
	top: 20px;
	right: 20px;
	font-size: 24px;
	cursor: pointer;
	color: var(--text-soft);
	transition: color 0.2s;
}
.modal-close:hover {
	color: #ff6b6b;
}
.claim-modal h2 {
	font-size: 22px;
	font-weight: 700;
	color: #424344;
	margin-bottom: 20px;
}

/* Стили для формы жалобы */
.claim-modal-form__reasons {
	margin-bottom: 20px;
}
.kr-radio {
	margin-bottom: 12px;
	display: flex;
	align-items: center;
}
.kr-radio input[type="radio"] {
	width: 18px;
	height: 18px;
	margin-right: 10px;
	accent-color: var(--primary);
}
.kr-radio-control {
	font-size: 15px;
	color: #1e3b4f;
	cursor: pointer;
}
.claim-modal-form__input {
	margin-bottom: 20px;
}
.claim-modal-form__input textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--border-gray);
	border-radius: var(--radius-md);
	font-size: 14px;
	resize: vertical;
	min-height: 100px;
	outline: none;
	transition: border-color 0.2s;
}
.claim-modal-form__input textarea:focus {
	border-color: var(--primary);
}
.claim-modal-form__footer {
	text-align: center;
}
.claim-modal-form__input {
	display: none;
}
.claim-modal-form__input.visible {
	display: block;
}
.kr-btn {
	background: var(--primary);
	color: white;
	border: none;
	padding: 14px 30px;
	border-radius: 30px;
	font-weight: 500;
	font-size: 16px;
	cursor: pointer;
	transition: background 0.2s;
	width: 100%;
	margin-bottom: 15px;
}
.kr-btn:hover {
	background: var(--brand-dark);
}
.claim-modal-form__note {
	font-size: 13px;
	color: var(--text-soft);
	line-height: 1.6;
}

/* Статистика просмотров */
.view-stats {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #f0f5f9;
	padding: 6px 16px;
	border-radius: 30px;
	font-size: 13px;
	color: var(--text-soft);
	margin: 10px 0;
}
.view-stats i {
	color: var(--primary);
}
.view-stats strong {
	color: var(--primary);
	font-weight: 700;
}

/* Характеристики с иконками */
.object-features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin: 30px 0;
	padding: 20px 0;
	border-top: 1px solid var(--border-gray);
	border-bottom: 1px solid var(--border-gray);
}
.feature-item {
	display: flex;
	align-items: center;
	gap: 12px;
}
.feature-icon {
	width: 44px;
	height: 44px;
	background: var(--brand-light);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--primary);
	font-size: 20px;
}
.feature-text {
	font-size: 14px;
}
.feature-text strong {
	color: #424344;
	display: block;
	font-size: 15px;
	margin-bottom: 2px;
}

/* Мини-карта */
.mini-map {
	margin: 30px 0;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--border-gray);
	height: 140px;
	transition: height 0.3s ease;
	position: relative;
}
.mini-map.expanded {
	height: 500px;
}
#miniMap {
	width: 100%;
	height: 100%;
}
.map-expand-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 10;
	background: white;
	border: 1px solid var(--border-gray);
	border-radius: 30px;
	padding: 6px 12px;
	font-size: 13px;
	font-weight: 500;
	color: var(--primary);
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 5px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	transition: all 0.2s;
}
.map-expand-btn:hover {
	background: var(--primary);
	color: white;
	border-color: var(--primary);
}

/* Описание */
.object-description {
	margin: 30px 0;
}
.object-description h2 {
	font-size: 22px;
	font-weight: 700;
	color: #424344;
	margin-bottom: 15px;
	display: flex;
	align-items: center;
	gap: 8px;
}
.object-description h2 i {
	color: var(--primary);
}
.object-description p {
	color: #1e3b4f;
	font-size: 15px;
	line-height: 1.8;
}

/* Детальная информация */
.object-details-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 15px;
	margin: 25px 0;
}
.detail-row {
	display: flex;
	align-items: baseline;
	padding: 10px 0;
	border-bottom: 1px dashed var(--border-gray);
}
.detail-label {
	width: 120px;
	font-weight: 500;
	color: #424344;
}
.detail-value {
	color: #1e3b4f;
}

/* Правая колонка (4 колонки) */
.right-column {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* Улучшенная карточка риелтора */
.agent-card {
	background: white;
	border-radius: var(--radius);
	border: 1px solid var(--border-gray);
	padding: 24px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.agent-header {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 20px;
}
.agent-avatar {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: var(--brand-light);
	overflow: hidden;
	border: 3px solid white;
	box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.agent-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.agent-info {
	flex: 1;
}
.agent-name {
	font-size: 20px;
	font-weight: 700;
	color: #424344;
	margin-bottom: 4px;
}
.agent-position {
	color: var(--primary);
	font-weight: 500;
	font-size: 14px;
	margin-bottom: 8px;
}
.agent-rating {
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--brand-light);
	padding: 6px 12px;
	border-radius: 30px;
	width: fit-content;
}
.agent-rating i {
	color: #f5b342;
	font-size: 12px;
}
.agent-rating span {
	color: var(--text-main);
	font-size: 13px;
	font-weight: 500;
}

.agent-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin: 20px 0;
	padding: 15px 0;
	border-top: 1px solid var(--border-gray);
	border-bottom: 1px solid var(--border-gray);
}
.stat-item {
	text-align: center;
}
.stat-value {
	font-size: 22px;
	font-weight: 700;
	color: var(--primary);
	display: block;
	line-height: 1.2;
}
.stat-label {
	font-size: 12px;
	color: var(--text-soft);
}

.agent-badge {
	display: flex;
	align-items: center;
	gap: 6px;
	background: #f0f5f9;
	padding: 8px 12px;
	border-radius: 30px;
	margin-bottom: 20px;
	font-size: 13px;
	color: #1e3b4f;
}
.agent-badge i {
	color: var(--primary);
}

/* Только кнопки, контакты удалены */
.agent-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 5px;
}
.agent-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 12px;
	border-radius: 6px;
	font-weight: 500;
	font-size: 14px;
	text-decoration: none;
	transition: all 0.2s;
}

.btn-primary {
	background: var(--primarybutton);
	color: white;
}
.btn-primary:hover {
	background: var(--brand-dark);
}

.btn-wa {
	background: #25D366;
	color: white;
}
.btn-wa:hover {
	opacity: 0.9;
}
.btn-inst {
	background: #E4405F;
	color: white;
}
.btn-inst:hover {
	opacity: 0.9;
}

/* Карточка обычного пользователя */
.user-card {
	background: white;
	border-radius: var(--radius);
	border: 1px solid var(--border-gray);
	padding: 24px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.user-header {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 20px;
}

.user-avatar {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: var(--brand-light);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--primary);
	font-size: 36px;
	border: 3px solid white;
	box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.user-info {
	flex: 1;
}

.user-name {
	font-size: 20px;
	font-weight: 700;
	color: #424344;
	margin-bottom: 4px;
}

.user-status {
	color: var(--text-soft);
	font-weight: 500;
	font-size: 14px;
	margin-bottom: 8px;
}

.user-rating {
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--brand-light);
	padding: 6px 12px;
	border-radius: 30px;
	width: fit-content;
}

.user-rating i {
	color: #f5b342;
	font-size: 12px;
}

.user-rating span {
	color: var(--text-main);
	font-size: 13px;
	font-weight: 500;
}

.user-details {
	margin: 20px 0;
	padding: 15px 0;
	border-top: 1px solid var(--border-gray);
	border-bottom: 1px solid var(--border-gray);
}

.detail-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 0;
	color: #1e3b4f;
	font-size: 14px;
}

.detail-item i {
	width: 20px;
	color: #314a37;
	font-size: 16px;
	text-align: center;
}

.user-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin: 20px 0;
	padding: 15px 0;
	border-top: 1px solid var(--border-gray);
	border-bottom: 1px solid var(--border-gray);
}

.user-stats .stat-item {
	text-align: center;
}

.user-stats .stat-value {
	font-size: 22px;
	font-weight: 700;
	color: var(--primary);
	display: block;
	line-height: 1.2;
}

.user-stats .stat-label {
	font-size: 12px;
	color: var(--text-soft);
}

.user-contacts {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 20px 0;
}

.user-contacts .contact-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 0;
}

.user-contacts .contact-icons {
	width: 36px;
	height: 36px;
	background: var(--brand-light);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--primary);
	font-size: 16px;
}

.user-contacts .contact-text {
	font-size: 14px;
	font-weight: 500;
	color: #424344;
}

.user-contacts .contact-text small {
	display: block;
	font-size: 12px;
	font-weight: 400;
	color: var(--text-soft);
}

.user-actionss {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0px;
	margin-top: 5px;
}

.user-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 12px;
	border-radius: 6px;
	font-weight: 500;
	font-size: 14px;
	text-decoration: none;
	transition: all 0.2s;
}

.user-btn.btn-primary {
	background: var(--primarybutton);
	color: white;
}

.user-btn.btn-primary:hover {
	background: var(--brand-dark);
}

.user-btn.btn-secondary {
	background: white;
	color: var(--primary);
	border: 1px solid var(--primary);
}

.user-btn.btn-secondary:hover {
	background: var(--brand-light);
}

.user-btn.btn-wa {
	background: #25D366;
	color: white;
}

.user-btn.btn-wa:hover {
	opacity: 0.9;
}

/* Контейнер для кнопки/номера */
.phone-action-container {
	width: 100%;
	min-height: 50px;
	margin-bottom: 10px;
}

/* Кнопка показа номера */
.show-phone-btn {
	cursor: pointer;
	border: none;
	font-family: inherit;
	width: 100%;
}

/* Блок с номером */
.phone-display-block {
	display: flex;
	flex-direction: column;
	gap: 10px;
	animation: fadeIn 0.3s ease;
}

.phone-number-display {
	background: var(--brand-light);
	padding: 14px 12px;
	border-radius: 6px;
	font-size: 18px;
	font-weight: 700;
	color: var(--primary);
	text-align: center;
	letter-spacing: 1px;
	border: 1px solid var(--primary);
}

.wa-link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 12px;
	border-radius: 6px;
	font-weight: 500;
	font-size: 14px;
	text-decoration: none;
	transition: all 0.2s;
	background: #25D366;
	color: white;
	width: 100%;
}

.wa-link:hover {
	opacity: 0.9;
}

/* Анимация */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
	
/* Горячие предложения */
.hot-listings {
	background: white;
	border-radius: var(--radius);
	border: 1px solid var(--border-gray);
	padding: 24px;
}
.hot-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}
.hot-header h3 {
	font-size: 20px;
	font-weight: 700;
	color: #424344;
}
.hot-header a {
	color: var(--primary);
	font-size: 14px;
	text-decoration: none;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 4px;
}
.hot-header a:hover {
	color: var(--brand-dark);
}

.hot-card {
	display: flex;
	gap: 16px;
	padding: 7px;
	background: #f9fafc;
	border-radius: var(--radius-md);
	border: 1px solid var(--border-gray);
	transition: all 0.2s;
	text-decoration: none;
	color: inherit;
	margin-bottom: 16px;
}
.hot-card:last-child {
	margin-bottom: 0;
}
.hot-card:hover {
	border-color: var(--primary);
	background: white;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.hot-image {
	width: 110px;
	height: 110px;
	flex-shrink: 0;
	background: var(--brand-light);
	border-radius: var(--radius-md);
	position: relative;
	overflow: hidden;
}
.hot-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hot-price {
	position: absolute;
	top: 8px;
	left: 8px;
	background: rgba(0,0,0,0.8);
	color: white;
	padding: 4px 8px;
	border-radius: 20px;
	font-weight: 700;
	font-size: 11px;
}
.hot-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 5px;
}
.hot-title {
	font-weight: 700;
	font-size: 16px;
	color: #424344;
}
.hot-location {
	display: flex;
	align-items: center;
	gap: 4px;
	color: var(--text-soft);
	font-size: 13px;
	font-weight: 500;
}
.hot-location .material-icons {
	font-size: 14px;
	color: var(--primary);
}
.hot-params {
	display: flex;
	gap: 12px;
	font-size: 13px;
	color: var(--text-soft);
	font-weight: 500;
}
.hot-footer {
	display: flex;
	justify-content: space-between;
	margin-top: 8px;
	font-size: 12px;
	color: var(--text-soft);
	border-top: 1px solid var(--border-gray);
	padding-top: 8px;
}
.hot-footer i {
	color: #f5b342;
	margin-right: 4px;
}
.hot-footer span {
	display: flex;
	align-items: center;
	gap: 4px;
}

/* Похожие объекты  */
.similar-section {
	margin: 40px 0;
	background: white;
	border-radius: var(--radius);
	border: 1px solid var(--border-gray);
	padding: 30px;
}
.similar-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 25px;
}
.similar-header h2 {
	font-size: 24px;
	font-weight: 700;
	color: #424344;
	display: flex;
	align-items: center;
	gap: 10px;
}
.similar-header h2 i {
	color: var(--primary);
}
.similar-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 15px;
}
.similar-item {
	background: #f9fafc;
	border-radius: var(--radius-md);
	border: 1px solid var(--border-gray);
	overflow: hidden;
	transition: all 0.2s;
	text-decoration: none;
	color: inherit;
}
.similar-item:hover {
	border-color: var(--primary);
	transform: translateY(-3px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.similar-item .image {
	aspect-ratio: 4/3;
	background: var(--brand-light);
	position: relative;
	overflow: hidden;
}
.similar-item .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.similar-item .image .price-tag {
	position: absolute;
	bottom: 8px;
	left: 8px;
	background: rgba(0,0,0,0.8);
	color: white;
	padding: 4px 8px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
}
.similar-item .content {
	padding: 12px;
}
.similar-item .content .title {
	font-weight: 700;
	font-size: 14px;
	color: #424344;
	margin-bottom: 4px;
}
.similar-item .content .address {
	font-size: 11px;
	color: var(--text-soft);
	display: flex;
	align-items: center;
	gap: 2px;
	margin-bottom: 6px;
}
.similar-item .content .address i {
	font-size: 12px;
	color: var(--primary);
}
.similar-item .content .specs {
	display: flex;
	gap: 8px;
	font-size: 11px;
	color: var(--text-soft);
}

.modal-backdrop {
	z-index: 1055 !important;
}
.modal-backdrop.show {
	opacity: 0.5;
}

/* Сетка карточек */
.properties-grid {
	display: grid;
	grid-template-columns: repeat(10, 1fr);
	gap: 12px;
	margin: 5px 0;
}

/* Карточка */
.property-item {
	background: white;
	border-radius: 5px;
	border: 1px solid var(--border-gray);
	transition: all 0.2s;
	position: relative;
}
.property-item:hover {
	border-color: var(--primary);
	box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
#saleGrid{
	margin-bottom:40px;
}

/* Баннер */
.banner-item {
	grid-column: span 2;
	grid-row: span 2;
	background: white;
	border-radius: 5px;
	border: 2px solid var(--primary);
	overflow: hidden;
	position: relative;
}
.banner-item img {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: top;
	display: block;
}
.banner-content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgb(0 0 0 / 30%), transparent);
	color: white;
	padding: 15px;
}
.banner-title {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 5px;
	color:#000;
}
.banner-subtitle {
	font-size: 14px;
	opacity: 0.9;
	color:#000;
}

/* Контейнер изображения */
.property-image-wrapper {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4/3;
	background: #daeaf2;
}
.property-image-wrapper img {
	width: 100%;
	height: 100%;
	border-radius: 5px 5px 5px 5px;
	object-fit: cover;
	display: block;
}

/* Цена на изображении (видна всегда) */
.property-on-image {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 3px 6px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 9px;
    z-index: 2;
}
.price-on-image {
	position: absolute;
	bottom: 10px;
	right: 10px;
	background: rgba(0, 0, 0, 0.7);
	color: white;
	padding: 4px 8px;
	border-radius: 4px;
	font-weight: 500;
	font-size: 11px;
	z-index: 2;
}

/* Контент карточки */
.property-content {
	padding: 8px;
}
.property-specs {
	font-size: 12px;
	font-weight: 500;
	color: #424344;
	margin-bottom: 2px;
	line-height: 1.3;
}
.property-address {
	font-size: 10px;
	color: #4f6f82;
	display: flex;
	align-items: center;
	gap: 2px;
}
.property-address .material-icons {
	font-size: 12px;
	color: var(--primary);
}

/* Увеличенная карточка при наведении */
.expanded-card {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.9);
	width: 225px;
	background: white;
	border-radius: 8px;
	box-shadow: 0 10px 25px rgba(0,0,0,0.2);
	z-index: 100;
	opacity: 0;
	visibility: hidden;
	transition: all 0.2s ease;
	pointer-events: none;
	border: 1px solid var(--primary);
}

.property-item:hover .expanded-card {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, -50%) scale(1);
}

.expanded-image {
	width: 100%;
	height: 160px;
	border-radius: 5px 5px 0px 0px;
	overflow: hidden;
	position: relative;
}
.expanded-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Черные полосы на увеличенной карточке */
.expanded-overlay-top,
.expanded-overlay-bottom {
	position: absolute;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.8);
	color: white;
	padding: 8px 12px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 12px;
	font-weight: 500;
	z-index: 3;
}
.expanded-overlay-top {
	top: 0;
}
.expanded-overlay-bottom {
	bottom: 0;
}
.expanded-overlay-top span,
.expanded-overlay-bottom span {
	display: flex;
	align-items: center;
	gap: 5px;
}
.expanded-overlay-top i,
.expanded-overlay-bottom i {
	font-size: 12px;
}
.expanded-price-format {
	font-size: 13px;
	font-weight: 700;
}

.expanded-content {
	padding: 7px;
}
.expanded-specs {
	font-size: 13px;
	font-weight: 500;
	color: #424344;
	margin-bottom: 6px;
}
.expanded-address {
	font-size: 12px;
	color: #4f6f82;
	display: flex;
	align-items: center;
	gap: 4px;
}
.expanded-address .material-icons {
	font-size: 14px;
	color: var(--primary);
}

/* Калькулятор */
.calc-mini {
	background: linear-gradient(135deg, #ffffff 0%, #f6fbfa 100%);
	border-radius: 24px;
	padding: 32px 36px;
	margin: 30px 0 20px;
	border: 1px solid #cce8df;
	box-shadow: 0 16px 50px rgba(34, 107, 79, 0.10);
	display: flex;
	gap: 36px;
	flex-wrap: wrap;
	position: relative;
	overflow: hidden;
}
.calc-mini::before {
	content: '';
	position: absolute;
	top: -60px;
	right: -60px;
	width: 220px;
	height: 220px;
	background: radial-gradient(circle, rgba(80, 154, 124, 0.10) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}
.calc-mini::after {
	content: '';
	position: absolute;
	bottom: -80px;
	left: -80px;
	width: 280px;
	height: 280px;
	background: radial-gradient(circle, rgba(242, 201, 93, 0.10) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}
.calc-left { flex: 2; min-width: 280px; position: relative; z-index: 1; }
.calc-head { margin-bottom: 24px; }
.calc-head h3 {
	font-size: 26px;
	font-weight: 800;
	color: #363636;
	margin: 0 0 6px;
	display: flex;
	align-items: center;
	gap: 12px;
}
.calc-head-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	background: linear-gradient(135deg, var(--primary) 0%, #2f5f4b 100%);
	color: #fff;
	border-radius: 12px;
	box-shadow: 0 6px 14px rgba(61, 139, 107, 0.30);
}
.calc-subtitle {
	font-size: 15px;
	color: #5e7a72;
	margin: 0;
	padding-left: 54px;
}
.calc-field {
	background: #ffffff;
	border: 1px solid #d4ebe4;
	border-radius: 16px;
	padding: 16px 18px;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.calc-field:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(61, 139, 107, 0.10);
	border-color: #a7d6c6;
}
.calc-field label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: 14px;
	color: #363636;
	margin-bottom: 4px;
}
.calc-field label i {
	color: var(--primary);
	font-size: 14px;
}
.calc-hint {
	font-size: 12px;
	color: #759384;
	margin: 0 0 0px;
	line-height: 1.7;
}
.calc-input-wrap {
	display: flex;
	align-items: center;
	border: 1px solid #c5ded4;
	border-radius: 12px;
	background: #f9fcfb;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.calc-input-wrap:focus-within {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(61, 139, 107, 0.12);
}
.calc-input-wrap input[type="number"] {
	flex: 1;
	border: none;
	background: transparent;
	padding: 11px 12px;
	font-size: 15px;
	font-weight: 700;
	color: #0c3a2e;
	outline: none;
	-moz-appearance: textfield;
}
.calc-input-wrap input[type="number"]::-webkit-outer-spin-button,
.calc-input-wrap input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.calc-input-unit {
	padding: 0 12px;
	font-size: 13px;
	font-weight: 700;
	color: var(--primary);
	background: #eaf5f1;
	align-self: stretch;
	display: inline-flex;
	align-items: center;
	border-left: 1px solid #d4ebe4;
}
.calc-value {
	display: block;
	margin-top: 8px;
	font-size: 12px;
	font-weight: 600;
	color: var(--primary);
}
.calc-right {
	flex: 1;
	min-width: 260px;
	background: linear-gradient(160deg, #ffffff 0%, #f1f8f5 100%);
	border-radius: 20px;
	padding: 28px;
	border: 1px solid #cbe7de;
	text-align: center;
	position: relative;
	z-index: 1;
	box-shadow: inset 0 0 30px rgba(61, 139, 107, 0.04);
}
.calc-result-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--primary);
	background: #ffffff;
	border: 1px solid #cbe7de;
	border-radius: 20px;
	padding: 5px 12px;
	margin-bottom: 12px;
}
.calc-result-label {
	font-weight: 600;
	color: #5e7a72;
	font-size: 15px;
	margin-bottom: 6px;
}
.calc-amount {
	font-size: 48px;
	font-weight: 900;
	color: #363636;
	line-height: 1;
	margin: 12px 0 18px;
	text-shadow: 0 2px 0 rgba(255,255,255,0.8);
}
.calc-result-rows {
	background: #ffffff;
	border-radius: 14px;
	padding: 14px 16px;
	margin: 0 0 16px;
	border: 1px dashed #c5ded4;
}
.calc-result-rows .sum {
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	color: #5e7a72;
	padding: 7px 0;
	border-bottom: 1px solid #eef5f3;
}
.calc-result-rows .sum:last-child { border-bottom: none; }
.calc-result-rows .sum span {
	font-weight: 800;
	color: #363636;
}
.calc-right .sum-text {
	font-size: 11px;
	color: #8ba89e;
	line-height: 1.4;
	margin: 0 0 16px;
}
.calc-right .btn-primary {
	border-radius: 12px;
	padding: 13px 20px;
	font-weight: 700;
	box-shadow: 0 8px 18px rgba(61, 139, 107, 0.28);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.calc-right .btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 24px rgba(61, 139, 107, 0.35);
}
@media (max-width: 768px) {
	.calc-mini { padding: 24px; gap: 24px; }
	.calc-fields-grid { grid-template-columns: 1fr; }
	.calc-right { min-width: unset; width: 100%; }
	.calc-amount { font-size: 36px; }
}

.sum{
	   display: flex;
       justify-content: space-between;
	   border-bottom:1px dashed #a8a8a9;
	   margin-bottom:13px;
	   padding-bottom:5px;
	}
	.sum-text{
		font-size:12px;
		margin-bottom:15px;
	}

/* О нас — теперь на всю ширину */
.about-section {
	background: white;
	border-radius: var(--radius);
	border: 1px solid var(--border-gray);
	padding: 40px;
	margin: 40px 0;
}
.about-title {
	font-size: 28px;
	font-weight: 700;
	color: #424344;
	margin-bottom: 25px;
	display: flex;
	align-items: center;
	gap: 15px;
}
.about-title i {
	color: var(--primary);
	font-size: 32px;
}
.about-content {
	color: #424344;
	line-height: 1.8;
	font-size: 15px;
	text-align: left;
}
.about-content p {
	margin-bottom: 20px;
}
.about-content strong {
	color: var(--primary);
}

/* Профиль агента */
.agent-profile {
	background: linear-gradient(145deg, #ffffff 0%, #f5faf6 100%);
	border-radius: 18px;
	border: 1px solid #d5e4d7;
	padding: 32px;
	margin: 20px 0 30px;
	box-shadow: 0 12px 30px rgba(80, 113, 84, .09);
}

.profile-header {
	display: flex;
	gap: 32px;
	align-items: flex-start;
	flex-wrap: wrap;
}

/* Фото агента с фильтром ч/б */
.profile-photo {
	width: 244px;
    height: 310px;
	border-radius: 14px;
	overflow: hidden;
	background: #e8f1e9;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	border: 4px solid #e8f1e9;
	box-shadow: 0 10px 24px rgba(80, 113, 84, .16);
}
.profile-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: none;
	transition: transform 0.4s ease, filter 0.4s ease;
}
.profile-photo:hover img {
	filter: saturate(1.06);
	transform: scale(1.03);
}

.profile-info {
	flex: 1;
}

.profile-name {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 15px;
	margin-bottom: 15px;
}
.profile-name h1 {
	font-size: 32px;
	font-weight: 700;
	color: #363636;
}
.profile-badge {
	background: #507154;
	color: #fff;
	padding: 6px 16px;
	border-radius: 30px;
	font-weight: 500;
	font-size: 14px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.profile-position {
	font-size: 18px;
	color: #507154;
	margin-bottom: 20px;
}

.profile-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 20px 0;
}
.stat-item {
	display: flex;
	flex-direction: column;
	min-width: 112px;
	padding: 10px 14px;
	border: 1px solid #d8e6da;
	border-radius: 12px;
	background: #fff;
}
.stat-value {
	font-size: 28px;
	font-weight: 700;
	color: var(--primary);
	line-height: 1.2;
}
.stat-label {
	font-size: 14px;
	color: var(--text-soft);
}

.profile-rating {
	display: flex;
	align-items: center;
	gap: 15px;
	flex-wrap: wrap;
	margin: 15px 0;
}
.rating-stars {
	color: #507154;
	font-size: 20px;
	letter-spacing: 2px;
}
.rating-number {
	font-size: 24px;
	font-weight: 700;
	color: #363636;
}
.reviews-count {
	color: var(--text-soft);
}

.profile-contacts {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin: 25px 0 10px;
}
.contact-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 18px;
	border-radius: 10px;
	font-weight: 500;
	font-size: 15px;
	text-decoration: none;
	transition: all 0.2s;
}

/* Детальная информация */
.profile-details {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 12px;
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid #d8e6da;
}
.detail-icon {
	width: 44px;
	height: 44px;
	background: #e8f1e9;
	border: 1px solid #c8daca;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #507154;
	font-size: 20px;
	flex-shrink: 0;
}
.detail-text {
	font-size: 15px;
	color: #536b58;
}
.detail-text strong {
	color: #363636;
	display: block;
	font-size: 16px;
}

/* Табы */
.profile-tabs {
	display: flex;
	border: 1px solid #d8e6da;
	border-radius: 12px;
	background: #fff;
	padding: 4px;
	margin: 30px 0 20px;
	gap: 4px;
}
.tab {
	padding: 10px 18px;
	font-weight: 500;
	color: var(--text-soft);
	cursor: pointer;
	border: 1px solid transparent;
	border-radius: 9px;
	transition: all 0.2s;
	background: none;
	border-top: none;
	border-left: none;
	border-right: none;
	font-size: 16px;
}
.tab:hover {
	color: var(--primary);
}
.tab.active {
	color: var(--primary);
	border-color: #c8daca;
	background: #e8f1e9;
}

/* Контент табов */
.tab-content {
	display: none;
	margin: 20px 0 30px;
}
.tab-content.active {
	display: block;
}

/* Стили для отзывов в профиле агента */
.agent-reviews-section {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.agent-review-card {
	background: #fff;
	border-radius: 14px;
	border: 1px solid #d8e6da;
	padding: 20px;
	box-shadow: 0 8px 24px rgba(80, 113, 84, .06);
	transition: all 0.2s;
}

.agent-review-card:hover {
	border-color: var(--primary);
	box-shadow: 0 12px 26px rgba(80, 113, 84, .13);
}

.agent-review-header {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 15px;
}

.agent-reviewer-avatar {
	width: 50px;
	height: 50px;
	background: #e8f1e9;
	border: 1px solid #c8daca;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	color: var(--primary);
	flex-shrink: 0;
}

.agent-reviewer-info {
	flex: 1;
}

.agent-reviewer-info h4 {
	font-size: 16px;
	font-weight: 700;
	color: #363636;
	margin: 0 0 4px 0;
}

.agent-review-date {
	font-size: 13px;
	color: var(--text-soft);
}

.agent-review-rating {
	display: flex;
	gap: 2px;
	font-size: 16px;
	color: #507154;
}

.agent-review-text {
	color: #536b58;
	font-size: 14px;
	line-height: 1.6;
	margin-bottom: 12px;
}

.agent-review-property {
	background: #f7faf8;
	border-radius: var(--radius-md);
	padding: 10px 12px;
	font-size: 13px;
	color: var(--text-soft);
	display: flex;
	align-items: center;
	gap: 8px;
	border-left: 3px solid #507154;
}

.agent-review-property i {
	color: var(--primary);
}

/* Сетка объектов - 5 карточек в строку */
.objects-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 15px;
	margin: 20px 0 30px;
}

/* Дополнительные стили для карточек объектов */
.object-card {
	display: block;
	background: #fff;
	border-radius: 14px;
	border: 1px solid #d8e6da;
	transition: all 0.2s;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 5px 16px rgba(80, 113, 84, .06);
}
.object-card:hover {
	border-color: var(--primary);
	box-shadow: 0 12px 26px rgba(80, 113, 84, .14);
	transform: translateY(-3px);
}

.object-image {
	aspect-ratio: 4/3;
	background: #e8f1e9;
	position: relative;
	border-radius: 13px 13px 0 0;
	overflow: hidden;
}
.object-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
	border-radius: 0;
}
.object-card:hover .object-image img {
	transform: scale(1.04);
}

.object-price {
	position: absolute;
	bottom: 10px;
	right: 10px;
	background: rgba(80, 113, 84, .92);
	color: white;
	padding: 4px 8px;
	border-radius: 8px;
	font-weight: 500;
	font-size: 13px;
	z-index: 2;
}

.object-content {
	padding: 12px;
}

.object-title {
	font-weight: 700;
	color: #363636;
	margin-bottom: 8px;
	font-size: 16px;
}

.object-specs {
	font-size: 13px;
	color: #718077;
	display: flex;
	gap: 12px;
	margin-bottom: 8px;
}

.object-specs span {
	display: flex;
	align-items: center;
	gap: 4px;
}

.object-specs i {
	color: var(--primary);
	font-size: 12px;
	width: 14px;
}

.object-address {
	font-size: 13px;
	color: #718077;
	display: flex;
	align-items: center;
	gap: 6px;
	border-top: 1px solid #e1ebe3;
	padding-top: 8px;
	margin-top: 4px;
}

.object-address i {
	color: var(--primary);
	font-size: 12px;
	width: 14px;
}

.object-image .favorite-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	bottom: auto;
	z-index: 3;
	color: #507154;
	padding: 12px 11px 10px 10px;
}

/* Отзывы на странице профиля */
.reviews-section {
	margin: 20px 0;
}
.review-item {
	background: white;
	border-radius: var(--radius);
	border: 1px solid var(--border-gray);
	padding: 25px;
	margin-bottom: 15px;
}
.review-header {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 15px;
	flex-wrap: wrap;
}
.reviewer-avatar {
	width: 50px;
	height: 50px;
	background: var(--brand-light);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--primary);
	font-size: 20px;
	flex-shrink: 0;
}
.reviewer-info h4 {
	font-size: 16px;
	font-weight: 700;
	color: #424344;
}
.review-date {
	font-size: 13px;
	color: var(--text-soft);
}
.review-rating {
	margin-left: auto;
	color: #f5b342;
}
.review-text {
	color: #1e3b4f;
	font-size: 15px;
	line-height: 1.7;
	margin-bottom: 15px;
}
.review-property {
	background: #f5f7fa;
	border-radius: var(--radius-md);
	padding: 10px 15px;
	font-size: 14px;
	color: var(--text-soft);
	border-left: 3px solid var(--primary);
}

/* О специалисте */
.about-specialist {
	background: white;
	border-radius: var(--radius);
	border: 1px solid var(--border-gray);
	padding: 30px;
}
.about-specialist h3 {
	font-size: 20px;
	font-weight: 700;
	color: #424344;
	margin-bottom: 20px;
}
.about-specialist p {
	color: #1e3b4f;
	font-size: 16px;
	line-height: 1.8;
	margin-bottom: 20px;
}
.specialist-skills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}
.skill-tag {
	background: var(--brand-light);
	color: var(--primary);
	padding: 6px 16px;
	border-radius: 30px;
	font-size: 14px;
	font-weight: 500;
}

/* Похожие специалисты (мини-карточки) */
.similar-agents {
	margin: 40px 0;
}
.section-title {
	font-size: 24px;
	font-weight: 700;
	color: #424344;
	margin-bottom: 25px;
}
.agents-mini-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 20px;
}
.agent-mini-card {
	display: block;
	background: white;
	border-radius: var(--radius);
	border: 1px solid var(--border-gray);
	padding: 20px;
	text-decoration: none;
	color: inherit;
	transition: all 0.2s;
}
.agent-mini-card:hover {
	border-color: var(--primary);
	box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.agent-mini-photo {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	margin: 0 auto 15px;
	overflow: hidden;
	background: var(--brand-light);
	display: flex;
	align-items: center;
	justify-content: center;
}
.agent-mini-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(100%);
	transition: filter 0.3s ease;
}
.agent-mini-card:hover .agent-mini-photo img {
	filter: grayscale(0%);
}
.agent-mini-name {
	font-weight: 700;
	color: #424344;
	text-align: center;
	margin-bottom: 5px;
}
.agent-mini-position {
	font-size: 12px;
	color: var(--text-soft);
	text-align: center;
}

.rating-summary {
	display: flex;
	align-items: center;
	gap: 30px;
	background: white;
	padding: 15px 30px;
	border-radius: var(--radius);
	border: 1px solid var(--border-gray);
}
.rating-number {
	font-size: 48px;
	font-weight: 700;
	color: #000;
	line-height: 1;
}
.rating-stars {
	color: #f5b342;
	font-size: 24px;
	letter-spacing: 4px;
}
.rating-count {
	color: var(--text-soft);
	font-size: 14px;
}

/* Фильтр отзывов */
.reviews-filter {
	background: white;
	border-radius: var(--radius-md);
	padding: 16px 20px;
	margin-bottom: 30px;
	border: 1px solid var(--border-gray);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
}
.filter-tabs {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.filter-tab {
	padding: 8px 16px;
	border-radius: 30px;
	font-weight: 500;
	font-size: 14px;
	cursor: pointer;
	border: 1px solid var(--border-gray);
	background: white;
	color: #1e506b;
	transition: all 0.2s;
}
.filter-tab:hover {
	border-color: var(--primary);
}
.filter-tab.active {
	background: var(--primary);
	color: white;
	border-color: var(--primary);
}
.filter-sort {
	display: flex;
	align-items: center;
	gap: 10px;
}
.filter-sort select {
	padding: 8px 30px 8px 16px;
	border-radius: 30px;
	border: 1px solid var(--border-gray);
	background: white;
	font-weight: 500;
	color: #1e506b;
	outline: none;
	font-size: 14px;
	appearance: none;
	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='%231b4b3b' 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");
	background-repeat: no-repeat;
	background-position: right 12px center;
}

/* Сетка отзывов */
.reviews-grid {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-bottom: 40px;
}

/* Карточка отзыва (горизонтальная версия) */
.reviews-grid .review-card {
	background: white;
	border-radius: var(--radius);
	border: 1px solid var(--border-gray);
	overflow: hidden;
	transition: all 0.2s;
	display: flex;
	flex-direction: row;
	height: 190px;
}
.reviews-grid .review-card:hover {
	border-color: var(--primary);
	box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.reviews-grid .review-card .review-header {
	padding: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	border-bottom: none;
	border-right: 1px solid var(--border-gray);
	min-width: 180px;
	height: 190px;
	justify-content: flex-start;
}
.reviews-grid .review-card .reviewer-avatar {
	width: 60px;
	height: 60px;
	background: var(--brand-light);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	color: var(--primary);
	flex-shrink: 0;
}
.reviews-grid .review-card .reviewer-info {
	text-align: center;
	width: 100%;
}
.reviews-grid .review-card .reviewer-info h4 {
	font-size: 16px;
	font-weight: 700;
	color: #424344;
	margin-bottom: 8px;
}
.reviewer-meta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	color: var(--text-soft);
}
.reviews-grid .review-card .review-date {
	display: flex;
	align-items: center;
	gap: 4px;
}
.reviews-grid .review-card .review-date i {
	font-size: 12px;
}
.review-stars {
	color: #f5b342;
	letter-spacing: 1px;
	font-size: 14px;
}
.reviews-grid .review-card .review-content {
	padding: 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
}
.reviews-grid .review-card .review-text {
	color: #1e3b4f;
	font-size: 14px;
	line-height: 1.6;
	margin-bottom: 12px;
	flex: 1;
}
.reviews-grid .review-card .review-property {
	background: #f5f7fa;
	border-radius: var(--radius-md);
	padding: 10px 12px;
	font-size: 13px;
	color: var(--text-soft);
	display: flex;
	align-items: center;
	gap: 8px;
	border-left: 3px solid var(--primary);
	margin-bottom: 12px;
}
.review-footer {
	padding: 15px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
}
.review-helpful {
	display: flex;
	align-items: center;
	gap: 15px;
}
.helpful-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--text-soft);
	font-size: 14px;
	cursor: pointer;
	transition: color 0.2s;
}
.helpful-btn:hover {
	color: var(--primary);
}
.helpful-btn i {
	font-size: 16px;
}

/* 2Gis блок */
.twogis-section {
	background: white;
	border-radius: var(--radius);
	border: 1px solid var(--border-gray);
	padding: 30px;
	margin-bottom: 40px;
	display: flex;
	align-items: center;
	gap: 30px;
	justify-content: space-between;
}

.twogis-logo {
	height: 60px;
	width: auto;
	flex-shrink: 0;
}

.twogis-text {
	font-size: 18px;
	color: #1e3b4f;
	flex: 1;
	margin: 0;
}

.twogis-text strong {
	color: var(--primary);
	font-weight: 700;
}

.btn-twogis {
	background: var(--primary);
	color: white;
	border: none;
	padding: 12px 30px;
	border-radius: 30px;
	font-weight: 500;
	font-size: 16px;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.2s;
	white-space: nowrap;
}

.btn-twogis:hover {
	background: var(--brand-dark);
	color: white;
}

/* Форма отзыва */
.review-form-section {
	background: white;
	border-radius: var(--radius);
	border: 1px solid var(--border-gray);
	padding: 30px;
	margin: 40px 0;
}
.review-form {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}
.rating-select-stars {
	display: flex;
    justify-content: start;
	gap: 5px;
	align-items: center;
}

.rating-select-stars input {
	position: absolute;
	left: -9999px;
}

.rating-select-stars label {
	cursor: pointer;
	font-size: 28px;
	color: #d0d0d0;
	transition: color 0.2s, text-shadow 0.2s;
	margin: 0;
	padding: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.rating-select-stars label i {
	font-size: 28px;
}

.rating-select-stars label.is-active {
	color: #f5b342;
}
.rating-option {
	display: flex;
	align-items: center;
	gap: 5px;
	cursor: pointer;
}
.rating-option input {
	width: auto;
	margin-right: 5px;
}
.rating-option span {
	color: #f5b342;
	font-size: 18px;
}
.form-submit {
	grid-column: span 1;
	display: flex;
	justify-content: flex-end;
	gap: 15px;
	margin-top: 10px;
}
		
/* Сетка команды */
.team-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 18px;
	margin: 28px 0 40px;
}

/* Карточка сотрудника (ссылка на профиль) */
.team-card {
	display: block;
	background: #ffffff;
	border-radius: 14px;
	border: 1px solid #d5e4d7;
	overflow: hidden;
	box-shadow: 0 8px 22px rgba(48, 75, 54, 0.07);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
	text-decoration: none;
	color: inherit;
}
.team-card:hover {
	border-color: #507154;
	box-shadow: 0 14px 28px rgba(48, 75, 54, 0.15);
	transform: translateY(-3px);
}

/* Контейнер для фото с мягкой фирменной насыщенностью */
.card-image {
	aspect-ratio: 1/1;
	background: #edf4ee;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	filter: saturate(0.82);
	transition: transform 0.35s ease, filter 0.35s ease;
}
.team-card:hover .card-image img {
	filter: saturate(1.05);
	transform: scale(1.04);
}

/* Плейсхолдер для фото (если нет изображения) */
.image-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #edf4ee 0%, #d7e8da 100%);
	color: #507154;
	font-size: 64px;
	transition: transform 0.35s ease, filter 0.35s ease;
}
.team-card:hover .image-placeholder {
	filter: saturate(1.05);
	transform: scale(1.04);
}

.card-content {
	padding: 16px 14px 15px;
	text-align: center;
}
.card-content h3 {
	font-size: 18px;
	font-weight: 700;
	color: #363636;
	line-height: 1.25;
	margin-bottom: 8px;
}
.card-position {
	color: #507154;
	font-weight: 500;
	font-size: 14px;
	margin-bottom: 10px;
	display: inline-block;
	padding: 4px 12px;
	background: #edf4ee;
	border: 1px solid #d5e4d7;
	border-radius: 30px;
}
.card-experience {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	color: var(--text-soft);
	font-size: 14px;
	margin: 10px 0 5px;
}
.card-experience i {
	color: var(--primary);
	font-size: 14px;
}

/* Блок с отзывами (звезда + количество) */
.card-reviews {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	color: #507154;
	font-size: 14px;
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px solid #e1ebe3;
}
.card-reviews i {
	font-size: 13px;
}
.card-reviews span {
	color: var(--text-soft);
	font-weight: 500;
	margin-left: 4px;
}
.review-stars {
	display: flex;
	align-items: center;
	gap: 2px;
}

/* Блок преимуществ */
.advantages-section {
	background: linear-gradient(135deg, #ffffff 0%, #f4f8f4 100%);
	border-radius: 16px;
	border: 1px solid #d5e4d7;
	box-shadow: 0 10px 26px rgba(48, 75, 54, 0.07);
	padding: 30px;
	margin: 36px 0 40px;
}
.advantages-title {
	font-size: 25px;
	font-weight: 700;
	color: #363636;
	margin-bottom: 25px;
	text-align: center;
}
.advantages-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}
.advantage-item {
	text-align: center;
	background: #ffffff;
	border: 1px solid #e1ebe3;
	border-radius: 12px;
	padding: 18px 14px 16px;
}
.advantage-icon {
    width: 58px;
    height: 58px;
    background: #e7f0e8;
    border: 1px solid #d5e4d7;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 13px;
    color: #314a37;
    font-size: 25px;
}
.advantage-item h4 {
	font-size: 16px;
	font-weight: 700;
	color: #363636;
	margin-bottom: 7px;
}
.advantage-item p {
	color: var(--text-soft);
	font-size: 14px;
	line-height: 1.5;
}

/* Сетка контактов */
.contacts-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	margin-bottom: 34px;
}

/* Карточка контакта */
.contact-card {
	background: #ffffff;
	border-radius: 14px;
	border: 1px solid #d5e4d7;
	padding: 22px 18px 20px;
	box-shadow: 0 8px 22px rgba(48, 75, 54, 0.07);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
	text-align: center;
}
.contact-card:hover {
	border-color: #507154;
	box-shadow: 0 14px 28px rgba(48, 75, 54, 0.14);
	transform: translateY(-3px);
}
.contact-icon {
	width: 56px;
	height: 56px;
	background: #e7f0e8;
	border: 1px solid #d5e4d7;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 13px;
	color: #507154;
	font-size: 24px;
}
.contact-card h3 {
	font-size: 17px;
	font-weight: 700;
	color: #304b36;
	margin-bottom: 13px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e1ebe3;
}
.contact-content {
	color: #456052;
}
.contact-item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-bottom: 10px;
	font-size: 14px;
}
.contact-item i {
	color: #507154;
	width: 18px;
	font-size: 14px;
}
.contact-item a {
	color: #456052;
	text-decoration: none;
	transition: color 0.2s;
}
.contact-item a:hover {
	color: #304b36;
}
.work-hours {
	text-align: left;
	max-width: 180px;
	margin: 0 auto;
}
.work-hours div {
	display: flex;
	justify-content: left;
	margin-bottom: 5px;
	font-size: 14px;
}
.work-hours .day {
	font-weight: 500;
}
.work-hours .time {
	color: #507154;
	font-weight: 500;
}

/* Карта и форма */
.map-form-section {
	gap: 20px;
	margin: 34px 0;
}

/* Карта */
.map-container {
	background: #ffffff;
	border-radius: 16px;
	border: 1px solid #d5e4d7;
	box-shadow: 0 10px 26px rgba(48, 75, 54, 0.07);
	overflow: hidden;
}
.map-header {
	padding: 15px 20px;
	background: #f4f8f4;
	border-bottom: 1px solid #e1ebe3;
	display: flex;
	align-items: center;
	gap: 10px;
}
.map-header i {
	color: #507154;
	font-size: 20px;
}
.map-header span {
	font-weight: 500;
	color: #304b36;
}
.map-frame {
	height: 350px;
	width: 100%;
}
.map-frame iframe {
	width: 100%;
	height: 100%;
	border: none;
}

/* Форма обратной связи */
.contact-form {
	background: white;
	border-radius: var(--radius);
	border: 1px solid var(--border-gray);
	padding: 25px;
}
.form-title {
	font-size: 20px;
	font-weight: 700;
	color: #424344;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.form-title i {
	color: var(--primary);
}
.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
}
.form-submit-reviews {
	margin-top: 10px;
}
.submits{
	margin-left:20px;
}
/* Форма подачи объявления */
.form-container {
	background: white;
	border-radius: var(--radius);
	border: 1px solid #dfecf5;
	padding: 30px;
	margin: 0px 0 40px;
	box-shadow: 0 4px 14px rgba(0, 45, 65, 0.06);
	position: relative;
}

.form-section {
	margin-bottom: 35px;
	border-bottom: 1px dashed #c1ddd0;
	padding-bottom: 25px;
}
.form-section:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.section-title {
	font-size: 20px;
	font-weight: 700;
	color: #002f48;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.section-title .material-icons {
	color: var(--primary);
	font-size: 24px;
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.form-group.full-width {
	grid-column: span 3;
}

.form-group input,
.form-group select,
.form-group textarea {
	padding: 12px 16px;
	border: 1px solid #d1e2ed;
	border-radius: 8px;
	font-size: 15px;
	color: #1e506b;
	background: #fbfbfb;
	outline: none;
	transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	border-color: var(--primary);
	background: white;
}

.form-group textarea {
	resize: vertical;
	min-height: 100px;
}

.input-hint {
	font-size: 12px;
	color: #678f7b;
}

/* Загрузка фото */
.photo-upload-area {
	border: 2px dashed #c1ddd0;
	border-radius: 12px;
	padding: 30px;
	text-align: center;
	background: #fbfbfb;
	cursor: pointer;
	transition: all 0.2s;
	grid-column: span 3;
}
.photo-upload-area:hover {
	border-color: var(--primary);
	background: #e2f0e6;
}
.photo-upload-area i {
	font-size: 48px;
	color: var(--primary);
	margin-bottom: 10px;
}
.photo-upload-area p {
	color: #424344;
	font-weight: 500;
}
.photo-upload-area small {
	color: #678f7b;
	font-size: 12px;
}

.photo-preview-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 15px;
	margin-top: 20px;
	grid-column: span 3;
}
.preview-item {
	position: relative;
	aspect-ratio: 1;
	border-radius: 8px;
	overflow: hidden;
	background: #daeaf2;
}
.preview-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.preview-item .remove-photo {
	position: absolute;
	top: 5px;
	right: 5px;
	background: rgba(0,0,0,0.6);
	color: white;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 16px;
}

/* Радио и чекбоксы */
.radio-group {
	display: flex;
	gap: 30px;
	flex-wrap: wrap;
	align-items: center;
}
.radio-label {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-weight: 500;
	color: #424344;
}
.radio-label input[type="radio"] {
	width: 18px;
	height: 18px;
	accent-color: var(--primary);
}

.checkbox-group {
	display: flex;
	gap: 30px;
	flex-wrap: wrap;
}
.checkbox-label {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	color: #424344;
}

/* Двойные поля (от - до) */
.range-inputs {
	display: flex;
	align-items: center;
	gap: 10px;
}
.range-inputs input {
	flex: 1;
}
.range-inputs span {
	color: #678f7b;
	font-weight: 500;
}

/* Кнопки формы */
.form-actions {
	display: flex;
	justify-content: flex-end;
	gap: 15px;
	margin-top: 30px;
}


/* Контейнер для форм авторизации */
.auth-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 60vh;
	margin: 20px 0 40px;
}

.auth-container {
	background: white;
	border-radius: var(--radius);
	border: 1px solid #dfecf5;
	padding: 40px;
	width: 100%;
	max-width: 450px;
	box-shadow: 0 4px 14px rgba(0, 45, 65, 0.06);
}

/* Табы переключения между формами */
.auth-tabs {
	display: flex;
	margin-bottom: 30px;
	border-bottom: 2px solid var(--border-gray);
	gap: 20px;
}
.auth-tab {
	padding: 10px 0;
	font-weight: 700;
	font-size: 18px;
	color: #8aa9c0;
	cursor: pointer;
	position: relative;
	transition: all 0.2s;
}
.auth-tab.active {
	color: var(--primary);
}
.auth-tab.active::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 100%;
	height: 3px;
	background: var(--primary);
	border-radius: 3px 3px 0 0;
}

/* Формы */
.auth-form {
	display: none;
}
.auth-form.active {
	display: block;
}

.form-group {
	margin-bottom: 0px;
}
.form-group input {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid #d1e2ed;
	border-radius: 8px;
	font-size: 15px;
	color: #1e506b;
	background: #fbfbfb;
	outline: none;
	transition: all 0.2s;
}
.form-group input[type="checkbox"] {
	width: auto;
	padding: 0;
	border: none;
	background: transparent;
	outline: revert;
	transition: none;
	flex-shrink: 0;
	accent-color: var(--primary);
}
.form-group input:focus {
	border-color: var(--primary);
	background: white;
}
.form-group input::placeholder {
	color: #a0c0d2;
}

.password-toggle {
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	color: #8aa9c0;
	cursor: pointer;
	font-size: 18px;
}

.form-options {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 25px;
	font-size: 14px;
}
.remember-me {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #424344;
	cursor: pointer;
}
.remember-me input[type="checkbox"] {
	width: 16px;
	height: 16px;
	accent-color: var(--primary);
}
.forgot-link {
	color: var(--primary);
	text-decoration: none;
	font-weight: 500;
	cursor: pointer;
}
.forgot-link:hover {
	text-decoration: underline;
}

.btn-auth {
	width: 100%;
	background: var(--primary);
	color: white;
	border: none;
	padding: 16px;
	border-radius: 30px;
	font-weight: 700;
	font-size: 16px;
	cursor: pointer;
	transition: 0.15s;
	margin-bottom: 20px;
}
.btn-auth:hover {
	background: var(--brand-dark);
}

.auth-footer {
	text-align: center;
	color: #4f6f82;
	font-size: 14px;
}
.auth-footer a {
	color: var(--primary);
	text-decoration: none;
	font-weight: 700;
	cursor: pointer;
}
.auth-footer a:hover {
	text-decoration: underline;
}


/* Социальные кнопки */
.social-buttons {
	display: flex;
	gap: 15px;
	justify-content: center;
}
.social-btn {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: #fbfbfb;
	border: 1px solid #d1e2ed;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #424344;
	font-size: 22px;
	cursor: pointer;
	transition: all 0.2s;
}
.social-btn:hover {
	background: var(--brand-light);
	border-color: var(--primary);
	color: var(--primary);
	transform: translateY(-2px);
}

/* Сообщения об ошибках/успехе */
.alert {
	padding: 15px;
	border-radius: 8px;
	margin-bottom: 20px;
	font-size: 14px;
	font-weight: 500;
}
.alert-success {
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}
.alert-error {
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

/* Контейнер для верификации */
.verify-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 60vh;
	margin: 20px 0 40px;
}

.verify-container {
	background: white;
	border-radius: var(--radius);
	border: 1px solid #dfecf5;
	padding: 50px 40px;
	width: 100%;
	max-width: 550px;
	box-shadow: 0 4px 14px rgba(0, 45, 65, 0.06);
	text-align: center;
}

/* Иконка */
.verify-icon {
	width: 80px;
	height: 80px;
	background: var(--brand-light);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 25px;
}
.verify-icon .material-icons {
	font-size: 40px;
	color: var(--primary);
}

/* Заголовок */
.verify-title {
	font-size: 24px;
	font-weight: 800;
	color: #424344;
	margin-bottom: 10px;
}

/* Описание */
.verify-description {
	color: #4f6f82;
	font-size: 16px;
	margin-bottom: 30px;
	line-height: 1.5;
}
.verify-email {
	font-weight: 700;
	color: var(--primary);
}

/* Поля для кода */
.code-inputs {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.code-input {
	width: 60px;
	height: 70px;
	border: 2px solid #d1e2ed;
	border-radius: 12px;
	font-size: 28px;
	font-weight: 700;
	text-align: center;
	color: #1e506b;
	background: #fbfbfb;
	outline: none;
	transition: all 0.2s;
}

.code-input:focus {
	border-color: var(--primary);
	background: white;
	box-shadow: 0 0 0 3px rgba(80, 113, 84, 0.1);
}

.code-input.error {
	border-color: #dc3545;
	background: #fff5f5;
}

.code-input.success {
	border-color: #28a745;
	background: #f0fff4;
}

/* Таймер */
.timer {
	font-size: 14px;
	color: #4f6f82;
	margin-bottom: 25px;
	padding: 10px;
	background: #fbfbfb;
	border-radius: 30px;
	display: inline-block;
	padding: 8px 25px;
}
.timer span {
	font-weight: 700;
	color: var(--primary);
}

/* Кнопка подтверждения */
.btn-verify {
	width: 100%;
	background: var(--primary);
	color: white;
	border: none;
	padding: 16px;
	border-radius: 30px;
	font-weight: 700;
	font-size: 16px;
	cursor: pointer;
	transition: 0.15s;
	margin-bottom: 20px;
}
.btn-verify:hover {
	background: var(--brand-dark);
}
.btn-verify:disabled {
	background: #a0c0d2;
	cursor: not-allowed;
}

/* Разделитель */
.separator {
	display: flex;
	align-items: center;
	text-align: center;
	color: #8aa9c0;
	margin: 20px 0;
}
.separator::before,
.separator::after {
	content: '';
	flex: 1;
	border-bottom: 1px solid var(--border-gray);
}
.separator span {
	padding: 0 15px;
	font-size: 13px;
}

/* Блок с дополнительными действиями */
.additional-actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
	margin-top: 20px;
}

/* Кнопка повторной отправки */
.btn-resend {
	background: transparent;
	color: var(--primary);
	border: 2px solid var(--primary);
	padding: 14px 30px;
	border-radius: 30px;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	transition: 0.15s;
	width: 100%;
	max-width: 280px;
}
.btn-resend:hover {
	background: var(--brand-light);
}
.btn-resend:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	border-color: #a0c0d2;
	color: #a0c0d2;
}

/* Ссылка назад */
.back-link {
	color: #8aa9c0;
	text-decoration: none;
	font-size: 14px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	transition: color 0.2s;
	cursor: pointer;
	padding: 8px 16px;
}
.back-link:hover {
	color: var(--primary);
}
.back-link .material-icons {
	font-size: 16px;
}

/* Сообщения */
.alert {
	padding: 15px;
	border-radius: 8px;
	margin: 20px 0;
	font-size: 14px;
	font-weight: 500;
	text-align: left;
}
.alert-success {
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}
.alert-error {
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}
.alert-info {
	background: #d1ecf1;
	color: #0c5460;
	border: 1px solid #bee5eb;
}






/* ── Map page layout (map.php) ───────────────────────────────── */
.map-page-wrap {
    display: flex;
    flex-direction: column;
    height: 1000px;
    border: 1px solid #d5e4d7;
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(48, 75, 54, 0.08);
    overflow: hidden;
}
.map-filter-bar {
    flex: 0 0 auto;
    background: #ffffff00;
    border-bottom: 1px solid #d5e4d7;
    padding: 0;
    z-index: 100;
}
.map-body {
    flex: 1 1 0;
    display: flex;
    min-height: 0;
}
/* Map area — 8 cols */
.map-canvas-wrap {
    flex: 0 0 66.666%;
    position: relative;
}
.map-canvas-wrap #map {
    width: 100%;
    height: 100%;
    border-radius: 0 0 0 16px;
    border: none;
}
/* Listing sidebar — 4 cols */
.map-listings-sidebar {
    flex: 0 0 33.333%;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #d5e4d7;
    background: #f4f8f4;
    overflow: hidden;
}
.map-listings-header {
    flex: 0 0 auto;
    padding: 12px 14px 8px;
    background: #ffffff;
    border-bottom: 1px solid #e1ebe3;
    font-size: 0.88rem;
    color: #718077;
    font-weight: 500;
}
.map-listings-header strong {
    color: #304b36;
}
.map-listings-scroll {
    flex: 1 1 0;
    overflow-y: auto;
    padding: 12px 10px 20px;
}
/* ── Sidebar listing card ──── */
.smap-card {
    display: flex;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 14px rgba(48, 75, 54, 0.07);
    margin-bottom: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
    text-decoration: none;
    color: inherit;
	border: 1px solid #d5e4d7;
}
.smap-card:hover {
    border-color: #507154;
    box-shadow: 0 10px 20px rgba(48, 75, 54, 0.14);
    transform: translateY(-2px);
}
.smap-card.active {
    box-shadow: 0 0 0 2px #507154, 0 8px 18px rgba(48, 75, 54, 0.14);
}
.smap-card-img {
    width: 90px;
    min-width: 90px;
    max-height: 125px;
    object-fit: cover;
}
.smap-card-img-placeholder {
    width: 90px;
    min-width: 90px;
    height: 125px;
    background: #e7f0e8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #507154;
    font-size: 1.4rem;
}
.smap-card-body {
    flex: 1;
    padding: 8px 10px;
    overflow: hidden;
}
.smap-card-price {
    font-size: 1rem;
    font-weight: 700;
    color: #507154;
    white-space: nowrap;
}
.smap-card-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
}
.smap-card-owner {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    color: #718077;
    font-size: .68rem;
    font-weight: 600;
    white-space: nowrap;
}
.smap-card-owner--agent {
    color: #507154;
}
.smap-card-owner img {
    width: 14px;
    height: 14px;
    object-fit: contain;
}
.smap-card-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: #304b36;
    margin: 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.smap-card-meta {
    font-size: 0.76rem;
    color: #718077;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.smap-card-divider {
    height: 0;
    margin: 5px 0 10px;
    border: 0;
    border-top: 1px solid #e1ebe3;
}
.smap-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 4px;
    color: #8a988d;
    font-size: .68rem;
    line-height: 1.2;
}
.smap-card-views {
    white-space: nowrap;
}
.smap-empty {
    text-align: center;
    padding: 40px 20px;
    color: #aaa;
    font-size: 0.9rem;
}
/* ── Price-bubble marker ─── */
.price-marker {
    background: #fff;
    border: 2px solid #507154;
    border-radius: 6px;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: 700;
    color: #222;
    white-space: nowrap;
    position: relative;
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
    cursor: pointer;
    transition: background .15s, color .15s;
}
.price-marker::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #507154;
}
.price-marker.hovered,
.price-marker:hover {
    background: #507154;
    color: #fff;
}
.price-marker.hovered::after,
.price-marker:hover::after {
    border-top-color: #507154;
}
/* Cluster icon override */
.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
    background-color: rgba(46,204,113,.25) !important;
}
.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
    background-color: #507154 !important;
    color: #fff !important;
    font-weight: 700;
}
/* ── Filter bar inner padding ── */
.map-filter-bar .filter-widget {
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
}
/* ── Draw-to-search control ── */
.map-draw-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 400;
    background: #fff;
    border: 2px solid #aaa;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
    transition: background .15s, border-color .15s, color .15s;
    color: #333;
}
.map-draw-btn.active {
    background: #557258;
    border-color: #4a664d;
    color: #fff;
}
.map-draw-btn:hover:not(.active) {
    background: #f0f0f0;
    border-color: #888;
}
.map-draw-clear-btn {
    position: absolute;
    top: 10px;
    right: 185px;
    z-index: 400;
    background: #e74c3c;
    border: 2px solid #c0392b;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    display: none;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
    color: #fff;
}
.map-draw-clear-btn:hover {
    background: #c0392b;
}
.map-draw-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 400;
    background: rgba(0,0,0,.7);
    color: #fff;
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 0.82rem;
    pointer-events: none;
    display: none;
    white-space: nowrap;
}
@media (max-width: 900px) {
    .map-body { flex-direction: column; }
    .map-canvas-wrap { flex: 0 0 55vh; }
    .map-listings-sidebar { flex: 1 1 0; }
}

/* Карта на ноутбуках занимает доступную высоту, а не фиксированные 1000px. */
@media (min-width: 769px) and (max-width: 1440px) {
    .map-page-wrap {
        height: min(1000px, calc(100vh - 110px));
        min-height: 680px;
    }
    .map-canvas-wrap { flex-basis: 64%; }
    .map-listings-sidebar { flex-basis: 36%; }
    .map-listings-scroll { padding-inline: 8px; }
}

/* === Standardized page blocks === */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 45px 0px 20px 0px;
}
.page-header__title {
    margin: 0;
}
.page-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dashboard-layout--public {
    display: block;
}
.search-dashboard-content {
    width: 100%;
    background: transparent;
    box-shadow: none;
    padding: 0;
}
.search-subscribe-msg {
    display: none;
    color: #27ae60;
    font-size: 0.9rem;
    margin-left: 8px;
}
.mini-card-link {
    text-decoration: none;
}
.search-modal--save {
    max-width: 420px;
}
.search-modal--error {
    max-width: 380px;
}
.search-modal__icon {
    margin-right: 8px;
}
.search-modal__footer {
    flex-direction: row;
    gap: 10px;
    justify-content: flex-end;
}
.search-modal__error-title {
    color: var(--danger, #e74c3c);
}
.search-modal__error-text {
    margin: 0 0 20px;
    font-size: 0.9rem;
    color: var(--text);
}
.search-modal__error-actions {
    text-align: right;
}

/* === Notifications admin layout cleanup === */
.notifications-page .alert {
    margin-bottom: 16px;
}
.notification-section-body {
    padding: 20px;
}
.notification-fields-offset {
    margin-top: 12px;
}
.notification-actions {
    margin: 20px 0;
}
.notification-tests {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.notification-test-form {
    flex: 1;
    min-width: 220px;
}
.notification-test-title {
    font-weight: 600;
    margin-bottom: 8px;
}
.notification-test-input {
    width: 100%;
    margin-bottom: 6px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.notification-empty-cell {
    text-align: center;
    color: #aaa;
    padding: 20px;
}
.notification-muted,
.notification-help-text {
    color: var(--text-muted);
}
.notification-pagination-wrap {
    padding: 12px 20px;
    text-align: right;
}
.notification-pagination-caption {
    margin: 0 8px;
    color: var(--text-muted);
}
.chat-notification-image{
	margin-top:20px;
}

/* ===== ФИРМЕННЫЕ ГОРЯЧИЕ ПРЕДЛОЖЕНИЯ ГЛАВНОЙ ===== */
.home-search-stage {
    position: relative;
    min-height: 0;
    margin: 0 0 0px;
    overflow: hidden;
    transition: height .62s cubic-bezier(.22, .61, .36, 1);
}
.home-hero-slider,
.home-filter-panel {
    position: absolute;
    inset: 0;
}
.home-hero-slider {
    overflow: hidden;
    border-radius: 20px;
    background:
        radial-gradient(circle at 18% 22%, rgba(222, 244, 205, .32), transparent 28%),
        radial-gradient(circle at 82% 78%, rgba(116, 188, 164, .24), transparent 30%),
        linear-gradient(118deg, #183b3d 0%, #2e5b4b 46%, #8a9f68 100%);
    color: #fff;
    isolation: isolate;
    transition: opacity .55s ease, transform .62s cubic-bezier(.22, .61, .36, 1), visibility .55s ease;
}
.home-hero-slider::before {
    position: absolute;
    inset: -22%;
    z-index: -4;
    background: conic-gradient(from 210deg at 45% 50%, rgba(153, 214, 177, .08), rgba(255, 231, 164, .2), rgba(71, 141, 151, .16), rgba(153, 214, 177, .08));
    content: '';
    filter: blur(34px);
    opacity: .9;
    animation: homeHeroAurora 8s ease-in-out infinite alternate;
}
.home-hero-slider.is-ready::before { animation-play-state: paused; }
.home-hero-loading {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 14px;
    background: linear-gradient(115deg, rgba(18, 48, 48, .82), rgba(48, 91, 75, .56), rgba(137, 158, 104, .35));
    color: rgba(255, 255, 255, .92);
    opacity: 1;
    transition: opacity .55s ease, visibility .55s ease;
}
.home-hero-slider.is-ready .home-hero-loading {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}
.home-hero-loading__orb {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(221, 242, 190, .22), rgba(221, 242, 190, 0) 68%);
    filter: blur(2px);
    animation: homeHeroBreathe 2.8s ease-in-out infinite;
}
.home-hero-loading__spinner {
    position: relative;
    width: 34px;
    height: 34px;
    border: 2px solid rgba(255, 255, 255, .3);
    border-top-color: #fff;
    border-right-color: #d9efc1;
    border-radius: 50%;
    animation: homeHeroSpin .9s linear infinite;
}
.home-hero-loading__text {
    position: relative;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
@keyframes homeHeroAurora {
    from { transform: translate3d(-3%, -2%, 0) rotate(-4deg) scale(1); }
    to { transform: translate3d(4%, 3%, 0) rotate(5deg) scale(1.08); }
}
@keyframes homeHeroBreathe {
    0%, 100% { transform: scale(.82); opacity: .55; }
    50% { transform: scale(1.12); opacity: 1; }
}
@keyframes homeHeroSpin { to { transform: rotate(360deg); } }
.home-hero-slide {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1.045);
    transition: opacity 1.15s ease, transform 6s ease;
}
.home-hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}
.home-hero-slide--fallback {
    background: linear-gradient(120deg, #3f654b, #1f3527);
}
.home-hero-slide-link {
    position: absolute;
    inset: 0;
}
.home-hero-shade {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(90deg, rgba(17, 30, 21, .82) 0%, rgba(17, 30, 21, .57) 42%, rgba(17, 30, 21, .12) 100%), linear-gradient(0deg, rgba(17, 30, 21, .34), transparent 42%);
}
.home-hero-copy {
    position: relative;
    z-index: 2;
    width: min(100%, 920px);
    max-width: 920px;
    box-sizing: border-box;
    padding: clamp(60px, 6vw, 42px) clamp(28px, 6vw, 61px);
}
.home-hero-kicker {
    margin-bottom: 16px;
    color: #d8ecd9;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .19em;
    text-transform: uppercase;
}
.home-hero-copy h1 {
    display: -webkit-box;
    max-width: 660px;
    overflow: hidden;
    margin: 0;
    color: #fff;
    font-size: clamp(32px, 4.5vw, 60px);
    font-weight: 800;
    letter-spacing: -.001em;
    line-height: .98;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
@media (min-width: 1301px) {
    .home-hero-copy h1 {
        max-width: 690px;
    }
}
.home-hero-copy p {
    max-width: 470px;
    margin: 22px 0 30px;
    color: rgba(255, 255, 255, .84);
    font-size: clamp(15px, 1.45vw, 19px);
    line-height: 1.55;
}
.home-hero-filter-button {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    min-height: 54px;
    padding: 0 22px 0 24px;
    border: 1px solid rgba(255, 255, 255, .54);
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: background .25s ease, transform .25s ease, border-color .25s ease;
}
.home-hero-filter-button i {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: #3f654b;
    transition: transform .25s ease;
}
.home-hero-filter-button:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .24);
    transform: translateY(-2px);
}
.home-hero-filter-button:hover i { transform: translateX(3px); }
.home-hero-property {
    position: absolute;
    right: clamp(26px, 5vw, 76px);
    bottom: 66px;
    z-index: 3;
    display: flex;
    width: min(330px, 30%);
    flex-direction: column;
    color: #fff;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .45s ease, visibility .45s ease, transform .55s ease;
}
.home-hero-property.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.home-hero-property-price {
    margin-bottom: 6px;
    font-size: clamp(22px, 2.2vw, 32px);
    font-weight: 850;
    letter-spacing: -.035em;
}
.home-hero-property-title {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 9px;
    color: rgba(255, 255, 255, .92);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.home-hero-property-details {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    color: rgba(255, 255, 255, .75);
    font-size: 12px;
    line-height: 1.4;
}
.home-hero-property:hover .home-hero-property-price { color: #e2f2e3; }
.home-hero-meta {
    position: absolute;
    right: clamp(26px, 5vw, 72px);
    bottom: 30px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255, 255, 255, .9);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .12em;
}
.home-hero-progress {
    display: block;
    width: 90px;
    height: 2px;
    overflow: hidden;
    background: rgba(255, 255, 255, .34);
}
.home-hero-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: #fff;
    transition: width .4s ease;
}
.home-filter-panel {
    z-index: 3;
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(22px) scale(.985);
    transition: opacity .45s ease, transform .58s cubic-bezier(.22, .61, .36, 1), visibility .45s ease;
}
.home-filter-panel .property-filter-wrapper {
    margin-bottom: 0;
}
.home-filter-close {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 12px 4px;
    padding: 6px 2px;
    border: 0;
    background: none;
    color: #507154;
    font: inherit;
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
}
.home-filter-close:hover { color: #284d31; }
.home-search-stage.is-filter-open .home-hero-slider {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-22px) scale(.985);
}
.home-search-stage.is-filter-open .home-filter-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

/* Выпадающие списки фильтра не должны создавать внутренний скролл сцены. */
.home-search-stage.is-filter-open {
    overflow: visible;
}
.home-search-stage.is-filter-open .home-filter-panel {
    overflow: visible;
}

/* 3D-переворот между слайдером и фильтром. */
.home-search-stage {
    perspective: 1500px;
    transform-style: preserve-3d;
}
.home-search-cube {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transition: transform 1.05s cubic-bezier(.22, .61, .36, 1);
}
.home-search-cube.is-filter-face {
    transform: rotateX(180deg);
}
.home-search-stage .home-search-cube .home-hero-slider,
.home-search-stage .home-search-cube .home-filter-panel {
    backface-visibility: hidden;
    opacity: 1;
    visibility: visible;
    transition: none;
}
.home-search-stage .home-search-cube .home-hero-slider {
    transform: rotateX(0deg);
}
.home-search-stage .home-search-cube .home-filter-panel {
    transform: rotateX(180deg);
    pointer-events: none;
}
.home-search-stage .home-search-cube.is-filter-face .home-filter-panel {
    pointer-events: auto;
}

/* Если нет подходящих объектов, фильтр показывается сразу вместо баннера. */
.home-search-stage--filter-only {
    height: auto !important;
    overflow: visible;
    perspective: none;
}

.home-search-stage--filter-only .home-search-cube {
    position: relative;
    inset: auto;
    transform: none;
}

.home-search-stage--filter-only .home-search-cube .home-filter-panel {
    position: relative;
    inset: auto;
    overflow: visible;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    backface-visibility: visible;
}

@media (max-width: 700px) {
    .home-search-stage { height: 500px; }
    .home-hero-slider { border-radius: 18px; }
    .home-hero-copy { padding: 42px 26px 88px; }
    .home-hero-copy h1 { font-size: clamp(34px, 10vw, 52px); }
    .home-hero-meta { right: 26px; bottom: 24px; }
    .home-hero-property {
        right: 26px;
        bottom: 62px;
        left: 26px;
        width: auto;
    }
}

.home-hot-section {
    position: relative;
    margin: 25px 0 28px;
    padding: 0 20px 20px;
    background: #fff;
    border: 1px solid #dce8df;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(80, 113, 84, .07);
}
.home-hot-section--rent { margin-bottom: 34px; }
.home-hot-heading {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 14px;
    padding: 18px 0 14px;
    border-bottom: 2px solid #507154;
}
.home-hot-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 5px;
    color: #507154;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.home-hot-kicker i { font-size: 12px; }
.home-hot-heading h2 {
    margin: 0;
    color: #363636;
    font-size: 25px;
    font-weight: 850;
    line-height: 1.15;
}
.home-hot-heading-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border: 1px solid #c7daca;
    border-radius: 14px;
    background: #eef5ef;
    color: #507154;
    font-size: 18px;
}
.home-category-nav {
    position: relative;
    z-index: 1;
    margin: 0 0 18px;
    padding: 9px 12px;
    border: 1px solid #e0eae2;
    border-radius: 10px;
    box-shadow: none;
    background: #fff;
    gap: 12px 18px;
}
.home-category-nav a,
.home-category-label {
    color: #363636;
    font-size: 15px;
    font-weight: 600;
}
.home-category-label {
    color: #363636;
    font-weight: 800;
}
.home-category-nav a:hover { color: #363636; }
.home-category-nav .separator { color: #9db6a1; }
.home-commercial-label--short { display: none !important; }

@media screen and (max-width: 1020px) {
    .home-commercial-label--short { display: inline !important; }
    .home-commercial-label--full { display: none !important; }
}

.home-hot-section .properties-grid {
    position: relative;
    z-index: 1;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

@media (min-width: 1286px) {
    .home-hot-section .properties-grid {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }
}
.home-hot-section .property-item {
    min-width: 0;
    border: 1px solid #d8e5db;
    border-radius: 12px;
    box-shadow: 0 5px 16px rgba(80, 113, 84, .07);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.home-hot-section .property-item:hover {
    border-color: #507154;
	border-radius: 10px;
    box-shadow: 0 16px 30px rgba(80, 113, 84, .22);
    transform: translateY(-5px);
}
.home-hot-section .property-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 11px 11px 0 0;
    background: #e6f0e8;
}
.home-hot-image-skeleton {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    background: linear-gradient(110deg, #e6f0e8 8%, #f7fbf8 18%, #e6f0e8 33%);
    background-size: 200% 100%;
    animation: home-hot-image-skeleton 1.25s linear infinite;
}
.home-hot-section .property-image-wrapper.is-image-loaded .home-hot-image-skeleton,
.home-hot-section .property-image-wrapper.is-image-error .home-hot-image-skeleton {
    display: none;
}
.home-hot-section .property-image-wrapper img {
    border-radius: 0;
    transition: transform .35s ease, filter .35s ease;
}
.home-hot-section .home-hot-card-image {
    position: relative;
    z-index: 1;
    opacity: 0;
    transition: opacity .22s ease, transform .35s ease, filter .35s ease;
}
.home-hot-section .property-image-wrapper.is-image-loaded .home-hot-card-image,
.home-hot-section .property-image-wrapper.is-image-error .home-hot-card-image {
    opacity: 1;
}
@keyframes home-hot-image-skeleton {
    to { background-position: -200% 0; }
}
    border-radius: 0;
    transition: transform .35s ease, filter .35s ease;
}
.home-hot-section .property-item:hover .property-image-wrapper img {
    transform: scale(1.06);
    filter: saturate(1.08);
}
.home-hot-section .property-on-image,
.home-hot-section .price-on-image {
    border: 1px solid rgb(28 26 26 / 48%);
    border-radius: 8px;
    background: rgb(36 36 36 / 92%);
    padding: 0px 8px;
    font-size: 11px;
}
.home-hot-section .price-on-image { background: #2b2c2b; font-weight: 800; }
.home-hot-section .property-item:hover .price-on-image { background: #2b2c2b; }
.home-hot-section .property-content {
    min-height: 110px;
    padding: 9px 10px 0px;
    background: #fff;
	border-radius: 0px 0px 10px 10px;
}
.home-hot-section .properties-grid > a {
    display: block;
    min-width: 0;
}
.home-hot-card-title {
    display: -webkit-box;
    min-height: 36px;
    overflow: hidden;
    color: #363636;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.home-hot-card-address {
    display: -webkit-box;
    min-height: 18px;
    margin-top: 5px;
    overflow: hidden;
    color: #8f8f8f;
    font-size: 11px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}
.home-hot-card-address i { margin-right: 3px; color: #507154; }
.home-hot-section .property-specs {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 5px 9px;
    margin: 7px 0 0;
    padding-top: 6px;
    border-top: 1px solid #e5eee7;
    color: #456052;
    font-size: 12px;
    font-weight: 700;
    overflow: hidden;
}
.home-hot-spec {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
.home-hot-spec i {
    color: #507154;
    font-size: 10px;
    flex: 0 0 auto;
}
.home-hot-section .property-item:hover .property-content { background: #f3f7f3; }
.home-hot-section .property-item:hover .property-specs { color: #3d5f41; }
@media (max-width: 900px) {
    .home-hot-section .properties-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .home-hot-section { padding: 0 14px 14px; border-radius: 16px; }
    .home-hot-heading h2 { font-size: 21px; }
    .home-hot-heading-mark { width: 40px; height: 40px; flex-basis: 40px; }
    .home-category-nav { gap: 9px 12px; }
    .home-hot-section .properties-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
}
