/* v344 — Golden Veil collection browsing + immediately visible quick veil filters */
.collection-browse-shell{margin:-12px 0 34px;border-top:1px solid #e4ddd7;border-bottom:1px solid #e4ddd7;padding:18px 0 16px}
.collection-browse-top{display:grid;grid-template-columns:minmax(260px,1fr) auto auto auto;gap:12px;align-items:center}
.collection-search{position:relative;display:block;min-width:0}
.collection-search svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:17px;height:17px;fill:none;stroke:#6f655f;stroke-width:1.7;pointer-events:none}
.collection-search input{width:100%;height:45px;border:1px solid #d8d0ca;background:#fff;padding:0 42px 0 42px;font:inherit;font-size:13px;color:#332e2b;border-radius:2px;outline:none}
.collection-search input:focus{border-color:#9f8166;box-shadow:0 0 0 2px rgba(159,129,102,.10)}
.collection-search-clear{position:absolute;right:8px;top:50%;transform:translateY(-50%);border:0;background:none;width:30px;height:30px;cursor:pointer;font-size:20px;line-height:1;color:#82766f;display:none}
.collection-search.has-value .collection-search-clear{display:block}
.collection-filter-button{height:45px;border:1px solid #cfc5bd;background:#fff;color:#332e2b;padding:0 16px;display:inline-flex;align-items:center;gap:9px;font:600 11px Inter,Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;white-space:nowrap}
.collection-filter-button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7}
.collection-filter-count{min-width:20px;height:20px;border-radius:999px;display:none;place-items:center;background:#302b2b;color:white;font-size:10px;letter-spacing:0}
.collection-filter-count.show{display:grid}
.collection-result-count{font-size:12px;color:#756a64;white-space:nowrap;min-width:72px;text-align:right}
.collection-browse-shell .collection-toolbar{margin:0;justify-content:flex-end}
.collection-browse-shell .collection-toolbar label{display:flex;align-items:center;white-space:nowrap;color:#665d57}
.collection-browse-shell .collection-toolbar select{height:45px;margin-left:8px;min-width:175px}
.collection-filter-panel{display:none;margin-top:16px;padding:20px;background:#f2ece6;border:1px solid #e1d7ce}
.collection-filter-panel.open{display:block}
.collection-filter-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}
.collection-filter-head strong{font:500 24px "Cormorant Garamond",Georgia,serif}
.collection-filter-close{display:none;border:0;background:none;font-size:26px;cursor:pointer;color:#423a35}
.collection-filter-groups{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:26px}
.collection-filter-group h3{margin:0 0 11px;font:600 10px Inter,Arial,sans-serif;letter-spacing:.13em;text-transform:uppercase;color:#776a62}
.collection-filter-options{display:grid;gap:8px}
.collection-filter-option{display:flex;align-items:center;gap:9px;font-size:13px;color:#433c38;cursor:pointer;line-height:1.3}
.collection-filter-option input{appearance:none;width:17px;height:17px;border:1px solid #bcaea3;background:#fff;margin:0;display:grid;place-items:center;flex:0 0 auto}
.collection-filter-option input:checked{background:#302b2b;border-color:#302b2b}
.collection-filter-option input:checked:after{content:"";width:7px;height:4px;border-left:1.5px solid #fff;border-bottom:1.5px solid #fff;transform:rotate(-45deg) translate(1px,-1px)}
.collection-filter-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:20px;padding-top:16px;border-top:1px solid #ddd2c9}
.collection-filter-footer button{min-height:40px;padding:0 16px;border:1px solid #cfc4ba;background:#fff;font:600 10px Inter,Arial,sans-serif;letter-spacing:.1em;text-transform:uppercase;cursor:pointer}
.collection-filter-footer .apply{background:#302b2b;color:#fff;border-color:#302b2b}

.collection-quick-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:14px}
.collection-quick-filters:empty{display:none}
.collection-quick-label{font:600 9px Inter,Arial,sans-serif;letter-spacing:.13em;text-transform:uppercase;color:#81736b;margin-right:2px}
.collection-quick-chip{min-height:34px;border:1px solid #d8cec6;background:#fff;color:#4e4540;padding:0 12px;font:600 10px Inter,Arial,sans-serif;letter-spacing:.04em;cursor:pointer;white-space:nowrap;border-radius:999px;transition:background .15s ease,color .15s ease,border-color .15s ease}
.collection-quick-chip:hover{border-color:#9f8166}
.collection-quick-chip.active{background:#302b2b;color:#fff;border-color:#302b2b}

.collection-active-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:14px}
.collection-active-filters:empty{display:none}
.collection-filter-chip{border:1px solid #d6ccc3;background:#fff;padding:7px 10px;display:inline-flex;gap:7px;align-items:center;font-size:11px;color:#514844;cursor:pointer}
.collection-filter-chip span{font-size:15px;line-height:1;color:#887b73}
.collection-clear-all{border:0;background:none;padding:7px 2px;text-decoration:underline;color:#756a64;font-size:11px;cursor:pointer}
.collection-empty{grid-column:1/-1;text-align:center;padding:80px 20px;border-top:1px solid #e5ddd6;border-bottom:1px solid #e5ddd6;color:#6d625d}
.collection-empty strong{display:block;font:500 34px "Cormorant Garamond",Georgia,serif;color:#332e2b;margin-bottom:8px}
.collection-card[hidden]{display:none!important}
.collection-card-filter-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.collection-card-filter-meta span{font-size:9px;letter-spacing:.08em;text-transform:uppercase;border:1px solid #ded5cd;padding:4px 6px;color:#6e625c;background:#fbf8f4}
.collection-filter-backdrop{display:none}
@media(max-width:1000px){.collection-browse-top{grid-template-columns:minmax(220px,1fr) auto auto}.collection-result-count{grid-column:1/2;text-align:left;grid-row:2}.collection-browse-shell .collection-toolbar{grid-column:3;grid-row:1}.collection-filter-groups{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
  .collection-quick-filters{margin-left:-2px;margin-right:-2px;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-inline:contain;padding:2px 2px 6px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .collection-quick-filters::-webkit-scrollbar{display:none}
  .collection-quick-label{position:sticky;left:0;background:#fff;padding:9px 8px 9px 0;z-index:1;flex:0 0 auto}
  .collection-quick-chip{flex:0 0 auto;min-height:38px;padding:0 14px}

  .collection-browse-shell{margin-top:0;padding-top:16px}
  .collection-browse-top{grid-template-columns:1fr 1fr;gap:10px}
  .collection-search{grid-column:1/-1}
  .collection-filter-button{width:100%;justify-content:center}
  .collection-result-count{grid-column:1;grid-row:3;text-align:left;min-width:0;padding-top:3px}
  .collection-browse-shell .collection-toolbar{grid-column:2;grid-row:2;justify-content:stretch}
  .collection-browse-shell .collection-toolbar label{width:100%}
  .collection-browse-shell .collection-toolbar label{font-size:0}
  .collection-browse-shell .collection-toolbar select{font-size:11px;margin:0;width:100%;min-width:0;height:45px}
  .collection-filter-backdrop{position:fixed;z-index:180;inset:0;background:rgba(33,28,25,.45)}
  .collection-filter-backdrop.show{display:block}
  .collection-filter-panel{display:block;position:fixed;z-index:190;left:0;right:0;bottom:0;margin:0;max-height:82vh;overflow:auto;background:#f8f4ef;border:0;border-radius:18px 18px 0 0;padding:22px;transform:translateY(105%);transition:transform .22s ease;box-shadow:0 -15px 40px rgba(39,31,27,.18)}
  .collection-filter-panel.open{display:block;transform:translateY(0)}
  .collection-filter-close{display:block}
  .collection-filter-groups{grid-template-columns:1fr;gap:23px}
  .collection-filter-footer{position:sticky;bottom:-22px;background:#f8f4ef;padding:14px 0 20px;margin-bottom:-22px}
  .collection-filter-footer button{flex:1}
  body.collection-filter-open{overflow:hidden}
}
@media(max-width:430px){.collection-browse-top{grid-template-columns:1fr 1fr}.collection-filter-button{padding:0 10px}.collection-result-count{font-size:11px}}

/* v344: make the browsing controls unmistakable on collection pages */
.collection-browse-shell{background:#fbf8f4;padding-left:14px;padding-right:14px;border:1px solid #e4ddd7}
.collection-quick-label{color:#5f544e}
@media(max-width:700px){.collection-browse-shell{margin-left:-2px;margin-right:-2px;border-left:0;border-right:0;padding-left:12px;padding-right:12px}.collection-search input{background:#fff}.collection-filter-button{background:#302b2b;color:#fff;border-color:#302b2b}.collection-quick-filters{padding-top:6px}}
