
@font-face {
    font-family: "Roboto Condensed";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("fonts/roboto-condensed-cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Roboto Condensed";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("fonts/roboto-condensed-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
        U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
        U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== Catalog filter — v26, unified filter typography ===== */

.catalog_layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.catalog_sidebar {
    min-width: 0;
}

.catalog_filter {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 24px 20px;
}

.catalog_filter-title {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 24px;
}

.catalog_filter-block {
    padding: 20px 0;
    border-top: 1px solid #e7e7e7;
}

.catalog_filter-block:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.catalog_filter-block-title {
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 14px;
}

.catalog_filter-range {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.catalog_filter-range input,
.catalog_filter-select-wrap select {
    width: 100%;
    height: 42px;
    border: 1px solid #d9d9d9;
    background: #fff;
    padding: 0 12px;
    font-size: 14px;
    box-sizing: border-box;
}

.catalog_filter-option {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 14px;
}

.catalog_filter-option:last-child {
    margin-bottom: 0;
}

.catalog_filter-option input {
    width: 16px;
    height: 16px;
    margin: 0;
    flex: 0 0 16px;
}

.catalog_filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.catalog_filter-buttons label {
    position: relative;
    cursor: pointer;
}

.catalog_filter-buttons input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.catalog_filter-buttons span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #d9d9d9;
    font-size: 14px;
    background: #fff;
    box-sizing: border-box;
}

.catalog_filter-buttons input:checked + span {
    border-color: #111;
    background: #111;
    color: #fff;
}

.catalog_filter-actions {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

.catalog_filter-submit {
    width: 100%;
    min-height: 46px;
    border: 0;
    background: #111;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.catalog_filter-reset {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 1px solid #ddd;
    color: #111;
    text-decoration: none;
    font-size: 14px;
}

.catalog_content {
    min-width: 0;
}

@media (max-width: 992px) {
    .catalog_layout {
        display: block;
    }

    .catalog_sidebar {
        margin-bottom: 25px;
    }
}

.catalog_layout .catalog_filter-empty {
    padding: 28px 0 0;
    text-align: center;
    border: 0;
    background: #fff;
}

.catalog_layout .catalog_filter-empty-icon {
    width: 160px;
    height: 112px;
    margin: 0 auto 30px;
    font-size: 0;
    background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20112%22%20fill%3D%22none%22%20stroke%3D%22%2338414b%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M24%20101h104M51%20100V58l31-25%2031%2025v42M43%2054l39-32%2039%2032M66%20100V69h13v31M87%2069h12v18H87z%22%2F%3E%3Ccircle%20cx%3D%2282%22%20cy%3D%2252%22%20r%3D%224%22%2F%3E%3Cpath%20d%3D%22M31%2084c-23%200-24-18-19-39S23%206%2032%206s16%2019%2020%2034M31%2084c5%200%2010-2%2013-5%22%2F%3E%3Cpath%20d%3D%22M31%20100V45m0%2015%207-7%22%20stroke%3D%22%23509600%22%2F%3E%3Ccircle%20cx%3D%22130%22%20cy%3D%2274%22%20r%3D%2217%22%2F%3E%3Cpath%20d%3D%22m141%2087%2018%2017-5%205-18-18%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}

.catalog_layout .catalog_filter-empty-title {
    margin: 0 16px 22px;
    color: #191919;
    font: 600 20px/1.3 Arial, sans-serif;
}

.catalog_layout .catalog_filter-empty-text {
    max-width: 430px;
    margin: 0 auto 24px;
    padding: 0 16px;
    color: #191919;
    font: 400 18px/1.4 Arial, sans-serif;
}

.catalog_layout .catalog_filter-empty-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    min-width: 230px;
    padding: 12px 26px;
    box-sizing: border-box;
    border: 1px solid #509600;
    border-radius: 28px;
    background: #509600;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font: 600 14px/1.2 Arial, sans-serif;
}

.catalog_layout .catalog_filter-empty-reset:hover {
    background: #427d00;
    border-color: #427d00;
}

.catalog_layout .catalog_filter-empty-reset:focus-visible {
    outline: 2px solid #509600;
    outline-offset: 4px;
}

.catalog_layout .catalog_filter-empty-popular {
    margin-top: 90px;
    text-align: left;
}

.catalog_layout .catalog_filter-empty-popular-title {
    margin: 0 0 24px;
    color: #191919;
    font: 600 28px/1.25 Arial, sans-serif;
}

.catalog_layout .catalog_filter-empty-items {
    margin-top: 0;
}

@media (max-width: 600px) {
    .catalog_layout .catalog_filter-empty-title {
        font-size: 18px;
    }
    .catalog_layout .catalog_filter-empty-text {
        font-size: 15px;
    }
    .catalog_layout .catalog_filter-empty-popular {
        margin-top: 56px;
    }
    .catalog_layout .catalog_filter-empty-popular-title {
        font-size: 24px;
    }
}

/* Скрываем недоступные значения динамического фильтра */
.catalog_filter .is-hidden {
    display: none !important;
}

.catalog_filter-option small,
.catalog_filter-buttons small {
    font-size: 11px;
    font-weight: 400;
    opacity: .6;
}

.catalog_filter-buttons span {
    gap: 3px;
}

.catalog_layout {
    transition: opacity .2s ease;
}

.catalog_layout.is-loading {
    opacity: .45;
    pointer-events: none;
}

.catalog-filter-js .mse2_pagination {
    display: none !important;
}

.catalog_load_more {
    display: block;
    min-width: 230px;
    min-height: 58px;
    margin: 35px auto 0;
    padding: 0 35px;

    border: 0;
    border-radius: 40px;

    background: #4c9700;
    color: #fff;

    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        background .2s ease,
        opacity .2s ease;
}

.catalog_load_more:hover {
    background: #3f7f00;
    color: #fff;
}

.catalog_load_more.is-loading {
    opacity: .55;
    pointer-events: none;
}

.catalog_load_more[hidden] {
    display: none !important;
}

/* ==============================
   MOBILE CATALOG FILTER
   ============================== */

.catalog_filter_mobile_open,
.catalog_filter_mobile_header,
.catalog_filter_overlay {
    display: none;
}

@media (max-width: 992px) {

    .catalog_filter_mobile_open {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 100%;
        min-height: 52px;
        margin: 0 0 20px;

        border: 0;
        border-radius: 6px;

        background: #4c9700;
        color: #fff;

        font-size: 16px;
        font-weight: 700;

        cursor: pointer;
    }

    .catalog_layout {
        display: block;
    }

    .catalog_sidebar {
        position: fixed;
        top: 0;
        left: 0;

        z-index: 10002;

        width: min(420px, 100%);
        height: 100vh;

        padding: 0;

        background: #fff;

        overflow-y: auto;

        transform: translateX(-105%);
        transition: transform .25s ease;

        box-shadow: 10px 0 30px rgba(0,0,0,.15);
    }

    .catalog_sidebar.is-open {
        transform: translateX(0);
    }

    .catalog_filter_mobile_header {
        position: sticky;
        top: 0;
        z-index: 5;

        display: flex;
        align-items: center;
        justify-content: space-between;

        min-height: 64px;
        padding: 0 20px;

        background: #fff;
        border-bottom: 1px solid #e5e5e5;
    }

    .catalog_filter_mobile_title {
        font-size: 19px;
        font-weight: 700;
    }

    .catalog_filter_mobile_close {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 40px;
        height: 40px;

        padding: 0;

        border: 0;
        background: transparent;

        color: #111;

        font-size: 34px;
        line-height: 1;

        cursor: pointer;
    }

    .catalog_sidebar .catalog_filter {
        border: 0;
        padding: 20px;
    }

    .catalog_sidebar .catalog_filter-title {
        display: none;
    }

    .catalog_filter_overlay {
        position: fixed;
        inset: 0;

        z-index: 10001;

        background: rgba(0,0,0,.5);
    }

    .catalog_filter_overlay.is-open {
        display: block;
    }

    body.catalog-filter-open {
        overflow: hidden;
    }
}

@media (max-width: 992px) {
    .catalog_filter-actions {
        position: sticky;
        bottom: 0;
        z-index: 10;

        margin: 20px -20px -20px;
        padding: 12px 20px 16px;

        background: #fff;
        border-top: 1px solid #e5e5e5;
    }

    .catalog_filter-submit {
        background: #4c9700;
        color: #fff;
        border: 0;
    }

    .catalog_filter-submit:hover {
        background: #3f7f00;
        color: #fff;
    }
}

.catalog_toolbar {
    margin-bottom: 22px;
}

.catalog_result_count {
    margin-bottom: 12px;
    font-size: 16px;
    color: #555;
}

.catalog_result_count strong {
    color: #111;
}

.catalog_active_filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.catalog_active_filter,
.catalog_active_reset {
    min-height: 34px;
    padding: 6px 12px;

    border: 1px solid #ddd;
    border-radius: 18px;

    background: #fff;
    color: #222;

    font-size: 13px;
    cursor: pointer;
}

.catalog_active_filter:hover {
    border-color: #4c9700;
}

.catalog_active_reset {
    border-color: transparent;
    background: #f3f3f3;
}

@media (max-width: 992px) {
    .catalog_toolbar {
        margin: 0 0 18px;
    }

    .catalog_result_count {
        font-size: 14px;
    }
}


.catalog_toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
}

.catalog_result_count {
    margin-bottom: 0;
}

.catalog_layout .catalog_result_count,
.catalog_layout .catalog_result_count strong {
    font-size: 12px;
    font-weight: 400;
}

.catalog_layout .catalog_quick_filters {
    display: none;
}

.catalog_layout .catalog_active_filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 16px;
    width: 100%;
    margin: 12px 0 0;
}

.catalog_layout .catalog_active_filters:empty {
    display: none;
}

.catalog_layout .catalog_active_filters-title {
    color: #191919;
    font: 600 16px/1.3 Arial, sans-serif;
}

.catalog_layout .catalog_active_filter {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 34px;
    padding: 6px 13px;
    border: 1px solid transparent;
    border-radius: 3px;
    background: #f6f7fa;
    color: #666;
    font: 600 15px/1.3 Arial, sans-serif;
}

.catalog_layout .catalog_active_filter-remove {
    color: #509600;
    font: 400 22px/1 Arial, sans-serif;
}

.catalog_layout .catalog_active_filter:hover {
    border-color: #509600;
}

.catalog_layout .catalog_active_reset {
    min-height: 34px;
    margin-left: auto;
    padding: 6px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #509600;
    font: 600 16px/1.3 Arial, sans-serif;
    text-decoration: underline;
}

.catalog_layout .catalog_active_filter:focus-visible,
.catalog_layout .catalog_active_reset:focus-visible {
    outline: 2px solid #509600;
    outline-offset: 3px;
}

.catalog_active_filters {
    width: 100%;
}

.catalog_sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.catalog_sort label {
    font-size: 14px;
    color: #555;
}

.catalog_sort select {
    min-width: 230px;
    height: 42px;
    padding: 0 38px 0 14px;

    border: 1px solid #ddd;
    background: #fff;

    font-size: 14px;
    color: #222;

    cursor: pointer;
}

@media (max-width: 600px) {

    .catalog_sort {
        width: 100%;
    }

    .catalog_sort select {
        flex: 1;
        min-width: 0;
    }
}

.catalog_quick_filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    width: 100%;
    margin-top: 4px;
}

