.partner-home-banner {
  display: flex;
  min-height: 73px;
  align-items: center;
  justify-content: center;
  margin: -4px 0 12px;
  padding: 0 16px;
  border: 0;
  background: transparent;
}

.partner-home-banner img {
  display: block;
  width: min(300px, 100%);
  height: auto;
  max-height: 73px;
  object-fit: contain;
}

.payment-option.is-partner-featured {
  border-color: #006fcf;
  background: #eef5fc;
  box-shadow: 0 0 0 1px rgba(0, 111, 207, .12), 0 5px 14px rgba(0, 67, 116, .1);
}

.payment-option.is-partner-featured .label { color: #006fcf; }
.payment-option .icon .amex-payment-icon {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 4px;
  object-fit: contain;
}

.payment-name-with-logo,
.payment-detail-method {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 7px;
  white-space: nowrap;
}

.payment-name-with-logo img,
.payment-detail-method img {
  display: block;
  flex: 0 0 auto;
  width: 30px;
  height: 20px;
  border-radius: 3px;
  object-fit: contain;
}

.partner-payment-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: -5px 0 11px;
  padding: 8px 11px;
  border: 1px solid #c8dcef;
  border-radius: 10px;
  background: #eef5fc;
  color: #00175a;
  font-size: 12px;
  font-weight: 800;
}

.partner-payment-badge img {
  display: block;
  width: 27px;
  height: 27px;
  border-radius: 3px;
}

.amex-payment-success-overlay {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  overflow: auto;
  place-items: center;
  padding: max(18px, env(safe-area-inset-top)) 16px max(18px, env(safe-area-inset-bottom));
  background: #00175a;
  color: #fff;
}

.amex-payment-success-overlay[hidden] { display: none; }
.amex-success-panel { width: min(100%, 430px); text-align: center; }
.amex-success-animation {
  display: block;
  width: min(100%, 360px);
  margin: 0 auto 8px;
  background: #00175a;
}
.amex-success-panel h2 { margin: 4px 0 7px; font-size: 25px; line-height: 1.15; }
.amex-success-detail { margin: 0 0 19px; color: #dcecff; font-size: 14px; font-weight: 700; }
.amex-success-actions { display: grid; gap: 9px; }
.amex-success-action {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid #fff;
  border-radius: 11px;
  background: #fff;
  color: #00175a;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.amex-success-action.is-secondary { background: transparent; color: #fff; }

@media (max-height: 650px) {
  .partner-home-banner { margin-bottom: 8px; }
  .amex-success-animation { width: min(100%, 280px); }
}

@media (prefers-reduced-motion: reduce) {
  .amex-success-animation { display: none; }
}
