.filter-panel--clean {
    border-radius: 10px;
    padding: 0 13px 12px;
}

.filter-panel--clean .filter-panel__header {
    display: flex;
    gap: 8px;
    margin: 0;
    min-height: 48px;
    padding: 7px 0;
}

.filter-panel--clean .filter-panel__header h2 {
    align-items: center;
    display: flex;
    font-size: 1.05rem;
    gap: 6px;
    margin: 0 auto 0 0;
}

.filter-panel--clean .category-filter-icon {
    color: #825a00;
    fill: none;
    flex: 0 0 16px;
    height: 16px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.75;
    width: 16px;
}

.filter-panel--clean .filter-panel__close {
    display: none;
}

.category-filter-reset,
.filter-panel--clean .category-filter-brand-more summary {
    color: #825a00;
    font-size: .8125rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.filter-panel--clean .filter-group {
    border-bottom: 1px solid var(--color-border);
    gap: 6px;
    margin: 0;
    padding: 8px 0 10px;
}

.filter-panel--clean :is(details.filter-group, .filter-group--technical) {
    display: block;
    padding: 0;
}

.filter-panel--clean .category-filter-heading {
    font-size: .9375rem;
    font-weight: 700;
}

.filter-panel--clean summary {
    cursor: pointer;
    list-style: none;
}

.filter-panel--clean summary::-webkit-details-marker {
    display: none;
}

.filter-panel--clean summary.category-filter-heading {
    align-items: center;
    display: flex;
    gap: 4px;
    min-height: 40px;
}

.filter-panel--clean summary.category-filter-heading::after {
    border: solid var(--color-muted);
    border-width: 0 1.5px 1.5px 0;
    content: "";
    flex: 0 0 6px;
    height: 6px;
    margin: 0 4px 3px auto;
    transform: rotate(45deg);
}

.filter-panel--clean details[open] > summary.category-filter-heading::after {
    transform: rotate(225deg);
}

.filter-panel--clean .filter-options {
    gap: 3px;
}

.filter-panel--clean :is(.filter-options--brands, .filter-options--checkbox_list) .filter-choice {
    border-color: transparent;
    font-size: .875rem;
    min-height: 33px;
    padding: 4px 6px;
}

.filter-panel--clean .filter-choice.is-active {
    background: var(--color-brand-soft);
    box-shadow: none;
}

.filter-panel--clean .filter-choice--brand .filter-choice__media {
    flex-basis: 30px;
    height: 19px;
    width: 30px;
}

.filter-panel--clean .filter-choice--brand .filter-choice__label {
    align-items: baseline;
    display: flex;
    flex: 1;
    gap: 4px;
    justify-content: space-between;
}

.filter-panel--clean .filter-group--brands {
    display: flex;
    flex-direction: column;
}

.filter-panel--clean .category-filter-brand-more {
    order: 1;
}

.filter-panel--clean .category-filter-brand-more[open] {
    order: 0;
}

.filter-panel--clean .category-filter-brand-more summary {
    padding: 4px 6px;
}

.filter-panel--clean .category-filter-brand-more:not([open]) summary span:last-child,
.filter-panel--clean .category-filter-brand-more[open] summary span:first-child,
.filter-panel--clean .category-filter-brand-more:not([open]) + .filter-options .category-filter-extra-brand,
.filter-panel--clean .filter-options--brands [hidden] {
    display: none;
}

.filter-panel--clean .category-filter-brand-more input {
    border: 1px solid var(--color-border);
    border-radius: 6px;
    margin-top: 5px;
    padding: 7px 8px;
    width: 100%;
}

.filter-panel--clean .filter-group--labels .filter-options,
.filter-panel--clean .technical-filter-list .category-filter-parameter fieldset {
    border: 0;
    margin: 0;
    padding: 0 0 9px;
}

.filter-panel--clean .category-filter-parameter + .category-filter-parameter {
    border-top: 1px solid var(--color-border);
}

.filter-panel--clean .filter-hint {
    font-size: .8125rem;
    margin: 0;
}

.category-price-heading,
.category-price-axis {
    align-items: baseline;
    display: flex;
    gap: 6px;
    justify-content: space-between;
}

.category-price-axis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    text-align: center;
}

.category-price-axis span:first-child {
    text-align: start;
}

.category-price-axis span:last-child {
    grid-column: 3;
    text-align: end;
}

.category-price-heading a {
    color: #825a00;
    font-size: .75rem;
    text-underline-offset: 3px;
}