.catalog_quick_filter {
    min-height: 38px;
    padding: 7px 16px;

    border: 1px solid #dcdcdc;
    border-radius: 20px;

    background: #fff;
    color: #222;

    font-size: 14px;
    font-weight: 500;

    cursor: pointer;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.catalog_quick_filter:hover {
    border-color: #4c9700;
}

.catalog_quick_filter.is-active {
    border-color: #4c9700;
    background: #4c9700;
    color: #fff;
}


@media (max-width: 600px) {

    .catalog_quick_filters {
        gap: 6px;
    }

    .catalog_quick_filter {
        min-height: 36px;
        padding: 6px 12px;
        font-size: 13px;
    }
}

/* =========================================
   CATALOG FILTER VISUAL FIXES
   ========================================= */

.catalog_layout {
    margin-top: 24px;
}

.catalog_sidebar {
    width: 280px;
}

.catalog_filter {
    padding: 22px;
    border: 1px solid #e6e6e6;
    background: #fff;
}

.catalog_filter-block {
    margin-bottom: 24px;
    padding-bottom: 22px;
}

.catalog_filter-block:last-child {
    margin-bottom: 0;
}

.catalog_filter-title {
    margin-bottom: 14px;
    font-size: 16px;
    font-weight: 600;
}

.catalog_filter-submit {
    width: 100%;
    min-height: 48px;

    border: 0;
    border-radius: 4px;

    background: #4c9700;
    color: #fff;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;
}

.catalog_filter-submit:hover {
    background: #3f7f00;
    color: #fff;
}

.catalog_filter-reset {
    width: 100%;
    min-height: 44px;
    margin-top: 10px;

    border: 1px solid #d7d7d7;
    background: #fff;
    color: #333;
}

.filters_categories {
    margin-bottom: 18px;
}

@media (max-width: 992px) {
    .catalog_layout {
        margin-top: 18px;
    }

    .catalog_sidebar {
        width: min(420px, 100%);
    }
}

/* =========================================
   CATALOG DOUBLE RANGE
   ========================================= */

.catalog_range_group {
    --range-left: 0%;
    --range-right: 0%;
}

.catalog_range_slider {
    position: relative;
    height: 30px;
    margin: 4px 0 10px;
}

.catalog_range-track,
.catalog_range-fill {
    position: absolute;
    top: 50%;
    left: 0;

    width: 100%;
    height: 4px;

    border-radius: 4px;

    transform: translateY(-50%);
}

.catalog_range-track {
    background: #dcdcdc;
}

.catalog_range-fill {
    left: var(--range-left);
    right: var(--range-right);

    width: auto;

    background: #4c9700;
}

.catalog_range {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 30px;
    margin: 0;

    background: transparent;

    pointer-events: none;
    appearance: none;
    -webkit-appearance: none;
}

.catalog_range::-webkit-slider-runnable-track {
    height: 4px;
    background: transparent;
}

.catalog_range::-moz-range-track {
    height: 4px;
    background: transparent;
}

.catalog_range::-webkit-slider-thumb {
    width: 18px;
    height: 18px;

    margin-top: -7px;

    border: 2px solid #4c9700;
    border-radius: 50%;

    background: #fff;

    cursor: pointer;
    pointer-events: auto;

    appearance: none;
    -webkit-appearance: none;
}

.catalog_range::-moz-range-thumb {
    width: 18px;
    height: 18px;

    border: 2px solid #4c9700;
    border-radius: 50%;

    background: #fff;

    cursor: pointer;
    pointer-events: auto;
}

.catalog_range_inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.catalog_range_input {
    width: 100%;
    min-width: 0;
    height: 44px;

    padding: 0 12px;

    border: 1px solid #ddd;
    background: #fff;

    font-size: 14px;

    outline: none;
}

.catalog_range_input:focus {
    border-color: #4c9700;
}

.catalog_range_input.is-error {
    border-color: #d83939;
    background: #fff5f5;
}

/* Убираем стрелки у number */

.catalog_range_input::-webkit-outer-spin-button,
.catalog_range_input::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
}

.catalog_range_input[type="number"] {
    -moz-appearance: textfield;
}

@media (max-width: 992px) {

    .catalog_range_slider {
        height: 44px;
    }

    .catalog_range {
        height: 44px;
    }

    .catalog_range::-webkit-slider-thumb {
        width: 20px;
        height: 20px;
    }

    .catalog_range::-moz-range-thumb {
        width: 20px;
        height: 20px;
    }

    .catalog_range_input {
        min-height: 44px;
    }
}

/* =========================================
   CATALOG RANGE FINAL
   ========================================= */

.catalog_range_group {
    --range-left: 0%;
    --range-right: 0%;
}

.catalog_range_slider {
    position: relative;
    height: 34px;
    margin: 4px 0 2px;
}

.catalog_range-track,
.catalog_range-fill {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    height: 4px;
    border-radius: 10px;
}

.catalog_range-track {
    left: 0;
    right: 0;
    background: #dfe3e6;
}

.catalog_range-fill {
    left: var(--range-left);
    right: var(--range-right);
    background: #4c9700;
}

