.hupsa-product-label {
  display: block;
  pointer-events: none;
  position: absolute;
  transform: scale(var(--hupsa-label-scale, 1));
  z-index: 5;
}
.hupsa-product-label--upper-left { left: 10px; top: var(--hupsa-label-offset, 10px); transform-origin: left top; }
.hupsa-product-label--upper-right { right: 10px; top: var(--hupsa-label-offset, 10px); transform-origin: right top; }
.hupsa-product-label--bottom-left { bottom: var(--hupsa-label-offset, 10px); left: 10px; transform-origin: left bottom; }
.hupsa-product-label--bottom-right { bottom: var(--hupsa-label-offset, 10px); right: 10px; transform-origin: right bottom; }
.hupsa-product-label__inner {
  background: var(--hupsa-label-bg, #f0d9cc);
  border: 1px solid color-mix(in srgb, var(--hupsa-label-color, #171713) 12%, transparent);
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(23, 23, 19, .08);
  color: var(--hupsa-label-color, #171713);
  display: inline-block;
  font-size: var(--hupsa-label-font-size, 12px);
  font-weight: var(--hupsa-label-font-weight, 500);
  letter-spacing: .055em;
  line-height: var(--hupsa-label-line-height, 1.2);
  min-width: var(--hupsa-label-min-width, auto);
  padding: var(--hupsa-label-pad, 4px 8px);
  text-align: var(--hupsa-label-align, left);
  text-transform: uppercase;
  white-space: nowrap;
}
.hupsa-product-label__inner p { display: inline; margin: 0; }

@media (max-width: 767px) {
  .hupsa-product-label { transform: scale(var(--hupsa-label-mobile-scale, .9)); }
  .hupsa-product-label--upper-left,
  .hupsa-product-label--bottom-left { left: 8px; }
  .hupsa-product-label--upper-right,
  .hupsa-product-label--bottom-right { right: 8px; }
}

@media (min-width: 992px) {
  .product-details-wrapper .hupsa-product-label { position: absolute; }
}

/* iOS Safari can composite archive wishlist buttons above YITH's fixed modal. */
@media (max-width: 992px) {
  body.yith-wcan-preset-modal-open ul.products li.product .commercekit-wishlist.mini {
    display: none !important;
    pointer-events: none !important;
  }
}
