/* ═══════════════════════════════════════════════
   Global Life RP — Store
   Extends shared.css. Uses its tokens only.
═══════════════════════════════════════════════ */

.page-store { min-height: 100vh; }

/* ── SALE TICKER ──────────────────────────────── */
.sale-bar {
  background: linear-gradient(90deg,#7d0f08,#d8261a 35%,#d8261a 65%,#7d0f08);
  border-bottom: 1px solid rgba(255,255,255,.28);
  padding: 10px 40px; display: flex; align-items: center; gap: 12px;
  font-size: .82rem; overflow: hidden; white-space: nowrap;
}
.sale-tag {
  font-family: 'Rajdhani', sans-serif; background: #fff; color: #c0261a;
  padding: 2px 12px; border-radius: 100px; font-size: .72rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; flex-shrink: 0;
}
.sale-scroll { overflow: hidden; flex: 1; }
.sale-scroll span {
  display: inline-block; animation: marquee 24s linear infinite;
  color: #fff; font-weight: 600; letter-spacing: 1.5px;
  font-family: 'Rajdhani', sans-serif; font-size: .95rem;
}
@media (max-width: 700px) { .sale-bar { padding: 9px 20px; } }
@media (prefers-reduced-motion: reduce) {
  .sale-scroll span { animation: none; }
}

/* ── HEAD ─────────────────────────────────────── */
.store-head { padding-bottom: 0; }
.store-head .section-desc { margin-bottom: 28px; }

.store-trust { display: flex; flex-wrap: wrap; gap: 10px; }
.store-trust-item {
  font-size: .76rem; letter-spacing: .5px; color: var(--gray-200);
  background: var(--blue-dim); border: 1px solid rgba(36,124,175,.3);
  border-radius: 100px; padding: 6px 14px;
}
.store-trust-item b { color: var(--blue-light); font-weight: 600; }

/* ── TABS ─────────────────────────────────────── */
/* ── TABS ─────────────────────────────────────── */
/* Overrides shared.css .app-tabs — same skeleton, more weight, so the bar
   reads as part of the store rather than a leftover control. */
/* Centred with auto margins on the bar itself, so this works whether or not
   the wrapper div is present. fit-content keeps it hugging its tabs — a plain
   flex box would stretch the full width and there'd be nothing to centre. */
.store-tabs-wrap { display: flex; justify-content: center; }

.store-tabs {
  display: flex; gap: 3px;
  width: fit-content;
  margin: 0 auto 30px;
  background: linear-gradient(180deg, var(--gray-800), var(--gray-900));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 11px; padding: 5px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.store-tabs .app-tab {
  display: flex; align-items: center; gap: 0;
  padding: 10px 20px; border-radius: 7px;
  color: var(--gray-400);
  transition: color .2s, background .2s, box-shadow .2s;
}
.store-tabs .app-tab:hover:not(.active) {
  color: var(--white); background: rgba(255,255,255,.045);
}
.store-tabs .app-tab.active {
  background: linear-gradient(180deg, var(--blue-light), var(--blue));
  color: #fff;
  box-shadow: 0 4px 18px rgba(36,124,175,.45), inset 0 1px 0 rgba(255,255,255,.2);
}

.app-tab-ico { display: flex; width: 18px; height: 18px; flex-shrink: 0; opacity: .8; }
.app-tab-ico svg { width: 100%; height: 100%; }
.store-tabs .app-tab.active .app-tab-ico { opacity: 1; }

.app-tab-sep {
  width: 1px; height: 16px; margin: 0 13px;
  background: currentColor; opacity: .28; flex-shrink: 0;
}

.app-tab-name {
  font-family: 'Rajdhani', sans-serif; font-weight: 700;
  font-size: .96rem; letter-spacing: 1px; white-space: nowrap;
}

@media (max-width: 600px) {
  .store-tabs { width: 100%; }
  .store-tabs-wrap { display: block; }
  .store-tabs .app-tab { flex: 1; justify-content: center; padding: 10px 12px; }
  .app-tab-sep { margin: 0 9px; }
  .app-tab-name { font-size: .86rem; }
}

.store-cat { display: none; }
.store-cat.active { display: block; animation: fadeUp .4s ease both; }
.store-cat-desc { margin: 0 0 26px; }
.store-cat-desc p { margin: 0 0 8px; }
.store-cat-desc p:last-child { margin-bottom: 0; }

/* ── GRID ─────────────────────────────────────── */
.store-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.store-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--gray-800);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px; overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.store-card:hover {
  border-color: rgba(36,124,175,.5);
  transform: translateY(-2px);
}
.store-card.featured { border-color: rgba(36,124,175,.6); }

/* Big art panel with the name banded across the bottom.
   The image is taken out of the flow on purpose: as a flex child it could push
   the panel taller than its aspect-ratio (min-height:auto lets content win),
   which is why the cards' name bands didn't line up. Absolutely positioned, it
   can't affect the box at all — every panel is exactly square, always. */
.store-card-art {
  position: relative; aspect-ratio: 1 / 1;
  background: var(--gray-700);
  overflow: hidden;
}
.store-card-art img { z-index: 1; }
.store-card-art img {
  position: absolute; top: 50%; left: 50%;
  /* --img-scale nudges artwork whose file has more air baked around it than
     its neighbours'. CSS fits to the file's edge, not the coin's. */
  transform: translate(-50%, -56%) scale(var(--img-scale, 1));
  width: auto; height: auto;
  max-width: 74%; max-height: 74%;
  object-fit: contain; display: block;
}

.store-card-name {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  background: rgba(0,0,0,.72);
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 8px 10px 7px; text-align: center;
}
.store-card-rate {
  display: block; margin-top: 2px;
  font-family: 'Share Tech Mono', monospace; font-size: .62rem;
  color: var(--gray-400); letter-spacing: .5px;
}
.store-card-name h3 {
  font-family: 'Rajdhani', sans-serif; font-size: 1.02rem; font-weight: 700;
  letter-spacing: .5px; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Bonus reads as a plain pill now — a diagonal ribbon over the artwork was
   loud and clipped its own text at small sizes. Sale sits opposite it. */
.store-tags {
  position: absolute; top: 10px; right: 10px; z-index: 4;
  display: flex; flex-direction: column; align-items: flex-end; gap: 5px;
  max-width: 46%;
}

/* Left lane. Centring the badge made it run under the bonus pill on a 230px
   card — there was never room for both across one row. Own lane, own space. */
.store-marks {
  position: absolute; top: 10px; left: 10px; z-index: 4;
  display: flex; flex-direction: column; align-items: flex-start; gap: 5px;
  max-width: 50%;
}

.store-tag {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-family: 'Share Tech Mono', monospace;
  font-size: .66rem; font-weight: 700; letter-spacing: .5px;
  padding: 3px 8px; border-radius: 100px; white-space: nowrap;
}
.store-tags .store-tag,
.store-marks .store-tag { position: static; top: auto; left: auto; right: auto; }

.store-tag.sale { background: var(--danger); color: #fff; }
.store-tag.bonus {
  background: rgba(36,124,175,.22);
  border: 1px solid rgba(36,124,175,.6);
  color: var(--blue-light);
  font-family: 'Rajdhani', sans-serif; font-weight: 700;
  font-size: .68rem; letter-spacing: .5px; padding: 3px 9px;
}
.store-tag.sub  {
  background: var(--green-dim); color: #4ade80;
  border: 1px solid rgba(42,99,0,.5);
  text-transform: uppercase; font-size: .6rem;
}
/* Sale sits top-left, Monthly top-right — so this takes the free middle. */
.store-tag.best {
  background: var(--blue); color: #fff;
  font-family: 'Rajdhani', sans-serif; font-weight: 700;
  font-size: .74rem; letter-spacing: .5px;
  padding: 4px 12px;
}

/* Action bar: button left, price chip right. */
.store-card-bar { display: flex; gap: 8px; padding: 10px; align-items: stretch; }

.store-card-bar .store-add {
  flex: 1; justify-content: center; padding: 9px 8px;
  font-size: .76rem; letter-spacing: .5px; white-space: nowrap;
}
.store-add.is-busy { opacity: .55; pointer-events: none; }

.store-card-price {
  display: flex; flex-direction: column; align-items: flex-end; justify-content: center;
  background: rgba(36,124,175,.14);
  border: 1px solid rgba(36,124,175,.45);
  border-radius: 6px; padding: 4px 10px; flex-shrink: 0;
}
.store-price-now {
  font-family: 'Share Tech Mono', monospace; font-size: 1rem;
  color: var(--blue-light);
  line-height: 1.15; white-space: nowrap;
}
.store-price-now em { font-style: normal; font-size: .64rem; color: var(--gray-400); margin-left: 2px; }
.store-price-was {
  font-family: 'Share Tech Mono', monospace; font-size: .68rem;
  color: var(--gray-400); text-decoration: line-through; line-height: 1.15;
}

/* ── EMPTY / ERROR ────────────────────────────── */
.store-empty {
  background: var(--gray-800); border: 1px solid rgba(231,76,60,.25);
  border-radius: 10px; padding: 44px 32px; text-align: center; max-width: 560px; margin: 0 auto;
}
.store-empty h2 { font-family: 'Rajdhani', sans-serif; font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; }
.store-empty p { color: var(--gray-200); font-size: .9rem; line-height: 1.7; margin-bottom: 22px; }

/* ── CART FAB ─────────────────────────────────── */
.store-cart-fab {
  position: fixed; bottom: 26px; right: 26px; z-index: 600;
  display: flex; align-items: center; gap: 8px;
  background: var(--blue); border: none; border-radius: 100px;
  padding: 13px 20px; color: #fff; font-size: 1rem; cursor: pointer;
  box-shadow: 0 6px 24px rgba(36,124,175,.4);
  transition: background .2s, transform .2s;
}
.store-cart-fab:hover { background: var(--blue-light); transform: translateY(-2px); }
.store-cart-count {
  font-family: 'Share Tech Mono', monospace; font-size: .82rem; font-weight: 700;
  background: rgba(0,0,0,.35); border-radius: 100px; padding: 1px 8px; min-width: 22px;
}

/* ── CART PANEL ───────────────────────────────── */
.store-cart {
  position: fixed; top: 0; right: 0; bottom: 0; width: 380px; max-width: 100vw; z-index: 1100;
  background: var(--gray-900); border-left: 1px solid rgba(36,124,175,.25);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .28s ease;
}
.store-cart.open { transform: translateX(0); }

.store-cart-scrim {
  position: fixed; inset: 0; z-index: 1050; background: rgba(0,0,0,.65);
  backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .28s ease;
}
.store-cart-scrim.open { opacity: 1; pointer-events: auto; }

.store-cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px; border-bottom: 1px solid rgba(255,255,255,.07);
}
.store-cart-head h3 { font-family: 'Rajdhani', sans-serif; font-size: 1.25rem; font-weight: 700; letter-spacing: 1px; }
.store-cart-close {
  background: none; border: none; color: var(--gray-400); font-size: 1.05rem;
  cursor: pointer; padding: 4px 8px; transition: color .2s;
}
.store-cart-close:hover { color: var(--white); }

.store-cart-items { flex: 1; overflow-y: auto; padding: 16px 22px; }
.store-cart-items::-webkit-scrollbar { width: 3px; }
.store-cart-items::-webkit-scrollbar-thumb { background: rgba(36,124,175,.3); border-radius: 2px; }
.store-cart-empty { color: var(--gray-400); font-size: .86rem; line-height: 1.7; padding: 22px 0; }

.store-line {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06);
}
.store-line:last-child { border-bottom: none; }
.store-line img { width: 52px; height: 52px; border-radius: 6px; object-fit: cover; flex-shrink: 0; background: var(--gray-700); }
.store-line-info { flex: 1; min-width: 0; }
.store-line-info h4 { font-family: 'Rajdhani', sans-serif; font-size: .96rem; font-weight: 600; line-height: 1.3; margin-bottom: 3px; }
.store-line-meta { font-family: 'Share Tech Mono', monospace; font-size: .76rem; color: var(--gray-400); }
.store-line-price { font-family: 'Share Tech Mono', monospace; font-size: .9rem; color: var(--blue); white-space: nowrap; }
.store-line-qty {
  display: inline-flex; align-items: center; margin-top: 6px;
  border: 1px solid rgba(255,255,255,.1); border-radius: 5px;
  background: var(--gray-700); overflow: hidden;
}
.store-line-qty button {
  width: 24px; height: 26px; border: none; background: none; cursor: pointer;
  color: var(--gray-200); font-size: .9rem; line-height: 1;
  transition: color .15s, background .15s;
}
.store-line-qty button:hover:not(:disabled) { color: var(--white); background: rgba(36,124,175,.15); }
.store-line-qty button:disabled { opacity: .3; cursor: not-allowed; }
.store-line-qty span {
  min-width: 24px; text-align: center;
  font-family: 'Share Tech Mono', monospace; font-size: .78rem; color: var(--white);
}
.store-line.busy { opacity: .5; pointer-events: none; }

.store-line-rm {
  background: none; border: none; color: var(--gray-400); font-size: .72rem; cursor: pointer;
  padding: 3px 0; margin-top: 4px; transition: color .2s; display: block;
}
.store-line-rm:hover { color: var(--danger); }

.store-cart-foot { padding: 18px 22px 22px; border-top: 1px solid rgba(255,255,255,.07); }
.store-cart-total {
  display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px;
}
.store-cart-total span { font-size: .74rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gray-400); }
.store-cart-total strong { font-family: 'Share Tech Mono', monospace; font-size: 1.4rem; color: var(--blue); font-weight: 400; }
.store-checkout { width: 100%; justify-content: center; padding: 13px; }
.store-checkout:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.store-cart-note { font-size: .74rem; color: var(--gray-400); line-height: 1.6; margin-top: 11px; text-align: center; }
.store-cart-note.err { color: #f87171; }

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 1100px) { .store-grid { grid-template-columns: repeat(3, 1fr); } }