.catalog_range {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 34px;
    margin: 0;

    background: transparent;

    pointer-events: none;

    -webkit-appearance: none;
    appearance: none;
}

.catalog_range::-webkit-slider-runnable-track {
    height: 4px;
    background: transparent;
}

.catalog_range::-moz-range-track {
    height: 4px;
    background: transparent;
}

.catalog_range::-webkit-slider-thumb {
    width: 18px;
    height: 18px;

    margin-top: -7px;

    border: 2px solid #4c9700;
    border-radius: 50%;

    background: #fff;

    box-shadow: 0 1px 4px rgba(0,0,0,.12);

    cursor: pointer;
    pointer-events: auto;

    -webkit-appearance: none;
    appearance: none;
}

.catalog_range::-moz-range-thumb {
    width: 18px;
    height: 18px;

    border: 2px solid #4c9700;
    border-radius: 50%;

    background: #fff;

    box-shadow: 0 1px 4px rgba(0,0,0,.12);

    cursor: pointer;
    pointer-events: auto;
}

.catalog_range_bounds {
    display: flex;
    justify-content: space-between;

    margin-bottom: 10px;

    font-size: 11px;
    line-height: 1.2;
    color: #888;
}

.catalog_range_inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.catalog_range_input {
    width: 100%;
    min-width: 0;
    height: 42px;

    padding: 0 12px;

    border: 1px solid #ddd;
    border-radius: 3px;

    background: #fff;
    color: #222;

    font-size: 13px;

    outline: none;

    transition:
        border-color .2s ease,
        background .2s ease;
}

.catalog_range_input::placeholder {
    color: #aaa;
}

.catalog_range_input:focus {
    border-color: #4c9700;
}

.catalog_range_input.is-error {
    border-color: #d43c3c;
    background: #fff5f5;
}

.catalog_range_input::-webkit-outer-spin-button,
.catalog_range_input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.catalog_range_input[type="number"] {
    -moz-appearance: textfield;
}

.catalog_range_presets {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;

    margin-top: 10px;
}

.catalog_range_preset {
    min-height: 30px;
    padding: 5px 9px;

    border: 1px solid #e2e2e2;
    border-radius: 14px;

    background: #f5f5f5;
    color: #555;

    font-size: 11px;
    line-height: 1;

    cursor: pointer;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.catalog_range_preset:hover {
    border-color: #4c9700;
}

.catalog_range_preset.is-active {
    border-color: #4c9700;
    background: #4c9700;
    color: #fff;
}

@media (max-width: 992px) {

    .catalog_range_slider {
        height: 44px;
    }

    .catalog_range {
        height: 44px;
    }

    .catalog_range_input {
        min-height: 44px;
        font-size: 14px;
    }

    .catalog_range_preset {
        min-height: 34px;
        padding: 7px 11px;
        font-size: 12px;
    }
}

/* =========================================
   CATALOG FILTER STICKY — DESKTOP
   ========================================= */

@media (min-width: 993px) {

    .catalog_sidebar {
        align-self: stretch;
    }

    .catalog_filter {
        position: sticky;
        top: 110px;

        max-height: calc(100vh - 130px);
        overflow-y: auto;

        overscroll-behavior: contain;
    }
}

/* =========================================================
   MOBILE FILTER — DESIGN ALIGNMENT
   ========================================================= */

@media (max-width: 992px) {

    .catalog_filter_mobile_open {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 13px;

        width: 100%;
        min-height: 52px;
        margin: 0 0 20px;
        padding: 10px 24px;

        border: 0;
        border-radius: 28px;
        background: #509600;
        color: #fff;

        font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
        font-size: 16px;
        line-height: 1.2;
        font-weight: 600;
    }

    .catalog_filter_mobile_open::before {
        content: "";
        width: 21px;
        height: 21px;
        flex: 0 0 21px;

        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h4m4 0h8M4 12h10m4 0h2M4 18h2m4 0h10'/%3E%3Ccircle cx='10' cy='6' r='2'/%3E%3Ccircle cx='16' cy='12' r='2'/%3E%3Ccircle cx='8' cy='18' r='2'/%3E%3C/svg%3E");
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
    }

    .catalog_sidebar {
        width: min(420px, 100%);
        height: 100vh;
        height: 100dvh;
        padding: 0;
        overflow-x: hidden;
        overflow-y: auto;
        background: #fff;
    }

    .catalog_filter_mobile_header {
        min-height: 70px;
        padding: 0 25px;
        border-bottom: 1px solid #e1e1e1;
        background: #fff;
    }

    .catalog_filter_mobile_title {
        color: #191919;
        font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
        font-size: 20px;
        line-height: 1.2;
        font-weight: 500;
    }

    .catalog_filter_mobile_close {
        width: 38px;
        height: 38px;
        color: #b4b4b4;
        font-family: Arial, sans-serif;
        font-size: 38px;
        font-weight: 300;
    }

    .catalog_sidebar .catalog_filter {
        width: 100%;
        padding: 26px;
        box-sizing: border-box;

        border: 0;
        background: #fff;
        color: #191919;

        font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
        font-size: 16px;
        line-height: 1.35;
    }

    .catalog_sidebar .catalog_filter > .catalog_filter-title {
        display: none;
    }

    .catalog_filter-block {
        margin: 0 0 28px;
        padding: 0;
        border: 0;
    }

    .catalog_filter-block:last-of-type {
        margin-bottom: 20px;
    }

    .catalog_filter-block > .catalog_filter-title,
    .catalog_filter-block-title {
        display: block;
        margin: 0 0 14px;
        color: #191919;
        font-size: 18px;
        line-height: 1.3;
        font-weight: 700;
    }

    .catalog_range_slider {
        width: calc(100% - 24px);
        height: 30px;
        margin: 0 12px 4px;
    }

    .catalog_range {
        width: 100%;
        height: 30px;
    }

    .catalog_range-track,
    .catalog_range-fill {
        height: 4px;
    }

    .catalog_range::-webkit-slider-thumb {
        width: 18px;
        height: 18px;
        margin-top: -7px;
        box-sizing: border-box;
        border: 2px solid #509600;
        background: #fff;
        box-shadow: none;
    }

    .catalog_range::-moz-range-thumb {
        width: 18px;
        height: 18px;
        box-sizing: border-box;
        border: 2px solid #509600;
        background: #fff;
        box-shadow: none;
    }

    .catalog_range_bounds {
        display: flex;
        justify-content: space-between;
        margin: 0 0 10px;
        padding: 0 12px;

        color: #8a919b;
        font-size: 12px;
        line-height: 1.2;
    }

    .catalog_range_inputs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
        margin: 0;
    }

    .catalog_range_input {
        width: 100%;
        height: 49px;
        padding: 0 16px;
        box-sizing: border-box;

        border: 1px solid #d9dce0;
        border-radius: 4px;
        background: #fff;

        color: #191919;
        font-family: inherit;
        font-size: 16px;
        font-weight: 600;
    }

    .catalog_range_input::placeholder {
        color: #c4c7cc;
    }

    .catalog_range_presets {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 9px;
        margin-top: 10px;
    }

    .catalog_range_preset {
        width: 100%;
        min-height: 48px;
        padding: 8px 7px;

        border: 1px solid transparent;
        border-radius: 4px;
        background: #f7f8fb;
        color: #59616d;

        font-family: inherit;
        font-size: 14px;
        line-height: 1.15;
        font-weight: 600;
    }

    .catalog_range_preset.is-active {
        border-color: #509600;
        background: #fff;
        color: #191919;
    }

    .catalog_filter-options--chips,
    .catalog_filter-buttons,
    .catalog_filter-sizes {
        display: flex;
        flex-wrap: wrap;
        gap: 9px;
    }

    .catalog_filter-options--chips .catalog_filter-option,
    .catalog_filter-buttons label,
    .catalog_filter-size {
        position: relative;
        display: inline-flex;
        margin: 0;
    }

    .catalog_filter-options--chips .catalog_filter-option input,
    .catalog_filter-buttons input,
    .catalog_filter-size input {
        position: absolute;
        width: 1px;
        height: 1px;
        opacity: 0;
        pointer-events: none;
    }

    .catalog_filter-options--chips .catalog_filter-option > span,
    .catalog_filter-buttons label > span,
    .catalog_filter-size > span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 47px;
        min-height: 48px;
        padding: 7px 14px;
        box-sizing: border-box;

        border: 1px solid #d9dce0;
        border-radius: 4px;
        background: #fff;
        color: #191919;

        font-family: inherit;
        font-size: 14px;
        line-height: 1.15;
        font-weight: 600;
        text-align: center;
    }

    .catalog_filter-options--floors {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .catalog_filter-options--floors .catalog_filter-option > span {
        width: 100%;
        padding-right: 6px;
        padding-left: 6px;
    }

    .catalog_filter-options--wide .catalog_filter-option > span {
        padding-right: 16px;
        padding-left: 16px;
    }

    .catalog_filter-options--chips .catalog_filter-option input:checked + span,
    .catalog_filter-buttons input:checked + span,
    .catalog_filter-size input:checked + span {
        border-color: #509600;
        background: #509600;
        color: #fff;
    }

    .catalog_filter-options--chips small,
    .catalog_filter-buttons small,
    .catalog_filter-size small {
        display: none;
    }

    .catalog_filter-options--chips .catalog_filter-option.is-hidden,
    .catalog_filter-buttons label.is-hidden,
    .catalog_filter-size.is-hidden {
        display: inline-flex !important;
        opacity: .35;
        pointer-events: none;
    }

    .catalog_filter-size.catalog_size_extra {
        display: none !important;
    }

    .catalog_filter-sizes.is-expanded
    .catalog_filter-size.catalog_size_extra:not(.is-hidden) {
        display: inline-flex !important;
    }

    .catalog_size_toggle,
    .catalog_features_toggle {
        display: inline-flex;
        flex: 0 0 100%;
        margin-top: 2px;
        color: #509600;
        font-size: 15px;
        line-height: 1.2;
        font-weight: 600;
        text-decoration: underline;
    }

    .catalog_filter-actions {
        position: static;
        display: grid;
        gap: 16px;
        margin: 25px 0 0;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .catalog_filter-submit,
    .catalog_filter-reset {
        width: 100%;
        min-height: 64px;
        margin: 0;
        padding: 12px 20px;

        border-radius: 34px;

        font-family: inherit;
        font-size: 16px;
        line-height: 1.2;
        font-weight: 700;
        text-transform: uppercase;
    }

    .catalog_filter-submit {
        border: 1px solid #509600;
        background: #509600;
        color: #fff;
    }

    .catalog_filter-reset {
        border: 1px solid #509600;
        background: #fff;
        color: #509600;
    }

    .catalog_filter > .catalog_filter_help {
        display: block;
        margin: 26px 0 0;
        padding: 28px 26px;

        border: 1px solid #e7e9ed;
        border-radius: 3px;
        background: #f8f9fb;
    }

    .catalog_filter_help-title {
        margin-bottom: 20px;
        color: #191919;
        font-size: 20px;
        line-height: 1.3;
        font-weight: 700;
    }

    .catalog_filter_help-text {
        margin-bottom: 28px;
        color: #333;
        font-size: 15px;
        line-height: 1.35;
        font-weight: 600;
    }

    .catalog_filter_help-btn {
        min-height: 62px;
        padding: 12px 18px;
        border: 1px solid #191919;
        border-radius: 32px;
        background: transparent;
        color: #191919;

        font-size: 14px;
        line-height: 1.2;
        font-weight: 700;
        text-transform: uppercase;
    }
}

/* =========================================
   CATALOG FILTER HELP
   ========================================= */

.catalog_filter_help {
    margin-top: 20px;
    padding: 22px 20px;
    border: 1px solid #e5e5e5;
    background: #fff;
}

.catalog_filter_help-title {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
    color: #191919;
}

.catalog_filter_help-text {
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.5;
    color: #6f6f6f;
}

.catalog_filter_help-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 46px;
    padding: 10px 14px;

    background: #509600;
    border: 1px solid #509600;
    border-radius: 4px;

    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;

    transition: 0.3s;
}

