/* ew_scarcity — badge "Solo N rimanenti" */

/* Scheda prodotto: #product-availability (product-add-to-cart.tpl) */
#product-availability.ew-low {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fffaf2;
  border: 1px solid #f6d9b0;
  color: #c2864a;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
}

/* Elenco prodotti: etichetta sull'immagine, in basso a destra (miniatures/product.tpl) */
.ew-low-flag {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #fffaf2;
  border: 1px solid #f6d9b0;
  color: #c2864a;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}

#product-availability.ew-low::before,
.ew-low-flag::before {
  content: "";
  flex: 0 0 auto;
  border-radius: 50%;
  background: #f0b37a;
}
#product-availability.ew-low::before { width: 7px; height: 7px; }
.ew-low-flag::before { width: 6px; height: 6px; }
