/* CM_CATEGORY_REFINEMENTS_J10: compact category filters; main/photo and cart geometry remain unchanged. */
html.cm-r26 body .cm-category-filters .cm-category-panel-header{display:flex!important;align-items:center;justify-content:space-between;gap:8px;margin:0 0 8px;padding:0 0 5px;border-bottom:1px solid rgba(82,72,53,.18)}
html.cm-r26 body .cm-category-filters .cm-category-panel-header strong{font-size:15px;line-height:1.25}
html.cm-r26 body .cm-category-filters .cm-category-close{display:block!important;position:static!important;float:none!important;width:auto!important;min-height:32px;margin:0!important;padding:5px 7px!important;border:1px solid rgba(82,72,53,.2);border-radius:4px;background:transparent;color:inherit;font:inherit;font-size:12px;line-height:1.2;cursor:pointer}
html.cm-r26 body .cm-category-filters .filter-group{padding:0!important;margin-bottom:4px!important}
html.cm-r26 body .cm-category-filters .filter-group label{margin-bottom:2px!important;font-size:12px!important;line-height:1.3}
html.cm-r26 body .cm-category-filters .filter-group input,
html.cm-r26 body .cm-category-filters .filter-group select{box-sizing:border-box;min-width:0;height:32px!important;min-height:32px!important;margin:0!important;padding:4px 7px!important;font-size:13px!important;line-height:1.3}
html.cm-r26 body .cm-category-filters .cm-category-refine-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 6px;align-items:end}
html.cm-r26 body .cm-category-filters .cm-category-refine-row .filter-group{min-width:0;margin-bottom:0!important}
html.cm-r26 body .cm-category-filters .cm-category-refine-row select{padding-left:5px!important;padding-right:17px!important}
html.cm-r26 body .cm-category-filters .cm-category-refine-help{margin:2px 0 10px!important;font-size:11px!important;line-height:1.4;color:inherit;opacity:.8}
html.cm-r26 body .cm-category-filters .cm-category-filter-error{margin:4px 0 10px!important;padding:6px 8px;border-left:3px solid #9e302a;background:#fff2ed;color:#70231e;font-size:12px!important;line-height:1.4}
html.cm-r26 body .cm-category-filters .cm-category-filter-error[hidden]{display:none!important}
html.cm-r26 body .cm-category-filters [aria-invalid="true"]{border-color:#9e302a!important}
html.cm-r26 body .cm-category-filters .cm-category-filter-actions{position:sticky;bottom:-1px;z-index:2;display:grid;gap:5px;margin-top:7px;padding:7px 0 2px;background:var(--r26-paper,#f3f1e9);border-top:1px solid rgba(82,72,53,.18)}
html.cm-r26 body .cm-category-filters .cm-category-filter-actions .btn{box-sizing:border-box;width:100%!important;min-height:32px!important;margin:0!important;padding:5px 8px!important;font-size:13px!important;line-height:1.35;white-space:normal}
html.cm-r26 body .cm-category-filters #categoryResetFilters{position:static!important;inset:auto!important;width:100%!important;box-shadow:none!important}
html.cm-r26 body .cm-category-collapsed-rail{display:none!important}
html.cm-r26 body .cm-category-filters button:focus-visible,
html.cm-r26 body .cm-category-reopen:focus-visible,
html.cm-r26 body .cm-category-mobile-filter:focus-visible{outline:2px solid currentColor;outline-offset:2px}
@media(min-width:1024px){
 html.cm-r26 body .cm-category-filter-layout.cm-category-panel-collapsed>.cm-category-filters{display:none!important}
 html.cm-r26 body .cm-category-filter-layout.cm-category-panel-collapsed>.cm-category-collapsed-rail{display:flex!important;align-items:center;justify-content:space-between;gap:8px;box-sizing:border-box;padding:12px;background:var(--r26-paper,#f3f1e9);border:1px solid rgba(82,72,53,.18);border-radius:6px}
 html.cm-r26 body .cm-category-collapsed-rail strong{font-size:15px}
 html.cm-r26 body .cm-category-collapsed-rail .cm-category-reopen{min-height:34px;padding:6px 10px!important;font-size:12px!important;line-height:1.25;white-space:normal}
}
@media(min-width:1024px) and (max-width:1199px){
 html.cm-r26 body .cm-category-filter-layout>.cm-category-collapsed-rail{grid-column:1!important;grid-row:1!important;position:sticky;top:calc(var(--r26-header-height,150px) + 12px)}
}
@media(min-width:1200px){
 html.cm-r26 body .cm-category-filter-layout>.cm-category-collapsed-rail{position:fixed;top:calc(var(--r26-header-height,150px) + 12px);left:12px;right:auto;width:254px;z-index:950}
}
@media(max-width:1023px){
 html.cm-r26 body .cm-category-filters{overflow:auto!important;padding-bottom:20px!important}
 html.cm-r26 body .cm-category-mobile-tools{justify-content:space-between!important;gap:12px}
 html.cm-r26 body .cm-category-mobile-tools .cm-category-result-count{order:2}
 html.cm-r26 body .cm-category-mobile-tools .cm-category-mobile-filter{order:1;margin-left:0!important;margin-right:auto!important}
 html.cm-r26 body .cm-category-filters .cm-category-filter-actions{bottom:-20px;padding-bottom:20px}
}

/* Only the filter panel narrows; the reserved content column and all photographs stay fixed. */
html.cm-r26 body .cm-category-filter-layout>#categoryFilters.cm-category-filters{
 padding:12px!important;
}
html.cm-r26 body .cm-category-filters .cm-category-refine-row .cm-category-color{
 grid-column:1/-1;display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px;
 align-items:center;padding-bottom:5px!important;
}
html.cm-r26 body .cm-category-filters .cm-category-color label{
 white-space:nowrap;line-height:1.3;margin:0!important;
}
html.cm-r26 body .cm-category-filters .cm-category-color select{
 width:100%;min-width:0;
}
html.cm-r26 body .cm-category-filters .cm-category-refine-help:empty{display:none!important}
@media(min-width:1200px){
 html.cm-r26 body .cm-category-filter-layout>#categoryFilters.cm-category-filters{width:254px!important}
}
@media(max-width:1023px){
 html.cm-r26 body .cm-category-filter-layout>#categoryFilters.cm-category-filters{
  width:min(280px,88vw)!important;padding:12px 12px 16px!important;
 }
 html.cm-r26 body .cm-category-filters .cm-category-filter-actions{bottom:-16px;padding-bottom:16px}
}
