/* ===== Normalize.css ===== */

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

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul,
figure,
blockquote,
dl,
dd {
    margin: 0;
    padding: 0;
}

/* Set core body defaults */
body {
    min-height: 100vh;
    line-height: 1.5;
    font-family: 'Inter', sans-serif;
    font-optical-sizing: auto;
    display: flex;
    flex-direction: column;
}

header {
    background-color: #FFD211;
}

main {
    flex-grow: 1;
    position: relative;
}

footer {
    flex-shrink: 0;
}

/* Improve media defaults */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
}

/* Remove list styles on ul, ol */
ul,
ol {
    list-style: none;
}

/* Links */
a {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

/* Tables */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Forms */
button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
    border: none;
    padding: 0;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

select::-ms-expand {
    display: none;
}

/* Chrome, Safari, Edge и Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

button {
    cursor: pointer;
}

input,
textarea,
select {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
}

input:focus,
textarea:focus,
select:focus {
    outline: 0px solid #2563eb;
    outline-offset: 0px;
}

.container {
    margin: 0 auto;
    max-width: 1279px;
    padding: 0 35px;
    position: relative;
}


.header__wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 17px 0;
    background-color: #FFD211;
}

.header__logo {
    min-width: 131px;
    max-height: 55px;
}

.header__logo img {
    max-height: 55px;
    object-fit: contain;
}

.header__mobile_burger {
    display: none;
}

.header__nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 58px;
}

.header__nav a {
    font-size: 16px;
    line-height: 22.5%;
}

.header__nav ul {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.header__nav_oll {
    position: relative;
}

.header__nav_oll::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    position: absolute;
    left: -20px;
}

.header__contacts {
    min-width: 170px;
    display: flex;
}

.header__contacts_img {
    width: 30px;
    height: 30px;
    margin: 5px 3px 0 0;
}

.header__contacts_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    text-align: right;
}

.header__contacts_wrapper img {
    width: 17px;
    height: 16px;
    margin-left: 6px;
}

.header__contacts_phone {
    font-size: 16px;
    line-height: 16px;
    text-align: right;
}

.header__contacts_phone_description {
    font-size: 10px;
    line-height: 16px;
    justify-content: flex-end;
    align-items: center;
}

.top__slider {
    width: 100%;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

.top__slider:active {
    cursor: grabbing;
}

.top__slider_slide {
    width: 372px;
    height: 210px;
    border: 1px solid #000;
    position: relative;
    margin-left: -1px;
}

.top__slider_img {
    width: 100%;
    height: 100%;
}

.top__slider_img img {
    object-fit: fill;
    -webkit-user-drag: none;
    user-select: none;
    width: 100%;
    height: 100%;
}

.top__slider_btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    height: 50px;
    min-width: 172px;
    max-width: 220px;
    background-color: #FFBB00;
    border-radius: 20px;
    width: max-content;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.top__slider_btn a {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    line-height: 14px;
    font-weight: 200;
    padding: 0 13px;
    width: 100%;
    height: 100%;
}

.top__slider .marquee-track {
    transition-timing-function: linear !important;
    will-change: transform;
}

.marquee-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
}

.marquee-slide {
    flex: 0 0 auto;
}

.filter-section {
    width: 100%;
    position: relative;
    margin-top: -48px;
    z-index: 30;
    margin-bottom: 10px;
}

.tabs {
    display: flex;
    justify-content: space-around;
    padding: 0 18px;
    gap: 3px;
}

.tab {
    border-radius: 12px 12px 0 0;
    background: #FFBB00;
    border: none;
    font-size: 13px;
    font-weight: 500;
    width: 100%;
    box-shadow: 0 -2px 3px rgba(0, 0, 0, 0.25);
}

.tab a {
    display: block;
    padding: 14px 11px;
    text-align: center;
    color: #5a3e00;
    text-decoration: none;
    font-weight: 500;
}

.tab.active {
    background: #CC8C00;
    box-shadow:
        inset 0 5px 10px rgba(0, 0, 0, 0.28),
        inset 3px 0 6px rgba(0, 0, 0, 0.10),
        inset -3px 0 6px rgba(0, 0, 0, 0.10);
    position: relative;
    z-index: 1;
}

.tab.active a {
    color: #fff;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.30);
}

.filter-panel {
    background: linear-gradient(180deg, #FFD211, #FFE573);
    padding: 15px;
    border-radius: 20px;
    font-size: 16px;
}

.filter-btn_wrapper {
    display: none;
}

.filter-row {
    display: flex;
    gap: 6px;
    align-items: end;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.filter-row+.filter-row {
    margin-top: 16px;
}

.filter-item {
    display: flex;
    flex-direction: column;
}

.filter-item label {
    font-size: 14px;
    font-weight: 200;
}

.district {
    width: 23%;
}

.area {
    flex: 1 0 19%;
    align-self: flex-end;
}

.ideal {
    flex: 0 1 255px;
}

.type {
    width: 23%;
}

.price {
    flex: 1 0 19%;
    flex-direction: row;
}

.search {
    height: 49px;
    position: relative;
    flex: 1 1 39%;
}

.search input {
    height: 48px !important;
    border-radius: 20px !important;
    padding: 0 38px;
    color: #000 !important;
}

.search-icon {
    display: block;
    position: absolute;
    width: 20px;
    top: 14px;
    left: 10px;
}


.filter-panel input,
.filter-panel select {
    height: 28px;
    border-radius: 11px;
    border: none;
    font-size: 11px;
    font-weight: 200;
    color: #9E9E9E;
    background: #fff;
    outline: none;
    width: 100%;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.filter-panel input::placeholder {
    color: #9e9e9e;
    opacity: 1;
    font-weight: 200;
}

.filter-panel input::-webkit-input-placeholder {
    color: #9e9e9e;
    font-weight: 200;
}

.filter-panel input::-moz-placeholder {
    color: #9e9e9e;
    opacity: 1;
    font-weight: 200;
}

.filter-panel select {
    background-image: url('/img/select.svg');
    background-repeat: no-repeat;
    background-position: right 13px center;
    background-size: 14px;
    background-color: white;
}

/* Кастомний дропдаун (#estate-search): нативний список ОС замінюємо на панель у стилі сайту */
.filter-select {
    position: relative;
    width: 100%;
}

.filter-select__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    min-height: 28px;
    height: 28px;
    border-radius: 11px;
    border: none;
    font-size: 11px;
    font-weight: 200;
    color: #9e9e9e;
    background-color: #fff;
    background-image: url('/img/select.svg');
    background-repeat: no-repeat;
    background-position: right 11px center;
    background-size: 14px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    padding: 0 30px 0 12px;
    text-align: left;
    cursor: pointer;
    line-height: 1.2;
}

.filter-panel .filter-select__btn {
    font-size: 11px;
    font-weight: 200;
    color: #9e9e9e;
}

.filter-select__btn:hover,
.filter-select.is-open .filter-select__btn {
    background-color: #fffef5;
}

.filter-select__current {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.filter-select__chevron {
    display: none;
}

.filter-select__list {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    z-index: 200;
    max-height: 280px;
    overflow-y: auto;
    margin: 0;
    padding: 6px 0;
    list-style: none;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.08);
    -webkit-overflow-scrolling: touch;
}

.filter-select__list [role="option"] {
    padding: 10px 14px;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.35;
    cursor: pointer;
    color: #333;
}

.filter-panel .filter-select__list [role="option"] {
    font-size: 11px;
    font-weight: 400;
}

