/* Inherit theme fonts/colors; only structure for Numberland catalog */
.nl-reseller-page-shell {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  box-sizing: border-box;
}
.nl-wallet-bar {
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  text-align: right;
}
.nl-wallet-bar-off {
  opacity: 0.75;
}
.nl-wallet {
  text-align: right;
  max-width: 640px;
}
.nl-wallet-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
}
.nl-wallet-bal {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0.35rem 0 0;
}
.nl-wallet-topup {
  margin-bottom: 1.25rem;
}
.nl-wallet-topup input[type='number'] {
  max-width: 160px;
  margin: 0 0.35rem;
}
.nl-wallet-tx {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nl-wallet-tx li {
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.nl-reseller-page-title {
  margin: 0 0 1.25rem;
  text-align: right;
}
.nl-catalog {
  text-align: right;
}
.nl-service-group {
  margin-bottom: 2rem;
}
.nl-service-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.nl-service-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.nl-service-title {
  margin: 0;
  font-size: 1.25rem;
}
.nl-product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.nl-product-card {
  flex: 1 1 220px;
  max-width: 280px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 0.9rem;
  background: inherit;
  box-sizing: border-box;
}
.nl-product-card.is-unavailable {
  opacity: 0.72;
}
.nl-product-media {
  position: relative;
  min-height: 48px;
  margin-bottom: 0.6rem;
}
.nl-product-media > img:first-child {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.nl-flag {
  width: 28px;
  height: 20px;
  object-fit: cover;
  margin-right: 0.4rem;
  vertical-align: middle;
}
.nl-emoji {
  margin-right: 0.35rem;
}
.nl-product-title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  line-height: 1.4;
}
.nl-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 0.55rem;
}
.nl-product-price {
  margin-bottom: 0.65rem;
  font-size: 1.05rem;
}
.nl-unavailable-label {
  color: #b45309;
}
.nl-btn {
  appearance: none;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  border-radius: 8px;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  font: inherit;
}
.nl-btn-buy {
  background: currentColor;
  color: #fff;
  border-color: transparent;
  /* fallback when theme color is dark on dark */
  background-color: #0f766e;
}
.nl-btn-disabled,
.nl-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.nl-btn-sm {
  padding: 0.25rem 0.55rem;
  font-size: 0.85rem;
}
.nl-btn-danger {
  border-color: #b91c1c;
  color: #b91c1c;
}
.nl-product-result {
  margin-top: 0.75rem;
  padding: 0.65rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.04);
  font-size: 0.9rem;
}
.nl-product-result .nl-phone {
  font-weight: 700;
  letter-spacing: 0.02em;
  direction: ltr;
  display: inline-block;
}
.nl-product-result .nl-sms {
  margin-top: 0.35rem;
  font-size: 1.1rem;
}
.nl-order-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nl-order-item {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 0.75rem;
  margin-bottom: 0.65rem;
}
.nl-empty {
  padding: 1rem;
  opacity: 0.8;
}
@media (max-width: 720px) {
  .nl-product-card {
    max-width: 100%;
    flex-basis: 100%;
  }
}
