/* Only rendered on the full /?view=all Shelf; no changes to compact Must-Haves. */
.shelf-facet-mount[hidden],.shelf-facet-backdrop[hidden],.shelf-facet-sheet[hidden],.shelf-facet-chips[hidden],.shelf-facet-badge[hidden]{display:none!important}
.shelf-facet-mount{margin:-6px 0 13px}
.shelf-facet-actions{display:flex;gap:10px;align-items:center}
.shelf-facet-trigger{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-width:134px;padding:11px 17px;min-height:44px;border:1px solid #ceded6;border-radius:40px;background:#fff;color:#174F49;font:inherit;font-size:.85rem;font-weight:750;cursor:pointer;transition:border-color .15s}
.shelf-facet-trigger:hover,.shelf-facet-trigger:focus-visible{border-color:#2C786C;outline-color:#2C786C}
.shelf-facet-trigger>span[aria-hidden]{font-size:1.15rem;line-height:1}
.shelf-facet-badge{display:inline-grid;place-items:center;background:#2C786C;color:#fff;border-radius:50%;min-width:20px;height:20px;padding:0 3px;font-size:.7rem}
.shelf-facet-chips{display:flex;flex-wrap:wrap;gap:7px;padding:12px 0 0}
.shelf-applied-chip,.shelf-all-clear{border:1px solid rgba(44,120,108,.25);background:#eef5f1;color:#174F49;border-radius:100px;padding:7px 10px;font:inherit;font-size:.73rem;cursor:pointer}
.shelf-all-clear{background:transparent;border-color:transparent;text-decoration:underline}
.shelf-facet-backdrop{position:fixed;inset:0;z-index:83;background:rgba(18,32,28,.48)}
.shelf-facet-sheet{position:fixed;z-index:84;left:0;right:0;bottom:0;display:flex;flex-direction:column;max-height:87dvh;max-height:87vh;background:#fff;border-radius:23px 23px 0 0;box-shadow:0 -12px 36px rgba(0,0,0,.18);overflow:hidden;color:#222}
.shelf-sheet-head{display:flex;align-items:center;justify-content:space-between;padding:18px 21px;flex:none;border-bottom:1px solid #e2e8e4}
.shelf-sheet-head h3{font-family:Inter,sans-serif;font-size:1rem;margin:0;font-weight:800;color:#174F49}
.shelf-sheet-close{background:transparent;color:#24372f;border:0;width:36px;height:36px;cursor:pointer;font-size:1.8rem;line-height:1}
.shelf-sheet-body{overflow-y:auto;overscroll-behavior:contain;padding:8px 21px 14px;flex:1;min-height:0}
.shelf-facet-group{border:0;border-bottom:1px solid #e6eae7;margin:0;padding:18px 0 21px;min-width:0}
.shelf-facet-group legend{font-weight:750;font-size:.88rem;color:#233d34;padding:16px 0 5px}
.shelf-facet-option{display:flex;gap:12px;align-items:center;padding:9px 0;font-size:.84rem;cursor:pointer;min-height:42px;line-height:1.4}
.shelf-facet-option input,.shelf-sort-option input{accent-color:#2C786C;flex:none;width:18px;height:18px;margin:0}
.shelf-facet-option span{flex:1}
.shelf-facet-option small{font-size:.72rem;color:#67776f}
.shelf-facet-details{padding:15px 0;border-bottom:1px solid #e6eae7}
.shelf-facet-details summary{cursor:pointer;font-weight:750;font-size:.88rem;color:#233d34;list-style-position:inside;padding:4px 0}
.shelf-facet-choices{padding-top:10px;max-height:235px;overflow:auto;overscroll-behavior:contain}
.shelf-no-options{font-size:.79rem;color:#67776f}
.shelf-price-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-top:3px}
.shelf-price-fields label{font-size:.75rem;color:#67776f;font-weight:600}
.shelf-price-fields input{display:block;margin-top:7px;padding:11px 12px;border:1px solid #d7e0da;border-radius:10px;width:100%;font-size:.9rem;background:#fff;color:#222;min-width:0}
#shelfPriceRange{display:block;margin-top:11px;color:#67776f;font-size:.74rem}
.shelf-facet-validation{color:#a33731;font-size:.76rem;margin:6px 0}
.shelf-sheet-foot{flex:none;display:flex;gap:12px;padding:14px 20px calc(15px + env(safe-area-inset-bottom));border-top:1px solid #e1e7e1;background:#fff}
.shelf-reset,.shelf-apply{border-radius:100px;padding:12px 17px;min-height:46px;font:inherit;font-size:.83rem;font-weight:800;cursor:pointer}
.shelf-reset{background:#fff;border:1px solid #b7cfc3;color:#174F49}
.shelf-apply{flex:1;background:#174F49;border:1px solid #174F49;color:#fff}
.shelf-apply:disabled{opacity:.45;cursor:not-allowed}
.shelf-sort-sheet{max-height:min(76vh,630px)}
.shelf-sort-option{display:flex;align-items:center;gap:15px;min-height:53px;border-bottom:1px solid #e9ece9;padding:9px 0;font-size:.86rem;cursor:pointer}
.shelf-sort-option span{flex:1}
body.shelf-modal-open{overflow:hidden}
@media(min-width:700px){
 .shelf-facet-sheet{left:auto;right:0;bottom:0;width:min(440px,100vw);max-height:100vh;height:100vh;border-radius:20px 0 0 20px}
 .shelf-sort-sheet{height:auto;max-height:82vh;bottom:24px;right:24px;border-radius:18px}
}
@media(max-width:640px){
 .shelf-facet-mount{margin-top:-4px}
 .shelf-facet-actions{display:grid;grid-template-columns:1fr 1fr}
 .shelf-facet-trigger{min-width:0;width:100%;font-size:.84rem;padding:10px}
 .shelf-sheet-body{padding-left:18px;padding-right:18px}
 .shelf-sheet-head{padding:13px 18px}
}
