.catalog {
    padding-top: 25px;
    padding-bottom: 60px;
}

.catalog-header {
    margin-bottom: 25px;
}

.catalog-title {
    font-size: 24px;
    color: #1C1C1C;
    font-weight: 400;
    margin: 0;
}

.catalog-inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

@media (max-width: 991px) {
    .catalog {
        background: white;
        padding-top: 0;
    }
    
    .catalog-header {
        margin: 0;
    }

    .catalog-title {
        display: none;
    }

    .catalog-inner {
        gap: 0;
    }
}

/* Filters */

.catalog-filters {
    flex-shrink: 0;
    width: 320px;
    padding: 30px 24px;
    background: white;
    border-radius: 4px;
    height: min-content;
}

.wpc-filters-section {
    margin-bottom: 15px;
}

.wpc-filters-section:last-child {
    margin-bottom: 0;
}

.wpc-filter-title {
    margin-bottom: 10px;
    font-size: 14px;
    color: #1C1C1C;
    line-height: 130%;
    font-weight: 600;
}

.wpc-filters-main-wrap ul.wpc-filters-ul-list {
    padding: 0 !important;
    margin: 0 !important;
}

body .wpc-filters-main-wrap li.wpc-term-item {
    margin-bottom: 4px;
}

.wpc-term-item-content-wrapper:has(input[type=checkbox]:checked)::before {
    content: url('data:image/svg+xml,<svg width="13" height="10" viewBox="0 0 13 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.40705 7.3125L11.4696 0.25C11.6362 0.0833335 11.8307 0 12.0529 0C12.2751 0 12.4696 0.0833335 12.6362 0.25C12.8029 0.416667 12.8862 0.614722 12.8862 0.844167C12.8862 1.07361 12.8029 1.27139 12.6362 1.4375L4.99038 9.10417C4.82372 9.27083 4.62927 9.35417 4.40705 9.35417C4.18483 9.35417 3.99038 9.27083 3.82372 9.10417L0.240385 5.52083C0.073718 5.35417 -0.00628205 5.15639 0.000384615 4.9275C0.00705128 4.69861 0.0939955 4.50056 0.261218 4.33333C0.42844 4.16611 0.626496 4.08278 0.855385 4.08333C1.08427 4.08389 1.28205 4.16722 1.44872 4.33333L4.40705 7.3125Z" fill="%231C1C1C"/></svg>');
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%) translateX(-6px);
}

.wpc-filters-main-wrap li.wpc-term-item input[type=checkbox] {
    width: 24px;
    height: 24px;
    margin: 0;
    appearance: none;
    background: #F4F5F8;
    border: 1px solid #6B748B74;
    cursor: pointer;
}

.wpc-filters-main-wrap li.wpc-term-item input[type=checkbox]:checked {
    background: #FFFEE7;
}

.wpc-filters-main-wrap li.wpc-term-item label {
    opacity: 1 !important;
}

.wpc-filters-main-wrap li.wpc-term-item a {
    opacity: 1 !important;
    font-size: 14px;
    color: var(--main-color);
    font-weight: 400;
    line-height: 130%;
}

.wpc-filters-main-wrap ul.children {
    padding: 0;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
}

@media (max-width: 991px) {
    .catalog-filters {
        display: none;
    }

    .wpc-custom-selected-terms {
        display: none;
    }

    .wpc-filters-open-button-container {
        display: block;
    }

    body .wpc-filters-open-button-container a.wpc-filters-open-widget {
        background: #F4F5F8;
        border: 1px solid #6B748B73;
        font-size: 14px;
        font-weight: 400;
        line-height: normal;
        padding: 10px 16px;
        border-radius: 4px;
    }

    .wpc-filters-widget-controls-item  {
        width: calc(50% - 5ox);
    }

    .wpc-filters-main-wrap .wpc-filters-widget-controls-container a {
        background: white;
        border: none;
        font-size: 14px;
        padding: 10px 14px;
        color: black;
        border: 1px solid #D1D1D1;
    }
    
    body .wpc-filters-main-wrap .wpc-filters-widget-controls-container a.wpc-filters-apply-button {
        background: #233462;
        border: none;
        color: white;
    }
}

/* Range */

.wpc-filters-range-wrapper {
    display: flex;
    justify-content: flex-start;
    gap: 6px;
}

.wpc-filters-range-column {
    border: 1px solid #6B748B74;
    background: #F4F5F8;
    border-radius: 4px;
    padding: 9px 10px;
    display: flex;
    gap: 15px;
    align-items: center;
    margin: 0;
    flex: 1;
    max-width: 100%;
}

.wpc-filters-range-column label {
    font-size: 12px;
    font-weight: 400;
}

.wpc-filters-range-values-wrapper {
    display: none;
}

.wpc-filters-range-wrapper input[type=number] {
    font-weight: 600;
}

/* Footer */

body .wpc-filters-main-wrap a.wpc-filters-reset-button {
    display: none;
}

body .wpc-filters-main-wrap a.wpc-filters-submit-button {
    width: 100%;
    background: #233462;
    color: white;
    border-radius: 4px;
    font-size: 14px;
    padding: 10px;
    line-height: 1;
    cursor: pointer;
    border: none;
}


/* Results */

.catalog-results {
    width: 100%;
    flex: 1;
    padding: 30px 24px;
    background: white;
    border-radius: 4px;
}

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

@media (max-width: 991px) {
    .catalog-results {
        padding: 0;
        border-radius: 0;
        background: transparent;
    }
}

/* Chips */

body ul.wpc-filter-chips-list {
    margin: 0;
    display: flex;
    gap: 14px;
    align-items: center;
}

.wpc-filter-chips-list li,
body .wpc-filter-chips-list li.wpc-filter-chip,
li.wpc-filter-chip {
    margin: 0;
}

.wpc-filter-chips-list a,
body .wpc-filter-chips-list li.wpc-filter-chip a {
    background: #F4F5F8;
    padding: 10px 14px;
    border: 1px solid #6B748B73 !important;
    border-radius: 4px;
    color: #6B748B;
    font-size: 14px;
    line-height: 130%;
    cursor: pointer;
}

.wpc-filter-chip-name {
    margin: 0;
}

.wpc-chip-remove-icon {
    display: none;
}

.wpc-button-inner,
.wpc-chip-content {
    gap: 10px;
}

.wpc-filter-chip:not(.wpc-chip-reset-all) .wpc-chip-content::after {
    content: url('data:image/svg+xml,<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1.73049 12.3472L1.07031 11.7471L6.29208 7.00002L1.07031 2.25297L1.73049 1.6528L6.95226 6.39986L12.174 1.6528L12.8342 2.25297L7.61244 7.00002L12.8342 11.7471L12.174 12.3472L6.95226 7.60019L1.73049 12.3472Z" fill="%236B748B"/></svg>');
    width: 14px;
    height: 14px;
}

/* Sorting */

.widget_wpc_sorting_widget {
    flex-shrink: 0;
}

.wpc-sorting-form select {
    border: 1px solid #6B748B73;
    background: #F4F5F8;
    padding: 10px 16px;
    font-size: 14px;
    border-radius: 4px;
    max-width: -webkit-fill-available;
}

/* Posts */

.wpc-posts-found {
    font-weight: 600;
    font-size: 24px;
    line-height: 130%;
    color: #1C1C1C;
    clear: both;
    padding-top: 20px;
}

.wpc-posts-found p {
    margin: 0;
}

@media (max-width: 991px) {
    .wpc-posts-found {
        display: none;
    }
}