.shop-balance {
  display: grid;
  gap: 2px;
  min-width: 124px;
  padding: 8px 13px;
  border: 1px solid #526044;
  border-radius: 10px;
  background: #232b20;
  color: #dce6ce;
  font-size: 13px;
}

.shop-balance strong {
  color: var(--accent);
  font-size: 21px;
  font-variant-numeric: tabular-nums;
}

.shop-balance-note {
  max-width: 215px;
  color: var(--muted);
  line-height: 1.45;
}

.shop-catalog {
  display: grid;
  gap: 28px;
}

.shop-group {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.shop-group h2 {
  font-size: clamp(20px, 3vw, 28px);
  letter-spacing: -.04em;
}

.shop-period-note,
.shop-offer-details {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.shop-offer {
  display: grid;
  grid-template-rows: auto 1fr auto auto auto;
  gap: 10px;
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.shop-offer-special {
  border-color: #5a653f;
  background: linear-gradient(145deg, #292f21, var(--surface) 80%);
}

.shop-offer h3 {
  font-size: 17px;
  overflow-wrap: anywhere;
}

.shop-items {
  display: grid;
  align-content: start;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shop-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 14px;
}

.shop-item strong {
  color: #dce1e9;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.shop-item-icon {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.shop-offer-details {
  display: grid;
  gap: 3px;
}

.shop-offer-details:empty {
  display: none;
}

.shop-offer-period time {
  display: inline-block;
}

.shop-offer-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 7px;
  font-variant-numeric: tabular-nums;
}

.shop-offer-price del {
  color: var(--muted);
  font-size: 14px;
}

.shop-offer-price strong {
  color: var(--accent);
  font-size: 22px;
}

.shop-discount {
  color: #f5cb8b;
  font-size: 13px;
}

.shop-purchase {
  min-height: 42px;
}

.shop-purchase:disabled {
  cursor: default;
}

.shop-feedback,
.shop-dialog-error {
  overflow-wrap: anywhere;
}

.shop-feedback {
  margin-bottom: 14px;
  color: var(--accent);
}

.shop-feedback:empty,
.shop-dialog-error:empty {
  display: none;
}

.shop-dialog-price {
  line-height: 1.55;
}

.shop-dialog-error {
  color: #ffd0d1;
  font-size: 14px;
}

.shop-dialog .modal-actions {
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 570px) {
  .shop-grid { grid-template-columns: minmax(0, 1fr); }
  .shop-catalog { gap: 23px; }
  .shop-offer { padding: 12px; }
}
