/* Scoped to Collections/Shop; existing cards and other pages keep their styles. */
.nc-filter-layout { display:grid; grid-template-columns:230px minmax(0,1fr); gap:44px; align-items:start; }
.nc-filter-panel { position:sticky; top:105px; border-top:1px solid var(--hairline); padding-top:8px; }
.nc-filter-block { min-width:0; margin:0; padding:24px 0; border:0; border-bottom:1px solid var(--hairline); }
.nc-filter-block legend { float:left; width:100%; margin:0 0 16px; padding:0; font-size:11px; font-weight:600; letter-spacing:.15em; color:var(--text-muted); }
.nc-filter-block legend + * { clear:both; }
.nc-filter-choice { display:flex; align-items:center; gap:9px; min-height:40px; cursor:pointer; font-size:13px; color:var(--text-muted); }
.nc-filter-choice:hover,.nc-filter-choice:has(input:checked) { color:var(--text); }
.nc-filter-choice input { flex:none; width:14px; height:14px; margin:0; accent-color:var(--ink); }
.nc-filter-choice small { margin-left:auto; color:var(--text-faint); font-size:11px; }
.nc-filter-results { min-width:0; }
.nc-filter-toolbar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; min-height:48px; margin-bottom:26px; padding:0 0 16px; border-bottom:1px solid var(--hairline); }
.nc-filter-toolbar .shop-count { margin-left:auto; white-space:nowrap; }
.nc-filter-chips { display:flex; align-items:center; flex-wrap:wrap; gap:7px; }
.nc-filter-chip { display:flex; align-items:center; gap:10px; padding:6px 10px; border:1px solid var(--hairline); border-radius:2px; background:var(--paper); color:var(--text-muted); font-size:11px; }
.nc-filter-chip:hover { border-color:var(--text-muted); }
.nc-filter-chip span { font-size:15px; line-height:1; }
.nc-filter-clear { border:0; background:none; padding:8px 0; font-size:12px; color:var(--text-muted); text-decoration:underline; text-underline-offset:4px; }
.nc-filter-chips .nc-filter-clear { margin:0 6px; }
.nc-filter-reset { margin-top:20px; }
.nc-price-slider { position:relative; height:40px; margin:0 8px; }
.nc-price-track { position:absolute; left:0; right:0; top:19px; height:2px; background:var(--hairline); }
.nc-price-track span { position:absolute; height:2px; background:var(--text-muted); }
.nc-price-slider input[type=range] { position:absolute; top:0; left:0; width:100%; height:40px; margin:0; padding:0; border:0; background:transparent; appearance:none; -webkit-appearance:none; pointer-events:none; }
.nc-price-slider input[type=range]::-webkit-slider-runnable-track { height:2px; background:transparent; }
.nc-price-slider input[type=range]::-webkit-slider-thumb { appearance:none; -webkit-appearance:none; pointer-events:auto; width:16px; height:16px; margin-top:-7px; border:1px solid var(--text-muted); border-radius:50%; background:var(--paper); cursor:ew-resize; touch-action:none; box-shadow:0 0 0 7px transparent; }
.nc-price-slider input[type=range]::-moz-range-track { height:2px; background:transparent; }
.nc-price-slider input[type=range]::-moz-range-thumb { pointer-events:auto; width:14px; height:14px; border:1px solid var(--text-muted); border-radius:50%; background:var(--paper); cursor:ew-resize; touch-action:none; }
.nc-price-slider input[type=range]:focus-visible::-webkit-slider-thumb { outline:2px solid var(--gold); outline-offset:3px; }
.nc-price-slider input[type=range]:focus-visible::-moz-range-thumb { outline:2px solid var(--gold); outline-offset:3px; }
.nc-price-slider input:disabled { opacity:.45; }
.nc-price-extents { display:flex; justify-content:space-between; font-size:10px; color:var(--text-faint); }
.nc-filter-block output { display:block; margin-top:14px; font-size:13px; color:var(--text); }
.nc-filter-empty { grid-column:1/-1; text-align:center; padding:90px 24px; min-height:350px; }
.nc-filter-empty h2 { margin:0 0 12px; font-family:var(--display); font-weight:400; font-size:30px; }
.nc-filter-empty p { color:var(--text-muted); font-size:14px; margin:0 0 24px; }
.nc-filter-open,.nc-filter-drawer-heading,.nc-filter-done,.nc-filter-backdrop { display:none; }
@media (min-width:901px) and (max-width:1100px) {
  .nc-filter-layout { grid-template-columns:210px minmax(0,1fr); gap:28px; }
  .nc-filter-results .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:900px) {
  .nc-filter-layout { display:block; }
  .nc-filter-open { display:inline-flex; align-items:center; }
  .nc-filter-toolbar { gap:10px; }
  .nc-filter-chips { order:3; flex-basis:100%; }
  .nc-filter-chips:empty { display:none; }
  .nc-filter-panel { display:none; position:fixed; inset:0 0 0 auto; z-index:1202; width:min(360px,92vw); height:100dvh; overflow-y:auto; overscroll-behavior:contain; padding:20px 26px 30px; border:0; background:var(--paper); box-shadow:-12px 0 48px rgba(10,16,24,.12); }
  .nc-shop-filters.is-open .nc-filter-panel { display:block; }
  .nc-filter-drawer-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; }
  .nc-filter-drawer-heading strong { font-size:12px; letter-spacing:.12em; font-weight:600; }
  .nc-filter-drawer-heading button { width:44px; height:44px; border:0; background:none; font-size:26px; color:var(--text); }
  .nc-filter-done { display:flex; width:100%; justify-content:center; margin-top:24px; }
  .nc-filter-backdrop { position:fixed; display:block; inset:0; z-index:1201; background:rgba(10,16,24,.45); }
  .nc-filter-choice { min-height:44px; }
  .nc-price-slider input[type=range]::-webkit-slider-thumb { width:22px; height:22px; margin-top:-10px; }
  .nc-price-slider input[type=range]::-moz-range-thumb { width:20px; height:20px; }
}
