/* v3.17: explicit overlay crossfade for WooCommerce-tagged category thumbnails. */
.bk-category-section .categories.bk-four-collections .cat > img.bk-slide-image--base,
.bk-category-section .categories.bk-four-collections .cat > img.bk-slide-image--overlay {
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  object-fit:cover!important;
  pointer-events:none!important;
}
.bk-category-section .categories.bk-four-collections .cat > img.bk-slide-image--base {
  z-index:0;
  opacity:1!important;
  transition:transform .4s ease!important;
}
.bk-category-section .categories.bk-four-collections .cat > img.bk-slide-image--overlay {
  z-index:1;
  opacity:0!important;
  transition:none!important;
  will-change:opacity;
}
.bk-category-section .categories.bk-four-collections .cat > img.bk-slide-image--overlay.is-crossfading {
  opacity:1!important;
  transition:opacity 1.15s ease-in-out!important;
}
/* Strong bottom overlay, plus shadows on the actual lettering in both themes. */
.bk-category-section .categories.bk-four-collections .cat .cat-info,
.bk-category-section .categories.bk-four-collections .cat:hover .cat-info,
.bk-category-section .categories.bk-four-collections .cat:focus-visible .cat-info,
html[data-bk-theme="dark"] .bk-category-section .categories.bk-four-collections .cat .cat-info {
  z-index:3!important;
  background:linear-gradient(to bottom,transparent 0%,rgba(7,5,8,.32) 22%,rgba(7,5,8,.77) 65%,rgba(7,5,8,.94) 100%)!important;
}
.bk-category-section .categories.bk-four-collections .cat .cat-info strong,
.bk-category-section .categories.bk-four-collections .cat .cat-info small,
.bk-category-section .categories.bk-four-collections .cat:hover .cat-info strong,
.bk-category-section .categories.bk-four-collections .cat:hover .cat-info small,
html[data-bk-theme="dark"] .bk-category-section .categories.bk-four-collections .cat .cat-info strong,
html[data-bk-theme="dark"] .bk-category-section .categories.bk-four-collections .cat .cat-info small {
  text-shadow:0 2px 3px rgba(0,0,0,.98),0 4px 11px rgba(0,0,0,.95),0 0 22px rgba(0,0,0,.75)!important;
}
@media(prefers-reduced-motion:reduce){
 .bk-category-section .categories.bk-four-collections .cat > img.bk-slide-image--overlay.is-crossfading{
   transition:none!important;
 }
}
