/* One count treatment in both Xbau storefront themes. Deliberately excludes
   stock/discount/status labels and editable product quantity controls.
   Existing rules retain each badge's anchor position and hidden/empty state. */
html body .page-header .favorite .favorite-link .counter-wrapper,
html body .page-header .minicart-wrapper .action.showcart .counter.qty,
html body .minicart-wrapper .block.block-minicart .block-title .qty,
html body .xbau-notification-badge,
html body .page-header .bottom-links-wrapper span.xbau-mobile-nav-badge,
html body.xbau-vendor-ui nav #cedheaderitems > li > a .label {
    box-sizing: border-box !important;
    width: 20px !important;
    min-width: 20px !important;
    max-width: 20px !important;
    height: 20px !important;
    min-height: 20px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #1E99A4 !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff;
    font: 500 11px/20px Montserrat, sans-serif !important;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0 !important;
    text-indent: 0 !important;
    text-align: center !important;
    text-shadow: none !important;
    white-space: nowrap !important;
    flex-shrink: 0;
}
html body .page-header .favorite .favorite-link .counter-wrapper .counter-number,
html body .page-header .minicart-wrapper .action.showcart .counter.qty .counter-number {
    font: inherit !important;
    letter-spacing: inherit !important;
    color: inherit !important;
    text-shadow: none !important;
}
/* Centring is applied only when populated, so hidden private-customer shells
   cannot flash empty circles before the customer-data response arrives. */
html body .page-header .favorite .favorite-link .counter-wrapper:not(.empty),
html body .page-header .minicart-wrapper .action.showcart .counter.qty:not(.empty),
html body .minicart-wrapper .block.block-minicart .block-title .qty:not(.empty),
html body .xbau-notification-badge.is-visible:not([hidden]),
html body .page-header .bottom-links-wrapper .xbau-mobile-nav-badge.is-visible:not([hidden]),
html body.xbau-vendor-ui nav #cedheaderitems > li > a .label:not(:empty) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