.catalog_filter_help-btn:hover {
    background: #467f00;
    color: #fff;
}

@media (max-width: 992px) {
    .catalog_filter_help {
        display: none;
    }
}

/* =========================================
   CATALOG SIZE CHIPS
   ========================================= */

.catalog_filter-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.catalog_filter-size {
    position: relative;
    display: inline-flex;
}

.catalog_filter-size input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.catalog_filter-size span {
    display: inline-flex;
    align-items: center;
    gap: 4px;

    padding: 7px 10px;

    border: 1px solid #dcdcdc;
    border-radius: 18px;

    background: #f7f7f7;
    color: #191919;

    font-size: 13px;
    line-height: 1;

    cursor: pointer;
    transition: 0.2s;
}

.catalog_filter-size span small {
    font-size: 12px;
    color: #8a8a8a;
}

.catalog_filter-size:hover span {
    border-color: #509600;
}

.catalog_filter-size input:checked + span {
    background: #509600;
    border-color: #509600;
    color: #fff;
}

.catalog_filter-size input:checked + span small {
    color: #fff;
}

.catalog_filter-size.is-hidden {
    display: none;
}

/* значения после первых 8 */
.catalog_size_extra {
    display: none;
}

.catalog_size_toggle {
    display: inline-flex;
    align-items: center;

    padding: 0;
    margin-top: 2px;

    border: 0;
    background: none;

    color: #509600;
    font-size: 13px;
    font-weight: 500;

    cursor: pointer;
}

.catalog_size_toggle:hover {
    text-decoration: underline;
}

/* =========================================
   CATALOG SKELETON LOADING
   ========================================= */

/* Старое затемнение отключаем:
   фильтр во время AJAX должен оставаться активным */
.catalog_layout.is-loading {
    opacity: 1;
    pointer-events: auto;
}


/* Skeleton-карточка */
.catalog_skeleton-card {
    position: relative;
    overflow: hidden;

    min-width: 0;
    min-height: 460px;

    padding-bottom: 24px;

    background: #fff;
    border: 1px solid #eeeeee;
}


/* Общая анимация */
.catalog_skeleton-image,
.catalog_skeleton-line,
.catalog_skeleton-button {
    position: relative;
    overflow: hidden;

    background: #eeeeee;
}


.catalog_skeleton-image::after,
.catalog_skeleton-line::after,
.catalog_skeleton-button::after {
    content: "";

    position: absolute;
    top: 0;
    left: -100%;

    width: 100%;
    height: 100%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.75),
        transparent
    );

    animation: catalogSkeletonLoading 1.2s infinite;
}


@keyframes catalogSkeletonLoading {

    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}


/* Изображение */
.catalog_skeleton-image {
    width: 100%;
    height: 300px;

    margin-bottom: 24px;
}


/* Текстовые полосы */
.catalog_skeleton-line {
    height: 16px;

    margin-left: 24px;
    margin-right: 24px;

    border-radius: 3px;
}


.catalog_skeleton-title {
    width: 55%;
    height: 22px;

    margin-bottom: 14px;
}


.catalog_skeleton-price {
    width: 35%;
    height: 18px;

    margin-bottom: 24px;
}


/* Характеристики */
.catalog_skeleton-meta {
    display: flex;
    gap: 12px;

    margin: 0 24px 24px;
}


.catalog_skeleton-meta .catalog_skeleton-line {
    width: 80px;
    height: 14px;

    margin: 0;
}


/* Кнопка */
.catalog_skeleton-button {
    width: calc(100% - 48px);
    height: 46px;

    margin: 0 24px;

    border-radius: 30px;
}


/* Планшет */
@media (max-width: 992px) {

    .catalog_skeleton-card {
        min-height: 400px;
    }

    .catalog_skeleton-image {
        height: 240px;
    }
}


/* Телефон */
@media (max-width: 600px) {

    .catalog_skeleton-card {
        min-height: 380px;
    }

    .catalog_skeleton-image {
        height: 220px;
    }
}

/* =========================================
   CATALOG AJAX ERROR
   ========================================= */

.catalog_filter-error {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin: 20px 0;
    padding: 18px 22px;

    border: 1px solid #e3e3e3;
    border-left: 4px solid #509600;

    background: #fff;
}

.catalog_filter-error-text {
    font-size: 15px;
    line-height: 1.4;
    color: #191919;
    font-weight: 500;
}

.catalog_filter-error-retry {
    flex: 0 0 auto;

    min-height: 42px;
    padding: 0 22px;

    border: 0;
    border-radius: 30px;

    background: #509600;
    color: #fff;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
    transition: background .2s ease;
}

