/* Category filter drawer only. Mmenu keeps navigation; native fields keep query ownership. */
body.p-category form#right-sidebar[data-id="filter"] {
    --mp-filter-footer-space: calc(98px + env(safe-area-inset-bottom, 0px));
    color: var(--p-text, #17232e);
    background: var(--p-white, #fff);
    font: 400 14px/20px var(--p-font-family, Arial, Helvetica, sans-serif);
    -webkit-tap-highlight-color: transparent;
}
body.p-category form#right-sidebar[data-id="filter"].mm-menu {
    top: var(--mp-filter-offset, 0px);
    bottom: auto;
    width: min(100vw, 440px);
    min-width: 0;
    max-width: 440px;
    height: var(--mp-filter-height, 100%);
    max-height: none;
}
body.p-category form#right-sidebar[data-id="filter"] > .mm-panels {
    bottom: var(--mp-filter-footer-space);
}
body.p-category form#right-sidebar[data-id="filter"] .mm-panels > .mm-panel {
    padding-bottom: 24px;
    background: var(--p-white, #fff);
    scrollbar-width: thin;
    scrollbar-color: var(--p-border-strong, #c8d3d8) transparent;
    scroll-padding-top: 76px;
    scroll-padding-bottom: 24px;
}
body.p-category form#right-sidebar[data-id="filter"] .mm-panel::-webkit-scrollbar { width: 4px; }
body.p-category form#right-sidebar[data-id="filter"] .mm-panel::-webkit-scrollbar-thumb { border-radius: 4px; background: var(--p-border-strong, #c8d3d8); }
body.p-category form#right-sidebar[data-id="filter"] [hidden] { display: none !important; }
body.p-category form#right-sidebar[data-id="filter"] ::selection { background: var(--p-selection, #d5eee3); color: var(--p-text, #17232e); }
body.p-category form#right-sidebar[data-id="filter"] :focus-visible { outline: 2px solid var(--p-green-hover, #086a59); outline-offset: 2px; }
body.p-category form#right-sidebar[data-id="filter"] input { caret-color: var(--p-brand, #0f8f7a); }

/* Keep a single legible sticky heading in root and value panels. */
body.p-category form#right-sidebar[data-id="filter"] .mm-navbar:not(.mm-navbar-bottom) {
    position: sticky;
    top: 0;
    height: auto;
    min-height: 60px;
    margin-top: 0;
    border-bottom: 1px solid var(--p-border, #e7ebed);
    background: var(--p-white, #fff);
    color: var(--p-text, #17232e);
    z-index: 20;
}
body.p-category form#right-sidebar[data-id="filter"] .mm-navbar .mm-title {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    min-width: 0;
    min-height: 60px;
    height: auto;
    margin: 0;
    padding: 18px 60px 18px 20px;
    color: var(--p-text, #17232e);
    font: 700 18px/24px var(--p-font-family, Arial, Helvetica, sans-serif);
    letter-spacing: 0;
    text-transform: none;
    text-align: left;
    text-decoration: none;
    white-space: normal;
}
body.p-category form#right-sidebar[data-id="filter"] .mm-navbar .mm-prev + .mm-title { padding: 8px 56px; font-size: 17px; line-height: 22px; }
body.p-category form#right-sidebar[data-id="filter"] .mm-navbar .mm-title > .inline-informer { display: flex; align-items: center; justify-content: center; position: relative; inset: auto; flex: 0 0 44px; width: 44px; min-width: 0; height: 44px; margin: 0; padding: 0; }
body.p-category form#right-sidebar[data-id="filter"] .mm-title .inline-informer__bttn { isolation: isolate; display: flex; align-items: center; justify-content: center; position: relative; inset: auto; box-sizing: border-box; width: 44px; height: 44px; min-width: 44px; margin: 0; padding: 0; border: 0; border-radius: 50%; color: var(--p-text-muted, #5f6b75); background: transparent; font: 600 11px/16px var(--p-font-family, Arial, Helvetica, sans-serif); cursor: pointer; }
body.p-category form#right-sidebar[data-id="filter"] .mm-title .inline-informer__bttn::before { content: ""; position: absolute; inset: 14px; border: 1px solid var(--p-border-strong, #c8d3d8); border-radius: 50%; background: var(--p-surface, #f5f6f8); z-index: -1; }
body.p-category form#right-sidebar[data-id="filter"] .mm-title .inline-informer.active .inline-informer__bttn { color: var(--p-green-strong, #0b7c69); }
body.p-category form#right-sidebar[data-id="filter"] .mm-title .inline-informer.active .inline-informer__bttn::before { border-color: var(--p-brand, #0f8f7a); background: var(--p-green-soft, #eff8f4); }
body.p-category form#right-sidebar[data-id="filter"] .mm-title .inline-informer__cnt { max-width: calc(100vw - 24px); border: 1px solid var(--p-border, #e7ebed); border-radius: 12px; color: var(--p-text-secondary, #34434b); background: white; font: 400 14px/21px var(--p-font-family, Arial, Helvetica, sans-serif); text-align: left; white-space: normal; }
body.p-category form#right-sidebar[data-id="filter"] .mm-title .inline-informer.active .inline-informer__cnt .inner { max-height: min(420px, calc(var(--mp-filter-height, 100dvh) - var(--mp-filter-footer-space) - 140px)); overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
body.p-category form#right-sidebar[data-id="filter"] .mm-navbar .mm-btn {
    box-sizing: border-box;
    position: absolute;
    top: 8px;
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    border-radius: 10px;
    color: var(--p-text-secondary, #34434b);
    background: transparent;
}
body.p-category form#right-sidebar[data-id="filter"] .mm-navbar .mm-btn.mm-prev { left: 6px !important; top: calc(50% - 22px); }
body.p-category form#right-sidebar[data-id="filter"] .mm-navbar .mm-btn.mm-close { left: auto; right: 8px; top: calc(50% - 22px); width: 44px; height: 44px; }
body.p-category form#right-sidebar[data-id="filter"] .mm-navbar .mm-btn.mm-prev::before {
    content: "";
    position: absolute;
    top: 17px;
    left: 19px;
    width: 9px;
    height: 9px;
    margin: 0;
    border: 0;
    border-bottom: 1.6px solid currentColor;
    border-left: 1.6px solid currentColor;
    background: none;
    transform: rotate(45deg);
}
body.p-category form#right-sidebar[data-id="filter"] .mm-navbar .mm-btn.mm-close::before,
body.p-category form#right-sidebar[data-id="filter"] .mm-navbar .mm-btn.mm-close::after {
    content: "";
    display: block;
    position: absolute;
    top: 21px;
    left: 14px;
    width: 16px;
    height: 1.6px;
    margin: 0;
    border: 0;
    border-radius: 1px;
    background: currentColor;
    transform: rotate(45deg);
    opacity: 1;
}
body.p-category form#right-sidebar[data-id="filter"] .mm-navbar .mm-btn.mm-close::after { transform: rotate(-45deg); }

/* Root list: the label and its selected summary are one large navigation target. */
body.p-category form#right-sidebar[data-id="filter"] .title { position: relative; min-height: 48px; margin: 0; padding: 0; }
body.p-category form#right-sidebar[data-id="filter"] .title > .pad-view {
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    min-height: 48px;
    margin: 0 -20px;
    padding: 12px 80px 12px 20px;
    color: var(--p-text, #17232e);
    font: 600 14px/20px var(--p-font-family, Arial, Helvetica, sans-serif);
    text-transform: none;
    letter-spacing: 0;
    white-space: normal;
}
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-row-summary {
    display: block;
    min-width: 0;
    max-width: 100%;
    margin: 3px 0 0;
    padding: 0;
    color: var(--p-text-muted, #5f6b75);
    font: 400 12px/18px var(--p-font-family, Arial, Helvetica, sans-serif);
    text-transform: none;
    letter-spacing: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-row-summary:empty { display: none; }
body.p-category form#right-sidebar[data-id="filter"] .mm-listview .mm-next.mm-fullsubopen { position: absolute; top: 0; bottom: 0; left: -20px; right: -20px; width: auto; margin: 0; padding: 0; background: transparent; }
body.p-category form#right-sidebar[data-id="filter"] .mm-listview .mm-next::before {
    top: calc(50% - 5px);
    left: auto;
    right: 20px;
    width: 8px;
    height: 8px;
    margin: 0;
    border: 0;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    background: none;
    color: var(--p-text-muted, #5f6b75);
    transform: rotate(45deg);
}
body.p-category form#right-sidebar[data-id="filter"] .m-results-active.m-results-active {
    top: calc(50% - 10px);
    right: 32px;
    width: auto;
    min-width: 20px;
    height: 20px;
    padding: 0 5px !important;
    border-radius: 6px;
    background: var(--p-green-soft, #eff8f4);
    color: var(--p-green-strong, #0b7c69) !important;
    font: 600 11px/20px var(--p-font-family, Arial, Helvetica, sans-serif) !important;
}
body.p-category form#right-sidebar[data-id="filter"] #fake-group-price .m-results-active { display: none !important; }
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-search {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    margin: 16px 0 12px;
    padding: 0 12px;
    border: 1px solid var(--p-border-strong, #c8d3d8);
    border-radius: 10px;
    color: var(--p-text-muted, #5f6b75);
    background: var(--p-white, #fff);
}
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-search svg { display: block; flex: none; width: 18px; height: 18px; }
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-search input {
    display: block;
    box-sizing: border-box;
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    height: 42px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    outline: 0;
    box-shadow: none;
    color: var(--p-text, #17232e);
    background: transparent;
    font: 400 16px/22px var(--p-font-family, Arial, Helvetica, sans-serif);
    letter-spacing: 0;
}
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-search:focus-within { border-color: var(--p-brand, #0f8f7a); outline: 1px solid var(--p-brand, #0f8f7a); }
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-search input::placeholder { color: var(--p-text-muted, #5f6b75); opacity: 1; }
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-search-empty { margin: 12px 0 18px; color: var(--p-text-muted, #5f6b75); font: 400 14px/20px var(--p-font-family, Arial, Helvetica, sans-serif); }

/* Selections are removable controls, never decorative count pills. */
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-overview .mp-filter-query-hidden { display: none !important; }
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-selected { margin: 0 0 12px; padding: 0; }
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-selected[data-active-count="0"],
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-selected .fgroup-active-filters[data-active-count="0"] { display: none; }
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-selected .title-inner { color: var(--p-text-muted, #5f6b75); font: 600 12px/18px var(--p-font-family, Arial, Helvetica, sans-serif); text-transform: none; letter-spacing: 0; }
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-selected > .title,
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-selected .fgroup-active-filters > .title { min-height: 18px; }
body.p-category form#right-sidebar[data-id="filter"] .fgroup-active__inner { display: flex; flex-wrap: wrap; gap: 7px; padding: 8px 0 0; }
body.p-category form#right-sidebar[data-id="filter"] .fgroup-active__inner button {
    position: relative;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    min-width: 0;
    max-width: 100%;
    min-height: 44px;
    height: auto;
    margin: 0;
    padding: 8px 30px 8px 10px;
    border: 1px solid var(--p-border, #e7ebed);
    border-radius: 9px;
    color: var(--p-green-strong, #0b7c69);
    background: var(--p-green-soft, #eff8f4);
    box-shadow: none;
    font: 400 12px/18px var(--p-font-family, Arial, Helvetica, sans-serif);
    text-transform: none;
    text-align: left;
    letter-spacing: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}
body.p-category form#right-sidebar[data-id="filter"] .fgroup-active__inner button::before { content: none; display: none; }
body.p-category form#right-sidebar[data-id="filter"] .fgroup-active__inner button::after {
    content: "";
    display: block !important;
    position: absolute;
    top: calc(50% - 7px);
    left: auto;
    right: 8px;
    bottom: auto;
    width: 14px;
    height: 14px;
    margin: 0;
    opacity: 1;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='m4 4 6 6m0-6-6 6' stroke='%230b7c69' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
}

/* Group values: comfortable selection rows and a native semantic input. */
body.p-category form#right-sidebar[data-id="filter"] .fitems .filter-item { position: relative; display: block; box-sizing: border-box; width: 100%; min-height: 44px; margin: 0; padding: 0; }
body.p-category form#right-sidebar[data-id="filter"] .fitems .filter-item > input[type="checkbox"],
body.p-category form#right-sidebar[data-id="filter"] .fitems .filter-item > input[type="radio"] { display: block; position: absolute; top: calc(50% - 10px); left: 0; width: 20px; height: 20px; margin: 0; opacity: 0; }
body.p-category form#right-sidebar[data-id="filter"] .fitems .filter-item > label {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    gap: 8px;
    min-height: 44px;
    width: 100%;
    margin: 0;
    padding: 11px 0 11px 31px;
    color: var(--p-text-secondary, #34434b);
    font: 400 15px/22px var(--p-font-family, Arial, Helvetica, sans-serif);
    text-transform: none;
    letter-spacing: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}
body.p-category form#right-sidebar[data-id="filter"] .fitems .filter-item > label::before { display: block; box-sizing: border-box; top: calc(50% - 10px); left: 0; width: 20px; height: 20px; border: 1px solid var(--p-border-strong, #c8d3d8); border-radius: 5px; background: white; }
body.p-category form#right-sidebar[data-id="filter"] .fitems .filter-item > input:checked + label::before { border-color: var(--p-green-strong, #0b7c69); background: var(--p-green-strong, #0b7c69); }
body.p-category form#right-sidebar[data-id="filter"] .fitems .filter-item > input[type="radio"] + label::before { border-radius: 50%; }
body.p-category form#right-sidebar[data-id="filter"] .fitems .filter-item > input[type="checkbox"]:checked + label::after { top: calc(50% - 4px); left: 5px; width: 10px; height: 8px; border-color: white; }
body.p-category form#right-sidebar[data-id="filter"] .fitems .filter-item > input[type="radio"] + label::after { top: calc(50% - 9px); left: 1px; width: 18px; height: 18px; border: 0; border-radius: 50%; background: white; transform: scale(1); transition: transform 160ms ease; }
body.p-category form#right-sidebar[data-id="filter"] .fitems .filter-item > input[type="radio"]:checked + label::after { transform: scale(.4); }
body.p-category form#right-sidebar[data-id="filter"] .fitems .filter-item > input:focus-visible + label::before { outline: 2px solid var(--p-green-hover, #086a59); outline-offset: 2px; }
body.p-category form#right-sidebar[data-id="filter"] .fitems .filter-item > label > a { min-height: 0; margin: 0; padding: 0; color: inherit; font: inherit; letter-spacing: 0; text-transform: none; }
body.p-category form#right-sidebar[data-id="filter"] .filter-item label.disable { color: var(--p-text-muted, #5f6b75); opacity: .6; }
body.p-category form#right-sidebar[data-id="filter"] .fitems-search-wrap { display: block; position: sticky; top: 60px; z-index: 12; margin: 0 0 10px; padding: 10px 0; background: white; }
body.p-category form#right-sidebar[data-id="filter"] .fitems-search-wrap input { box-sizing: border-box; width: 100%; height: 44px; padding: 10px 40px 10px 12px; border: 1px solid var(--p-border-strong, #c8d3d8); border-radius: 10px; color: var(--p-text, #17232e); background: white; font: 400 16px/22px var(--p-font-family, Arial, Helvetica, sans-serif); letter-spacing: 0; text-transform: none; }
body.p-category form#right-sidebar[data-id="filter"] .js-fg-search-close { display: grid; place-items: center; position: absolute; top: 10px; right: 0; width: 44px; height: 44px; margin: 0; }
body.p-category form#right-sidebar[data-id="filter"] .js-fitems-expand,
body.p-category form#right-sidebar[data-id="filter"] .sh-groups { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 0; padding: 8px 0; margin: 4px 0; border: 0; color: var(--p-green-strong, #0b7c69); background: transparent; font: 500 13px/20px var(--p-font-family, Arial, Helvetica, sans-serif); letter-spacing: 0; text-transform: none; }

/* Fixed-size price component: visible custom range, exact unit, native slider. */
body.p-category :is(form#right-sidebar[data-id="filter"], form#product-filter-form) .mp-filter-price { margin: 0; padding: 18px 0 8px; color: var(--p-text, #17232e); }
body.p-category :is(form#right-sidebar[data-id="filter"], form#product-filter-form) .mp-filter-price__heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin: 0 0 16px; padding: 0; }
body.p-category :is(form#right-sidebar[data-id="filter"], form#product-filter-form) .mp-filter-price__unit { color: var(--p-text-muted, #5f6b75); font: 400 13px/20px var(--p-font-family, Arial, Helvetica, sans-serif); }
body.p-category :is(form#right-sidebar[data-id="filter"], form#product-filter-form) [data-catalog-price-clear] { display: inline-flex; align-items: center; min-height: 44px; min-width: 0; margin: -8px 0; padding: 8px 0 8px 8px; border: 0; background: none; color: var(--p-green-strong, #0b7c69); font: 500 13px/20px var(--p-font-family, Arial, Helvetica, sans-serif); letter-spacing: 0; text-transform: none; }
body.p-category :is(form#right-sidebar[data-id="filter"], form#product-filter-form) .mp-filter-price__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
body.p-category :is(form#right-sidebar[data-id="filter"], form#product-filter-form) .mp-filter-price__field { display: block; position: relative; box-sizing: border-box; min-width: 0; margin: 0; padding: 0; }
body.p-category :is(form#right-sidebar[data-id="filter"], form#product-filter-form) .mp-filter-price__field-label { display: block; margin: 0 0 6px; padding: 0; color: var(--p-text-muted, #5f6b75); font: 400 12px/18px var(--p-font-family, Arial, Helvetica, sans-serif); letter-spacing: 0; text-transform: none; }
body.p-category :is(form#right-sidebar[data-id="filter"], form#product-filter-form) .mp-filter-price__field input[data-catalog-price-draft] { display: block; box-sizing: border-box; width: 100%; min-width: 0; height: 48px; margin: 0; padding: 11px 34px 11px 12px; border: 1px solid var(--p-border-strong, #c8d3d8); border-radius: 10px; background: white; color: var(--p-text, #17232e); box-shadow: none; font: 500 16px/24px var(--p-font-family, Arial, Helvetica, sans-serif); font-variant-numeric: tabular-nums; letter-spacing: 0; }
body.p-category :is(form#right-sidebar[data-id="filter"], form#product-filter-form) .mp-filter-price__field input::placeholder { color: var(--p-text-muted, #5f6b75); opacity: 1; }
body.p-category :is(form#right-sidebar[data-id="filter"], form#product-filter-form) .mp-filter-price__field:focus-within input { border-color: var(--p-brand, #0f8f7a); outline: 1px solid var(--p-brand, #0f8f7a); outline-offset: 0; }
body.p-category :is(form#right-sidebar[data-id="filter"], form#product-filter-form) .mp-filter-price__field.is-invalid input,
body.p-category :is(form#right-sidebar[data-id="filter"], form#product-filter-form) .mp-filter-price__field input[aria-invalid="true"] { border-color: var(--p-error, #ad2929); outline-color: var(--p-error, #ad2929); }
body.p-category :is(form#right-sidebar[data-id="filter"], form#product-filter-form) .mp-filter-price__currency { display: block; position: absolute; right: 12px; bottom: 14px; margin: 0; padding: 0; color: var(--p-text-muted, #5f6b75); font: 400 14px/20px var(--p-font-family, Arial, Helvetica, sans-serif); pointer-events: none; }
body.p-category :is(form#right-sidebar[data-id="filter"], form#product-filter-form) .mp-filter-price input[type="hidden"] { display: none; }
body.p-category :is(form#right-sidebar[data-id="filter"], form#product-filter-form) .mp-filter-price__slider-wrap { margin: 4px -2px 0; padding: 22px 22px 18px; }
body.p-category :is(form#right-sidebar[data-id="filter"], form#product-filter-form) .mp-filter-price .slider { position: relative; display: block; box-sizing: border-box; width: 100%; height: 4px; margin: 0; padding: 0; border: 0; border-radius: 2px; background: var(--p-border, #e7ebed); touch-action: pan-y; }
body.p-category :is(form#right-sidebar[data-id="filter"], form#product-filter-form) .mp-filter-price .slider .ui-slider-range { top: 0; height: 4px; border: 0; border-radius: 2px; background: var(--p-brand, #0f8f7a); }
body.p-category :is(form#right-sidebar[data-id="filter"], form#product-filter-form) .mp-filter-price .slider .ui-slider-range.i--add { opacity: 0; pointer-events: none; }
body.p-category :is(form#right-sidebar[data-id="filter"], form#product-filter-form) .mp-filter-price .slider .ui-slider-handle { display: block; position: absolute; box-sizing: border-box; top: 50%; z-index: 5; width: 44px; height: 44px; margin: 0 0 0 -22px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--p-green-strong, #0b7c69); transform: translateY(-50%); cursor: grab; touch-action: none; }
body.p-category :is(form#right-sidebar[data-id="filter"], form#product-filter-form) .mp-filter-price .slider .ui-slider-handle::before { content: ""; display: block; position: absolute; inset: 12px; margin: 0; border: 2px solid currentColor; border-radius: 50%; background: white; box-shadow: 0 2px 4px #17232e14; }
body.p-category :is(form#right-sidebar[data-id="filter"], form#product-filter-form) .mp-filter-price .slider .ui-slider-handle::after { content: none; display: none; }
body.p-category :is(form#right-sidebar[data-id="filter"], form#product-filter-form) .mp-filter-price .slider .ui-slider-handle:active { cursor: grabbing; }
body.p-category :is(form#right-sidebar[data-id="filter"], form#product-filter-form) .mp-filter-price .slider .ui-slider-handle:active::before { background: var(--p-green-soft, #eff8f4); }
body.p-category :is(form#right-sidebar[data-id="filter"], form#product-filter-form) .mp-filter-price__limits { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 18px; color: var(--p-text-muted, #5f6b75); font: 400 12px/18px var(--p-font-family, Arial, Helvetica, sans-serif); font-variant-numeric: tabular-nums; }
body.p-category :is(form#right-sidebar[data-id="filter"], form#product-filter-form) .mp-filter-price__hint { margin: 0 0 16px; padding: 0; color: var(--p-text-muted, #5f6b75); font: 400 12px/18px var(--p-font-family, Arial, Helvetica, sans-serif); }
body.p-category :is(form#right-sidebar[data-id="filter"], form#product-filter-form) .mp-filter-price__presets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; }
body.p-category :is(form#right-sidebar[data-id="filter"], form#product-filter-form) [data-catalog-price-preset] { position: relative; display: flex; align-items: center; justify-content: center; box-sizing: border-box; min-width: 0; min-height: 44px; height: auto; margin: 0; padding: 10px 8px; border: 1px solid var(--p-border, #e7ebed); border-radius: 9px; color: var(--p-text-secondary, #34434b); background: var(--p-surface, #f5f6f8); box-shadow: none; font: 400 13px/20px var(--p-font-family, Arial, Helvetica, sans-serif); letter-spacing: 0; text-transform: none; }
body.p-category :is(form#right-sidebar[data-id="filter"], form#product-filter-form) [data-catalog-price-preset][aria-pressed="true"] { border-color: var(--p-brand, #0f8f7a); color: var(--p-green-strong, #0b7c69); background: var(--p-green-soft, #eff8f4); }
body.p-category :is(form#right-sidebar[data-id="filter"], form#product-filter-form) [data-catalog-price-preset]::before,
body.p-category :is(form#right-sidebar[data-id="filter"], form#product-filter-form) [data-catalog-price-preset]::after,
body.p-category :is(form#right-sidebar[data-id="filter"], form#product-filter-form) [data-catalog-price-clear]::before,
body.p-category :is(form#right-sidebar[data-id="filter"], form#product-filter-form) [data-catalog-price-clear]::after { content: none; display: none; }
body.p-category :is(form#right-sidebar[data-id="filter"], form#product-filter-form) .mp-filter-price__error { margin: 12px 0 0; color: var(--p-error, #ad2929); font: 400 13px/20px var(--p-font-family, Arial, Helvetica, sans-serif); }

/* The same price fields fit the narrower desktop sidebar without shrinking touch rows. */
body.p-category form#product-filter-form .mp-filter-price { padding-top: 12px; }
body.p-category form#product-filter-form .mp-filter-price__heading { gap: 4px 8px; margin-bottom: 12px; }
body.p-category form#product-filter-form .mp-filter-price__unit { font-size: 12px; line-height: 18px; }
body.p-category form#product-filter-form [data-catalog-price-clear] { font-size: 12px; }
body.p-category form#product-filter-form .mp-filter-price__fields { gap: 8px; }
body.p-category form#product-filter-form .mp-filter-price__field input[data-catalog-price-draft] { padding-inline: 10px 28px; font-size: 14px; }
body.p-category form#product-filter-form .mp-filter-price__currency { right: 10px; font-size: 13px; }
body.p-category form#product-filter-form [data-catalog-price-preset] { padding-inline: 6px; font-size: 12px; }

/* The footer and the scroll reserve share one dimension, including the safe area. */
body.p-category form#right-sidebar[data-id="filter"] > .mm-navbar.mm-navbar-bottom { box-sizing: border-box; bottom: 0; top: auto; height: var(--mp-filter-footer-space); margin: 0; padding: 0; border-top: 1px solid var(--p-border, #e7ebed); background: white; }
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-footer { display: grid; grid-template-columns: minmax(0, 1fr); align-content: end; align-items: center; gap: 8px 10px; box-sizing: border-box; width: 100%; height: 100%; margin: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: white; }
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-footer__actions { display: grid; grid-template-columns: minmax(92px, .8fr) minmax(0, 1.4fr); gap: 10px; grid-column: 1 / -1; width: 100%; min-width: 0; margin: 0; padding: 0; }
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-footer > [data-catalog-filter-status],
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-footer > .mp-filter-status { grid-column: 1 / -1; min-height: 16px; margin: 0; padding: 0; color: var(--p-text-muted, #5f6b75); font: 400 12px/16px var(--p-font-family, Arial, Helvetica, sans-serif); text-align: center; }
body.p-category form#right-sidebar[data-id="filter"] [data-catalog-filter-reset],
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-apply { display: flex; align-items: center; justify-content: center; box-sizing: border-box; min-width: 0; max-width: 100%; width: 100%; min-height: 48px; height: auto; margin: 0; padding: 10px 12px; border: 1px solid var(--p-border-strong, #c8d3d8); border-radius: 10px; color: var(--p-green-strong, #0b7c69); background: white; box-shadow: none; font: 600 14px/20px var(--p-font-family, Arial, Helvetica, sans-serif); text-align: center; text-transform: none; letter-spacing: 0; text-decoration: none; white-space: normal; cursor: pointer; touch-action: manipulation; }
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-apply { border-color: var(--p-action-edge, #086a59); color: white; background: var(--p-action-small-background, #0b7c69); box-shadow: var(--p-action-shadow, inset 0 1px 0 #ffffff26); }
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-apply:active { background: var(--p-action-small-pressed-background, #086a59); box-shadow: var(--p-action-pressed-shadow, inset 0 2px 4px #086a593b); }
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-apply:disabled,
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-apply[aria-disabled="true"] { border-color: var(--p-border, #e7ebed); color: var(--p-text-muted, #5f6b75); background: var(--p-surface-hover, #edf1f4); box-shadow: none; cursor: default; }
body.p-category form#right-sidebar[data-id="filter"] [data-catalog-filter-reset]::before,
body.p-category form#right-sidebar[data-id="filter"] [data-catalog-filter-reset]::after,
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-apply::before,
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-apply::after { content: none; display: none !important; }
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-apply[aria-busy="true"] { cursor: wait; }
@media (hover: hover) {
    body.p-category form#right-sidebar[data-id="filter"] .mm-navbar .mm-btn:hover,
    body.p-category form#right-sidebar[data-id="filter"] [data-catalog-filter-reset]:hover { background: var(--p-green-soft, #eff8f4); }
    body.p-category form#right-sidebar[data-id="filter"] .mp-filter-apply:not(:disabled):hover { background: var(--p-action-small-hover-background, #086a59); box-shadow: var(--p-action-hover-shadow, 0 3px 8px #086a5924); }
}
@media (max-width: 359px) {
    body.p-category form#right-sidebar[data-id="filter"] .mp-filter-footer { padding-left: 12px; padding-right: 12px; gap: 8px; }
    body.p-category form#right-sidebar[data-id="filter"] .mp-filter-footer__actions { grid-template-columns: minmax(84px, .7fr) minmax(0, 1.4fr); gap: 8px; }
    body.p-category form#right-sidebar[data-id="filter"] [data-catalog-filter-reset],
    body.p-category form#right-sidebar[data-id="filter"] .mp-filter-apply { padding-inline: 8px; font-size: 13px; }
}

body.p-category form#right-sidebar[data-id="filter"] .mp-filter-search input::placeholder { text-transform: none; letter-spacing: 0; }

/* The sidebar has less width; its heading already identifies the currency. */
body.p-category form#product-filter-form .mp-filter-price .mp-filter-price__currency { display: none; }
body.p-category form#product-filter-form .mp-filter-price .mp-filter-price__field input[data-catalog-price-draft] { padding-inline: 8px; }

body.p-category form#right-sidebar[data-id="filter"] .mp-filter-row-summary.is-invalid { color: var(--p-error, #ad2929); }

/* Named colour swatches remain comfortable touch targets without a full-height list. */
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-color-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 6px; min-width: 0; }
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-color-values .fitems-search-wrap { grid-column: 1 / -1; margin-bottom: 4px; }
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-color-values > .filter-item,
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-color-values > .item-group { position: relative; display: block; box-sizing: border-box; width: auto; min-width: 0; min-height: 44px; height: auto; max-height: none; margin: 0 !important; padding: 0; }
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-color-values .item.search-hidden,
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-color-values .filter-item.search-hidden { display: none !important; }
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-color-values .filter-item.image-view-filter > input,
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-color-values .group-preview > input { position: absolute; display: block; top: calc(50% - 10px); left: 6px; width: 20px; height: 20px; margin: 0; opacity: 0; }
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-color-values .filter-item.image-view-filter > label,
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-color-values .group-preview > label { position: relative; display: flex; align-items: center; box-sizing: border-box; width: 100%; min-width: 0; min-height: 44px; height: 100%; margin: 0; padding: 6px; border: 1px solid var(--p-border, #e7ebed); border-radius: 8px; background: var(--p-white, #fff); color: var(--p-text-secondary, #34434b); font: 400 14px/20px var(--p-font-family, Arial, Helvetica, sans-serif); cursor: pointer; }
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-color-values .filter-item.image-view-filter > label::before,
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-color-values .group-preview > label::before { display: none; content: none; }
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-color-values .filter-item.image-view-filter > label::after,
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-color-values .group-preview > label::after { display: none; content: ''; position: absolute; box-sizing: border-box; top: calc(50% + 1px); left: 15px; width: 14px; height: 14px; margin: 0; border: 1px solid white; border-radius: 50%; background: var(--p-green-strong, #0b7c69) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='none'%3E%3Cpath d='m2 5 2 2 4-4' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px 10px no-repeat; transform: none; }
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-color-values .filter-item.image-view-filter > label > a,
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-color-values .image-view-label,
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-color-values .color-preview-action { position: static; display: flex; align-items: center; gap: 6px; box-sizing: border-box; width: 100%; min-width: 0; min-height: 0; height: auto; margin: 0; padding: 0; color: inherit; font: inherit; text-align: left; text-decoration: none; white-space: normal; overflow-wrap: anywhere; }
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-color-values .image-view-label > span { min-width: 0; max-width: 100%; white-space: normal; }
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-color-values .image-view-label img,
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-color-values .color-preview-action .image-holder { position: static; display: block; flex: 0 0 18px; box-sizing: border-box; width: 18px; height: 18px; min-width: 18px; margin: 0; border: 1px solid var(--p-border-strong, #c8d3d8); border-radius: 4px; object-fit: cover; }
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-color-values .group-preview { position: relative; box-sizing: border-box; width: 100%; height: 100%; margin: 0; padding: 0; background: none; }
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-color-values .filter-item.image-view-filter > input:checked + label,
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-color-values .group-preview > input:checked + label,
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-color-values .group-preview:is(.active, .checked) > label { border-color: var(--p-green-strong, #0b7c69); background: var(--p-green-soft, #eff8f4); color: var(--p-green-strong, #0b7c69); }
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-color-values .filter-item.image-view-filter > input:checked + label::after,
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-color-values .group-preview > input:checked + label::after,
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-color-values .group-preview:is(.active, .checked) > label::after { display: block; }
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-color-values .group-preview.pre-active:not(.active):not(.checked) > label { border-color: var(--p-green-strong, #0b7c69); border-style: dashed; background: var(--p-green-soft, #eff8f4); }
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-color-values .filter-item.image-view-filter > input:focus-visible + label,
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-color-values .group-preview > input:focus-visible + label,
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-color-values label:has(a:focus-visible) { outline: 2px solid var(--p-green-strong, #0b7c69) !important; outline-offset: -2px; }
body.p-category form#right-sidebar[data-id="filter"] .fgroup.with-groups.shown .mp-filter-color-values { display: block; }
body.p-category form#right-sidebar[data-id="filter"] .fgroup.with-groups.shown .mp-filter-color-values > .item-group { margin-bottom: 8px !important; }

/* Mobile facet overview and full value lists. */
body.p-category #right-sidebar[data-id="filter"] .mp-filter-facet-has-preview > .pad-view { min-height: 44px; padding-block: 8px; }
body.p-category #right-sidebar[data-id="filter"] .mp-filter-facet-has-preview .mp-filter-row-summary { display: none; }
body.p-category #right-sidebar[data-id="filter"] .mm-listview .mp-filter-facet-has-preview:not(.mp-filter-facet-has-all) > .mm-next { display: none; }
body.p-category #right-sidebar[data-id="filter"] .mm-listview .mp-filter-facet-has-all > .mm-next.mm-fullsubopen {
    display: flex; align-items: center; justify-content: flex-end; left: auto; right: 0; width: auto; min-width: 64px; min-height: 44px;
    padding: 0 14px 0 8px; color: var(--p-green-strong, #0b7c69); font: 600 14px/20px var(--p-font-family, Arial, sans-serif);
}
body.p-category #right-sidebar[data-id="filter"] .mm-listview .mp-filter-facet-has-all > .mm-next::before { right: 1px; width: 6px; height: 6px; top: calc(50% - 3px); color: inherit; }
body.p-category #right-sidebar[data-id="filter"] .mp-filter-facet-preview {
    display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 2px 0 14px; overflow: visible;
}
body.p-category #right-sidebar[data-id="filter"] .mp-filter-facet-option {
    display: inline-flex; align-items: center; gap: 7px; min-width: 0; max-width: 100%; min-height: 44px;
    padding: 7px 11px; border: 1px solid var(--p-border, #e2e8eb); border-radius: 9px;
    background: var(--p-surface, #f3f5f6); color: var(--p-text, #17232e);
    font: 400 14px/19px var(--p-font-family, Arial, sans-serif); text-align: left; overflow-wrap: anywhere;
}
body.p-category #right-sidebar[data-id="filter"] .mp-filter-facet-option[aria-pressed="true"] {
    border-color: var(--p-green-strong, #0b7c69); background: var(--p-green-soft, #eff8f4); color: var(--p-green-strong, #0b7c69);
}
body.p-category #right-sidebar[data-id="filter"] .mp-filter-facet-option[aria-disabled="true"] { opacity: .55; }
body.p-category #right-sidebar[data-id="filter"] :is(.mp-filter-facet-option, .mp-filter-facet-search-clear, .mp-filter-facet-has-all > .mm-next):focus-visible {
    outline: 2px solid var(--p-green-strong, #0b7c69); outline-offset: -2px;
}
body.p-category #right-sidebar[data-id="filter"] .mp-filter-facet-swatch { flex: none; width: 16px; height: 16px; border: 1px solid var(--p-border-strong, #c8d3d8); border-radius: 50%; }
body.p-category #right-sidebar[data-id="filter"] .mp-filter-facet-search {
    display: flex; align-items: center; gap: 8px; margin: 8px 0 12px; padding: 0 8px 0 12px;
    border: 1px solid var(--p-border-strong, #c8d3d8); border-radius: 10px; background: var(--p-white, #fff);
}
body.p-category #right-sidebar[data-id="filter"] .mp-filter-facet-search:focus-within { outline: 1px solid var(--p-green-strong, #0b7c69); }
body.p-category #right-sidebar[data-id="filter"] .mp-filter-facet-search input {
    flex: 1; width: 100%; min-width: 0; min-height: 46px; margin: 0; padding: 0; border: 0; outline: 0;
    background: transparent; color: var(--p-text, #17232e); font: 400 16px/22px var(--p-font-family, Arial, sans-serif);
}
body.p-category #right-sidebar[data-id="filter"] .mp-filter-facet-search input::-webkit-search-cancel-button { display: none; }
body.p-category #right-sidebar[data-id="filter"] .mp-filter-facet-search input::placeholder { color: var(--p-text-muted, #5f6b75); opacity: 1; }
body.p-category #right-sidebar[data-id="filter"] .mp-filter-facet-search-clear {
    display: grid; place-items: center; flex: none; width: 44px; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--p-text, #17232e);
}
body.p-category #right-sidebar[data-id="filter"] .mp-filter-facet-search svg { flex: none; width: 18px; height: 18px; }
body.p-category #right-sidebar[data-id="filter"] .mp-filter-facet-empty { margin: 12px 0; color: var(--p-text-muted, #5f6b75); font: 400 14px/20px var(--p-font-family, Arial, sans-serif); }
body.p-category #right-sidebar[data-id="filter"] :is(.mp-filter-facet-hidden, .mp-filter-facet-empty[hidden], .mp-filter-facet-search-clear[hidden]) { display: none !important; }

body.p-category form#right-sidebar[data-id="filter"] .fitems .mp-filter-switch > label { justify-content: space-between; padding: 8px 0; }
body.p-category form#right-sidebar[data-id="filter"] .fitems .mp-filter-switch > input[type="checkbox"] + label::before,
body.p-category form#right-sidebar[data-id="filter"] .fitems .mp-filter-switch > input[type="checkbox"]:checked + label::after { display: none; content: none; }
body.p-category #right-sidebar[data-id="filter"] .mp-filter-switch__track {
    display: flex; align-items: center; flex: 0 0 42px; height: 24px; padding: 3px;
    border-radius: 12px; background: var(--p-border-strong, #c8d3d8);
}
body.p-category #right-sidebar[data-id="filter"] .mp-filter-switch__thumb {
    width: 18px; height: 18px; border-radius: 50%; background: var(--p-white, #fff);
    box-shadow: 0 1px 2px rgb(23 35 46 / .22); transition: transform 150ms ease-out;
}
body.p-category #right-sidebar[data-id="filter"] .mp-filter-switch > input:checked + label .mp-filter-switch__track { background: var(--p-green-strong, #0b7c69); }
body.p-category #right-sidebar[data-id="filter"] .mp-filter-switch > input:checked + label .mp-filter-switch__thumb { transform: translateX(18px); }
body.p-category #right-sidebar[data-id="filter"] .mp-filter-switch > input:focus-visible + label .mp-filter-switch__track { outline: 2px solid var(--p-green-strong, #0b7c69); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
    body.p-category #right-sidebar[data-id="filter"] .mp-filter-switch__thumb { transition: none; }
}
body.p-category #right-sidebar[data-id="filter"] .mp-filter-facet-searching :is(.color-details-wrap, .color-details__item, .colors-block):not(.mp-filter-facet-hidden) { display: block; }

body.p-category #right-sidebar[data-id="filter"] .mm-listview > .mp-filter-facet-has-preview::after { display: none; }
body.p-category #right-sidebar[data-id="filter"] .mp-filter-facet-search { position: sticky; top: 60px; z-index: 12; }

body.p-category form#right-sidebar[data-id="filter"] .mp-filter-selected { border-bottom: 0; }
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-selected::after { display: none; }
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-facet-has-preview .m-results-active { display: none !important; }
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-unavailable-note {
    margin: 0 0 12px; padding: 8px 10px; border-radius: 8px; background: var(--p-surface, #f3f5f6);
    color: var(--p-text-secondary, #34434b); font: 400 13px/19px var(--p-font-family, Arial, sans-serif); white-space: normal;
}
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-unavailable-note::after { display: none; }
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-switch__label { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-switch__label > a { color: inherit; font: inherit; }
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-switch__count { color: var(--p-text-muted, #5f6b75); font-size: 12px; font-variant-numeric: tabular-nums; }
body.p-category form#right-sidebar[data-id="filter"] :is(.filter-item, .colors-block .item) > label.disable { pointer-events: auto !important; cursor: help; }

body.p-category form#right-sidebar[data-id="filter"] .fgroup-active__inner button.mp-filter-chip {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; max-width: 100%;
    padding: 8px 10px 8px 12px; border: 1px solid var(--p-green-strong, #0b7c69); border-radius: 9px;
    background: var(--p-green-soft, #eff8f4); color: var(--p-green-strong, #0b7c69);
    font: 400 14px/20px var(--p-font-family, Arial, sans-serif); text-align: left;
}
body.p-category form#right-sidebar[data-id="filter"] .fgroup-active__inner button.mp-filter-chip::after,
body.p-category form#right-sidebar[data-id="filter"] .fgroup-active__inner button.mp-filter-chip::before { content: none; display: none !important; }
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-chip-label { min-width: 0; overflow-wrap: anywhere; }
body.p-category form#right-sidebar[data-id="filter"] .mp-filter-chip > svg { flex: none; width: 16px; height: 16px; color: currentColor; }
body.p-category form#right-sidebar[data-id="filter"] .fgroup-active__inner button.mp-filter-chip:active { background: var(--p-selection, #d5eee3); }
