/* Standalone shortcut; no dependency on a page's navigation or icon fonts. */
#apparel-cart-indicator {
  position: fixed;
  z-index: 1040;
  left: max(12px, env(safe-area-inset-left));
  bottom: max(12px, env(safe-area-inset-bottom));
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  max-width: calc(100vw - 24px);
  padding: 8px 12px;
  border: 1px solid #ffd700;
  border-radius: 24px;
  background: #171044;
  color: #fff;
  font: 700 14px/1.2 Arial, sans-serif;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .3);
}
#apparel-cart-indicator .apparel-cart-icon {
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
#apparel-cart-indicator .apparel-cart-count {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 24px;
  min-height: 24px;
  padding: 2px 5px;
  box-sizing: border-box;
  border-radius: 14px;
  background: #ffd700;
  color: #171044;
  overflow-wrap: anywhere;
}
#apparel-cart-indicator:hover { color: #fff; background: #2a2066; text-decoration: none; }
#apparel-cart-indicator:focus { outline: 3px solid #e86130; outline-offset: 3px; }
#apparel-cart-indicator[hidden] { display: none !important; }
/* Calendar's asynchronous purchase bar can wrap to different heights. */
#apparel-cart-indicator.apparel-cart-calendar { bottom: calc(var(--apparel-cart-bottom, 12px) + env(safe-area-inset-bottom)); }
/* Keep menu actions reachable until the calendar removes .open after closing.
   The class is maintained by JS for browsers that do not support :has(). */
#apparel-cart-indicator.apparel-cart-calendar-menu-open { visibility: hidden; pointer-events: none; }
body:has(#site-header #mobile-nav.open) #apparel-cart-indicator.apparel-cart-calendar {
  visibility: hidden;
  pointer-events: none;
}
/* Bootstrap suppression also works in browsers without :has(). */
body.modal-open #apparel-cart-indicator { visibility: hidden; pointer-events: none; }
/* Modern browsers also cover native and other explicitly modal dialogs. */
body:has(.modal.show) #apparel-cart-indicator,
body:has(dialog[open]) #apparel-cart-indicator,
body:has([role="dialog"][aria-modal="true"]) #apparel-cart-indicator {
  visibility: hidden;
  pointer-events: none;
}