.filter-select__list [role="option"]:hover,
.filter-select__list [role="option"]:focus {
    background: #fff6d6;
    outline: none;
}

.filter-select__list [role="option"][aria-selected="true"] {
    background: linear-gradient(90deg, #ffe08a 0%, #fff3c4 100%);
    font-weight: 600;
}

.filter-select__native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
    white-space: nowrap !important;
}

.filter-select--sort .filter-select__btn {
    background-image: url('/img/selectG.svg');
    border-radius: 27px;
    font-size: 12px;
    font-weight: 400;
    color: #8e8e93;
    min-height: auto;
    height: auto;
    padding: 13px 41px 13px 22px;
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.filter-select--sort .filter-select__list [role="option"] {
    font-size: 12px;
    font-weight: 400;
    color: #333;
}

.filter-select--sort .filter-select__list {
    border-radius: 14px;
}

.range {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
}

.range_text {
    min-width: 86px;
}

.range span {
    font-size: 14px;
    font-weight: 200;
}

.filter-item_wrapper {
    display: flex;
    flex: 1 1 38%;
}

.checkbox-wrap {
    display: flex;
    align-items: center;
    flex-direction: row;
    align-self: flex-end;
    margin-left: auto;
    gap: 6px;
    margin-right: auto;
    flex-wrap: wrap;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    white-space: nowrap;
}

.checkbox input {
    width: 18px;
    height: 18px;
    border-radius: 0;
    background-color: #00000000;
    border: 1px solid #000;
    appearance: auto !important;
    -webkit-appearance: auto !important;
    -moz-appearance: auto !important;
}

.filter-btn {
    padding: 15px;
    border-radius: 22px;
    border: none;
    cursor: pointer;
    font-weight: 400;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.btn-primary {
    background: #f2b600;
}

.btn-secondary {
    background: #f2b600;

}

.setting-btn-icon {
    width: 65px;
    height: 49px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f2b600;
}


.setting-btn-icon img {
    width: 31px;
}

.filter-item-tab {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex-direction: row;
    align-items: center;
    margin-top: 10px;
}

.filter-item_btn_wrapper {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.filter-item-tab-item {
    height: 30px;
    background-color: #FFE573;
    border-radius: 11px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    font-size: 14px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-item-tab-item-text {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 300;
    white-space: nowrap;
}

.filter-item-tab-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    color: #333;
    font-size: 18px;
    font-weight: 300;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
    padding-bottom: 2px;
    box-sizing: border-box;
    transition: background 0.15s;
}

.filter-item-tab-close:hover {
    background: rgba(0, 0, 0, 0.3);
    color: #000;
}

.filter-item {
    opacity: 1;
    visibility: visible;
}


.filter-panel.is-compact .filter-item.district,
.filter-panel.is-compact .filter-row-top,
.filter-panel.is-compact .filter-item.area,
.filter-panel.is-compact .type,
.filter-panel.is-compact .price,
.filter-panel.is-compact .filter-item.checkbox-wrap {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
}

.filter-panel.is-compact .filter-item-tab,
.filter-panel.is-compact .filter-row-bottom {
    margin: 0;
}

.info__title_bar {
    font-size: 30;
    font-weight: 800;
    line-height: 22.5px;
    background-color: #FFE573;
    border-radius: 20px;
    padding: 18px 21px;
    margin: 13px 0;
}

.obgect_wrapper {
    width: 100%;
    display: flex;
    gap: 17px;
    flex-wrap: wrap;
    justify-content: center;
}

.product_card {
    padding: 6px;
    background-color: #DEDEDE;
    border-radius: 15px;
    width: calc(25% - 13px);
    max-width: 289px;
    min-width: 0;
    height: 219px;
    box-shadow:
        0 1px 2px 0 rgba(0, 0, 0, 0.30),
        0 2px 6px 2px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    border: 3px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    color: inherit;
    text-decoration: none;
}

.product_card:hover {
    color: inherit;
    text-decoration: none;
}

.product_card_img_block {
    width: 100%;
    height: 142px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 3px;
    background-color: #C4C4C4;
}

.product_card_img_block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product_card_deskription_wrapper {
    display: flex;
    justify-content: space-between;
    flex: 1;
    min-height: 0;
}

.product_card_deskription_block {
    display: flex;
    flex-direction: column;
}

.product_card_deskription_footage {
    font-size: 20px;
    font-weight: 400;
    line-height: 20px;
}

.product_card_deskription_type {
    font-size: 10px;
    font-weight: 400;
    line-height: 14px;
}

.product_card_deskription_address {
    color: #5C5C5C;
    font-size: 10px;
    line-height: 10px;
}

.product_card_deskription_district {
    color: #5C5C5C;
    font-size: 10px;
    letter-spacing: -0.59px;
}

.product_card_price_block {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product_card_price {
    background-color: #FFE473;
    font-size: 18px;
    font-weight: 400;
    padding: 0 8px;
    letter-spacing: -0.81px;
    border-radius: 17px;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.25);
}

.product_card_more {
    font-size: 9px;
    font-weight: 400;
    background-color: #FFBB00;
    border-radius: 17px;
    align-self: flex-end;
    padding: 2px 2px 2px 4px;
}

.product_card_more a {
    padding: 5px;
}

.catalog-item.active-card .product_card {
    border-color: #FFD211;
    box-shadow:
        0 0 0 2px #FFD211,
        0 4px 12px rgba(255, 210, 17, 0.4);
}

#estate-list.has-selected .catalog-item:not(.active-card) .product_card {
    opacity: 0.4;
    filter: grayscale(70%);
}

#estate-list.has-selected .catalog-item:not(.active-card) .product_card:hover {
    opacity: 0.7;
    filter: grayscale(30%);
}

.main__best_obgect_more {
    width: 100%;
    margin: 13px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
}

.main__best_obgect_btn {
    display: flex;
    align-items: center;
    justify-content: end;
    width: 238px;
    height: 37px;
    background-color: #FFE573;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: -0.56px;
    border-radius: 20px;
    cursor: pointer;
}

.main__best_obgect_img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 50%;
    margin: 0 4px 0 10px;
}

.card_grid_brokerage {
    background-color: #FFD211;
    padding: 18px;
}

.card_grid_blog {
    background-color: #828282;
    padding: 18px 18px 12px;
}

.main__card_grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 15px;
}

