.filter-drawer-toolbar{display:none}
.filter-drawer{position:fixed;inset:0 0 0 auto;width:min(420px,100%);max-width:100%;height:100dvh;max-height:100dvh;margin:0;padding:0;border:0;border-radius:0;background:var(--color-bg,#f4f1ea);color:var(--color-ink,#101010);font:400 14px/1.5 var(--font-ui,system-ui,sans-serif);overflow:hidden;overscroll-behavior:none}
.filter-drawer[open]{display:flex;flex-direction:column;animation:filter-drawer-enter 260ms cubic-bezier(.22,1,.36,1) both}
.filter-drawer::backdrop{background:rgba(0,0,0,.32)}
.filter-drawer-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:28px 24px 20px}
.filter-drawer-title{margin:0;font:400 36px/1.1 var(--font-display,Georgia,serif);letter-spacing:-.035em;outline:none}
.filter-drawer-close{display:grid;place-items:center;flex:0 0 44px;min-height:44px;padding:0;margin:-6px -10px 0 0;border:0;background:transparent;color:inherit;font:300 30px/1 var(--font-ui,system-ui,sans-serif);cursor:pointer}
.filter-drawer-body{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;padding:0 24px 24px;scrollbar-width:thin}
.filter-drawer-group{padding:0;border-bottom:1px solid var(--color-line,rgba(16,16,16,.2))}
.filter-drawer-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:78px;padding:16px 0;list-style:none;cursor:pointer}
.filter-drawer-group[open]>.filter-drawer-summary{min-height:68px;padding-bottom:8px}
.filter-drawer-summary::-webkit-details-marker{display:none}.filter-drawer-summary::marker{content:''}
.filter-drawer-summary-text{display:grid;gap:5px;min-width:0}.filter-drawer-label{font-size:12px;font-weight:600;letter-spacing:.02em}
.filter-drawer-current{font-size:13px;color:var(--color-muted,#625f59);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.filter-drawer-chevron{width:7px;height:7px;flex:0 0 7px;margin-right:4px;border-right:1px solid;border-bottom:1px solid;transform:rotate(45deg);transition:transform 180ms}
.filter-drawer-group[open] .filter-drawer-chevron{transform:rotate(225deg)}
.filter-drawer-group[open] .filter-drawer-options{animation:filter-options-enter 180ms ease both}
.filter-drawer-options{padding:0 0 18px}
.filter-drawer-search{display:block;width:100%;min-height:44px;margin:0 0 12px;padding:10px 12px;border:1px solid var(--color-line,rgba(16,16,16,.2));border-radius:0;background:#faf8f3;color:inherit;font:inherit;font-size:13px;box-shadow:none}
.filter-drawer-option{display:flex;align-items:center;gap:12px;min-height:46px;margin:0;padding:10px 0;cursor:pointer;font-size:13px}
.filter-drawer-option input{appearance:none;flex:0 0 17px;width:17px;height:17px;margin:0;border:1px solid #817c73;border-radius:1px;background:transparent;cursor:pointer}
.filter-drawer-option input:checked{border-color:var(--color-ink,#101010);background:var(--color-ink,#101010)}
.filter-drawer-option input:checked::after{display:block;content:'';width:5px;height:9px;margin:1px 0 0 5px;border-right:1.5px solid #fff;border-bottom:1.5px solid #fff;transform:rotate(45deg)}
.filter-drawer-footer{flex:0 0 auto;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:16px;padding:18px 24px max(18px,env(safe-area-inset-bottom));background:var(--color-bg,#f4f1ea);border-top:1px solid var(--color-line,rgba(16,16,16,.2))}
.filter-drawer-clear{min-height:46px;padding:8px 0;border:0;background:transparent;color:inherit;font:inherit;font-size:12px;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.filter-drawer-clear:disabled{opacity:.4;cursor:default}
.filter-drawer-apply{min-height:46px;padding:12px 20px;border:1px solid var(--color-ink,#101010);border-radius:0;background:var(--color-ink,#101010);color:var(--color-bg,#f4f1ea);font:500 12px/1.5 var(--font-ui,system-ui,sans-serif);cursor:pointer}
.filter-drawer-apply:disabled{cursor:wait}.filter-drawer-error{grid-column:1/-1;margin:0;font-size:12px;color:#8c352a}
.filter-drawer [hidden]{display:none!important}.filter-drawer-search-empty{font-size:12px;color:var(--color-muted,#625f59)}
.filter-drawer :focus-visible:not(.filter-drawer-title),.filter-drawer-trigger:focus-visible{outline:2px solid currentColor;outline-offset:3px;box-shadow:none}
.filter-drawer .filter-drawer-title:focus{outline:none;box-shadow:none}
@keyframes filter-drawer-enter{from{transform:translateX(100%);opacity:.6}to{transform:translateX(0);opacity:1}}
@keyframes filter-options-enter{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:767.98px){
 main:has(.filter-drawer-toolbar) > .page-header:is(.artists-index-hero,.artworks-page-hero){padding-bottom:1.5rem}
 .gauger-filter-band:has(.filter-drawer-toolbar),.catalog-filter-panel:has(.filter-drawer-toolbar){padding-block:.5rem}
 .gauger-filter-band:has(.filter-drawer-toolbar){margin-bottom:1rem}
 main .artwork-filters:has(.filter-drawer-toolbar) + :is(.artists-catalog,.artwork-catalog){padding-top:1rem}
 .catalog-filters--desktop{display:none!important}
 .filter-drawer-toolbar{display:flex;justify-content:flex-end;padding:0}
 .filter-drawer-trigger{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:12px 18px;border:1px solid var(--color-ink,#101010);border-radius:0;background:transparent;color:var(--color-ink,#101010);font:500 12px/1.5 var(--font-ui,system-ui,sans-serif);letter-spacing:.08em;text-transform:uppercase;cursor:pointer}
 .filter-drawer-trigger svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.25}
 .filter-drawer-count:empty{display:none}
}
@media(prefers-reduced-motion:reduce){.filter-drawer[open],.filter-drawer-group[open] .filter-drawer-options{animation:none}.filter-drawer-chevron{transition:none}}
