.main-image:has(> .sold-out-photo-label),
.recent-card-photo:has(> .sold-out-photo-label) {
  position: relative;
}

.recent-card-photo:has(> .sold-out-photo-label) {
  border-radius: 8px;
  overflow: hidden;
}

.sold-out-photo-label {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  background: rgb(0 0 0 / 58%);
  color: #fff;
  font-size: clamp(1rem, 4.6vw, 1.5rem);
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  pointer-events: none;
}
