
/* Positioning wrapper for overlay on product images/cards */
.wbf-badge-wrapper {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 9; /* above typical overlays */
  pointer-events: none; /* keep product cards clickable */
}

/* Single product page tweak (slightly more spacing) */
.single-product .wbf-badge-wrapper {
  top: 12px;
  left: 12px;
}

/* The badge itself */
.wbf-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.6rem; /* ~4px 10px */
  border-radius: 999px; /* pill */
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  color: #ffffff;
  background: linear-gradient(180deg, #161616 0%, #0a0a0a 100%);
  border: 1px solid #ff3f48; /* accent edge */
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 2px 6px rgba(0, 0, 0, 0.35),
    0 0 14px rgba(255, 63, 72, 0.35); /* subtle glow */
}

.product-label.wbf-badge {
  color: #ffffff;
  background: linear-gradient(180deg, #161616 0%, #0a0a0a 100%);
  border: 1px solid #ff3f48;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 2px 6px rgba(0, 0, 0, 0.35),
    0 0 14px rgba(255, 63, 72, 0.35);
}

/* Context-specific accenting if desired later */
.wbf-badge-black-friday {
  /* reserved for future theme-specific tweaks */
}

/* Ensure good appearance on small screens */
@media (max-width: 480px) {
  .wbf-badge {
    font-size: 10px;
    padding: 0.22rem 0.5rem;
  }
  .wbf-badge-wrapper {
    top: 6px;
    left: 6px;
  }
}
