/* Bizgrow Swipe Cart v1.5.0 — responsive product-image overlay */
.bgsc-image-overlay-host{
  display:block!important;
  position:relative!important;
  width:100%!important;
  max-width:100%!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  line-height:0!important;
  vertical-align:top!important;
}
.bgsc-image-overlay-host > img{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto;
}
.bgsc-button{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  position:absolute!important;
  left:8px!important;
  right:8px!important;
  bottom:8px!important;
  top:auto!important;
  width:calc(100% - 16px)!important;
  max-width:none!important;
  min-width:0!important;
  min-height:var(--bgsc-btn-height,38px)!important;
  height:var(--bgsc-btn-height,38px)!important;
  margin:0!important;
  padding:7px 10px!important;
  box-sizing:border-box!important;
  border:0!important;
  border-radius:var(--bgsc-radius,3px)!important;
  background:var(--bgsc-btn-bg,#f4510b)!important;
  color:var(--bgsc-btn-text,#fff)!important;
  font-family:inherit!important;
  font-size:var(--bgsc-font-size,13px)!important;
  font-weight:600!important;
  line-height:1.2!important;
  text-align:center!important;
  text-decoration:none!important;
  white-space:normal!important;
  cursor:pointer!important;
  box-shadow:none!important;
  z-index:30!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  transform:translate3d(0,16px,0)!important;
  transition:opacity .24s ease,transform .32s cubic-bezier(.2,.75,.25,1),background-color .2s ease,visibility .24s ease!important;
}
.bgsc-button:hover,.bgsc-button:focus-visible{
  background:var(--bgsc-btn-hover,#d94305)!important;
  color:var(--bgsc-btn-text,#fff)!important;
}
.bgsc-button:focus-visible{outline:2px solid #fff!important;outline-offset:-4px!important}
.bgsc-button:disabled{cursor:wait!important;opacity:.9!important}
.bgsc-cart-icon,.bgsc-success-icon,.bgsc-loading-icon{width:16px;height:16px;flex:0 0 16px;display:block}
/* Desktop: reveal strictly when the mouse is over the image itself. */
@media (hover:hover) and (pointer:fine){
  .bgsc-image-overlay-host:hover > .bgsc-button,
  .bgsc-image-overlay-host:focus-within > .bgsc-button{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:translate3d(0,0,0)!important;
  }
}
/* Touch: do not leave the CTA permanently visible. JS adds this class after tapping the image. */
@media (hover:none),(pointer:coarse){
  .bgsc-image-overlay-host.bgsc-show-cart > .bgsc-button,
  .bgsc-image-overlay-host.bgsc-show-cart > .bgsc-button:focus{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:translate3d(0,0,0)!important;
  }
}
.bgsc-button.bgsc-loading{opacity:1!important}
.bgsc-button.bgsc-success{
  background:#168653!important;
  color:#fff!important;
  box-shadow:0 3px 10px rgba(22,134,83,.22)!important;
  animation:bgscSuccessPop .26s ease-out both;
}
.bgsc-success-icon{overflow:visible}
.bgsc-success-icon path{stroke-dasharray:24;stroke-dashoffset:24;animation:bgscDrawCheck .38s .04s ease forwards}
.bgsc-button.bgsc-error{background:#b42318!important;color:#fff!important}
.bgsc-inline-notice{position:absolute;left:8px;right:8px;bottom:calc(var(--bgsc-btn-height,38px) + 16px);z-index:31;padding:5px 7px;background:rgba(255,255,255,.96);border-radius:4px;color:#b42318;font-size:11px;line-height:1.35;text-align:center;box-shadow:0 1px 6px rgba(0,0,0,.1)}
@keyframes bgscSuccessPop{0%{transform:translate3d(0,0,0) scale(.96)}65%{transform:translate3d(0,0,0) scale(1.025)}100%{transform:translate3d(0,0,0) scale(1)}}
@keyframes bgscDrawCheck{to{stroke-dashoffset:0}}
@media (prefers-reduced-motion:reduce){.bgsc-button,.bgsc-success-icon path{transition:none!important;animation:none!important}}

/* Never show the default WooCommerce "View cart" link after this button is used. */
a.added_to_cart,
a.added_to_cart.wc-forward,
.woocommerce a.added_to_cart,
.woocommerce-page a.added_to_cart,
.woocommerce ul.products li.product a.added_to_cart,
.e-loop-item a.added_to_cart {display:none!important;visibility:hidden!important}
