/* Count badges only: keep the accepted header tracks and control geometry. */
.storefront #count,
.storefront #favorite-count,
.storefront .mobile-shop-nav #mobile-cart-count,
.storefront .mobile-shop-nav #mobile-favorite-count {
  display:inline-grid;
  place-items:center;
  box-sizing:border-box;
  width:max-content;
  min-width:16px;
  height:16px;
  padding:0 4px;
  border:0;
  border-radius:20px;
  background:#fd7707;
  color:#24272b;
  font-size:10px;
  font-weight:700;
  font-variant-numeric:tabular-nums;
  line-height:1;
  white-space:nowrap;
  text-align:center;
}
.storefront .mobile-shop-nav #mobile-cart-count,
.storefront .mobile-shop-nav #mobile-favorite-count {
  min-width:18px;
  height:18px;
  margin-left:3px;
  vertical-align:middle;
}
@media(max-width:767px) {
  .storefront #count,
  .storefront #favorite-count {
    min-width:14px;
    height:14px;
    font-size:9px;
  }
}
/* The HTML hidden state must win over grid and prior nonempty-badge styles. */
.storefront #count[hidden],
.storefront #favorite-count[hidden],
.storefront #mobile-cart-count[hidden],
.storefront #mobile-favorite-count[hidden] {
  display:none!important;
}
