#payment_methods {
    display: block;
    margin: 18px auto 0;
    max-width: 440px;
}

.payment_methods_title {
    color: #383838;
    font-size: 18px;
    margin-bottom: 12px;
    text-align: center;
}

.payment_method {
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    display: block;
    font-size: 17px;
    font-weight: 700;
    margin: 10px 0;
    min-height: 52px;
    padding: 12px 18px;
    width: 100%;
}

.payment_method:disabled {
    cursor: wait;
    opacity: .65;
}

.payment_method_paypal {
    background: #ffc439;
    color: #142c8e;
}

.payment_method_stripe {
    display: flex;
    padding: 12px 18px;
    overflow: hidden;
    margin-top: 20px;
    background: linear-gradient(135deg, #232627, #1d2021);
    align-items: center;
    justify-content: space-between;
    gap: 0;
    color: white;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.payment_wallet_logos { display: flex; align-items: center; flex: 3; min-width: 0; }
.payment_card_label, .payment_wallet_badge { display: flex; align-items: center; justify-content: center; min-width: 0; font-size: clamp(12px, 3.5vw, 17px); font-weight: 500; }

.payment_card_label { flex: 1.2; font-weight: 400; white-space: nowrap; padding-right: 14px; }
.payment_wallet_badge { flex: 1; gap: 4px; border-left: 1px solid #ffffff60; padding: 0 12px; white-space: nowrap; font-weight: 400; }
.payment_wallet_badge img { display: block; width: 20px; height: 23px; object-fit: contain; filter: brightness(0) invert(1); }
.payment_wallet_google img { filter: none; }
.payment_wallet_bizum { gap: 8px; }
@media (max-width: 420px) {
    .payment_method_stripe { padding: 12px 10px; }
    .payment_wallet_badge { padding: 0 7px; font-size: 13px; }
    .payment_wallet_badge img { width: 17px; height: 21px; }
    .payment_card_label { padding-right: 8px; font-size: 13px; }
}
.payment_card_label::before { flex-shrink: 0; }
.payment_card_label::before { content: ''; display: inline-block; width: 22px; height: 15px; border: 1.5px solid currentColor; border-radius: 3px; margin-right: 9px; vertical-align: -2px; background: linear-gradient(transparent 25%, currentColor 25%, currentColor 40%, transparent 40%); }

.payment_method small { display: block; font-size: 12px; font-weight: 400; margin-top: 5px; line-height: 1.5; }
.payment_paypal_logo { display: block; width: 100px; height: auto; margin: 0 auto; }
.payment_method:hover:not(:disabled) { filter: brightness(.95); }
.payment_method:focus-visible { outline: 3px solid #0070ba; outline-offset: 3px; }