@media (max-width: 900px) {
  .store-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .store-cart { width: 100%; }
  .store-cart-fab { bottom: 18px; right: 18px; }
}
@media (max-width: 500px) {
  .store-grid { grid-template-columns: repeat(2, 1fr); }
  .store-card-bar { flex-direction: column; gap: 6px; padding: 8px; }
  .store-card-price { align-items: center; padding: 3px 8px; }
  .store-card-name h3 { font-size: .88rem; }
}

/* ── A11Y ─────────────────────────────────────── */
.store-add:focus-visible,
.store-cart-fab:focus-visible,
.store-checkout:focus-visible,
.store-line-rm:focus-visible,
.app-tab:focus-visible {
  outline: 2px solid var(--blue-light); outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .store-cat.active { animation: none; }
  .store-card:hover, .store-cart-fab:hover { transform: none; }
  .store-cart, .store-cart-scrim { transition: none; }
}

/* ── BEFORE CHECKOUT ──────────────────────────── */
.store-confirm-scrim {
  position: fixed; inset: 0; z-index: 1300; background: rgba(0,0,0,.8);
  backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .28s ease;
}
.store-confirm-scrim.open { opacity: 1; pointer-events: auto; }

.store-confirm {
  position: fixed; top: 50%; left: 50%; z-index: 1350;
  width: 400px; max-width: calc(100vw - 32px);
  transform: translate(-50%, -46%);
  background: var(--gray-800); border: 1px solid rgba(36,124,175,.35);
  border-radius: 12px; padding: 30px 28px 24px; text-align: center;
  box-shadow: 0 24px 70px rgba(0,0,0,.7);
  opacity: 0; pointer-events: none;
  transition: opacity .28s ease, transform .28s ease;
}
.store-confirm[hidden] { display: none; }
.store-confirm.open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }

.store-confirm-mark {
  width: 48px; height: 48px; margin: 0 auto 16px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--blue-dim); border: 1px solid rgba(36,124,175,.45); color: var(--blue-light);
}
.store-confirm-mark svg { width: 24px; height: 24px; }

.store-confirm h2 {
  font-family: 'Rajdhani', sans-serif; font-size: 1.4rem; font-weight: 700;
  letter-spacing: .5px; margin-bottom: 8px;
}
.store-confirm-sub {
  font-size: .86rem; color: var(--gray-200); line-height: 1.7; margin-bottom: 22px;
}

.store-confirm-actions { display: flex; gap: 8px; }
.store-confirm-actions .btn-primary { flex: 1; justify-content: center; padding: 11px; }
.store-confirm-back {
  background: none; border: 1px solid rgba(255,255,255,.12); border-radius: 6px;
  color: var(--gray-200); font-family: 'Exo 2', sans-serif; font-size: .82rem;
  padding: 11px 16px; cursor: pointer; flex-shrink: 0;
  transition: color .2s, border-color .2s;
}
.store-confirm-back:hover { color: var(--white); border-color: rgba(255,255,255,.3); }

@media (prefers-reduced-motion: reduce) {
  .store-confirm, .store-confirm-scrim { transition: none; }
  .store-confirm.open { transform: translate(-50%, -50%); }
}

