.mame-saferpay-payment-description {
    margin: 6px 0 0;
}

.mame-saferpay-card-logos {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    vertical-align: middle;
    direction: ltr;
}

/* Supply defaults only; native theme selectors retain control of ordinary logos. */
:where(.payment-option img[src*="/saferpay/logos/"],
       .payment-option img[src*="/storage/saferpay/"],
       .payment-option img[src*="/modules/mame_saferpay_for_prestashop/"]) {
    width: auto;
    height: auto;
    max-width: 80px;
    max-height: 32px;
    object-fit: contain;
    vertical-align: middle;
}

.mame-saferpay-card-logos img,
.payment-option .mame-saferpay-card-logos img {
    display: inline-block;
    flex: 0 1 auto;
    width: auto;
    height: auto;
    min-width: 0;
    max-width: var(--mame-saferpay-logo-width, 46px);
    max-height: var(--mame-saferpay-logo-height, 28px);
    margin: 0;
    float: none;
    object-fit: contain;
}

.mame-saferpay-card-logos-more {
    flex: 0 0 auto;
    line-height: 1;
    font-weight: 600;
}

.mame-saferpay-error {
    max-width: 720px;
    margin: 30px auto;
}
