/* Label Module CSS */

/* Premium label - appears on top of the entire product card */
.premiumLabel {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  text-align: center;
}

.labelPremium {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.5);
  border: 2px solid #fff;
  letter-spacing: 0.8px;
  display: inline-block;
  position: relative;
  white-space: nowrap;
}

.labelPremium::before {
  content: '★';
  margin-right: 6px;
  color: #ff6b35;
  font-size: 12px;
}

.labelPremium::after {
  content: '★';
  margin-left: 6px;
  color: #ff6b35;
  font-size: 12px;
}

/* Label block for other labels */
.labelBlock {
  position: relative;
  z-index: 1;
}

/* New label */
.label3 {
  border-radius: 100%;
  background-color: var(--theme-deafult);
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  position: absolute;
  padding: 12px 6px;
  text-transform: uppercase;
  color: #fff;
  top: 7px;
  left: 7px;
  z-index: 1;
}

/* On-sale label */
.label4 {
  position: absolute;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(-180deg);
  top: 7px;
  right: 7px;
  letter-spacing: 0.1em;
  z-index: 1;
  cursor: default;
}

/* Out of stock label */
.outOfStockLabel {
  position: absolute;
  left: 25%;
  top: 50%;
  z-index: 1;
}

.outOfStockText {
  padding: 0.5rem 1rem;
  text-transform: uppercase;
  background-color: #dc3545;
  color: #fff;
}

/* Quantity hint - simple red text with alert icon */
.quantityHint {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  text-align: center;
}

.quantityHintText {
  color: #dc3545;
  font-size: 10px;
  font-weight: 500;
  display: inline-block;
}
