/* Every payment logo keeps its own proportions within the shared slots. */
.payment-brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-width: 0; min-height: 0; vertical-align: middle; }
.payment-brand-mark > .payment-brand-image { display: block; position: static; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; object-position: center; flex: 0 1 auto; }
.payment-brand-mark > .payment-brand-image[hidden] { display: none; }
.payment-brand-mark > .payment-brand-fallback { display: none; font-size: 10px; font-weight: 650; line-height: 1.2; text-align: center; overflow-wrap: anywhere; color: #273d36; }
.payment-brand-mark-unknown > .payment-brand-fallback,
.payment-brand-mark > .payment-brand-image[hidden] + .payment-brand-fallback { display: block; }
.transaction-payment-logo > .payment-brand-mark { width: 60px; height: 28px; flex: 0 0 60px; background: #fff; padding: 3px; border-radius: 4px; }
.transactions-page .transaction-payment-logo > .payment-brand-mark { width: 100%; height: 100%; flex: 1; padding: 0; }
.payment-strip-logos > span { background: #fff; }
.footer #footer-payment-methods:empty { display: none; }
.footer #footer-payment-methods > .payment-strip { width: calc(100% - 80px); max-width: 1184px; margin: 0 auto 28px; padding: 0 0 24px; border-bottom: 1px solid var(--line); align-items: flex-start; }
.footer .payment-strip > div:first-child { flex: 0 0 195px; padding-top: 7px; }
.footer .payment-strip-logos { flex: 1; justify-content: flex-end; }
@media (max-width: 960px) {
  .footer #footer-payment-methods > .payment-strip { width: calc(100% - 56px); gap: 14px; }
  .footer .payment-strip > div:first-child { flex-basis: auto; }
  .footer .payment-strip-logos { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .footer #footer-payment-methods > .payment-strip { width: calc(100% - 40px); margin-bottom: 22px; padding-bottom: 22px; }
  .footer .payment-strip-logos { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); width: 100%; gap: 7px; }
  .footer .payment-strip-logos > span { width: 100%; height: 44px; padding: 8px; }
}
