/* v3.0.36: Hightcraft HOT SALE is per-product and visually independent of
   WoodMart's custom HTML block 33225, which can contain empty paragraphs. */
.wd-product .wd-custom-label.wd-label-33225,
body.single-product .wd-custom-label.wd-label-33225 {
  display: none !important;
}

/* A single, compact badge in the actual image frame. No blank HTML wrapper,
   no forced relocation of WoodMart's product-labels parent, no gallery edits. */
body .wd-product.pcv-hot-sale-enabled > .wd-product-wrapper,
body.single-product.pcv-hot-sale-enabled .woocommerce-product-gallery .wd-gallery-images {
  position: relative;
}
/* WoodMart owns the thumbnail's ::after for its hover layer; a badge there
   may be invisible. Anchor the badge to the outer card instead. */
body .wd-product.pcv-hot-sale-enabled > .wd-product-wrapper::before,
body.single-product.pcv-hot-sale-enabled .woocommerce-product-gallery .wd-gallery-images::after {
  content: 'HOT SALE';
  position: absolute;
  top: 12px;
  left: 12px;
  right: auto;
  bottom: auto;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: max-content;
  max-width: calc(100% - 24px);
  padding: 6px 10px;
  border-radius: 4px;
  background: #07585d;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: .01em;
  pointer-events: none;
}
body .wd-product.pcv-hot-sale-enabled > .wd-product-wrapper::before {
  z-index: 30;
}
@media (max-width: 767px) {
  body .wd-product.pcv-hot-sale-enabled > .wd-product-wrapper::before,
  body.single-product.pcv-hot-sale-enabled .woocommerce-product-gallery .wd-gallery-images::after {
    top: 10px;
    left: 10px;
    padding: 5px 9px;
    font-size: 11px;
  }
}