/* ── PACKAGE MODAL ────────────────────────────── */
.store-card-art { cursor: pointer; }
.store-card-art:focus-visible { outline: 2px solid var(--blue-light); outline-offset: -2px; }

.store-modal-scrim {
  position: fixed; inset: 0; z-index: 1200; background: rgba(0,0,0,.78);
  backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.store-modal-scrim.open { opacity: 1; pointer-events: auto; }

.store-modal {
  position: fixed; top: 50%; left: 50%; z-index: 1250;
  width: 440px; max-width: calc(100vw - 32px); max-height: calc(100vh - 48px);
  overflow-y: auto;
  transform: translate(-50%, -46%);
  background: var(--gray-800); border: 1px solid rgba(36,124,175,.3);
  border-radius: 12px; overflow-x: hidden;
  box-shadow: 0 24px 70px rgba(0,0,0,.65);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.store-modal[hidden] { display: none; }
.store-modal.open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }

.store-modal-close {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.12);
  color: var(--gray-200); font-size: .8rem; cursor: pointer;
  transition: color .2s, background .2s;
}
.store-modal-close:hover { color: var(--white); background: rgba(0,0,0,.9); }

.store-modal-art {
  position: relative; aspect-ratio: 16 / 10; background: var(--gray-700);
  overflow: hidden;
}
.store-modal-art img {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: auto; height: auto;
  max-width: 46%; max-height: 78%;
  object-fit: contain; display: block;
}

