.screen--shop {
  justify-content: flex-start;
  background: linear-gradient(180deg, #0f2236 0%, #16324a 100%);
  padding-top: calc(20px + env(safe-area-inset-top));
}

.shop__header {
  width: 100%;
  max-width: 520px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.shop__back {
  padding: 9px 14px;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  background: var(--card);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.shop__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.shop__currency {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 99px;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--sun);
  background: var(--card);
  border: 1px solid var(--card-border);
}

.shop__tabs {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.shop__tab {
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 1px solid var(--card-border);
  border-radius: 99px;
  background: var(--card);
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.shop__tab--active {
  color: var(--ink);
  background: linear-gradient(150deg, var(--sun), var(--sun-deep));
  border-color: transparent;
}

.shop__grid {
  width: 100%;
  max-width: 520px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
}

.shop__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 12px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--card-border);
}

.shop__item--equipped {
  border-color: var(--sun);
}

.shop__swatch {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.25), 0 4px 12px rgba(0, 0, 0, 0.25);
}

.shop__name {
  font-size: 14px;
  font-weight: 600;
}

.shop__action {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 0;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.shop__action--buy {
  color: var(--ink);
  background: linear-gradient(150deg, var(--sun), var(--sun-deep));
}

.shop__action:disabled {
  opacity: 0.45;
  cursor: default;
}

.shop__action--equipped {
  color: var(--sun);
  background: rgba(255, 210, 74, 0.16);
}

.shop__action--equipped:disabled {
  opacity: 1;
}
