.method-option {
  grid-template-columns: 27px minmax(0, 1fr) 22px;
  min-height: 70px;
}

.method-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.method-brand-line {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.method-brand-line strong {
  font-size: 15px;
  white-space: nowrap;
}

.payment-logo {
  display: block;
  height: auto;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: left center;
}

.payment-logo-pair {
  display: block;
  flex: 0 0 auto;
}

.payment-logo-dark {
  display: none;
}

[data-theme="dark"] .payment-logo-light,
.theme-dark .payment-logo-light {
  display: none;
}

[data-theme="dark"] .payment-logo-dark,
.theme-dark .payment-logo-dark {
  display: block;
}

.payment-logo-card {
  width: 200px;
  max-height: 24px;
}

.payment-logo-amazon {
  width: 125px;
  max-height: 24px;
}

.payment-logo-paid {
  width: 80px;
  max-height: 24px;
}

.method-content > small {
  overflow-wrap: anywhere;
}

.amazon-button-wrap {
  min-height: 75px;
}

.amazon-button-wrap > #AmazonPayButton {
  width: 100% !important;
  max-width: 600px;
  height: 75px !important;
  min-height: 75px !important;
  margin-inline: auto;
}

.amazon-fallback {
  height: 75px;
}

@media (max-width: 560px) {
  .method-option {
    grid-template-columns: 25px minmax(0, 1fr) 0;
    min-height: 78px;
  }

  .method-brand-line {
    gap: 8px;
  }

  .method-brand-line strong {
    font-size: 12px;
  }

  .payment-logo-card {
    width: 125px;
  }

  .payment-logo-amazon {
    width: 96px;
  }

  .payment-logo-paid {
    width: 64px;
  }

  .method-content > small {
    font-size: 10px;
    line-height: 1.3;
  }
}
