.productpvp-price-and-discount {
  display: block;
  clear: both;
  margin-top: 0.2rem;
}

.productpvp-reference-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
}

.productpvp-saving {
  color: var(--om-green-deep, #2b3714);
  font-size: 0.8125rem;
  white-space: nowrap;
}

.productpvp-reference-label {
  color: #6c757d;
  font-size: 0.8125rem;
}

.productpvp-reference-price {
  color: #6c757d;
  font-size: 0.9em;
  text-decoration: line-through;
}

.productpvp-discount-badge {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  background: #d91635;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

.productpvp-discount-badge.productpvp-image-badge {
  position: absolute;
  z-index: 5;
  top: 0.75rem;
  left: 0.75rem;
  margin: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.productpvp-image-badge-container {
  position: relative;
}

/* Outletmor v4 skin: reuse its bright-lime sale pill on product cards. */
.outletmor-card__media .productpvp-image-badge {
  top: 0.8rem;
  right: auto;
  left: 0.8rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--om-lime, #a7ff4f);
  color: var(--om-green-deep, #2b3714);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  box-shadow: var(--om-shadow-soft, 0 8px 26px rgba(31, 38, 15, 0.1));
}

.outletmor-card__media:has(.productpvp-image-badge) .outletmor-card__badge--sale {
  display: none;
}

/* The theme uses a large lime circle on the detail gallery; match that shape. */
.outletmor-gallery .productpvp-image-badge {
  top: auto;
  right: clamp(1rem, 3vw, 2.75rem);
  bottom: clamp(1rem, 3vw, 2.75rem);
  left: auto;
  display: grid;
  place-items: center;
  width: clamp(4.75rem, 13vw, 7.5rem);
  aspect-ratio: 1;
  padding: 0;
  border-radius: 50%;
  background: var(--om-lime, #a7ff4f);
  color: var(--om-green-deep, #2b3714);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  box-shadow: none;
}

.outletmor-gallery:has(.productpvp-image-badge) .outletmor-cover-discount {
  display: none;
}

@media (max-width: 640px) {
  .outletmor-gallery .productpvp-image-badge {
    right: 1rem;
    bottom: 2.4rem;
    width: clamp(4rem, 21vw, 5.25rem);
    font-size: clamp(1.1rem, 4.6vw, 1.45rem);
  }
}

.outletmor-price .productpvp-reference-row {
  flex: 0 0 100%;
  margin-top: 0.15rem;
  font-size: 0.8rem;
}