.category-price-caption,
.category-price-axis,
.category-price-filter .price-filter label {
    color: var(--color-muted);
    font-size: .75rem;
}

.category-price-plot {
    height: 54px;
    margin: 5px 10px 0;
    position: relative;
}

.category-price-bars {
    align-items: end;
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    inset: 0;
    position: absolute;
}

.category-price-bars span {
    background: var(--color-gray-200);
    border-radius: 2px 2px 0 0;
    margin-inline: 1px;
}

.category-price-bars--active {
    clip-path: inset(0 calc(100% - var(--price-end)) 0 var(--price-start));
}

.category-price-bars--active span {
    background: var(--color-brand);
}

.category-price-filter .price-range {
    margin: -4px 0 0;
}

.category-price-filter .price-range__track {
    inset-inline: 10px;
}

.category-price-filter [data-category-price-range="min"]:not([data-price-at-start]) {
    z-index: 1;
}

.category-price-filter .price-range input[type="range"]:focus-visible {
    outline-offset: 2px;
    z-index: 2;
}

.category-price-filter .category-price-field {
    align-items: center;
    background: var(--color-gray-50);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    display: flex;
    gap: 2px;
    margin-top: 3px;
    padding: 0 7px;
}

.category-price-filter .category-price-field input {
    appearance: textfield;
    background: transparent;
    border: 0;
    font-weight: 650;
    min-width: 0;
    padding: 6px 1px;
}

.category-price-field input::-webkit-inner-spin-button {
    appearance: none;
}

.category-price-filter p.category-price-caption {
    border-top: 1px solid var(--color-border);
    margin: 4px 0 0;
    padding-top: 6px;
}

.filter-panel--clean .filter-actions {
    margin: 10px 0;
}

.filter-panel--clean .filter-actions .filter-submit {
    min-height: 40px;
    width: 100%;
}

.filter-panel--clean .category-filter-tree {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 7px;
    padding: 0 8px;
}

.filter-panel--clean .category-filter-tree[open] > summary {
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 5px;
}

.filter-panel--clean .category-tree-sidebar {
    background: transparent;
    margin: 0 0 8px;
}

.category-filter-tree .category-tree-list {
    gap: 1px;
}

.category-filter-tree .category-tree-list[hidden] {
    display: none;
}

.category-filter-tree .category-tree-item > .category-tree-list {
    border-inline-start: 1px solid var(--color-border);
    margin: 1px 0 1px 10px;
    padding-inline-start: 5px;
}

.category-filter-tree .category-tree-row {
    align-items: stretch;
    border-radius: 5px;
    gap: 0;
    padding-left: 0;
}

.category-filter-tree .category-tree-row:hover {
    background: var(--color-gray-50);
}

.category-filter-tree .category-tree-item.is-active > .category-tree-row {
    background: var(--color-brand-soft);
    box-shadow: inset 3px 0 var(--color-brand);
}

.category-filter-tree .category-tree-toggle {
    background: transparent;
    border: 0;
    color: var(--color-muted);
    font-size: 0;
    height: auto;
}

.category-filter-tree .category-tree-toggle::before {
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    content: "";
    height: 6px;
    transform: rotate(-45deg);
    width: 6px;
}

.category-filter-tree .category-tree-toggle[aria-expanded="true"]::before {
    transform: rotate(45deg);
}

.category-filter-tree .category-tree-toggle:hover {
    background: var(--color-gray-100);
}

.category-filter-tree .category-tree-link {
    align-content: center;
    background: transparent;
    font-size: .875rem;
    min-height: 33px;
    overflow-wrap: anywhere;
    padding: 5px 5px 5px 1px;
}

.category-filter-tree .is-open > .category-tree-row > .category-tree-link {
    font-weight: 650;
}

.category-filter-tree .category-tree-row > .category-tree-link.is-active {
    color: #825a00;
    font-weight: 750;
}

@media (max-width: 900px) {
    .catalog-layout .filter-panel--clean .filter-panel__close {
        display: inline-flex;
    }

    .filter-panel--clean .filter-actions {
        position: static;
    }
}

@media (pointer: coarse) {
    .filter-panel--clean :is(summary, .filter-choice, .filter-actions .filter-submit) {
        min-height: 44px;
    }

    .category-filter-tree .category-tree-row {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .category-filter-tree :is(.category-tree-toggle, .category-tree-spacer) {
        width: 44px;
    }

    .category-filter-tree .category-tree-link {
        min-height: 44px;
    }
}