.main__card_grid_wrapper {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

.main__card_grid_item {
    display: flex;
    flex-direction: column;
    flex: 1;
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    height: auto;
    color: inherit;
    text-decoration: none;
}

.main__card_grid_item:hover {
    text-decoration: none;
    color: inherit;
}

.main__card_grid_item_img {
    max-height: 134px;
    overflow: hidden;
}

.main__card_grid_item_img img {
    width: 100%;
    object-fit: cover;
}

.main__card_grid_item_title {
    padding: 14px 16px 8px 16px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.main__card_grid_item_text {
    padding: 0 16px;
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog__more {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 102px;
    padding: 4px;
    height: 37px;
    background-color: rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    margin: 8px 8px 0 8px;
    cursor: pointer;
    text-decoration: none;
}

.blog__more:hover {
    background-color: rgba(0, 0, 0, 0.14);
    text-decoration: none;
}

.blog__more_text {
    font-size: 13px;
    font-weight: 600;
    margin-left: 13px;
    letter-spacing: -0.56px;
    color: #333;
}

.blog__more_img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 30px;
}

.quick__search {
    width: 100%;
    margin-bottom: 16px;
    padding-bottom: 10px;
}

.quick__search_row {
    overflow: hidden;
    width: 100%;
    margin-bottom: 8px;
    padding: 9px 0;
    user-select: none;
}

.quick__search_row .marquee-track {
    gap: 12px;
    will-change: transform;
}

.quick__search_row.quick__search_row--rtl {
    margin-top: 28px;
    margin-bottom: 28px;
}

.quick__search_wrapper {
    width: 100%;
    display: flex;
}

.quick__search_column {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.quick__search_item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 14px;
    width: 240px;
    height: 78px;
    background-color: #FFE473;
    border-radius: 30px;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.65px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.quick__search_item.displaced {
    transform: translate(-50%);
}

.card_grid_blog_title {
    font-size: 30px;
    font-weight: 800;
    align-self: flex-start;
    color: #fff;
    margin-bottom: 19px;
}

.main__clients {
    margin-bottom: 21px;
    margin-bottom: 21px;
    overflow: hidden;
    padding: 10px 0;
}

.main__clients_wrapper .marquee-slide {
    border: none;
    height: auto;
    width: auto;
    margin-right: 36px;
}

.main__clients_title {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 10px;
}

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

.main__clients_item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 117px;
    height: 117px;
    border-radius: 20px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.main__clients_item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.main__reviews {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.main__reviews_title {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 19px;
}

.main__reviews_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 26px;
    gap: 17px;
}

.main__reviews_wrapper .marquee-slide {
    height: auto;
    border: none;
    width: auto;
    margin-right: 17px;
}

.main__reviews_item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    max-width: 357px;
    height: 235px;
    padding: 25px 20px 25px 75px;
    background-color: #FFBB00;
    border-radius: 20px;
}

.main__reviews_item::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 24px;
    left: 25px;
    top: 30px;
    background-image: url('/img/div.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.main__reviews_item_text {
    font-size: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.main__reviews_item_signature {
    font-size: 10px;
    font-weight: 800;
}

.main_ceo {
    height: auto;
    border: 1px solid #BDBDBD;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 26px;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
}

.main_ceo p {
    margin: 0 0 12px;
}

.main_ceo p:last-child {
    margin-bottom: 0;
}

.main_ceo h2 {
    font-size: 20px;
    font-weight: 800;
    margin: 16px 0 10px;
    line-height: 1.3;
}

.search_block_header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.search__block_title {
    font-size: 18px;
    border-block-end-width: 600;
    margin-bottom: 0;
    flex: 1;
    min-width: 0;
}

.search__block__aktion_wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.search__block__aktion_button_wrapper {
    display: flex;
    max-width: 70%;
    gap: 10px;
}

.search__block__aktion_button_item {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFE573;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    padding: 11px 15px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.30), 0 2px 6px rgba(0, 0, 0, 0.15);
}

.search__block__aktion_sort_item {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.search__block__aktion_sort_item select {
    font-size: 12px;
    color: #8E8E93;
    padding: 13px 41px 13px 22px;
    border-radius: 27px;
    background-image: url('/img/selectG.svg');
    background-repeat: no-repeat;
    background-position: 106px 20px;
    background-size: 14px;
    background-color: white;
}

.search_block_content_wrapper {
    display: flex;
    gap: 17px;
    flex-wrap: wrap;
    margin-bottom: 11px;
}

/* Робимо .catalog-item прозорою обгорткою для flex-розкладки (як на головній).
   Скасовує застарілі правила з site.css (margin: -20px тощо). */
.search_block_content_wrapper .catalog-item,
.viewed_wraper .catalog-item {
    display: contents;
}

.search_block_content_aktion_wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    margin-bottom: 11px;
}

.search_block_content_aktion_more {
    padding: 12px 20px;
    background-color: #FFE573;
    border-radius: 30px;
    font-size: 13px;
    letter-spacing: -0.56px;
    white-space: nowrap;
    display: inline-block;
    width: auto;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search_block_content_aktion_more:hover {
    background-color: #FFD211;
    text-decoration: none;
    color: inherit;
}

.search_block_content_aktion_more--disabled,
.search_block_content_aktion_more--disabled:hover {
    background-color: #d5d5d5;
    color: #999;
    cursor: not-allowed;
}

.search_block_content_aktion_show {
    font-size: 12px;
    color: #8E8E93;
    padding: 13px 41px 13px 22px;
    border-radius: 27px;
    background-image: url('/img/selectG.svg');
    background-repeat: no-repeat;
    background-position: 106px 20px;
    background-size: 14px;
    background-color: white;
    cursor: pointer;
}

.map__block {
    margin-bottom: 25px;
}

.map__block_title {
    font-size: 30px;
    font-weight: 700;
}

.map__block_map_wrapper {
    width: 100%;
    height: 553px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}


.breadcrumbs {
    display: flex;
    align-items: start;
    margin-bottom: 12px;

    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 5px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.breadcrumbs::-webkit-scrollbar {
    display: none;
}

.breadcrumbs_item {
    display: block;
    font-size: 15px;
    font-weight: 200;
    margin-right: 39px;
    position: relative;
    cursor: pointer;
    width: auto;
    white-space: nowrap;
}

.breadcrumbs_item::after {
    content: "";
    background: url(/img/next.png) no-repeat center/contain;
    display: block;
    height: 10px;
    width: 30px;
    position: absolute;
    top: -7px;
    right: -34px;
}

.breadcrumbs_item:last-child {
    color: #B2B2B2;
    margin-right: 0px;
}

.breadcrumbs_item:last-child::after {
    content: none;
}


.obgect_product_block {
    margin: 20px 0 30px;
}

.object-product__video_mobile {
    display: none;
}

.object-product__left {
    display: flex;
    flex-direction: column;
    gap: 10px;
    float: left;
    width: 49%;
    min-height: 200px;
    margin: 0 20px 10px 0;
}

.object-product__photo-main {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.object-product__photo-main a img {
    height: auto;
    object-fit: cover;
}

.object-product__photo-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.object-product__thumb {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15);
    position: relative;
    cursor: pointer;
    aspect-ratio: 4 / 3;
}

.object-product__thumb a {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.object-product__thumb:hover {
    opacity: 0.9;
}

.object-product__thumb.active {
    box-shadow: 0 0 0 2px #FFBB00;
}

.object-product__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.object-product__video {
    margin-top: 10px;
    padding: 12px 17px 21px;
    border-radius: 20px;
    background-color: #828282;
}

.object-product__video-title {
    font-size: 25px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 13px;
}

.object-product__video-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.object-product__video-frame iframe {
    display: block;
    width: 100%;
    height: 260px;
}

/* Contact block on object page */
.object-contact-block {
    margin: 0 0 30px;
    padding: 20px 24px;
    border-radius: 20px;
    background: #f5f5f5;
}

.object-contact-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 14px;
}

.object-contact-body {
    display: flex;
    align-items: center;
    gap: 20px;
}

.object-contact-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.object-contact-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.object-contact-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.object-contact-phones {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.object-contact-phones a {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
}

.object-contact-phones a:hover {
    color: #FFBB00;
}

.object-product__right {
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow: hidden;
    margin-bottom: 16px;
    padding-left: 5px;
    position: relative;
}

.object-product__wrapper {
    margin-bottom: 10px;
}

.object-product__title {
    font-size: 25px;
    font-weight: 600;
    line-height: 25px;
}

.object-product__price-row {
    display: flex;
    flex-direction: column;
}

.object-product__price-badge {
    background-color: #FFE573;
    border-radius: 20px;
    padding: 11px 19px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    font-size: 30px;
    font-weight: 700;
    width: fit-content;
    letter-spacing: -0.56px;
    margin-bottom: 16px;
}

.object-product__meta {
    display: flex;
    flex-direction: column;
    font-size: 20px;
    font-weight: 200;
    width: fit-content;
}

.object-product__meta-item {
    line-height: 1;
    margin-bottom: 11px;
}

.meta_item-square {
    padding-left: 21px;
    position: relative;
    margin-bottom: 20px;
    font-size: 15px;
}

.meta_item-square::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 4px;
    width: 14px;
    height: 14px;
    background: url(/img/arrow-expand.svg) no-repeat center/contain;
}

.object-product__address {
    font-size: 20px;
    line-height: 20px;
    font-weight: 200;
    margin-bottom: 15px;
}


.product__tags_control {
    float: right;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 30px;
    right: 0;
}

.button__yellow {
    background-color: #FFBB00;
    width: 170px;
    height: 40px;
    border-radius: 30px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    box-shadow:
        0px 1px 2px rgba(0, 0, 0, 0.3),
        0px 2px 6px rgba(0, 0, 0, 0.15);
}

.tags_control_phone {
    font-size: 14px;
    letter-spacing: -0.56px;
}

.tags_control_phone a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tags_control_social {
    display: flex;
    width: 119px;
    justify-content: space-between;
    margin: 0 auto 10px;
}

.tags_control_social img {
    width: 29px;
    height: 29px;
}

.tags_control_lookLike {
    background-color: #FFE473;
    font-size: 10px;
    letter-spacing: -0.2px;
}

.tags_control_map {
    font-size: 14px;
    letter-spacing: -0.56px;
}

.tags_control_googleMap {
    font-size: 10px;
    margin-bottom: 0;
}

.object-product__tag {
    border-radius: 30px;
    padding: 13px 19px;
    font-size: 15px;
    font-weight: 200;
    background: #828282;
    cursor: default;
    color: #fff;
    display: inline-flex;
    align-items: center;
    height: 40px;
    margin: 0px 10px 10px 0;
}


.object-product__description-long {
    display: block;
    clear: none;
    overflow: hidden;
    border: 2px solid #bbb;
    border-bottom: none;
    border-radius: 20px 20px 0 0;
    background-color: #fff;
    box-shadow: 2px -2px 6px rgba(0,0,0,0.08), -2px -2px 6px rgba(0,0,0,0.08);
    clip-path: inset(-10px -10px 0 -10px);
    position: relative;
    z-index: 1;
    margin-bottom: -2px;
    padding: 15px 17px 0px 17px;
}
.object-product__description-rest {
    clear: both;
    border: 2px solid #bbb;
    border-radius: 20px 0 20px 20px;
    box-shadow: -2px 2px 6px rgba(0,0,0,0.08), 2px 2px 6px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.15);
    padding: 10px 17px 0px 17px;
}

.object-product__description-block {
    padding: 0px 0px 21px 0px;
}

.object-product__section-title {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 6px;
}

.object-product__description-text {
    font-size: 21px;
    font-weight: 200;
    line-height: 21px;
}

.object-product__description-text p {
    margin-bottom: 21px;
}



.objects_map_wrapper {
    width: 100%;
    height: 371px;
    margin-bottom: 20px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.viewed {
    margin: 0 0 30px 0;
}

.viewed_title {
    font-size: 26px;
    font-weight: 800;
}

.viewed_wraper {
    width: 100%;
    margin: 15px 0 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
    justify-content: flex-start;
}


.footer_wrapper {
    width: 100%;
    height: auto;
    background-color: #828282;
    display: flex;
    justify-content: space-between;
    border-radius: 20px;
    padding: 23px;
    position: relative;
    color: #F9FAFB;
    gap: 10px;
    font-size: 12px;
}

.footer__media_block {
    display: flex;
    gap: 9px;
    height: 21px;
    margin-top: auto;
}

.footer__media_block img {
    width: 21px;
    height: 21px;
}

.footer__title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer__kontakt_text {
    margin-bottom: 15px;
}

.footer_text_mail {
    margin: 0;
}

.footer__kontakt_messengers {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    width: fit-content;
}

.footer__kontakt_messengers img {
    width: 18px;
}

.footer__offer_item,
.footer__info_item {
    margin-bottom: 14px;
}

.footer__subscription_block {
    width: 275px;
    height: 142px;
    background-color: #FFBB00;
    color: #02033B;
    border-radius: 16px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer__subscription_form_title {
    font-size: 15px;
    font-weight: 800;
}

.footer__subscription_form_subtitle {
    font-size: 11px;
}

.footer__form {
    display: flex;
}

.footer__form input {
    background-color: #fff;
    font-size: 10px;
    color: #02033B73;
    border-radius: 22px 0 0 22px;
    border: none;
}

.footer__form input:focus {
    border: none;
}

.footer__form button {
    font-size: 9px;
    font-weight: 800;
    padding: 6px 0;
    width: 70px;
    background-color: #FFE573;
    border-radius: 0px 22px 22px 0;
}

/* Плашка згоди на cookie: Так / Ні */
.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 6000;
    padding: 10px 12px 12px;
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    color: #f3f4f6;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.35);
}

.cookie-consent__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    max-width: 1279px;
    margin: 0 auto;
}

.cookie-consent__msg {
    margin: 0;
    flex: 1 1 200px;
    min-width: 0;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    color: #e5e7eb;
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    flex-shrink: 0;
}

.cookie-consent__btn {
    border: none;
    border-radius: 18px;
    min-width: 56px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.cookie-consent__btn--yes {
    background: #fde047;
    color: #1a1a1a;
}

.cookie-consent__btn--yes:hover {
    background: #facc15;
}

.cookie-consent__btn--no {
    background: transparent;
    color: #e5e7eb;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.cookie-consent__btn--no:hover {
    background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 650px) {
    .cookie-consent {
        padding: 7px 7px 9px;
    }

    .cookie-consent__inner {
        gap: 7px;
    }

    .cookie-consent__msg {
        font-size: 9px;
        line-height: 1.28;
        flex-basis: 100%;
    }

    .cookie-consent__actions {
        width: 100%;
        justify-content: stretch;
        gap: 5px;
    }

    .cookie-consent__btn {
        flex: 1 1 50%;
        text-align: center;
        font-size: 9px;
        padding: 5px 9px;
        min-width: 0;
        border-radius: 12px;
    }
}

.copyright {
    position: absolute;
    bottom: 23px;
    right: 28px;
}

@media (max-width: 1100px) {


    .header__wrapper {
        height: 46px;
        padding: 0;
        position: relative;
        z-index: 35;
    }

    .header__wrapper::after{
        content: '';
        width: 100%;
        height: 100%;
        position: absolute;
        z-index: 2;
        background-color: #ffd311;
    }

    .header__logo {
        position: relative;
        z-index: 5;
        margin: 0 auto;
        max-height: 46px;
        min-width: auto;
    }

    .header__logo img {
        max-height: 28px;
    }

    .header__nav {
        transition: all 0.5s ease-in-out;
        transform: translateY(-100%);
        position: absolute;
        top: 0px;
        right: 6px;
        z-index: -90;
        width: auto;
        background-color: #ffd311;
        color: #ffd311;
        padding: 55px 10px 10px;
        border-radius: 10px;
        opacity: 0;
    }

    .header__nav.active {
        transform: translateY(0);
        z-index: -1;
        color: #000;
        opacity: 1;
    }

    .header__nav a {
        line-height: 1;
        padding: 20px 30px;
    }

    .header__nav ul {
        flex-direction: column;
    }

    .header__mobile_burger {
        display: block;
        padding: 20px;
        z-index: 200;
        position: absolute;
        right: 0;
    }

    .header__mobile_burger_btn {
        display: block;
        width: 15px;
        height: 2px;
        background-color: #000;
        position: absolute;
        right: 20px;
        top: 20px;
        z-index: 100;
    }

    .header__mobile_burger_btn::before {
        content: "";
        display: block;
        width: 15px;
        height: 2px;
        background-color: #000;
        position: absolute;
        right: 0;
        top: -5px;

    }

    .header__mobile_burger_btn::after {
        content: "";
        display: block;
        width: 15px;
        height: 2px;
        background-color: #000;
        position: absolute;
        right: 0;
        top: 5px;
    }

    .header__contacts {
        display: none;
    }

    

}

@media (min-width: 451px) and (max-width: 1200px) {
    .container {
        width: 100%;
        padding: 0 5px;
    }

    .zero_wrapper {
        padding: 0 !important;
    }

    .search_block_content_wrapper {
        justify-content: center;
    }

    .filter-item label {
        font-size: 12px;
    }

    .filter-panel input,
    .filter-panel select,
    .filter-panel .filter-select__btn,
    .filter-panel .filter-select__list [role="option"] {
        font-size: 12px;
    }

    .filter-panel input::placeholder,
    .filter-panel input::-webkit-input-placeholder,
    .filter-panel input::-moz-placeholder {
        font-size: 12px;
    }

    .district {
        width: 20%;
    }

    .checkbox-wrap {
        margin-right: 5px;
        gap: 3px;
    }

    .checkbox {
        gap: 4px;
    }

    .checkbox  input {
        min-height: auto;
    }

    .type {
        width: 20%;
    }

    .range {
        gap: 5px;
    }

    .range_text {
        min-width: 75px;
    }

    .filter-panel input {
        min-width: 30px;
    }

    .filter-btn{
        padding: 10px;
        font-size: 12px;
    }

    .setting-btn-icon {
        width: 66px;
        height: 39px;
    }

    .product_card {
        width: 30%;
    }

    .viewed_wraper {
        justify-content: flex-start;
    }

    .viewed_wraper > *:nth-child(n+5) {
        display: none;
    }

    .object-product__price-badge {
        font-size: 25px;
    }

    .object-product__address {
        margin-top: 100px;
    }

    .product__tags_control {
        top: 15%;
    }

    .object-product__left {
        margin: 0 10px 10px 0;
    }
 
}

@media (max-width: 1100px) and (min-width: 651px) {
    .card_grid_blog .main__card_grid_wrapper,
    .card_grid_brokerage .main__card_grid_wrapper {
        flex-wrap: wrap;
        gap: 14px;
    }

    .card_grid_blog .main__card_grid_item,
    .card_grid_brokerage .main__card_grid_item {
        flex: 0 0 calc(50% - 7px);
        max-width: calc(50% - 7px);
    }

    .main__card_grid_item_title {
        font-size: 18px;
        padding: 16px 18px 8px 18px;
    }

    .main__card_grid_item_text {
        font-size: 14px;
        padding: 0 18px;
        margin-bottom: 18px;
    }
}

@media (min-width: 201px) and (max-width: 740px) {

    .product_card {
        width: 48%;
        height: 200px;
    }

    .product_card_img_block {
        height: 110px;
    }

    .product_card_deskription_footage {
        font-size: 18px;
        line-height: 20px;
    }

    .product_card_deskription_type {
        font-size: 13px;
        line-height: 15px;
    }

    .product_card_deskription_address,
    .product_card_deskription_district {
        font-size: 10px;
        line-height: 12px;
    }

    .product_card_price {
        font-size: 14px;
    }

    .product_card_more {
        font-size: 8px;
    }

    .header__nav a {
        line-height: 1;
        padding: 10px 10px;
    }

    .range_text {
        min-width: 40px;
        display: flex;
    align-items: end;
    }

    .footer_wrapper {
        font-size: 8px;
        border-radius: 0px;
        padding: 145px 17px 31px;
        flex-wrap: wrap;
        gap: 40px;
        justify-content: center;
    }

    .footer__media_block {
        justify-content: center;
        width: 100%;
        height: 25px;
        margin-bottom: -18px;
    }

    .footer__media_block img {
        width: 25px;
        height: 25px;
    }

    .footer__title {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .footer__info_item {
        margin-bottom: 13px;
    }

    .footer__kontakt_messengers img {
        width: 24px;
        height: 24px;
    }

    .footer__offer_block {
        order: 2;
    }

    .footer__subscription_block {
        position: absolute;
        top: 21px;
        left: 50%;
        transform: translateX(-50%);
        min-width: 303px;
        max-height: 103px;
        border-radius: 11px;
        padding: 20px 11px 13px 11px;
    }

    .footer__form button {
        font-size: 10px;
        padding: 4px 10px;
        width: 85px;
    }

    .footer__subscription_form_title {
        font-size: 14px;
    }

    .footer__subscription_form_subtitle {
        font-size: 10px;
    }

    .copyright {
        right: 50%;
        transform: translateX(50%);
        bottom: 14px;
    }

    .search__block_title {
        font-size: 10px;
    }

    .search_block_header {
        margin-bottom: 16px;
        gap: 12px;
    }

    .search__block__aktion_wrapper {
        gap: 12px;
    }

    .search__block__aktion_button_wrapper {
        gap: 8px;
        max-width: 100%;
    }

    .search__block__aktion_button_item {
        font-size: 12px;
        padding: 10px 16px;
        font-weight: 400;
        white-space: nowrap;
    }

    .search__block__aktion_sort_item select {
        font-size: 13px;
        padding: 10px 32px 10px 16px;
        background-position: right 12px center;
        background-size: 12px;
        text-align: left;
        font-weight: 400;
        border-radius: 22px;
    }

    .search__block__aktion_sort_item .filter-select--sort .filter-select__btn {
        font-size: 13px;
        font-weight: 400;
        color: #8e8e93;
        padding: 10px 32px 10px 16px;
        background-position: right 12px center;
        background-size: 12px;
        border-radius: 22px;
    }

    .search__block__aktion_sort_item .filter-select--sort .filter-select__list [role="option"] {
        font-size: 13px;
        font-weight: 400;
    }

    .search_block_content_wrapper {
        gap: 10px;
    }

    .object-product__video {
        display: none;
    }

    .object-product__video_mobile {
        display: block;
        margin: 10px 0;
        padding: 12px 10px 13px;
        border-radius: 11px;
        background-color: #828282;
    }

    .object-product__video-title {
        font-size: 14px;
    }

    .object-product__video-frame {
        height: 160px;
        border-radius: 11px;
    }

    .viewed_wraper > *:nth-child(n+5) {
        display: none;
    }

    .breadcrumbs {
        margin: 0;
    }

    .breadcrumbs_item {
        font-size: 9px;
        margin-right: 20px;
    }

    .breadcrumbs_item::after {
        width: 14px;
        right: -17px;
        top: 2px;
    }

    .obgect_product_block {
        margin: 0 0 10px 0;
    }

    .object-product__left {
        width: 100%;
    }

    .object-product__right {
        padding: 0;
        margin-bottom: 0;
        gap: 10px;
    }

    .object-product__photo-main {
        width: 100%;    
        height: 137px;  
        overflow: hidden;
        display: block;   
        border-radius: 6px;
    }
    
    .object-product__photo-main img {
        width: 100%;
        height: 100%;
        object-fit: cover;    
        object-position: center; 
    }

    .object-product__photo-thumbs {
        gap: 5px;
    }

    .object-product__photo-thumbs> *:nth-child(n+5) {
        display: none;
    }

    .object-product__thumb {
        border-radius:6px;
    }

    .object-product__title {
        font-size: 15px;
        line-height: 17px;
        font-weight: 600;
    }

    
    .object-product__price-badge {
        font-size: 13px;
        padding: 4px 13px;
    }

    .object-product__meta-item {
        font-size: 12px;
    }
    .object-product__address {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .button__yellow {
        padding: 8px;
        font-size: 9px;
        width: 100px;
        height: auto;
        margin-bottom: 7px;
    }

    .tags_control_social {
        width: 75px;
    }

    .tags_control_social img {
        width: 18px;
        height: 18px;
    }

    .tags_control_lookLike {
        font-size: 6px !important;
    }

    .tags_control_googleMap {
        display: none;
    }

    .meta_item-square {
        margin-bottom: 10px;
    }

    .meta_item-square::before{
        top: -1px;
    }

    .object-product__tags {
        display: flex;
        flex-wrap: wrap;
    }

    .object-product__tag {
        font-size: 7px;
        padding: 5px 7px;
        height: 18px;
        margin: 0 5px 5px 0;
        white-space: nowrap
    }

    .object-product__wrapper {
        margin-bottom: 0px;
    }

    .object-product__description-rest {
        padding: 10px;
        font-size: 11px;
        border-radius: 11px;
    }

    .object-product__description-text p {
        margin-bottom: 11px;
    }

    .objects_map_wrapper {
        margin-bottom: 10px;
        border-radius: 11px;
        max-height: 138px;
    }

    .viewed_title {
        font-size: 11px;
    }
   
}


@media (max-width: 650px) {
    .container {
        width: 100%;
        padding: 0 5px;
    }

    .object-contact-block {
        margin: 0 0 16px;
        padding: 12px 14px;
        border-radius: 14px;
    }

    .object-contact-title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .object-contact-body {
        gap: 12px;
    }

    .object-contact-photo {
        width: 56px;
        height: 56px;
    }

    .object-contact-name {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .object-contact-phones a {
        font-size: 13px;
    }

    .search_block_header {
        margin-bottom: 12px;
        gap: 8px;
    }

    .search__block__aktion_wrapper {
        gap: 8px;
    }

    .search__block__aktion_button_item {
        font-size: 11px;
        padding: 8px 12px;
    }

    .search__block__aktion_sort_item select {
        font-size: 12px;
        padding: 8px 28px 8px 12px;
        background-size: 10px;
        background-position: right 10px center;
        border-radius: 18px;
    }

    .search__block__aktion_sort_item .filter-select--sort .filter-select__btn {
        font-size: 12px;
        font-weight: 400;
        color: #8e8e93;
        padding: 8px 28px 8px 12px;
        background-size: 10px;
        background-position: right 10px center;
        border-radius: 18px;
    }

    .search__block__aktion_sort_item .filter-select--sort .filter-select__list [role="option"] {
        font-size: 12px;
        font-weight: 400;
    }

    .top__slider_slide {
        width: 191px;
        height: 107px;
    }

    .top__slider_btn {
        max-width: 110px;
        max-height: 27px;
    }

    .top__slider_btn a {
        font-size: 10px;
    }

    .filter_container {
        padding: 0;
    }

    .filter-section {
        margin-top: 5px;
    }

    .tabs {
        display: none;
    }

    .filter-btn_wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .filter-btn_item {
        position: relative;
        z-index: 100;
        display: flex;
        font-size: 10px;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .filter-btn_item::after {
        content: " ";
        position: relative;
        display: block;
        width: 10px;
        height: 10px;
        right: -4px;
        top: 3px;
        background: url(/img/open.svg) no-repeat center/contain;
    }

    .filter-row {
        gap: 2px;
        justify-content: space-between;
    }

    .filter-panel {
        padding: 5px;
        border-radius: 11px;
    }

    .filter-item label {
        font-size: 6px;
    }

    .filter-panel select {
        height: 8.7px;
        background-size: 4px;
        border-radius: 16.5px;
        font-size: 6px;
        font-weight: 200;
        padding: 0 2.2px;
        background-position: right 3px center;
    }

    .filter-panel .filter-select__btn {
        height: 8.7px;
        min-height: 8.7px;
        background-size: 4px;
        border-radius: 16.5px;
        font-size: 6px;
        font-weight: 200;
        color: #9e9e9e;
        padding: 0 8px 0 2.2px;
        background-position: right 3px center;
    }

    .filter-panel .filter-select__list {
        max-height: 200px;
        border-radius: 8px;
    }

    .filter-panel .filter-select__list [role="option"] {
        font-size: 6px;
        font-weight: 200;
        padding: 4px 6px;
    }

    .filter-panel input {
        height: 8.7px;
    }

    .district {
    }

    .ideal {
        max-width: 100%;
    }

    .range span {
        font-size: 5px;
    }

    .range {
        justify-content: start;
        gap: 3px;
        align-items: end;
    }

    .range input {
        min-width: 20px;
    }

    .checkbox-wrap {
        margin: 0 3px 0 0;
        gap: 2px;
        flex-wrap: nowrap;
    }

    .checkbox {
        gap: 0px;
        font-size: 4px !important;
    }

    .checkbox input {
        width: 10px;
        min-width: auto !important;
        max-width: 10px !important;
    }

    .filter-btn {
        border-radius: 30px;
        height: 14px;
        font-size: 5px;
        /*padding: 0 3.5px;*/
        padding: 3.5px;
    }

    .type {
    }

    .search {
        height: 15px;
    }

    .search input {
        font-size: 6px !important;
        padding: 0 18px;
        font-weight: 200;
    }

    .filter-panel .search input::placeholder,
    .filter-panel .search input::-webkit-input-placeholder,
    .filter-panel .search input::-moz-placeholder {
        font-size: 6px;
        font-weight: 200;
        color: #9e9e9e;
        opacity: 1;
    }

    .search-icon {
        width: 7px;
        top: 5px;
        left: 5px;
    }

    .filter-row-bottom {
        margin-top: 1.3px !important;
    }


    .setting-btn-icon {
        width: 19.3px;
    }

    .setting-btn-icon img {
        width: 9px;
    }

    .is-compact_mobile {
        opacity: 0;
        height: 0;
        transition: 0.01s ease-in-out;
    }

    .info__title_bar {
        font-size: 11px;
        padding: 11px;
        margin: 10px 0;
        width: 100%;
        border-radius: 11px;
    }

    .filter-panel input,
    .filter-panel select {
        font-size: 6px;
        font-weight: 200;
        padding: 0 3px;
    }

    .filter-panel .filter-select__btn {
        font-size: 6px;
        font-weight: 200;
        color: #9e9e9e;
        padding: 0 8px 0 2.2px;
        background-size: 4px;
        background-position: right 3px center;
    }

    .filter-panel input::placeholder,
    .filter-panel input::-webkit-input-placeholder,
    .filter-panel input::-moz-placeholder {
        font-size: 6px;
        font-weight: 200;
    }

    .filter-item-tab {
        gap: 3px;
        margin-top: 3px;
    }

    .filter-item-tab-item {
        font-size: 6px;
        height: 10px;
        padding: 0 4px;
        gap: 4px;
    }

    .filter-item-tab-item-text {
        font-size: 6px;
    }

    .filter-item-tab-close {
        width: 8px;
        height: 8px;
        font-size: 8px;
        padding-bottom: 1px;
    }

    .search input {
        padding: 0 15px;
    }

    .obgect_wrapper {
        gap: 10px;
    }

    .product_card {
        width: 48%;
        height: 160px;
        border-radius: 11px;
        padding: 5px;
    }

    .product_card_img_block {
        height: 75px;
        margin-bottom: 4px;
    }

    .product_card_deskription_footage {
        font-size: 14px;
        line-height: 16px;
    }

    .product_card_deskription_type {
        font-size: 12px;
        line-height: 14px;
    }

    .product_card_deskription_address {
        font-size: 9px;
        line-height: 11px;
    }

    .product_card_deskription_district {
        font-size: 9px;
        line-height: 11px;
    }

    .product_card_price {
        font-size: 11px;
        padding: 1px 6px;
    }

    .product_card_more {
        font-size: 6px;
        padding: 1px 4px;
    }

    .main__best_obgect_btn {
        width: 147px;
        height: 27px;
    }

    .main__best_obgect_text {
        font-size: 8px;
    }

    .main__best_obgect_img {
        width: 20px;
        height: 20px;
    }

    .main__best_obgect_img img {
        width: 12px;
    }

    .zero_wrapper {
        padding: 0;
        border-radius: 0px;
    }
    
    .card_grid_brokerage {
        border-radius: 0px;
    }
    
    .main__card_grid_item_title {
        font-size: 11px;
        padding: 8px 10px 4px 10px;
        line-height: 1.2;
    }

    .main__card_grid_item_text {
        font-size: 8px;
        padding: 0 10px;
        margin-bottom: 8px;
        line-height: 1.35;
    }

    .main__card_grid {
        padding: 7px;
    }

    .card_grid_blog {
        border-radius: 11px;
        padding: 10px;
    }

    .main__card_grid_wrapper {
        width: 100%;
        gap: 6px;
    }

    .card_grid_blog .main__card_grid_wrapper > *:last-child {
        display: none;
    }

    .main__card_grid_item {
        width: 32%;
        max-width: 109px;
        border-radius: 11px;
    }

    .card_grid_brokerage .main__card_grid_wrapper {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 6px;
    }

    .card_grid_brokerage .main__card_grid_item {
        width: calc(50% - 3px);
        max-width: none;
        flex: 0 0 calc(50% - 3px);
    }

    .main__card_grid_item_img {
        max-height: 60px;
    }

    .card_grid_blog_title {
        font-size: 11px;
        margin: 0 0 8px;
    }

    .blog__more {
        width: 70px;
        height: 22px;
        padding: 2px;
        margin: 6px 4px 0;
        border-radius: 12px;
    }

    .blog__more_text {
        font-size: 8px;
        margin-left: 6px;
        letter-spacing: -0.3px;
    }

    .blog__more_img {
        width: 18px;
        height: 18px;
    }

    .blog__more_img img {
        width: 7px;
    }

    .quick__search_row {
        padding: 6px 0;
        margin-bottom: 6px;
    }

    .quick__search_row .marquee-track {
        gap: 8px;
    }

    .quick__search_row.quick__search_row--rtl {
        margin-top: 16px;
        margin-bottom: 16px;
    }

    .quick__search_item {
        font-size: 10px;
        line-height: 1.2;
        padding: 6px 10px;
        width: 150px;
        height: 44px;
        border-radius: 16px;
        letter-spacing: -0.3px;
    }

    .quick__search_column {
        gap: 10px;
    }


    .main__clients_item {
        width: 41px;
        height: 41px;
        border-radius: 11px;
    }

    .main__clients_wrapper .marquee-slide {
        margin-right: 13px;
    }

    .main__reviews_item {
        width: 140px;
        height: 90px;
        padding: 17px 6px 10px 34px;
        border-radius: 11px;
    }

    .main__reviews_item::before {
        width: 14px;
        height: 10px;
        left: 12px;
        top: 13px;
    }

    .main__reviews_item_text {
        font-size: 10px;
        line-height: 11px;
    }

    .main__reviews_item_signature {
        font-size: 5px;
    }

    .main_ceo {
        height: auto;
        padding: 12px 14px;
        margin-bottom: 14px;
        border-radius: 11px;
        font-size: 10px;
        line-height: 1.45;
    }

    .main_ceo p {
        margin: 0 0 8px;
    }

    .main_ceo h2 {
        font-size: 12px;
        font-weight: 700;
        margin: 10px 0 6px;
        line-height: 1.3;
    }

    .search_block_content_aktion_more {
        font-size: 8px;
        padding: 5px;
        letter-spacing: -0.25%;
        font-weight: 400;
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
        margin-left: 27px;
    }

    .search_block_content_aktion_wrapper {
        gap: 10px;
    }

    .map__block_title {
        font-size: 10px;
        margin-bottom: 10px;
    }

    .map__block_map_wrapper {
        height: 292px;
    }

    .search_block_content_aktion_show {
        font-size: 6px;
        padding: 5px 16px 5px 5px;
        background-position: 48px 8.5px;
        background-size: 6px;
        text-align: center;
  
      }

    .footer_wrapper {
        font-size: 8px;
        border-radius: 0px;
        padding: 145px 17px 31px;
        flex-wrap: wrap;
        gap: 40px;
        justify-content: start;
    }

}

/* =====================================================================
   News index (.site-news) and news view (.main-article)
   Scoped styles — do NOT introduce generic classes (.row, .col-*, etc.)
   so the rest of the new site stays untouched.
   ===================================================================== */

.site-news {
    padding: 13px 0 26px;
}

.site-news .main-article-tit {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
    background-color: #FFE573;
    border-radius: 20px;
    padding: 18px 21px;
    margin: 0 0 20px;
    color: #000;
}

.site-news .list-view {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.site-news .list-view > [data-key] {
    display: block;
}

.site-news .news-item {
    display: flex;
    gap: 18px;
    margin: 0;
    padding: 14px;
    background-color: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
    height: auto;
    align-items: stretch;
}

.site-news .news-item:hover {
    border-color: #FFD211;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
    transform: translateY(-2px);
}

.site-news .news-item-img,
.site-news .news-item-info {
    padding: 0;
    width: auto;
    float: none;
    max-width: none;
}

.site-news .news-item-img {
    flex: 0 0 240px;
    max-width: 240px;
    border-radius: 14px;
    overflow: hidden;
    background-color: #F2F2F2;
}

.site-news .news-item-img img {
    width: 100%;
    height: 100%;
    min-height: 150px;
    object-fit: cover;
    display: block;
    border: 0;
}

.site-news .news-item-info {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.site-news .news-item-info > .row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 10px;
}

.site-news .news-item-tit {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    margin: 0;
    padding: 0;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
    text-transform: none;
    overflow: hidden;
    max-height: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.site-news .news-item-tit a {
    color: #1a1a1a;
    display: inline;
    width: auto;
    height: auto;
    transition: color 0.2s ease;
}

.site-news .news-item-tit a:hover {
    color: #C99700;
    text-decoration: none;
}

.site-news .news-item-date {
    flex: 0 0 auto;
    width: auto;
    margin: 0;
    padding: 4px 12px;
    background-color: #FFE573;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 600;
    color: #4a4a4a;
    white-space: nowrap;
    text-align: center;
}

.site-news .news-item-txt {
    color: #4a4a4a;
    font-size: 14px;
    line-height: 1.5;
    height: auto;
    max-height: none;
    text-align: left;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.site-news .news-item-txt p {
    margin: 0;
}

/* Pagination produced by Yii\widgets\LinkPager inside the list-view */
.site-news .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 24px 0 8px;
}

.site-news .pagination li {
    list-style: none;
}

.site-news .pagination li a,
.site-news .pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    background-color: #F2F2F2;
    border-radius: 18px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.site-news .pagination li a:hover {
    background-color: #FFE573;
    color: #000;
    text-decoration: none;
}

.site-news .pagination li.active a,
.site-news .pagination li.active span {
    background-color: #FFD211;
    color: #000;
}

.site-news .pagination li.disabled a,
.site-news .pagination li.disabled span {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

/* =====================================================================
   Single article wrapper — used by:
   - frontend/views/news/view.php       (single news post)
   - frontend/views/page/view.php       (CMS page: /page/pro-nas, etc.)
   ===================================================================== */

.main-article {
    padding: 18px 0 36px;
    max-width: 920px;
    margin: 0 auto;
}

/* Hero title (the very first .main-article-tit inside the article) ---- */
.main-article > .main-article-tit:first-child {
    margin: 0 0 20px;
    padding: 18px 24px;
    background-color: #FFE573;
    border-radius: 20px;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
    color: #1a1a1a;
    text-transform: none;
}

/* Any other .main-article-tit (sub-headings inside the article) ------- */
.main-article .main-article-tit {
    margin: 24px 0 14px;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    color: #1a1a1a;
    position: relative;
    padding-left: 14px;
}

.main-article > .main-article-tit:first-child {
    padding-left: 24px;
}

.main-article .main-article-tit:not(:first-child)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 4px;
    background-color: #FFD211;
    border-radius: 2px;
}

/* Article body (rich HTML from WYSIWYG / model content) --------------- */
.main-article-txt {
    padding: 26px 28px;
    background-color: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    font-size: 16px;
    line-height: 1.65;
    color: #333;
    text-align: left;
}

.main-article-txt > *:first-child {
    margin-top: 0;
}

.main-article-txt > *:last-child {
    margin-bottom: 0;
}

.main-article-txt p {
    margin: 0 0 14px;
}

.main-article-txt p.conts {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.55;
}

.main-article-txt p.conts:last-of-type {
    margin-bottom: 0;
}

.main-article-txt strong {
    font-weight: 700;
    color: #1a1a1a;
}

.main-article-txt em {
    font-style: italic;
}

.main-article-txt a {
    color: #C99700;
    text-decoration: underline;
    display: inline;
    width: auto;
    height: auto;
    word-break: break-word;
}

.main-article-txt a:hover {
    color: #1a1a1a;
    text-decoration: underline;
}

.main-article-txt h1,
.main-article-txt h2,
.main-article-txt h3,
.main-article-txt h4,
.main-article-txt h5,
.main-article-txt h6 {
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 22px 0 10px;
}

.main-article-txt h2 { font-size: 22px; }
.main-article-txt h3 { font-size: 18px; }
.main-article-txt h4 { font-size: 16px; }
.main-article-txt h5,
.main-article-txt h6 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; }

.main-article-txt ul,
.main-article-txt ol {
    margin: 0 0 14px;
    padding-left: 24px;
}

.main-article-txt ul {
    list-style: disc;
}

.main-article-txt ol {
    list-style: decimal;
}

.main-article-txt li {
    margin: 0 0 6px;
    padding-left: 4px;
}

.main-article-txt li::marker {
    color: #C99700;
}

.main-article-txt blockquote {
    margin: 16px 0;
    padding: 14px 18px;
    background-color: #FFF8DA;
    border-left: 4px solid #FFD211;
    border-radius: 0 12px 12px 0;
    color: #4a4a4a;
    font-style: italic;
}

.main-article-txt blockquote p:last-child {
    margin-bottom: 0;
}

.main-article-txt hr {
    border: 0;
    border-top: 1px solid #E5E5E5;
    margin: 20px 0;
}

.main-article-txt table {
    width: 100%;
    margin: 0 0 16px;
    border-collapse: collapse;
    font-size: 14px;
}

.main-article-txt table th,
.main-article-txt table td {
    padding: 10px 12px;
    border: 1px solid #E5E5E5;
    vertical-align: top;
    text-align: left;
}

.main-article-txt table th {
    background-color: #FFF8DA;
    font-weight: 700;
}

.main-article-txt table tr:nth-child(even) td {
    background-color: #FAFAFA;
}

.main-article-txt iframe,
.main-article-txt video {
    display: block;
    max-width: 100%;
    margin: 12px 0;
    border-radius: 12px;
}

.main-article-txt img,
.main-article img {
    max-width: 100%;
    height: auto !important;
    border-radius: 12px;
    margin: 8px 0;
    display: inline-block;
}

/* Hide common WYSIWYG artefacts coming from Imperavi Redactor */
.main-article-txt .redactor-invisible-space,
.main-article-txt .redactor-selection-marker {
    display: none;
}

@media (max-width: 1100px) and (min-width: 651px) {
    .site-news .news-item-img {
        flex: 0 0 200px;
        max-width: 200px;
    }

    .site-news .news-item-tit {
        font-size: 17px;
    }
}

@media (max-width: 740px) {
    .site-news {
        padding: 8px 0 18px;
    }

    .site-news .main-article-tit {
        font-size: 18px;
        padding: 12px 14px;
        border-radius: 14px;
        margin-bottom: 14px;
    }

    .site-news .list-view {
        gap: 10px;
    }

    .site-news .news-item {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
        border-radius: 14px;
    }

    .site-news .news-item-img {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
        height: 180px;
        border-radius: 11px;
    }

    .site-news .news-item-img img {
        min-height: 0;
    }

    .site-news .news-item-info > .row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        margin-bottom: 6px;
    }

    .site-news .news-item-tit {
        font-size: 15px;
    }

    .site-news .news-item-date {
        font-size: 11px;
        padding: 3px 10px;
        border-radius: 10px;
    }

    .site-news .news-item-txt {
        font-size: 12px;
        -webkit-line-clamp: 4;
    }

    .site-news .pagination {
        margin: 16px 0 4px;
        gap: 4px;
    }

    .site-news .pagination li a,
    .site-news .pagination li span {
        min-width: 30px;
        height: 30px;
        padding: 0 8px;
        font-size: 12px;
        border-radius: 15px;
    }

    .main-article {
        padding: 10px 0 24px;
    }

    .main-article > .main-article-tit:first-child {
        margin-bottom: 12px;
        padding: 12px 16px;
        font-size: 18px;
        border-radius: 14px;
    }

    .main-article .main-article-tit {
        margin: 18px 0 10px;
        font-size: 16px;
        padding-left: 12px;
    }

    .main-article-txt {
        padding: 16px 16px;
        border-radius: 14px;
        font-size: 14px;
        line-height: 1.55;
    }

    .main-article-txt h2 { font-size: 17px; }
    .main-article-txt h3 { font-size: 15px; }
    .main-article-txt h4 { font-size: 14px; }

    .main-article-txt ul,
    .main-article-txt ol {
        padding-left: 20px;
    }

    .main-article-txt blockquote {
        padding: 10px 14px;
    }

    .main-article-txt table {
        font-size: 12px;
    }

    .main-article-txt table th,
    .main-article-txt table td {
        padding: 8px 10px;
    }

    .main-article-txt img,
    .main-article img {
        border-radius: 10px;
    }
}

