.rkzd-payment-brands__logos {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.rkzd-payment-brands__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
}

.rkzd-payment-brands__item img {
    display: block;
    width: auto;
    max-width: 92px;
    height: 40px;
    object-fit: contain;
    margin: 0;
    float: none;
}

.rkzd-payment-brands__groups {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.rkzd-payment-brands__row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.rkzd-payment-brands__bank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rkzd-payment-brands__bank img {
    display: block;
    width: auto;
    height: 40px;
    object-fit: contain;
    margin: 0;
}

.rkzd-payment-security__logos {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.rkzd-payment-security__item,
.rkzd-payment-security__item a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rkzd-payment-security__item {
    min-height: 40px;
}

.rkzd-payment-security__item a {
    width: auto;
    height: auto;
}

.rkzd-payment-security__item img {
    display: block;
    width: auto;
    max-width: 92px;
    height: 40px;
    object-fit: contain;
    margin: 0;
    float: none;
}

.rkzd-payment-brands--footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 28px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
}

.rkzd-campaign-payment-footer {
    margin-top: 0;
    padding: 28px 0 1px;
    background: #4d1d63;
}

.rkzd-payment-brands__copy {
    display: grid;
    gap: 4px;
    text-align: center;
}

.rkzd-payment-brands__copy strong {
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    line-height: 1.35;
}

.rkzd-payment-brands__copy span {
    color: rgba(255, 255, 255, 0.76);
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    line-height: 1.5;
}

.rkzd-payment-brands--content {
    margin-top: 36px;
    padding: 24px;
    border: 1px solid rgba(39, 44, 105, 0.12);
    border-radius: 16px;
    background: #f8f6fa;
}

.rkzd-payment-brands--content h2 {
    margin: 0 0 8px;
}

.rkzd-payment-brands--content p {
    margin: 0 0 18px;
}

.rkzd-payment-brands--confirmation {
    display: grid;
    gap: 14px;
    margin: 18px 0 24px;
    padding: 18px;
    border: 1px solid rgba(39, 44, 105, 0.12);
    border-radius: 14px;
    background: #f8f6fa;
}

.rkzd-payment-brands--confirmation p {
    margin: 0;
    text-align: center;
}

.woocommerce-checkout .payment_methods .rkzd-payment-brands__groups--checkout {
    width: 100%;
    margin-top: 10px;
    gap: 10px;
}

.woocommerce-checkout .payment_methods .rkzd-payment-brands__groups--checkout img {
    height: 30px;
    max-width: 74px;
}

@media (min-width: 768px) {
    .rkzd-payment-brands--footer {
        padding: 20px 24px;
    }

    .rkzd-payment-brands__copy {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .rkzd-payment-brands__logos {
        justify-content: center;
    }

    .rkzd-payment-brands__bank img {
        width: auto;
        height: 34px;
    }
}

/* The official Dina Secure file has large empty padding, so a normal
   40px box makes the mark look shorter than the other security logos. */
.rkzd-payment-security__item--dinacard-secure {
    width: 106px;
    height: 40px;
    overflow: hidden;
}

.rkzd-payment-security__item--dinacard-secure img {
    width: 156px;
    height: 106px;
    max-width: none;
    flex: none;
}

.woocommerce-checkout .payment_methods .rkzd-payment-brands__groups--checkout .rkzd-payment-security__item--dinacard-secure {
    width: 80px;
    height: 30px;
}

.woocommerce-checkout .payment_methods .rkzd-payment-brands__groups--checkout .rkzd-payment-security__item--dinacard-secure img {
    width: 117px;
    height: 79px;
    max-width: none;
}
