.hcfs-collection{color:#fff;max-width:1200px;margin:0 auto;padding:20px 16px 50px}.hcfs-collection *,.hcfs-filter-drawer *{box-sizing:border-box}.hcfs-collection-hero{border:1px solid #00ed00;background:#080808;padding:24px 28px;margin:0 0 20px}.hcfs-collection-hero h1{font-size:clamp(26px,3vw,38px);line-height:1.15;color:#00ed00;margin:0 0 10px}.hcfs-collection-hero p{margin:0;color:#fff}.hcfs-results-toolbar{display:flex;gap:16px;align-items:center;justify-content:space-between;margin:0 0 18px}.hcfs-results-toolbar strong{margin-right:auto}.hcfs-sort-form{display:flex;align-items:center;gap:10px}.hcfs-collection select,.hcfs-filter-drawer select,.hcfs-collection input:not([type=checkbox]):not([type=radio]),.hcfs-filter-drawer input:not([type=checkbox]):not([type=radio]){width:100%;min-width:0;background:#171717;color:#fff;border:1px solid #555;border-radius:0;padding:11px;font-size:15px}.hcfs-sort-form select{width:195px}.hcfs-search-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:22px;align-items:start}.hcfs-filter-sidebar{border:1px solid #383838;border-top:3px solid #00ed00;background:#101010;padding:16px}.hcfs-filter-sidebar h2,.hcfs-drawer-heading h2{font-size:21px;color:#fff;margin:0 0 18px}.hcfs-filter-label{display:block;font-weight:700;font-size:13px;margin:14px 0 8px}.hcfs-quick{border:0;padding:0;margin:22px 0 12px}.hcfs-quick legend{font-weight:700;color:#fff;margin-bottom:10px}.hcfs-quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 8px}.hcfs-quick-grid label,.hcfs-facet-options label{display:flex;gap:7px;align-items:flex-start;color:#fff;font-size:13px;cursor:pointer}.hcfs-collection input[type=radio],.hcfs-collection input[type=checkbox],.hcfs-filter-drawer input[type=radio],.hcfs-filter-drawer input[type=checkbox]{accent-color:#00ed00;margin-top:3px}.hcfs-facet{border-top:1px solid #353535;padding:0}.hcfs-facet summary{list-style:none;cursor:pointer;font-weight:750;padding:15px 0;display:flex;justify-content:space-between;gap:8px;color:#fff}.hcfs-facet summary::-webkit-details-marker{display:none}.hcfs-facet summary:after{content:'+';color:#00ed00;font-weight:900}.hcfs-facet[open] summary:after{content:'−'}.hcfs-facet-options{max-height:225px;overflow-y:auto;display:grid;gap:12px;padding:2px 3px 14px}.hcfs-price-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding-bottom:12px}.hcfs-price-fields label{font-size:12px}.hcfs-filter-actions{display:flex;align-items:center;gap:12px;margin-top:18px}.hcfs-filter-actions button,.hcfs-filter-toggle{border:0;background:#00ed00;color:#000;font-weight:800;padding:12px 14px;cursor:pointer}.hcfs-filter-actions a{color:#00ed00;font-size:13px}.hcfs-search-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.hcfs-search-grid .hcfs-comic{width:100%;min-width:0;max-width:none;display:flex;flex-direction:column;background:#0b0b0b;border:1px solid #333}.hcfs-search-grid .hcfs-cover{height:235px;padding:10px}.hcfs-search-grid .hcfs-comic-body{display:flex;flex:1;flex-direction:column;padding:12px}.hcfs-search-grid .hcfs-comic h3{font-size:13px;line-height:1.4;overflow-wrap:anywhere}.hcfs-search-grid .hcfs-price{margin-top:auto;padding-top:16px}.hcfs-search-grid .hcfs-action{display:block;text-align:center;margin-top:10px}.hcfs-pagination{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px}.hcfs-pagination a{border:1px solid #00ed00;color:#00ed00;padding:8px 12px}.hcfs-pagination a[aria-current]{background:#00ed00;color:#000}.hcfs-search-note,.hcfs-search-empty{padding:18px;border:1px solid #555}.hcfs-filter-toggle,.hcfs-filter-drawer{display:none}.hcfs-filter-overlay[hidden]{display:none}.hcfs-filter-overlay{position:fixed;inset:0;background:#000b;z-index:99998}
@media(max-width:1050px){.hcfs-search-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.hcfs-collection{padding:14px 12px 35px}.hcfs-collection-hero{padding:20px 16px}.hcfs-collection-hero h1{font-size:27px}.hcfs-search-layout{display:block}.hcfs-filter-sidebar,.hcfs-sort-form{display:none}.hcfs-filter-toggle{display:inline-block}.hcfs-results-toolbar{gap:10px}.hcfs-results-toolbar strong{margin:0 0 0 auto;font-size:14px}.hcfs-search-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hcfs-search-grid .hcfs-cover{height:clamp(170px,54vw,270px);padding:7px}.hcfs-search-grid .hcfs-comic-body{padding:9px}.hcfs-search-grid .hcfs-comic h3{font-size:12px}.hcfs-search-grid .hcfs-action{padding:10px 4px;font-size:12px}.hcfs-filter-drawer{display:block;position:fixed;inset:0 auto 0 0;width:min(88vw,390px);height:100dvh;overflow-y:auto;overscroll-behavior:contain;z-index:99999;background:#101010;color:#fff;transform:translateX(-105%);transition:transform .2s ease;padding:0 18px 30px;visibility:hidden}.hcfs-filter-drawer.is-open{transform:translateX(0);visibility:visible}.hcfs-drawer-heading{position:sticky;top:0;z-index:2;background:#101010;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #333;padding:15px 0}.hcfs-drawer-heading h2{margin:0}.hcfs-filter-close{background:#00ed00;color:#000;border:0;font-size:30px;width:43px;height:43px;cursor:pointer}.hcfs-filter-drawer .hcfs-quick-grid label,.hcfs-filter-drawer .hcfs-facet-options label{font-size:14px}.hcfs-drawer-open{overflow:hidden}}
@media(max-width:360px){.hcfs-search-grid{grid-template-columns:1fr}.hcfs-search-grid .hcfs-cover{height:310px}}

/* Applied filters above the results */
.hcfs-active-filters{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 20px;padding:12px 15px;background:#111;border:1px solid #303030;color:#fff}
.hcfs-active-filters>strong{color:#00ed00;font-size:14px}
.hcfs-active-chips{display:flex;flex-wrap:wrap;gap:8px}
.hcfs-active-chip{display:inline-flex;align-items:center;gap:9px;padding:7px 10px;border:1px solid #00e600;border-radius:3px;background:#092109;color:#fff!important;font-size:13px;text-decoration:none!important}
.hcfs-active-chip:hover,.hcfs-active-chip:focus{background:#00e600;color:#000!important}
.hcfs-active-chip span{font-size:19px;font-weight:700;line-height:1}
.hcfs-clear-filters{color:#00ed00!important;text-decoration:underline!important;font-size:13px;margin-left:auto}
@media(max-width:767px){.hcfs-active-filters{align-items:flex-start;flex-direction:column;gap:9px}.hcfs-clear-filters{margin-left:0}}

.hcfs-guide-search-results{margin:22px 0 26px}.hcfs-guide-search-results .hcfs-guide-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.hcfs-guide-search-results h2{color:#00e600;margin:0;font-size:24px}.hcfs-guide-search-results a{color:#00e600}.hcfs-guide-search-results .hcfs-guide-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}@media(max-width:850px){.hcfs-guide-search-results .hcfs-guide-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.hcfs-guide-search-results .hcfs-guide-cards{grid-template-columns:1fr}}

/* v1.6.3: Character matches belong to the results column, not across the filter sidebar. */
.hcfs-search-main{min-width:0}
.hcfs-search-main .hcfs-guide-search-results{margin:0 0 28px;padding:0 0 24px;border-bottom:1px solid #303030}
.hcfs-search-main .hcfs-guide-search-results .hcfs-guide-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.hcfs-search-main .hcfs-guide-search-results .hcfs-guide-card{min-width:0}
@media(max-width:950px){.hcfs-search-main .hcfs-guide-search-results .hcfs-guide-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.hcfs-search-main .hcfs-guide-search-results .hcfs-guide-cards{grid-template-columns:1fr}}

/* v1.6.4: distinct character and comic result sections */
.hcfs-search-main .hcfs-guide-search-results{margin-bottom:0;padding-bottom:24px;border-bottom:1px solid #3b3b3b}
.hcfs-search-main .hcfs-matching-comics-heading{display:block;clear:both;margin:30px 0 18px;padding:0;color:#fff;font-size:24px;line-height:1.3;font-weight:750}
.hcfs-search-main .hcfs-matching-comics-heading + .hcfs-search-grid{margin-top:0}
.hcfs-search-main .hcfs-guide-search-results + .hcfs-search-grid{margin-top:30px}
@media(max-width:760px){.hcfs-search-main .hcfs-matching-comics-heading{margin-top:26px;font-size:21px}}

/* v1.6.5: consistent vertical rhythm between guide cards and comic results.
   Use a layout gap rather than heading margins that can collapse or be overridden. */
.hcfs-collection .hcfs-search-main .hcfs-guide-search-results {
  margin:0 0 32px !important;
  padding:0 0 28px !important;
  border-bottom:1px solid #393939;
}
.hcfs-collection .hcfs-search-main .hcfs-matching-comics-heading {
  display:block;
  margin:0 0 18px !important;
  padding:0 !important;
  line-height:1.3;
  color:#fff;
}
.hcfs-collection .hcfs-search-main .hcfs-matching-comics-heading + .hcfs-search-grid {
  margin-top:0 !important;
}
@media(max-width:760px) {
  .hcfs-collection .hcfs-search-main .hcfs-guide-search-results {margin-bottom:26px !important;padding-bottom:22px !important;}
  .hcfs-collection .hcfs-search-main .hcfs-matching-comics-heading {margin-bottom:16px !important;}
}

/* v1.6.7: reduce excess blank area above the search hero on page 2639.
   Only desktop receives the negative offset; avoid mobile header overlap. */
@media(min-width:901px){body.page-id-2639 .hcfs-collection{margin-top:-58px!important}}
@media(min-width:761px) and (max-width:900px){body.page-id-2639 .hcfs-collection{margin-top:-28px!important}}
/* Keep character card inventory and action visually distinct in search results. */
.hcfs-collection .hcfs-guide-card-copy .hcfs-guide-card-stock{display:block;margin:10px 0 16px!important;line-height:1.5}
.hcfs-collection .hcfs-guide-card-copy .hcfs-guide-card-action{display:block;margin-top:0;line-height:1.5}

/* v1.6.8: the dedicated collection page has additional theme top spacing absent from the query-string route. */
@media(min-width:901px){body.page-id-2639 .hcfs-collection{margin-top:-122px!important}}
@media(min-width:761px) and (max-width:900px){body.page-id-2639 .hcfs-collection{margin-top:-65px!important}}

/* v1.6.9: slightly more space between header and collection hero on the page route. */
@media(min-width:901px){body.page-id-2639 .hcfs-collection{margin-top:-102px!important}}
@media(min-width:761px) and (max-width:900px){body.page-id-2639 .hcfs-collection{margin-top:-49px!important}}

/* v1.8.17 — mobile drawer close control; desktop unaffected. */
@media (max-width:760px){
 .hcfs-filter-drawer .hcfs-drawer-heading{gap:12px;min-height:64px}
 .hcfs-filter-drawer .hcfs-drawer-heading h2{flex:1;min-width:0}
 .hcfs-filter-drawer .hcfs-filter-close{appearance:none;display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;min-width:40px;min-height:40px;margin:0;padding:0;border:1px solid #00ed00;border-radius:6px;background:#101010;color:#00ed00;font-family:Arial,sans-serif;font-size:29px;font-weight:400;line-height:1;box-shadow:none;vertical-align:middle}
 .hcfs-filter-drawer .hcfs-filter-close:hover,.hcfs-filter-drawer .hcfs-filter-close:focus-visible{background:#00ed00;color:#000;outline-offset:2px}
}
