.rider-wallet {
  display: grid;
  gap: 26px;
}

.wallet-hero {
  display: grid;
  gap: 8px;
  max-width: 680px;
}

.wallet-hero h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -.04em;
}

.wallet-hero > p:last-child {
  margin: 0;
  color: var(--rider-muted);
  line-height: 1.55;
}

.wallet-payment-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--rider-line);
  border-radius: 24px;
  background: #fff;
}

.wallet-payment-card .rider-empty-icon {
  width: 52px;
  height: 52px;
}

.wallet-payment-card h3 {
  margin: 2px 0 7px;
  font-size: 20px;
}

.wallet-payment-card p {
  margin: 0;
  color: var(--rider-muted);
  line-height: 1.5;
}

.wallet-section {
  display: grid;
  gap: 14px;
  margin-top: 0;
}

.wallet-section > .rider-section-heading {
  margin-bottom: 0;
}

.wallet-section-shell {
  min-width: 0;
}

.rider-wallet #bistam-rewards-slot,
.rider-wallet #bistam-growth-slot {
  min-width: 0;
}

@media (min-width: 900px) {
  .rider-wallet {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .wallet-hero,
  .wallet-payment-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .rider-wallet {
    gap: 22px;
  }

  .wallet-hero h2 {
    font-size: 34px;
  }

  .wallet-payment-card {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 13px;
    padding: 18px;
    border-radius: 20px;
  }

  .wallet-payment-card .rider-empty-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }
}
