/* Tier discount hint in cart, checkout and mini cart: the warm promotion tone with a deep green edge,
   bold amounts, the code as a tag and a progress bar. Flat by design (DESIGN.md: no shadows). */
.hps-tier-hint {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
  padding: 14px 16px 14px 14px;
  border-inline-start: 4px solid #02261E;
  background: #E3D3BE;
  color: #02261E;
  font-size: 15px;
  line-height: 1.45;
  text-align: start;
}
.hps-tier-hint p { margin: 0; color: inherit; font: inherit; }
.hps-tier-hint strong { font-weight: 700; font-variant-numeric: tabular-nums; }
.hps-tier-hint__code {
  display: inline-block;
  padding: 1px 7px;
  outline: 1px solid #02261E;
  border: 1px dashed #E3D3BE;
  background: #02261E;
  color: #E3D3BE;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.5;
  white-space: nowrap;
}
.hps-tier-hint__bar {
  display: block;
  height: 6px;
  background: color-mix(in srgb, #02261E 16%, #E3D3BE);
}
.hps-tier-hint__bar > span { display: block; height: 100%; max-width: 100%; background: #02261E; }

/* Inside the cart/checkout tables the box replaces the plain row. */
.hps-tier-coupon > td { padding-inline: 0 !important; border: 0 !important; }
.hps-tier-coupon .hps-tier-hint { margin: 4px 0 8px; }
.woocommerce-mini-cart__total + .hps-tier-hint, .widget_shopping_cart .hps-tier-hint { margin: 12px 0; font-size: 14px; }
