.shop-screen {
  padding: var(--space-md);
  min-width: 0;
  max-width: 100%;
}

.shop__section {
  margin-bottom: var(--space-lg);
  min-width: 0;
}

.shop__section-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 900;
  color: #26364f;
  margin-bottom: var(--space-sm);
}

.shop__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-sm);
  min-width: 0;
}

.shop__grid--boosters {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ═══ Item card: emoji, name, price — nothing more ═══ */

.shop-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: var(--space-md) var(--space-sm);
  text-align: center;
  min-width: 0;
  cursor: pointer;
  user-select: none;
}

.shop-card--equipped {
  outline: 3px solid var(--color-success);
  outline-offset: -3px;
}

.shop-card__count {
  position: absolute;
  top: 8px;
  right: 8px;
  font-weight: 900;
}

.shop-card__emoji {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  font-size: 38px;
  line-height: 1;
  border-radius: var(--radius-icon-badge);
  background: var(--gradient-action-alt);
  box-shadow: inset 0 4px 0 rgba(255,255,255,.36), inset 0 -4px 0 rgba(132, 80, 22, .16);
}

.shop-card__swatch {
  display: grid;
  place-items: center;
  width: 100%;
  height: 56px;
  font-size: 30px;
  line-height: 1;
  border-radius: var(--radius-card);
  border: 2px solid rgba(255,255,255,.7);
  box-shadow: inset 0 -4px 0 rgba(36, 51, 70, .12);
}

.shop-card__frame-preview {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 4px;
  font-size: 28px;
  line-height: 1;
  border-radius: 50%;
  background: var(--surface-icon-strong);
}

.shop-card__name {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: var(--text-sm);
  color: #26364f;
  overflow-wrap: anywhere;
}

.shop-card__desc {
  font-size: var(--text-xs);
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

.shop-card__price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 4px 14px;
  border-radius: var(--radius-icon-badge);
  background: rgba(255, 244, 173, .9);
  color: #6c4214;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: var(--text-sm);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.32), inset 0 -3px 0 rgba(114, 73, 21, .12);
}

.shop-card__coin {
  width: 18px;
  height: 18px;
}

.shop-card__state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 4px 14px;
  border-radius: var(--radius-icon-badge);
  background: var(--gradient-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: var(--text-sm);
}

.shop-card__state--equipped {
  background: var(--gradient-success);
}

/* ═══ Purchase confirmation modal ═══ */

.shop-buy {
  display: grid;
  justify-items: center;
  gap: var(--space-sm);
}

.shop-buy__emoji {
  font-size: 44px;
  line-height: 1;
}

.shop-buy__price {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--radius-icon-badge);
  background: rgba(255, 244, 173, .9);
  color: #6c4214;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 900;
}

/* ═══ Tablet (640px+) ═══ */
@media (min-width: 640px) {
  .shop-screen {
    padding: var(--space-lg);
  }

  .shop__grid {
    gap: var(--space-md);
  }

  .shop-card__emoji {
    width: 72px;
    height: 72px;
    font-size: 42px;
  }

  .shop-card__swatch {
    height: 64px;
  }

  .shop-card__name {
    font-size: var(--text-base);
  }
}

/* ═══ Desktop (1024px+) ═══ */
@media (min-width: 1024px) {
  .shop-screen {
    padding: var(--space-xl);
  }

  .shop__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .shop__grid--boosters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
