/* Optional filter drawer frees the catalogue column on every preview width. */
.catalogue-actions{display:flex;align-items:center;gap:10px;flex:none}
.filter-trigger{align-items:center;justify-content:center;gap:7px;min-height:36px;padding:7px 11px;border:1px solid var(--border);border-radius:7px;background:var(--surface,#fffefb);font-size:11px;white-space:nowrap;color:var(--ink)}
.filter-trigger svg{width:16px;height:16px}
.filter-trigger b{display:grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border-radius:99px;background:var(--ink);color:var(--on-primary,#fff);font-size:10px}
.filter-trigger[aria-expanded=true]{border-color:var(--ink)}
.filter-apply{display:none}
:root[data-px-filters=button] .page-shell{grid-template-columns:minmax(0,1fr)}
:root[data-px-filters=button] .page-shell.cart-open{grid-template-columns:minmax(0,1fr) 300px}
:root[data-px-filters=button] .filters{display:none;position:fixed;z-index:65;inset:0 auto 0 0;width:min(360px,calc(100vw - 32px));height:100dvh;max-height:100dvh;padding:24px 24px max(24px,env(safe-area-inset-bottom));background:var(--paper);overflow:auto;overscroll-behavior:contain;box-shadow:10px 0 40px #10291f22}
:root[data-px-filters=button] .filters.is-open{display:block}
:root[data-px-filters=button] .filter-trigger{display:flex}
:root[data-px-filters=button] .filter-close{display:grid;place-items:center;min-width:40px;min-height:40px;border:1px solid var(--border);border-radius:50%}
:root[data-px-filters=button] .filter-heading{margin-bottom:20px;gap:16px}
:root[data-px-filters=button] .filter-heading h2{margin:0}
:root[data-px-filters=button] .filters .search{min-height:44px}
:root[data-px-filters=button] .filters .categories button{min-height:40px;padding:9px 12px}
:root[data-px-filters=button] .filter-apply{display:flex;justify-content:center;width:100%;margin-top:4px;min-height:44px}
.filter-backdrop{position:fixed;z-index:60;inset:0;background:#10291f77}
@media(max-width:1050px){:root[data-px-filters=button] .page-shell.cart-open{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){
 .catalogue-toolbar{flex-wrap:wrap;gap:8px}
 .catalogue-toolbar>p{flex:1;min-width:70px}
 .catalogue-actions{gap:8px;margin-left:auto}
 .filter-trigger{display:flex;min-height:40px;font-size:11px}
 .view-toggle button{min-width:32px;min-height:32px}
 .filter-apply{display:flex;justify-content:center;width:100%;min-height:44px}
}
