/* Catalogue controls reuse the storefront palette; product cards retain their design. */
.cf-root{--cf-green:#177b43;--cf-border:#dce5df;--cf-muted:#66736b;font-size:14px}
.cf-root .catalog-title{gap:12px 20px;align-items:baseline;margin-bottom:28px}
.cf-root .catalog-title h1{font-size:28px;line-height:1.25;max-width:100%;overflow-wrap:anywhere}
.cf-root .catalog-title>span{font-size:14px;color:var(--cf-muted)}
.cf-layout{display:grid;grid-template-columns:264px minmax(0,1fr);gap:32px;align-items:start}
.cf-sidebar-home,.cf-sidebar,.cf-results{min-width:0}
.cf-sidebar{font-size:14px;color:var(--ink,#202b22)}
.cf-sidebar-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 0 13px;border-bottom:1px solid var(--cf-border,#dce5df)}
.cf-sidebar-heading h2,.cf-dialog-heading h2{font-size:16px;line-height:1.5;margin:0;font-weight:650}
.cf-sidebar-heading a,.cf-apply>a,.cf-reset{color:#177b43;text-decoration:underline;text-underline-offset:3px;font-size:14px;min-height:44px;display:inline-flex;align-items:center}
.cf-group{border-bottom:1px solid var(--cf-border,#dce5df)}
.cf-group>summary{display:flex;align-items:center;gap:10px;min-height:52px;padding:12px 0;cursor:pointer;list-style:none;font-weight:600;line-height:1.5}
.cf-group>summary::-webkit-details-marker{display:none}
.cf-group>summary>span{flex:1;min-width:0;overflow-wrap:anywhere}
.cf-group>summary small{font-size:12px;font-weight:400;color:var(--cf-muted,#66736b)}
.cf-group>summary .cf-selected-mark{color:#177b43}
.cf-group>summary .icon{width:16px;height:16px;flex:none;transition:transform .15s ease}
.cf-group[open]>summary .icon{transform:rotate(180deg)}
.cf-group-content{padding:0 0 16px}
.cf-number-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
.cf-number-fields label{display:block;min-width:0}
.cf-number-fields label>span{display:block;margin-bottom:6px;color:var(--cf-muted,#66736b);font-size:12px}
.cf-number-fields input,.cf-option-search input{box-sizing:border-box;width:100%;min-width:0;min-height:44px;border:1px solid #bdcbc1;background:#fff;border-radius:5px;padding:9px 10px;font:inherit;color:inherit}
.cf-number-fields input:disabled{background:#f4f6f4;color:#66736b}
.cf-dual-range{--range-start:0%;--range-end:100%;position:relative;height:44px;margin:8px 2px 0;display:none;isolation:isolate}
.catalog-filters-ready .cf-dual-range{display:block}
.cf-range-track{position:absolute;left:0;right:0;height:4px;top:20px;border-radius:8px;background:linear-gradient(to right,#dce5df var(--range-start),#177b43 var(--range-start),#177b43 var(--range-end),#dce5df var(--range-end))}
.cf-dual-range input[type=range]{position:absolute;inset:0;width:100%;height:44px;margin:0;padding:0;background:transparent;appearance:none;-webkit-appearance:none;pointer-events:none;border:0;box-shadow:none}
.cf-dual-range input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;pointer-events:auto;box-sizing:border-box;width:44px;height:44px;border:11px solid transparent;border-radius:50%;background:#177b43;background-clip:content-box;cursor:ew-resize}
.cf-dual-range input[type=range]::-moz-range-thumb{pointer-events:auto;box-sizing:border-box;width:44px;height:44px;border:11px solid transparent;border-radius:50%;background:#177b43;background-clip:content-box;cursor:ew-resize}
.cf-dual-range input[type=range]:focus-visible{outline:2px solid #177b43;outline-offset:2px;border-radius:4px}
.cf-dual-range input[type=range]:focus{z-index:2}
.cf-presets{display:none;flex-direction:column;gap:4px;margin-top:8px}
.catalog-filters-ready .cf-presets{display:flex}
.cf-presets button{display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;min-height:44px;border:0;border-radius:4px;padding:8px;background:#f0f7f1;color:#234831;font:inherit;cursor:pointer}
.cf-presets button:hover{background:#e3f0e6}
.cf-presets button span,.cf-option-count{font-size:12px;color:#66736b;flex:none;font-variant-numeric:tabular-nums}
.cf-options{max-height:304px;overflow-y:auto;overscroll-behavior:contain;padding-right:4px;scrollbar-width:thin}
.cf-option{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:6px;min-height:44px}
.cf-option[hidden]{display:none}
.cf-option input{width:20px;height:20px;accent-color:#177b43;margin:0;cursor:pointer}
.cf-option .cf-check-hit{display:grid;place-items:center;width:44px;min-height:44px}
.cf-option a,.cf-option label{display:flex;align-items:center;min-height:44px;line-height:1.45;overflow-wrap:anywhere;color:inherit;text-decoration:none;cursor:pointer}
.cf-option a:hover{text-decoration:underline;text-underline-offset:3px;color:#177b43}
.cf-option:has(input:checked)>a,.cf-option:has(input:checked)>label:not(.cf-check-hit){color:#177b43;font-weight:600}
.cf-option:has(input:disabled)>label{color:#758278;cursor:default}
.cf-option-search{display:none;margin-bottom:10px}
.catalog-filters-ready .cf-option-search{display:block}
.cf-empty-group{font-size:14px;line-height:1.5;color:#66736b;margin:4px 0}
.cf-empty-group[hidden],.cf-status[hidden]{display:none}
.cf-apply{display:flex;flex-direction:column;align-items:stretch;gap:4px;padding-top:20px}
.cf-apply .button{width:100%;min-height:46px;font-size:14px;text-align:center;justify-content:center;padding-inline:10px}
.cf-apply>a{align-self:center}
.cf-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:16px;min-width:0;min-height:52px;margin-bottom:22px;border-bottom:1px solid var(--cf-border);padding-bottom:13px}
.cf-sort{display:flex;align-items:center;gap:10px;font-size:14px;min-width:0}
.cf-sort>span{color:var(--cf-muted)}
.cf-sort select{font:inherit;color:inherit;min-height:44px;max-width:100%;border:1px solid #bdcbc1;border-radius:5px;padding:8px 30px 8px 10px;background:#fff}
.cf-mobile-open{display:none}
.cf-badge{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;border-radius:50%;font-size:12px;background:#e1efe5;color:#14552f}
.cf-chips{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:22px}
.cf-chip{display:inline-flex;align-items:center;gap:4px;min-height:44px;max-width:100%;padding:0 10px;background:#edf5ee;border-radius:6px;font-size:14px;line-height:1.5}
.cf-chip>span{overflow-wrap:anywhere;min-width:0;padding-block:8px}
.cf-chip button{display:none;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;border:0;background:transparent;color:#31543d;cursor:pointer}
.catalog-filters-ready .cf-chip button{display:flex}
.cf-chip .icon{width:16px;height:16px}
.cf-status{font-size:14px;line-height:1.5;padding:12px 14px;border-radius:5px;background:#f1f6f1;margin:0 0 20px}
.cf-status[data-error=true]{background:#fff1eb;color:#823a23}
.cf-root[aria-busy=true] .cf-results .catalog-products{opacity:.65}
.cf-root .catalog-products{grid-template-columns:repeat(3,minmax(0,1fr))}
.cf-root .cf-pagination{flex-wrap:wrap;gap:6px}
.cf-pagination button,.cf-pagination a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;padding:6px;border:1px solid transparent;border-radius:5px;background:transparent;font:inherit;color:inherit;text-decoration:none;cursor:pointer}
.cf-pagination button:hover,.cf-pagination a:hover{border-color:#177b43;color:#177b43}
.cf-pagination .is-current{background:#177b43;color:white}
.cf-pagination .is-current:hover{color:white}
.cf-root :is(button,a,input,select,summary):focus-visible,.cf-dialog :is(button,a,input,summary):focus-visible{outline:2px solid #177b43;outline-offset:3px}
.cf-dialog{--cf-border:#dce5df;--cf-muted:#66736b;box-sizing:border-box;width:min(440px,calc(100% - 24px));max-width:calc(100% - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);border:0;border-radius:10px;padding:0;color:#202b22;background:#fff}
.cf-dialog::backdrop{background:#10251977}
.cf-dialog-heading{position:sticky;top:0;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px;border-bottom:1px solid #dce5df;background:#fff}
.cf-dialog-heading .icon-button{width:44px;height:44px;padding:10px}
.cf-dialog [data-catalog-dialog-slot]{padding:0 18px}
.cf-dialog .cf-sidebar-heading{display:none}
.cf-dialog .cf-apply{position:sticky;bottom:0;z-index:3;background:#fff;border-top:1px solid #dce5df;padding:12px 0 0;margin-top:12px}
.cf-dialog .cf-options{max-height:40vh}
@media(min-width:1024px) and (max-width:1199px){.cf-layout{grid-template-columns:240px minmax(0,1fr);gap:24px}.cf-root .catalog-products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1023px){
 .cf-layout{display:block}
 .cf-sidebar-home{margin-bottom:24px}
 .catalog-filters-ready .cf-sidebar-home{display:none}
 .catalog-filters-ready .cf-mobile-open{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;font-size:14px;border-color:#177b43;color:#177b43;padding:8px 12px;white-space:nowrap}
 .cf-toolbar{justify-content:space-between;gap:12px}
 .cf-sort>span{display:none}
 .cf-root .catalog-products{grid-template-columns:repeat(2,minmax(0,1fr))}
 .cf-sort select{width:100%;min-width:0}
 .cf-sort{min-width:0}
 .cf-root .catalog-title{margin-bottom:20px}
 .cf-root .catalog-title h1{font-size:24px}
}
@media(max-width:389px){.cf-toolbar{gap:8px}.cf-mobile-open .icon{width:18px}.cf-sort select{padding-left:8px;padding-right:22px}.catalog-filters-ready .cf-mobile-open{padding-inline:9px}.cf-chip{padding-left:8px}.cf-dialog [data-catalog-dialog-slot]{padding-inline:14px}.cf-dialog-heading{padding-inline:14px}}
@media(prefers-reduced-motion:reduce){.cf-group>summary .icon{transition:none}}