.catalog_filter-error-retry:hover {
    background: #3f7f00;
}

@media (max-width: 600px) {

    .catalog_filter-error {
        flex-direction: column;
        align-items: stretch;
    }

    .catalog_filter-error-retry {
        width: 100%;
    }
}

/* =========================================
   CATALOG FILTER STICKY DESKTOP
   ========================================= */

@media (min-width: 993px) {

    .catalog_layout {
        align-items: stretch;
    }

    .catalog_sidebar {
        align-self: stretch;
        position: relative;
    }

    .catalog_filter {
        position: sticky;
        top: 110px;

        max-height: calc(100vh - 130px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
}

@media (min-width: 993px) {
    html,
    body {
        overflow-x: visible !important;
    }
}

/* =========================================================
   CATALOG FILTER — DESIGN ALIGNMENT
   Only the category filter is styled in this section.
   ========================================================= */

@media (min-width: 993px) {

    .catalog:has(.catalog_layout) > .container {
        width: 100%;
        max-width: 1570px;
        padding-inline: 20px;
        box-sizing: border-box;
    }

    .catalog:has(.catalog_layout) .catalog_top {
        margin-bottom: 56px;
        gap: 24px;
    }

    .catalog:has(.catalog_layout) .catalog_top .title {
        flex: 1;
        width: auto;
        max-width: none;
        font-size: clamp(30px, 2.9vw, 48px);
        line-height: 1.25;
    }

    .catalog:has(.catalog_layout) .catalog_text {
        flex: 0 0 auto;
        font-size: 18px;
        line-height: 1.4;
    }

    .catalog:has(.catalog_layout) .filter-tab-lv1 {
        font-size: 16px;
    }

    .catalog:has(.catalog_layout) .filter-item {
        font-size: 14px;
        line-height: 20px;
        padding: 5px 12px;
        border-radius: 3px;
        background: #f6f7fa;
        color: #666;
        font-weight: 500;
    }

    .catalog:has(.catalog_layout) .filter-item:hover,
    .catalog:has(.catalog_layout) .filter-item.active {
        background: #edf4e5;
        color: #509600;
    }

    .catalog:has(.catalog_layout) .filter-values {
        gap: 6px;
    }

    .catalog:has(.catalog_layout) .filters_categories {
        margin-bottom: 60px;
    }

    .catalog_layout {
        --catalog-heading-font: 18px;
        --catalog-chip-height: 50px;
        --catalog-chip-font: 16px;
        --catalog-chip-padding: 10px 20px;
        --catalog-chip-gap: 14px 12px;
        --catalog-floor-height: 50px;
        --catalog-floor-font: 16px;
        --catalog-floor-note: 12px;
        --catalog-preset-font: 16px;
    }

    .catalog_layout {
        grid-template-columns: clamp(280px, 29.5%, 456px) minmax(0, 1fr);
        gap: clamp(24px, 2.4vw, 40px);
        align-items: stretch;
    }

    .catalog_sidebar {
        width: 100%;
        min-width: 0;
        align-self: stretch;
        position: relative;
    }

    .catalog_filter {
        position: sticky;
        top: 96px;
        display: flex;
        flex-direction: column;
        width: 100%;
        max-height: calc(100vh - 116px);
        padding: clamp(20px, 2.4vw, 40px);
        overflow-x: hidden;
        overflow-y: auto;
        box-sizing: border-box;

        border: 1px solid #e7eaee;
        border-radius: 0;
        background: #fff;
        box-shadow: none;

        color: #191919;
        font-family: Arial, sans-serif;
        font-size: 16px;
        line-height: 1.35;

        scrollbar-width: thin;
        scrollbar-color: rgba(80, 150, 0, .45) transparent;
        overscroll-behavior: contain;
    }

    .catalog_filter > * {
        flex-shrink: 0;
    }

    .catalog_filter > .catalog_size_block {
        order: 1;
    }

    .catalog_filter > .catalog_filter-block:has(input[name="style[]"]) {
        order: 2;
    }

    .catalog_filter > .catalog_filter-block:has(input[name="features[]"]) {
        order: 3;
    }

    .catalog_filter > .catalog_filter-actions {
        order: 4;
    }

    .catalog_filter > .catalog_filter_help {
        order: 5;
    }

    .catalog_filter::-webkit-scrollbar {
        width: 6px;
    }

    .catalog_filter::-webkit-scrollbar-track {
        background: transparent;
    }

    .catalog_filter::-webkit-scrollbar-thumb {
        border-radius: 6px;
        background: rgba(80, 150, 0, .45);
    }

    .catalog_filter > .catalog_filter-title {
        display: none;
    }

    .catalog_filter-block {
        margin: 0 0 26px;
        padding: 0;
        border: 0;
    }

    .catalog_filter-block:first-of-type {
        padding-top: 0;
        border-top: 0;
    }

    .catalog_filter-block:last-of-type {
        margin-bottom: 13px;
        padding-bottom: 0;
    }

    .catalog_filter-block > .catalog_filter-title,
    .catalog_filter-block-title,
    .catalog_filter-block > .catalog_filter-block:not(:has(input)) {
        margin: 0 0 10px;

        color: #191919;
        font-size: 18px;
        line-height: 1.3;
        font-weight: 500;
    }

    .catalog_range_slider {
        height: 30px;
        margin: 0 0 2px;
    }

    .catalog_range-track,
    .catalog_range-fill {
        height: 8px;
    }

    .catalog_range-track {
        background: #e7eaee;
    }

    .catalog_range-fill {
        background: #509600;
    }

    .catalog_range {
        height: 30px;
    }

    .catalog_range::-webkit-slider-thumb {
        margin-top: -8px;
        width: 20px;
        height: 20px;
        border: 1.5px solid #509600;
        box-sizing: border-box;
        box-shadow: none;
    }

    .catalog_range::-moz-range-thumb {
        width: 20px;
        height: 20px;
        border: 1.5px solid #509600;
        box-sizing: border-box;
        box-shadow: none;
    }

    .catalog_range_bounds {
        display: none;
    }

    .catalog_range_inputs {
        gap: 20px;
        margin: 14px 0 0;
    }

    .catalog_range_input {
        height: 50px;
        padding: 0 11px;

        border: 1px solid #dde1e6;
        border-radius: 2px;
        background: #fff;

        color: #191919;
        font-size: 16px;
    }

    .catalog_range_input::placeholder {
        color: #aeb4bd;
    }

    .catalog_range_presets {
        gap: 12px;
        margin-top: 16px;
    }

    .catalog_range_preset {
        flex: 0 0 calc((100% - 24px) / 3);
        min-height: 50px;
        padding: 6px;

        border: 1px solid transparent;
        border-radius: 3px;
        background: #f6f7fa;

        color: #59616d;
        font-size: 16px;
        line-height: 1;
        font-weight: 500;
    }

    .catalog_range_preset:hover,
    .catalog_range_preset.is-active {
        border-color: #509600;
        background: #fff;
        color: #191919;
    }

    .catalog_filter-options--chips,
    .catalog_filter-buttons,
    .catalog_filter-sizes {
        display: flex;
        flex-wrap: wrap;
        gap: 14px 12px;
    }

    .catalog_filter-options--floors > label {
        flex: 1 1 0;
    }

    .catalog_filter-options--floors .catalog_filter-option > span {
        width: 100%;
        min-height: 46px;
        padding-right: 6px;
        padding-left: 6px;
        font-size: 16px;
    }

    .catalog_filter-options--wide {
        gap: 8px;
    }

    .catalog_filter-options--chips .catalog_filter-option,
    .catalog_filter-buttons label,
    .catalog_filter-size {
        position: relative;
        display: inline-flex;
        margin: 0;
    }

    .catalog_filter-options--chips .catalog_filter-option input,
    .catalog_filter-buttons input,
    .catalog_filter-size input {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: 0;
        opacity: 0;
        pointer-events: none;
    }

    .catalog_filter-options--chips .catalog_filter-option > span,
    .catalog_filter-buttons label > span,
    .catalog_filter-size > span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 50px;
        min-height: 50px;
        height: auto;
        padding: 6px 10px;
        box-sizing: border-box;

        border: 1px solid #dfe3e7;
        border-radius: 3px;
        background: #fff;

        color: #191919;
        font-size: 16px;
        line-height: 1.15;
        font-weight: 500;
        text-align: center;
        cursor: pointer;
    }

    .catalog_filter-options--chips .catalog_filter-option:hover > span,
    .catalog_filter-buttons label:hover > span,
    .catalog_filter-size:hover > span {
        border-color: #509600;
    }

    .catalog_filter-options--chips .catalog_filter-option input:checked + span,
    .catalog_filter-buttons input:checked + span,
    .catalog_filter-size input:checked + span {
        border-color: #509600;
        background: #509600;
        color: #fff;
    }

    .catalog_filter-options--chips small,
    .catalog_filter-buttons small,
    .catalog_filter-size small {
        display: none;
    }

    .catalog_filter-options--wide .catalog_filter-option > span {
        padding-right: 14px;
        padding-left: 14px;
        font-size: 17px;
    }

    /* Larger option text for the current checkbox markup used by
       the Style and Features sections on the category page. */
    .catalog_filter-option > input[name="style[]"] + span,
    .catalog_filter-option > input[name="features[]"] + span,
    .catalog_filter-option > input[name="floors[]"] + span {
        font-size: 17px;
        line-height: 1.3;
    }

    .catalog_filter-option > input[name="style[]"],
    .catalog_filter-option > input[name="features[]"],
    .catalog_filter-option > input[name="floors[]"] {
        width: 20px;
        height: 20px;
        flex-basis: 18px;
    }

    .catalog_filter-option > input[name="style[]"] + span small,
    .catalog_filter-option > input[name="features[]"] + span small,
    .catalog_filter-option > input[name="floors[]"] + span small {
        font-size: 11px;
    }

    .catalog_features_toggle-control {
        position: absolute;
        width: 1px;
        height: 1px;
        opacity: 0;
        pointer-events: none;
    }

    .catalog_filter-options--features > .catalog_filter-option:nth-of-type(n+9) {
        display: none;
    }

    .catalog_features_toggle-control:checked ~ .catalog_filter-option:nth-of-type(n+9) {
        display: inline-flex;
    }

    .catalog_features_toggle {
        display: inline-flex;
        flex: 0 0 100%;
        width: max-content;
        margin-top: 2px;

        color: #509600;
        font-size: 16px;
        line-height: 1.2;
        font-weight: 500;
        text-decoration: underline;
        cursor: pointer;
    }

    .catalog_features_toggle-less {
        display: none;
    }

    .catalog_features_toggle-control:checked ~ .catalog_features_toggle .catalog_features_toggle-more {
        display: none;
    }

    .catalog_features_toggle-control:checked ~ .catalog_features_toggle .catalog_features_toggle-less {
        display: inline;
    }

    .catalog_filter-options--chips .catalog_filter-option.is-hidden,
    .catalog_filter-buttons label.is-hidden,
    .catalog_filter-size.is-hidden {
        display: inline-flex !important;
        opacity: .35;
        pointer-events: none;
    }

    /* Extra sizes are marked by the existing template/JS.
       Keep them hidden until the "Show all" control reveals them. */
    .catalog_filter-size.catalog_size_extra {
        display: none !important;
    }

    .catalog_filter-sizes.is-expanded
    .catalog_filter-size.catalog_size_extra:not(.is-hidden) {
        display: inline-flex !important;
    }

    .catalog_size_toggle {
        display: inline-flex;
        margin-top: 10px;
        color: #509600;
        font-size: 16px;
        line-height: 1.2;
        font-weight: 500;
    }

    .catalog_filter-actions {
        display: grid;
        gap: 9px;
        margin: 0;
    }

    .catalog_filter-submit,
    .catalog_filter-reset {
        min-height: 46px;
        margin: 0;
        padding: 8px 14px;
        box-sizing: border-box;

        border-radius: 22px;

        font-size: 16px;
        line-height: 1.2;
        font-weight: 700;
        text-transform: uppercase;
    }

    .catalog_filter-submit {
        border: 1px solid #509600;
        background: #509600;
        color: #fff;
    }

    .catalog_filter-reset {
        border: 1px solid #509600;
        background: #fff;
        color: #509600;
    }

    .catalog_filter_help {
        margin-top: 20px;
        padding: 16px 14px;

        border: 1px solid #eaedf1;
        border-radius: 2px;
        background: #f8f9fb;
    }

    .catalog_filter_help-title {
        margin-bottom: 9px;
        color: #191919;
        font-size: 18px;
        line-height: 1.3;
        font-weight: 500;
    }

    .catalog_filter_help-text {
        margin-bottom: 12px;
        color: #60656d;
        font-size: 16px;
        line-height: 1.45;
    }

    .catalog_filter_help-btn {
        min-height: 46px;
        padding: 8px 10px;

        border: 1px solid #191919;
        border-radius: 22px;
        background: transparent;
        color: #191919;

        font-size: 18px;
        line-height: 1.2;
        font-weight: 500;
        text-transform: uppercase;
    }
}

/* Keep mobile size chips and the help card above earlier shared rules. */
@media (max-width: 992px) {

    .catalog_filter-sizes {
        gap: 9px;
    }

    .catalog_filter-size > span {
        justify-content: center;
        min-width: 47px;
        min-height: 48px;
        padding: 7px 14px;

        border: 1px solid #d9dce0;
        border-radius: 4px;
        background: #fff;

        font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
        font-size: 14px;
        line-height: 1.15;
        font-weight: 600;
    }

    .catalog_size_toggle {
        margin-top: 2px;
        color: #509600;
        font-size: 15px;
        font-weight: 600;
        text-decoration: underline;
    }

    .catalog_filter > .catalog_filter_help {
        display: block;
        margin: 26px 0 0;
        padding: 28px 26px;

        border: 1px solid #e7e9ed;
        border-radius: 3px;
        background: #f8f9fb;
    }

    .catalog_filter > .catalog_filter_help .catalog_filter_help-title {
        margin-bottom: 20px;
        color: #191919;
        font-size: 20px;
        line-height: 1.3;
        font-weight: 700;
    }

    .catalog_filter > .catalog_filter_help .catalog_filter_help-text {
        margin-bottom: 28px;
        color: #333;
        font-size: 15px;
        line-height: 1.35;
        font-weight: 600;
    }

    .catalog_filter > .catalog_filter_help .catalog_filter_help-btn {
        min-height: 62px;
        padding: 12px 18px;

        border: 1px solid #191919;
        border-radius: 32px;
        background: transparent;
        color: #191919;

        font-size: 14px;
        line-height: 1.2;
        font-weight: 700;
        text-transform: uppercase;
    }
}

/* The help card now belongs to the form. Hide the former sibling copy
   if the category template still contains it during deployment. */
.catalog_filter > .catalog_filter_help {
    display: block;
}

.catalog_sidebar > .catalog_filter_help {
    display: none;
}

/* =========================================================
   CATALOG CARDS — DESIGN ALIGNMENT
   ========================================================= */

@media (min-width: 993px) {

    .catalog_content {
        min-width: 0;
        font-family: Arial, sans-serif;
        --catalog-sort-width: 262px;
        --catalog-sort-height: 50px;
        --catalog-sort-font: 16px;
    }

    .catalog_toolbar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px 16px;
        margin-bottom: 24px;
    }

    .catalog_quick_filters,
    .catalog_active_filters {
        grid-column: 1 / -1;
        gap: 6px;
        margin: 0;
    }

    .catalog_active_filters:empty {
        display: none;
    }

    .catalog_quick_filter,
    .catalog_active_filter,
    .catalog_active_reset {
        min-height: 26px;
        padding: 4px 10px;
        font-size: 11px;
        line-height: 1.2;
    }

    .catalog_layout .catalog_result_count,
    .catalog_layout .catalog_result_count strong {
        color: #191919;
        font-size: 16px;
        line-height: 1.35;
        font-weight: 600;
    }


    .catalog_layout .category_items {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 20px;
        row-gap: 30px;
        margin-top: 0;
    }

    .catalog_layout .category_item {
        container-type: inline-size;
        width: 100%;
        min-width: 0;
        padding: 0;
        height: auto;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .catalog_layout .category_item-wrapper {
        display: flex;
        flex-direction: column;
        gap: 0;
        justify-content: flex-start;
        width: 100%;
    }

    .catalog_layout .category_item-img {
        width: 100%;
        height: auto;
        aspect-ratio: 1.7 / 1;
        overflow: hidden;
        background: #f3f3f3;
    }

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

    .catalog_layout .category_item-tags {
        top: 24px;
        left: 24px;
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
    }

    .catalog_layout .card-tag {
        padding: 8px 12px;
        border-radius: 8px;
        font-size: 13px;
        line-height: 1;
        font-weight: 600;
    }

    .catalog_layout .category_item-title {
        margin: 18px 0 14px;
    }

    .catalog_layout .category_item-title a {
        color: #191919;
        font-family: inherit;
        font-size: 26px;
        line-height: 1.2;
        font-weight: 600;
    }

    .catalog_layout .category_item-price {
        margin: 0 0 18px;
        color: #509600;
        font-family: inherit;
        font-size: 24px;
        line-height: 1.2;
        font-weight: 600;
    }

    .catalog_layout .category_item-options {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px clamp(8px, 4cqi, 24px);
    }

    .catalog_layout .category_item-option {
        display: flex;
        align-items: center;
        gap: 5px;
        color: #6c6c6c;
        font-family: inherit;
        font-size: clamp(13px, 3.5cqi, 18px);
        line-height: 1.3;
    }

    .catalog_layout .category_item-option::before {
        width: 20px;
        height: 20px;
        flex: 0 0 20px;
    }

    .catalog_layout .category_item-option span {
        color: #191919;
        font-weight: 600;
    }

    .catalog_layout .category_item-btn {
        margin-top: 24px;
    }

    .catalog_layout .category_item-btn .btn {
        width: 202px;
        height: 60px;
        padding: 0 16px;

        border: 1px solid #191919;
        border-radius: 30px;
        background: #fff;
        color: #191919;

        font-family: inherit;
        font-size: 16px;
        line-height: 1;
        font-weight: 600;
        text-transform: uppercase;
    }
}

/* =========================================================
   MOBILE STYLE / FEATURES CHIPS
   Supports both the current flat markup and grouped markup.
   ========================================================= */

@media (max-width: 992px) {

    .catalog_filter-block:has(> .catalog_filter-option > input[name="style[]"]),
    .catalog_filter-block:has(> .catalog_filter-option > input[name="features[]"]) {
        display: flex;
        flex-wrap: wrap;
        gap: 10px 9px;
    }

    .catalog_filter-block:has(> .catalog_filter-option > input[name="style[]"])
    > .catalog_filter-block-title,
    .catalog_filter-block:has(> .catalog_filter-option > input[name="features[]"])
    > .catalog_filter-block-title {
        flex: 0 0 100%;
        margin-bottom: 4px;
    }

    .catalog_filter-option:has(> input[name="style[]"]),
    .catalog_filter-option:has(> input[name="features[]"]) {
        position: relative;
        display: inline-flex;
        margin: 0;
    }

    .catalog_filter-option > input[name="style[]"],
    .catalog_filter-option > input[name="features[]"] {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: 0;
        opacity: 0;
        pointer-events: none;
    }

    .catalog_filter-option > input[name="style[]"] + span,
    .catalog_filter-option > input[name="features[]"] + span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 43px;
        padding: 8px 16px;
        box-sizing: border-box;

        border: 1px solid #d9dce0;
        border-radius: 4px;
        background: #fff;
        color: #191919;

        font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
        font-size: 14px;
        line-height: 1.15;
        font-weight: 600;
        text-align: center;
    }

    .catalog_filter-option > input[name="style[]"]:checked + span,
    .catalog_filter-option > input[name="features[]"]:checked + span {
        border-color: #509600;
        background: #509600;
        color: #fff;
    }

    .catalog_filter-option > input[name="style[]"] + span small,
    .catalog_filter-option > input[name="features[]"] + span small {
        display: none;
    }

    .catalog_filter-option.is-hidden:has(> input[name="style[]"]),
    .catalog_filter-option.is-hidden:has(> input[name="features[]"]) {
        display: inline-flex !important;
        opacity: .35;
        pointer-events: none;
    }

    .catalog_filter-options--wide {
        gap: 10px 9px;
    }

    .catalog_filter-options--wide .catalog_filter-option > span {
        min-height: 43px;
        padding: 8px 16px;
        font-size: 14px;
    }

    .catalog_filter-options--features .catalog_features_toggle {
        margin-top: 3px;
    }
}

