/* Keep the six package amounts in a balanced 3 x 2 grid. */
.amount-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0.5rem !important;
}

.amount-grid > .amount-item,
.amount-grid > .amount-item:nth-child(4),
.amount-grid > .amount-item:nth-child(5),
.amount-grid > .amount-item:nth-child(6) {
  grid-column: auto !important;
  width: auto !important;
  min-width: 0 !important;
}

@media (max-width: 360px) {
  .amount-grid {
    gap: 0.375rem !important;
  }
}

/* R59 original wallet layout; disabled modes keep their original space. */
.package-page .pay-mode[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
}
.package-page .rebate-preview-link {
  display: block;
  margin: 12px 0;
  text-align: center;
  color: #c92d36;
}
