/* Anchor the counter to the graphic rather than the larger mobile tap target. */
.header-tools .hd-cart-symbol {
  position: relative;
  display: inline-grid;
  flex: none;
  line-height: 0;
}
.header-tools .hd-cart-symbol > img { display: block; }
.header-tools .hd-cart-symbol > .hd-cart-badge {
  position: absolute;
  inset: -4px auto auto calc(100% - 5px);
  z-index: 1;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  min-width: 11px;
  height: 12px;
  padding: 0 2px;
  border-radius: 6px;
  background: #f5f1eb;
  color: #564c49;
  box-shadow: none;
  font: 500 10px/12px "DM Sans", sans-serif;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.header-tools .hd-cart-symbol > .hd-cart-badge[hidden] { display: none; }
.hd-cart-flight {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 13px;
  height: 16px;
  box-sizing: border-box;
  border: 1px solid #a36b53;
  border-radius: 2px;
  background: #f6e8dc;
  box-shadow: inset 0 0 0 2px #fff8f1, 0 1px 3px #49342b25;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .hd-cart-flight { display: none; }
}
