/* Ensure the container is positioned for the overlay */
.pbmit-featured-wrapper {
  position: relative;
}

/* Overlay only on the image */
.pbmit-stock-status-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 10, 10, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
}

/* Status label with bars */
.pbmit-stock-status-label {
  position: relative;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 10px 20px;
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
  border-radius: 6px;
  pointer-events: none;
  font-family: var(--pbmit-heading-typography-font-family);
}

.pbmit-stock-status-label::before,
.pbmit-stock-status-label::after {
  content: "";
  display: block;
  height: 3px;
  width: 100%;
  background-color: currentColor;
  position: absolute;
  left: 0;
}

.pbmit-stock-status-label::before {
  top: -8px;
}

.pbmit-stock-status-label::after {
  bottom: -8px;
}

/* Status type colors */
.status-out {
  color: #ff4d4f;
}

.status-discontinued {
  color: #faad14;
}

.status-limited {
  color: #1890ff;
}
