/* Woo Stock Battery Indicator */
.wsbi {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .3px;
  border: 1px solid rgba(0,0,0,.12);
}

.wsbi-battery {
  position: relative;
  width: 38px;
  height: 14px;
  border-radius: 4px;
  border: 2px solid currentColor;
  box-sizing: border-box;
  display: inline-block;
}

.wsbi-battery::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 3px;
  width: 4px;
  height: 6px;
  border-radius: 2px;
  background: currentColor;
}

.wsbi-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  border-radius: 2px;
  background: currentColor;
  opacity: .9;
}

/* Color levels */
.wsbi-green  { color: #148a3b; background: rgba(20,138,59,.10); }
.wsbi-yellow { color: #a88300; background: rgba(168,131,0,.12); }
.wsbi-orange { color: #b85c00; background: rgba(184,92,0,.12); }
.wsbi-red    { color: #b3261e; background: rgba(179,38,30,.10); }

/* Reduce theme interference */
.stock.wsbi-wrap { background: transparent !important; padding: 0 !important; border: 0 !important; }

/* On variable products, hide the default Woo/theme stock pill to avoid double display */
.single-product .product.product-type-variable .stock,
.single-product .product.product-type-variable p.stock {
  display: none !important;
}

.wsbi-holder { margin: 0 0 10px 0; }


.wsbi-below-price {
  margin: 8px 0 14px 0;
}
