.ty-product-page-payment-method-holder ul li.bank-payment-card {
    color: #fff;
    border-color: #888;
    text-align: center;
}
.ty-product-page-payment-method-holder ul li.bank-payment-card .ty-img-holder {
    height: 44px;
    overflow: hidden;
    margin-bottom: 6px;
}
.ty-product-page-payment-method-holder ul li.bank-payment-card .ty-img-holder img {
    width: 140px;
    height: 44px;
    max-width: 100%;
    object-fit: contain;
}
.bank-card-amount { font-size: inherit; line-height: 1.4; }
.bank-more-info {
    display: block;
    min-height: 32px;
    padding: 4px 0;
    border: 0;
    background: transparent;
    color: #ddd;
    font: inherit;
    font-size: 13px;
    line-height: 1.4;
    cursor: pointer;
}
.bank-more-info:hover { text-decoration: underline; }
.bank-more-info:focus-visible, .bank-dialog-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.bank-dialog {
    box-sizing: border-box;
    width: min(460px, calc(100vw - 32px));
    max-width: none;
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 24px;
    border: 1px solid #888;
    border-radius: 8px;
    background: #1e1e20;
    color: #fff;
    text-align: center;
    overflow: auto;
    font-family: inherit;
}
.bank-dialog:not([open]) { display: none; }
.bank-dialog::backdrop { background: rgb(0 0 0 / 65%); }
.bank-dialog-close {
    position: absolute;
    top: 0;
    right: 0;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 25px;
    cursor: pointer;
}
.bank-dialog-content { padding: 8px 16px 20px; border-radius: 8px; background: #252528; }
.bank-dialog .bank-dialog-logo { display: block; width: 220px; height: 88px; max-width: 100%; margin: 0 auto 4px; object-fit: contain; }
.bank-plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
.bank-plan:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 8px); justify-self: center; }
.bank-dialog .bank-plan h3 { display: inline-block; margin: 0; padding: 3px 8px; border-radius: 4px; background: #626b79; color: #fff; font-size: 13px; font-weight: 600; }
.bank-dialog .bank-monthly { margin: 0; padding: 8px 4px; border-radius: 4px; background: #38383c; color: #fff; font-size: 14px; line-height: 1.4; }
.bank-dialog .bank-total, .bank-dialog .bank-fee { margin: 6px 0 0; color: #ddd; font-size: 11px; line-height: 1.4; }
.bank-dialog .bank-dialog-note { margin: 20px 0 0; color: #ddd; font-size: 11px; line-height: 1.5; }
.bank-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
html.bank-modal-open { overflow: hidden; }
@media (max-width: 380px) {
    .bank-dialog { padding: 24px 12px 12px; }
    .bank-dialog-content { padding: 4px 10px 16px; }
    .bank-plan-grid { gap: 20px 8px; }
    .bank-plan:last-child:nth-child(odd) { width: calc(50% - 4px); }
    .bank-dialog .bank-monthly { font-size: 12px; }
}

.bank-dialog-logo-holder { display: flex; justify-content: center; align-items: center; width: 220px; height: 88px; max-width: 100%; margin: 0 auto 12px; overflow: hidden; }
.bank-dialog .bank-dialog-logo { margin: 0; }

/* Match the storefront payment-price font and bold weight. */
.bank-card-amount,
.bank-dialog .bank-monthly,
.bank-dialog .bank-total {
    font-family: inherit;
    font-weight: 700;
}
