/* A fixed-size button leaves room for the velvet pouch to fill. */
.commerce-header a.bag-button {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: 3px; min-width: 60px; min-height: 46px; padding: 0 6px;
  overflow: visible; isolation: isolate; border-color: transparent;
  background: radial-gradient(ellipse, #6029564a, transparent 72%); box-shadow: none;
}
.bag-button::before {
  content: ''; width: 39px; height: 42px; flex: none;
  background: url('assets/velvet-wish-pouch.svg') center / contain no-repeat;
  transform-origin: 50% 23%; transform: scale(var(--pouch-width,.64),var(--pouch-height,.81));
  transition: transform 320ms ease-out;
}
.commerce-header .bag-button [data-bag-count] {
  display: inline-block; margin: 0; padding: 0; min-width: 1ch;
  color: #f5dcac; background: none; font: 600 14px/1.2 var(--sans); font-variant-numeric: tabular-nums;
}
@media (prefers-reduced-motion: reduce) {
  .bag-button::before { transition: none; }
}
