/* BuySheds: clear category refinement and bike-specific popular sizes */
body.storefront-buysheds .category-results .bs-refine-link{
 display:inline-flex;align-items:center;justify-content:center;
 min-height:41px;padding:10px 15px;
 background:#184e3c;color:#fff;border:1px solid #184e3c;
 border-radius:8px;font-size:13px;font-weight:850;
 text-decoration:none;white-space:nowrap
}
body.storefront-buysheds .category-results .bs-refine-link:hover{background:#103e30;color:#fff}
body.storefront-buysheds .category-results .bs-refine-link:focus-visible,
body.storefront-buysheds .bs-bike-size-shortcuts a:focus-visible{outline:3px solid #e1a357;outline-offset:3px}
body.storefront-buysheds .category-size-finder .bs-bike-size-shortcuts{
 grid-column:1/-1;
 display:flex;flex-wrap:wrap;align-items:center;gap:8px 7px;
 margin:10px 0 0;
}
body.storefront-buysheds .bs-bike-size-shortcuts strong{
 color:#345343;font-size:12px;margin-right:7px;
}
body.storefront-buysheds .bs-bike-size-shortcuts a{
 display:inline-flex;align-items:center;justify-content:center;
 min-height:35px;padding:7px 11px;
 border:1px solid #cdddcf;border-radius:20px;
 color:#204b3b;background:#f3f7f2;
 font-size:12px;font-weight:800;text-decoration:none
}
body.storefront-buysheds .bs-bike-size-shortcuts a:hover{
 background:#e1eee2;border-color:#8fb399
}
@media(max-width:650px){
 body.storefront-buysheds .category-results .bs-refine-link{
   width:100%;min-height:45px;white-space:normal
 }
 body.storefront-buysheds .bs-bike-size-shortcuts strong{
   width:100%;margin:0 0 2px
 }
 body.storefront-buysheds .bs-bike-size-shortcuts a{min-height:39px}
}

/* Display category refinement separately so existing facet chips never get squeezed. */
body.storefront-buysheds .category-results .bs-refine-row{
 display:flex;align-items:center;justify-content:space-between;gap:16px;
 margin:11px 0 15px;padding:12px 15px;
 background:#eef4eb;border:1px solid #dbe7da;border-radius:10px
}
body.storefront-buysheds .category-results .bs-refine-row > span{
 font-size:13px;line-height:1.4;color:#456451;font-weight:700
}
body.storefront-buysheds .category-results .bs-refine-row .bs-refine-link{
 flex:0 0 auto;min-width:150px;min-height:39px;
}
body.storefront-buysheds .category-size-finder[data-buy-sheds-defaults="1"] .category-popular-sizes{
 display:none!important
}
@media(max-width:650px){
 body.storefront-buysheds .category-results .bs-refine-row{
  flex-direction:column;align-items:stretch;gap:9px;
  padding:12px;margin:9px 0 13px
 }
 body.storefront-buysheds .category-results .bs-refine-row > span{
  font-size:12px
 }
 body.storefront-buysheds .category-results .bs-refine-row .bs-refine-link{
  width:100%;min-width:0;min-height:44px
 }
}

/* Category facet chips wrap on phones instead of being visually truncated. */
@media(max-width:900px){
 body.storefront-buysheds .category-results .subcat-strip{
   overflow:visible!important;
   min-width:0!important;
 }
 body.storefront-buysheds .category-results .subcat-strip .chip-row{
   display:flex!important;
   flex-wrap:wrap!important;
   align-items:stretch!important;
   width:100%!important;
   max-width:100%!important;
   min-width:0!important;
   gap:8px!important;
   overflow:visible!important;
   white-space:normal!important;
   scroll-snap-type:none!important;
 }
 body.storefront-buysheds .category-results .subcat-strip .chip-row a.chip{
   display:inline-flex!important;
   align-items:center!important;
   justify-content:center!important;
   max-width:100%!important;
   min-width:0!important;
   min-height:40px!important;
   white-space:normal!important;
   line-height:1.3!important;
   text-align:center!important;
   flex:0 1 auto!important;
 }
}

/* Clear direct route from category introductions to actual product listings. */
body.storefront-buysheds .category-hero-copy .bs-shop-products-link{
 display:inline-flex;align-items:center;justify-content:center;
 width:max-content;max-width:100%;min-height:43px;
 margin-top:13px;padding:10px 17px;
 border:1px solid #194d3b;border-radius:8px;
 color:#fff;background:#194d3b;
 font-size:13px;font-weight:850;text-decoration:none;
 transition:background-color .15s;
}
body.storefront-buysheds .category-hero-copy .bs-shop-products-link:hover{
 background:#113d30;color:#fff
}
body.storefront-buysheds .category-hero-copy .bs-shop-products-link:focus-visible{
 outline:3px solid #dea863;outline-offset:3px
}
@media(max-width:620px){
 body.storefront-buysheds .category-hero-copy .bs-shop-products-link{
  width:100%;min-height:47px;font-size:14px
 }
}
