.shop-summary-card {
  position: relative;
  overflow: hidden;
}

.shop-summary-card::after {
  content: '';
  position: absolute;
  right: -40px;
  top: -50px;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 122, 26, .22), transparent 68%);
  pointer-events: none;
}

.shop-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.shop-mini-stat {
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .045);
  border-radius: 16px;
  padding: 10px;
}

.shop-mini-stat strong {
  display: block;
  font-size: 18px;
  line-height: 1.1;
}

.shop-mini-stat small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.shop-tabs,
.shop-filter-row,
.shop-availability-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.shop-tabs::-webkit-scrollbar,
.shop-filter-row::-webkit-scrollbar,
.shop-availability-row::-webkit-scrollbar {
  display: none;
}

.shop-tabs button,
.shop-filter-row button,
.shop-availability-row button {
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .055);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 13px;
  white-space: nowrap;
  font-weight: 700;
  font-size: 13px;
}

.shop-tabs button.active,
.shop-filter-row button.active,
.shop-availability-row button.active {
  border-color: rgba(255, 122, 26, .55);
  background: linear-gradient(135deg, rgba(255, 122, 26, .28), rgba(180, 92, 255, .18));
  box-shadow: 0 0 22px rgba(255, 122, 26, .12);
}

.shop-section {
  display: grid;
  gap: 12px;
}

.shop-item-card,
.shop-order-card {
  position: relative;
  overflow: hidden;
}

.shop-item-card.available {
  border-color: rgba(53, 208, 127, .22);
}

.shop-item-card.locked {
  opacity: .76;
}

.shop-card-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 10px 0;
}

.shop-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .06);
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.shop-badge.ok {
  color: #adffd1;
  border-color: rgba(53, 208, 127, .24);
  background: rgba(53, 208, 127, .08);
}

.shop-badge.no {
  color: #ffb9b9;
  border-color: rgba(255, 77, 77, .22);
  background: rgba(255, 77, 77, .08);
}

.shop-buy-button,
.shop-action-button {
  min-height: 42px;
}

.shop-buy-button[disabled] {
  opacity: .58;
}

.shop-order-card.done {
  border-color: rgba(53, 208, 127, .18);
}

.shop-order-card.rejected {
  border-color: rgba(255, 77, 77, .18);
}

.shop-order-status-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

.shop-order-status-line .pill {
  flex: 0 0 auto;
}

.shop-history-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.shop-empty {
  padding: 18px;
  text-align: center;
  color: var(--muted);
}
