/* WDS Store 1.9.31 — consolidated archive polish. Scoped to main Shop and product categories.
   Does not affect single products, variation images, cart or checkout. */
body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) .wds-store-intro{
  padding-top:clamp(12px,2.5vw,28px)!important;
  margin-bottom:8px!important;
}
body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) .wds-store-intro h1{
  margin-bottom:7px!important;
}
body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) .wds-store-intro .wds-store-subtitle{
  margin-bottom:8px!important;
}
/* Search becomes the first control, directly after the introduction. */
body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) .wds-store-search-wrap{
  width:min(100%,620px)!important;
  margin:10px auto 14px!important;
  z-index:50!important;
}
body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) .wds-store-product-search{
  border-radius:11px!important;
  box-shadow:none!important;
}
/* Scalable horizontal category navigation: scroll rather than wrap or shrink labels. */
body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) .wds-store-collections{
  margin:3px auto 0!important;
  padding:0!important;
  max-width:100%!important;
  overflow-x:auto!important;
  scrollbar-width:thin!important;
}
body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) .wds-store-collections-list{
  margin:0 auto!important;
  padding:2px 2px 9px!important;
  gap:7px!important;
  flex-wrap:nowrap!important;
  width:max-content!important;
}
body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) .wds-store-collection{
  min-height:36px!important;
  font-size:12px!important;
}
/* Brand links are navigation, not a separate oversized section. */
body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) .wds-store-brands{
  min-height:0!important;
  margin:2px auto 9px!important;
  padding:8px 4px!important;
  gap:9px!important;
  border-top:0!important;
  border-bottom:1px solid #e7ddd3!important;
}
body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) .wds-store-brand-chip{
  min-height:30px!important;
  padding:6px 11px!important;
}
/* Sorting should be proportionate to result count and image cards. */
body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) .woocommerce-result-count{
  margin-top:7px!important;
  margin-bottom:12px!important;
  font-size:12px!important;
}
body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) .woocommerce-ordering{
  margin:0 0 13px!important;
}
body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) .woocommerce-ordering select{
  width:auto!important;
  min-width:166px!important;
  max-width:210px!important;
  height:40px!important;
  min-height:40px!important;
  border:1px solid #ded3c8!important;
  border-radius:9px!important;
  background-color:#fff!important;
  padding:8px 34px 8px 12px!important;
  font-size:12px!important;
  font-weight:600!important;
  box-shadow:none!important;
}
/* Image-only frame, with consistent scaling and no hover jump. */
body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) ul.products>li.product .product-thumbnail,
body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) ul.products>li.product>a.woocommerce-LoopProduct-link>img:not(.wds-store-brand-logo){
  border-radius:12px!important;
  transition:border-color .18s ease!important;
}
@media(hover:hover){
 body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) ul.products>li.product:hover .product-thumbnail,
 body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) ul.products>li.product:hover>a.woocommerce-LoopProduct-link>img:not(.wds-store-brand-logo){
  border-color:#bfa992!important;
 }
}
body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) ul.products>li.product .product-details{
  margin:0!important;padding:0!important;
}
body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) ul.products>li.product .woocommerce-loop-product__title,
body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) ul.products>li.product .product-details .woocommerce-loop-product__title{
  min-height:2.7em!important;
  line-height:1.35!important;
  margin:0 0 5px!important;
}
body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) ul.products>li.product .price{
  margin-top:auto!important;
}
/* Keep all category pages two columns on small screens, without oversized whitespace. */
@media(max-width:640px){
 body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) .wds-store-intro{
   padding-top:13px!important;margin-bottom:5px!important;
 }
 body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) .wds-store-intro .wds-store-subtitle{
   margin-bottom:4px!important;
 }
 body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) .wds-store-search-wrap{
   margin:8px auto 11px!important;
 }
 body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) .wds-store-collections-list{
   margin:0!important;gap:6px!important;padding-bottom:8px!important;
 }
 body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) .wds-store-collection{
   min-height:36px!important;padding:8px 12px!important;font-size:11px!important;
 }
 body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) .wds-store-brands{
   margin:2px auto 8px!important;padding:7px 0!important;
 }
 body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) .woocommerce-result-count{
   margin:0 0 9px!important;font-size:11px!important;
 }
 body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) .woocommerce-ordering{
   margin:0 0 9px!important;
 }
 body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) .woocommerce-ordering select{
   width:auto!important;min-width:136px!important;max-width:170px!important;height:38px!important;min-height:38px!important;font-size:11px!important;
 }
 body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) ul.products,
 body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) .woocommerce ul.products{
   grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:17px 11px!important;
 }
 body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) ul.products>li.product .woocommerce-loop-product__title,
 body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) ul.products>li.product .product-details .woocommerce-loop-product__title{
   font-size:12px!important;min-height:2.7em!important;
 }
}