.store-modal-body { padding: 20px 22px 12px; }
.store-modal-body h2 {
  font-family: 'Rajdhani', sans-serif; font-size: 1.5rem; font-weight: 700;
  letter-spacing: .5px; margin-bottom: 12px;
}

.store-modal-desc { font-size: .87rem; color: var(--gray-200); line-height: 1.7; }
.store-modal-desc p { margin: 0 0 10px; }
.store-modal-desc p:last-child { margin-bottom: 0; }
.store-modal-desc ul, .store-modal-desc ol { margin: 0 0 10px; padding-left: 20px; }
.store-modal-desc li { margin-bottom: 4px; }
.store-modal-desc h3, .store-modal-desc h4 {
  font-family: 'Rajdhani', sans-serif; color: var(--white);
  font-size: 1rem; font-weight: 600; margin: 14px 0 6px;
}
.store-modal-desc strong, .store-modal-desc b { color: var(--white); font-weight: 600; }
.store-modal-desc.empty { color: var(--gray-400); font-style: italic; }

.store-modal-bar { padding: 18px 0 8px; }
.store-modal-bar .store-add { padding: 12px 8px; font-size: .82rem; }
.store-modal-bar .store-price-now { font-size: 1.15rem; }

@media (max-width: 500px) {
  .store-modal-body { padding: 16px 16px 10px; }
  .store-modal-bar { flex-direction: row; }
}
@media (prefers-reduced-motion: reduce) {
  .store-modal, .store-modal-scrim { transition: none; }
  .store-modal.open { transform: translate(-50%, -50%); }
}