.catalog_features_toggle-button {
    display: none;
}

@media (max-width: 992px) {

    .catalog_filter-block .catalog_feature_extra {
        display: none !important;
    }

    .catalog_filter-block.is-features-expanded
    .catalog_feature_extra:not(.is-hidden) {
        display: inline-flex !important;
    }

    .catalog_features_toggle-button {
        display: inline-flex;
        flex: 0 0 100%;
        width: max-content;
        padding: 0;
        border: 0;
        background: transparent;
        color: #509600;

        font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
        font-size: 15px;
        line-height: 1.2;
        font-weight: 600;
        text-decoration: underline;
    }
}

/* Style and features share the same chip layout on every screen. */
#catalogFilter .catalog_filter-chip-block {
    display: flex;
    flex-wrap: wrap;
    gap: var(--catalog-chip-gap, 10px 9px);
}

#catalogFilter .catalog_filter-chip-title {
    display: block;
    flex: 0 0 100%;
    width: 100%;
    margin: 0 0 4px;
    padding: 0;
    border: 0;

    color: #191919;
    font-family: Arial, sans-serif;
    font-size: var(--catalog-heading-font, 18px);
    line-height: 1.3;
    font-weight: 700;
}

#catalogFilter .catalog_filter-chip-option {
    position: relative;
    display: inline-flex;
    margin: 0;
    padding: 0;
    width: auto;
    flex: 0 0 auto;
}

