/*----------------------------------------
Cart styles
The cart sidebar skeleton lives in styles.css; this file adds the optional
header cart-count badge used by js/cart.js.
----------------------------------------*/

[data-cart-count] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 50px;
  background: var(--accent-color);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

/* Keep add-to-cart feedback buttons readable when toggled to success */
.add-to-cart-btn.btn-success {
  background: #28a745 !important;
  border-color: #28a745 !important;
  color: #fff !important;
}
