.shop-counter {
  --counter-accent: #a6cfab;
  width: min(28rem, calc(100vw - 1.5rem));
  max-height: 90dvh;
  overflow: auto;
  margin: auto;
  padding: clamp(1.1rem, 4vw, 2rem);
  border: 1px solid #8da99a;
  border-top: 5px solid var(--counter-accent);
  border-radius: 15px;
  color: var(--cream);
  background: #153b34;
  box-shadow: 0 18px 60px #061c18a6;
}
.shop-counter[data-shop="cafe"] { --counter-accent: #e7ba82; background: #3d3931; }
.shop-counter[data-shop="records"] { --counter-accent: #e3a8a3; background: #393443; }
.shop-counter::backdrop { background: #071d1ac9; }
.shop-counter h2 { margin: 0 0 .6rem; font: 900 clamp(1.9rem, 6vw, 2.65rem)/.99 var(--display-font); }
.shop-counter h2:focus { outline: none; }
.counter-description, .counter-message { color: var(--muted); font-size: .94rem; line-height: 1.44; }
.counter-description { margin: 0 0 1.25rem; }
.counter-product, .counter-totals > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.counter-product { border-top: 1px solid #ffffff35; border-bottom: 1px solid #ffffff35; padding: .9rem 0; }
.counter-product strong { font-size: 1.1rem; }
.counter-product span { color: var(--counter-accent); font-weight: 800; white-space: nowrap; }
.counter-totals { margin: .85rem 0; }
.counter-totals > div + div { margin-top: .35rem; }
.counter-totals dt { color: var(--muted); }
.counter-totals dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; }
.counter-message { margin: .85rem 0; }
.counter-message:empty { display: none; }
.counter-actions { display: grid; gap: .65rem; margin-top: 1.15rem; }
.counter-actions .primary-button, .counter-actions .secondary-button { width: 100%; }
.counter-actions .primary-button:disabled { opacity: .52; cursor: default; box-shadow: none; transform: none; }
.counter-gear { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:12px 0; }
.counter-gear small { display:block; font-size:11px; color:var(--muted); }
.counter-gear button { background:#193f3f; color:var(--cream); border:1px solid var(--border); border-radius:6px; padding:8px; }
.counter-gear button:disabled { opacity:.55; }
