/* AI Style heads the filter sidebar; keep the product area alongside it. */
body.gallery-page .catalogue-filters .collection-finder-compact{margin:0 0 26px;min-width:0}
body.gallery-page .catalogue-filters .collection-finder-compact form{padding:14px;border-radius:5px;background:#f7f9f6}
body.gallery-page .catalogue-filters .finder-input-row{flex-direction:column;align-items:stretch;gap:10px}
body.gallery-page .catalogue-filters .finder-input-row input{flex:auto;height:42px;padding:8px;background:white;border:1px solid #dce3dc;border-radius:3px;font-size:12px}
body.gallery-page .catalogue-filters .finder-input-row button{width:100%;white-space:normal;padding:11px 8px;align-self:stretch}
body.gallery-page .catalogue-filters .finder-examples{gap:6px}
body.gallery-page .catalogue-filters .finder-hint{line-height:1.5}
body.gallery-page .catalogue-layout,body.gallery-page .catalogue-layout:has(.catalogue-filters.is-open){display:block}
body.gallery-page .filter-trigger{display:inline-flex;align-items:center}
body.gallery-page dialog.catalogue-filters{display:none;position:fixed;inset:0 auto 0 0;margin:0;width:440px;max-width:calc(100vw - 24px);height:100dvh;max-height:100dvh;padding:24px;border:0;background:#fff;box-sizing:border-box;overflow-y:auto;overscroll-behavior:contain;color:#203a34}
body.gallery-page dialog.catalogue-filters[open]{display:block}
body.gallery-page dialog.catalogue-filters::backdrop{background:rgba(0,0,0,.35)}
body.gallery-page.catalogue-drawer-open{overflow:hidden}
.catalogue-drawer-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.catalogue-drawer-close{display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;background:#f2f4f0;color:#203a34;font-size:28px;cursor:pointer;border-radius:4px}
@media(min-width:1101px){body.gallery-page .catalogue-results .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

body.gallery-page .catalogue-filters #collection-finder-results{display:block;margin-bottom:18px}body.gallery-page .catalogue-filters #collection-finder-reset{margin-top:8px}

.collection-highlights{display:flex;flex-wrap:wrap;gap:9px;margin:-10px 0 24px}
.collection-highlights button{border:1px solid #dce5de;border-radius:24px;padding:9px 16px;background:#f7f9f6;color:#345448;font:500 13px/1.35 "DM Sans",Arial,sans-serif;cursor:pointer}
.collection-highlights button[aria-pressed="true"]{background:#203e34;border-color:#203e34;color:white}
.collection-highlights button:focus-visible{outline:2px solid #315c48;outline-offset:3px}

/* Category shortcuts and filter/sort actions share one toolbar. */
body.gallery-page .catalogue-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0}
body.gallery-page .catalogue-controls-left{flex:1;min-width:0}
body.gallery-page .catalogue-controls .collection-highlights{margin:0;gap:8px}
body.gallery-page .catalogue-controls .toolbar-actions{margin-left:auto;flex-shrink:0}
@media(min-width:851px){body.gallery-page .catalogue-controls{flex-wrap:nowrap}}
@media(max-width:850px){body.gallery-page .catalogue-controls{flex-wrap:wrap;gap:12px}body.gallery-page .catalogue-controls-left{flex-basis:100%}}

/* Active search criteria replace shortcuts in the same toolbar position. */
body.gallery-page .catalogue-controls .collection-highlights[hidden],body.gallery-page .catalogue-controls .active-filters[hidden]{display:none!important}
body.gallery-page .catalogue-controls .active-filters:not([hidden]){display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0}
body.gallery-page .catalogue-controls .active-filter{display:inline-flex;align-items:center;gap:8px;border:1px solid #e2e2e2;border-radius:20px;background:#fff;color:#707070;padding:6px 10px;font:400 12px/1.35 "DM Sans",Arial,sans-serif;cursor:pointer}
body.gallery-page .catalogue-controls .active-filter .bi-x{font-size:12px;line-height:1;color:inherit}
body.gallery-page .catalogue-controls .active-filter:hover{border-color:#b8b8b8;color:#505050}
body.gallery-page .catalogue-controls .active-filter:focus-visible{outline:2px solid #315c48;outline-offset:3px}
body.gallery-page .catalogue-controls #collection-finder-results{margin:0 0 8px;max-width:none;display:block}
body.gallery-page .catalogue-controls #collection-finder-reset{display:none}
body.gallery-page .catalogue-controls #collection-finder-criteria{font-size:12px;color:#345448}