#catalogFilter .catalog_filter-chip-option > input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

#catalogFilter .catalog_filter-chip-option > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--catalog-chip-height, 50px);
    padding: var(--catalog-chip-padding, 8px 16px);
    box-sizing: border-box;

    border: 1px solid #d9dce0;
    border-radius: 4px;
    background: #fff;
    color: #191919;

    font-family: Arial, sans-serif;
    font-size: var(--catalog-chip-font, 16px);
    line-height: 1.15;
    font-weight: 700;
    text-align: center;
}

#catalogFilter .catalog_filter-chip-option > input:checked + span {
    border-color: #509600;
    background: #509600;
    color: #fff;
}

#catalogFilter .catalog_filter-chip-option > span small {
    display: none;
}

#catalogFilter .catalog_filter-chip-option.is-hidden {
    display: inline-flex !important;
    opacity: 1;
    pointer-events: none;
}

#catalogFilter .catalog_filter-chip-option.is-hidden > span,
#catalogFilter .catalog_filter-chip-option > input:disabled + span {
    color: #9ca8bb;
    background: #f7f8fb;
    border-color: #f7f8fb;
}

#catalogFilter .catalog_filter-chip-option > input:focus-visible + span {
    outline: 2px solid #509600;
    outline-offset: 2px;
}

#catalogFilter .catalog_filter-chip-block > .catalog_filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: var(--catalog-chip-gap, 10px 9px);
    width: 100%;
}

#catalogFilter .catalog_filter-chip-block .catalog_features_toggle {
    display: block;
    flex: 0 0 100%;
    width: 100%;
    margin: 3px 0 0;
    padding: 0;
    border: 0;
    background: none;
    color: #509600;
    font: 600 var(--catalog-chip-font, 14px)/1.3 Arial, sans-serif;
    text-align: left;
    text-decoration: underline;
    cursor: pointer;
}

#catalogFilter .catalog_filter-chip-option.catalog_feature_extra {
    display: none !important;
}

#catalogFilter
.catalog_filter-chip-block.is-features-expanded
.catalog_filter-chip-option.catalog_feature_extra {
    display: inline-flex !important;
}

/* v8: Floor choices, including the original flat server markup. */
#catalogFilter .catalog_filter-block:has(input[name="floors[]"]) {
    display: flex;
    flex-wrap: wrap;
    gap: var(--catalog-chip-gap, 12px);
}

#catalogFilter .catalog_filter-block:has(input[name="floors[]"]) > .catalog_filter-block-title {
    flex: 0 0 100%;
    margin: 0 0 6px;
    font: 500 var(--catalog-heading-font, 16px)/1.3 Arial, sans-serif;
}