/* ── RECEIPT ──────────────────────────────────── */
.store-receipt-scrim {
  position: fixed; inset: 0; z-index: 1200; background: rgba(0,0,0,.78);
  backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.store-receipt-scrim.open { opacity: 1; pointer-events: auto; }

.store-receipt {
  position: fixed; top: 50%; left: 50%; z-index: 1250;
  width: 420px; max-width: calc(100vw - 32px); max-height: calc(100vh - 48px);
  overflow-y: auto;
  transform: translate(-50%, -46%);
  background: var(--gray-800);
  border: 1px solid rgba(42,99,0,.5);
  border-radius: 12px; padding: 34px 30px 26px; text-align: center;
  box-shadow: 0 24px 70px rgba(0,0,0,.65);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.store-receipt[hidden] { display: none; }
.store-receipt.open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }

.store-receipt-mark {
  width: 54px; height: 54px; margin: 0 auto 18px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--green-dim); border: 1px solid rgba(42,99,0,.6); color: #4ade80;
}
.store-receipt-mark svg { width: 26px; height: 26px; }

.store-receipt h2 {
  font-family: 'Rajdhani', sans-serif; font-size: 1.7rem; font-weight: 700;
  letter-spacing: .5px; margin-bottom: 8px;
}
.store-receipt-sub {
  font-size: .87rem; color: var(--gray-200); line-height: 1.65; margin-bottom: 24px;
}

.store-receipt-rows { text-align: left; margin-bottom: 18px; }
.store-receipt-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.06);
}
.store-receipt-row dt {
  font-size: .68rem; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--gray-400); font-weight: 600; flex-shrink: 0;
}
.store-receipt-row dd {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Share Tech Mono', monospace; font-size: .9rem; color: var(--white);
  min-width: 0;
}
.store-receipt-row code {
  font-family: 'Share Tech Mono', monospace; font-size: .82rem; color: var(--blue-light);
  background: var(--blue-dim); border: 1px solid rgba(36,124,175,.3);
  border-radius: 4px; padding: 3px 9px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.store-receipt-copy {
  background: none; border: 1px solid rgba(255,255,255,.12); border-radius: 4px;
  color: var(--gray-400); font-family: 'Exo 2', sans-serif; font-size: .68rem;
  letter-spacing: .5px; padding: 4px 9px; cursor: pointer; flex-shrink: 0;
  transition: color .2s, border-color .2s;
}
.store-receipt-copy:hover { color: var(--white); border-color: rgba(255,255,255,.3); }
.store-receipt-copy.done { color: #4ade80; border-color: rgba(42,99,0,.6); }

.store-receipt-items { list-style: none; text-align: left; margin: 0 0 22px; padding: 0; }
.store-receipt-items li {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: .84rem; color: var(--gray-200); padding: 5px 0;
}
.store-receipt-items li span:last-child {
  font-family: 'Share Tech Mono', monospace; color: var(--gray-400); flex-shrink: 0;
}

.store-receipt-done { width: 100%; justify-content: center; padding: 12px; }
.store-receipt-note {
  font-size: .73rem; color: var(--gray-400); line-height: 1.6; margin-top: 13px;
}

@media (max-width: 500px) {
  .store-receipt { padding: 28px 20px 22px; }
  .store-receipt-row { flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .store-receipt, .store-receipt-scrim { transition: none; }
  .store-receipt.open { transform: translate(-50%, -50%); }
}
