/* ==========================================================================
SHOP.CSS — страница магазина наград
========================================================================== */

.shop-page {
  min-height: 100vh;
  background: var(--color-bg-alt);
}

.shop-shell {
  padding: 40px 0 72px;
}

.shop-demo-note {
  margin: 14px 0 0;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.1);
  color: var(--color-text);
  font-size: 13px;
  line-height: 1.6;
}

.shop-balance {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  margin: 24px 0 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  flex-wrap: wrap;
}

.shop-balance__plan {
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-text-muted);
}

.shop-balance__avatar {
  width: 56px;
  height: 56px;
  font-size: 20px;
}

.shop-balance__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.shop-balance__amount {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 800;
  color: var(--color-text);
}

.shop-balance__amount svg {
  width: 22px;
  height: 22px;
  color: #d4af37;
}

.shop-section-title {
  font-size: 17px;
  margin: 32px 0 14px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.shop-grid + .shop-section-title {
  margin-top: 8px;
}

.shop-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 24px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  height: 100%;
}

.shop-item__preview {
  margin-bottom: 8px;
}

.shop-item__preview--plan {
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-item__plan-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #5f7bff, #7e95ff);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.shop-item__preview--icon {
  height: 40px;
}

.shop-item__icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5f7bff, #7e95ff);
  color: #fff;
}

.shop-item__icon-badge svg {
  width: 19px;
  height: 19px;
}

.shop-item__owned {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-muted);
}

.shop-item__title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--color-text);
}

.shop-item__desc {
  font-size: 12.5px;
  color: var(--color-text-muted);
  flex: 1;
}

.shop-item__price {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.shop-item__btn {
  width: 100%;
}

@media (max-width: 520px) {
  .shop-balance {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}