#catalogFilter .catalog_filter-options:has(input[name="floors[]"]) {
    display: flex;
    flex: 0 0 100%;
    gap: var(--catalog-chip-gap, 12px);
    width: 100%;
}

#catalogFilter .catalog_filter-option:has(> input[name="floors[]"]) {
    position: relative;
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    margin: 0;
    padding: 0;
}

#catalogFilter .catalog_filter-option > input[name="floors[]"] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
}

#catalogFilter .catalog_filter-option > input[name="floors[]"] + span {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-height: var(--catalog-floor-height, 48px);
    padding: 6px 3px;
    border: 1px solid #d9dce0;
    border-radius: 5px;
    background: #fff;
    color: #191919;
    font: 500 var(--catalog-floor-font, 16px)/1.2 Arial, sans-serif;
    text-align: center;
    cursor: pointer;
}

#catalogFilter input[name="floors[]"] + span small {
    display: none;
}

#catalogFilter input[name="floors[]"][value="1,5 этажа"] + span {
    font-size: 0;
}

#catalogFilter input[name="floors[]"][value="1,5 этажа"] + span::before {
    content: "1 этаж";
    font-size: var(--catalog-floor-font, 16px);
}

#catalogFilter input[name="floors[]"][value="1,5 этажа"] + span::after {
    content: "(с мансардой)";
    margin-top: 2px;
    color: #858585;
    font-size: var(--catalog-floor-note, 11px);
    font-weight: 400;
}

#catalogFilter .catalog_filter-option > input[name="floors[]"]:checked + span {
    border-color: #509600;
    background: #509600;
    color: #fff;
}

#catalogFilter input[name="floors[]"]:checked + span::after {
    color: inherit;
}

#catalogFilter .catalog_filter-option:has(> input[name="floors[]"]).is-hidden {
    display: flex !important;
    opacity: 1;
    pointer-events: none;
}

#catalogFilter .catalog_filter-option.is-hidden > input[name="floors[]"] + span,
#catalogFilter input[name="floors[]"]:disabled + span {
    border-color: #f7f8fb;
    background: #f7f8fb;
    color: #9ca8bb;
}

#catalogFilter input[name="floors[]"]:focus-visible + span {
    outline: 2px solid #509600;
    outline-offset: 2px;
}

/* Lighter values matching the filter typography reference. */
#catalogFilter input[name="bedrooms[]"] + span,
#catalogFilter input[name="bathrooms[]"] + span,
#catalogFilter .catalog_filter-size > span {
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
}

@media (min-width: 993px) {
    #catalogFilter .catalog_filter-size > span {
        min-width: 80px;
        min-height: 50px;
    }
}

/* v13: Bathroom heading and larger price/area preset labels. */
#catalogFilter .catalog_filter-block:has(input[name="bathrooms[]"]) > .catalog_filter-block-title,
#catalogFilter .catalog_filter-block:has(input[name="bathrooms[]"]) > .catalog_filter-block {
    font-weight: 500;
}

/* Figma typography: normal-width type for floors, bedrooms, bathrooms,
   house size, style and features. */
#catalogFilter .catalog_filter-block:has(input[name="floors[]"]) > .catalog_filter-block-title,
#catalogFilter .catalog_filter-block:has(input[name="floors[]"]) > .catalog_filter-block:not(:has(input)),
#catalogFilter .catalog_filter-block:has(input[name="bedrooms[]"]) > .catalog_filter-block-title,
#catalogFilter .catalog_filter-block:has(input[name="bedrooms[]"]) > .catalog_filter-block:not(:has(input)),
#catalogFilter .catalog_filter-block:has(input[name="bathrooms[]"]) > .catalog_filter-block-title,
#catalogFilter .catalog_filter-block:has(input[name="bathrooms[]"]) > .catalog_filter-block:not(:has(input)),
#catalogFilter .catalog_filter-block:has(.catalog_filter-size) > .catalog_filter-block-title,
#catalogFilter .catalog_filter-block:has(.catalog_filter-size) > .catalog_filter-block:not(:has(input)),
#catalogFilter .catalog_filter-chip-title {
    font-family: Inter, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
}

#catalogFilter .catalog_filter-option > input[name="floors[]"] + span,
#catalogFilter .catalog_filter-buttons input[name="bedrooms[]"] + span,
#catalogFilter .catalog_filter-buttons input[name="bathrooms[]"] + span,
#catalogFilter .catalog_filter-size > span,
#catalogFilter .catalog_filter-chip-option > span {
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 600;
}

/* Keep the mansard filter value intact, but show only its design label. */
#catalogFilter .catalog_filter-option > input[name="floors[]"][value="1,5 этажа"] + span {
    font-size: 0;
}

#catalogFilter .catalog_filter-group-count {
    color: #8f98a6;
    font: inherit;
    font-weight: 600;
    white-space: nowrap;
}

/* Unavailable choices stay visible, but use the muted Figma state. */
#catalogFilter .catalog_filter-buttons label.is-hidden,
#catalogFilter .catalog_filter-size.is-hidden {
    opacity: 1;
}

#catalogFilter .catalog_filter-buttons label.is-hidden > span,
#catalogFilter .catalog_filter-buttons input:disabled + span,
#catalogFilter .catalog_filter-size.is-hidden > span,
#catalogFilter .catalog_filter-size input:disabled + span {
    border-color: #f7f8fb;
    background: #f7f8fb;
    color: #a7b1c1;
}

#catalogFilter .catalog_range_preset {
    font-size: var(--catalog-preset-font, 15px);
}

@media (max-width: 992px) {
    #catalogFilter .catalog_range_preset {
        font-size: 15px;
    }
}

/* Compact sorting control matching the catalogue reference. */
.catalog_layout .catalog_sort {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: var(--catalog-sort-width, 198px);
    align-items: center;
    gap: 0;
    min-height: 34px;
    overflow: hidden;
    border: 1px solid #dfe3e7;
    border-radius: 4px;
    background: #fff;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.catalog_sort:hover,
.catalog_sort:focus-within {
    border-color: #509600;
    box-shadow: 0 0 0 2px rgba(80, 150, 0, .1);
}

.catalog_layout .catalog_sort label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.catalog_layout .catalog_sort select {
    width: 100%;
    min-width: 0;
    height: var(--catalog-sort-height, 36px);
    padding: 0 42px 0 20px;
    border: 0;
    border-radius: 0;
    outline: 0;
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23191919' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    color: #191919;
    font: 600 var(--catalog-sort-font, 12px)/1.2 Arial, sans-serif;
    cursor: pointer;
}

@media (max-width: 600px) {
    .catalog_layout .catalog_sort {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
    }

    .catalog_sort label {
        padding: 0 11px;
        font-size: 12px;
    }

    .catalog_layout .catalog_sort select {
        min-width: 0;
        padding-left: 11px;
        height: 44px;
    }
}

/* One typography system for every filter heading and option button. */
#catalogFilter .catalog_filter-title,
#catalogFilter .catalog_filter-block-title,
#catalogFilter .catalog_filter-chip-title,
#catalogFilter .catalog_filter-block > .catalog_filter-block:not(:has(input)) {
    color: #191919;
    font-family: Inter, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
}

#catalogFilter .catalog_range_preset,
#catalogFilter .catalog_filter-options--chips .catalog_filter-option > span,
#catalogFilter .catalog_filter-buttons label > span,
#catalogFilter .catalog_filter-size > span {
    color: #191919;
    font-family: Inter, Arial, sans-serif;
    font-weight: 600;
}

/* Preserve semantic state colours after the typography normalization. */
#catalogFilter .catalog_filter-options--chips .catalog_filter-option > input:checked + span,
#catalogFilter .catalog_filter-buttons input:checked + span,
#catalogFilter .catalog_filter-size input:checked + span {
    color: #fff;
}

#catalogFilter .catalog_filter-option.is-hidden > span,
#catalogFilter .catalog_filter-option > input:disabled + span,
#catalogFilter .catalog_filter-buttons label.is-hidden > span,
#catalogFilter .catalog_filter-buttons input:disabled + span,
#catalogFilter .catalog_filter-size.is-hidden > span,
#catalogFilter .catalog_filter-size input:disabled + span {
    color: #a7b1c1;
}
