meo-payment-methods { display: block; grid-column: 1 / -1; width: 100%; margin: 32px auto 0; }
.payment-methods { display: grid; gap: 24px; width: 100%; max-width: 1120px; margin: auto; color: #2c3e3c; text-align: left; font: 400 16px/1.6 "Lato", sans-serif; }
.payment-methods * { box-sizing: border-box; }
.payment-methods h3 { margin: 0; color: #4a7c5c; font: 800 clamp(22px, 2.4vw, 32px)/1.15 "Lato", sans-serif; letter-spacing: -.025em; }
.payment-methods p { margin: 0; font: inherit; color: #596c69; }
.payment-methods a { color: #4a7c5c; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.payment-methods__teacher { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 20px; padding: 28px; border: 1px solid #e4e7df; border-radius: 24px; background: #fff; }
.payment-methods__teacher img { width: 66px; height: 94px; object-fit: contain; }
.payment-methods__teacher p { grid-column: 1 / -1; }
.payment-methods__label { font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: #4a7c5c; }
.payment-methods__paypal { display: flex; align-items: center; gap: 24px; padding: 22px 28px; border: 1px solid #e4e7df; border-radius: 18px; background: #fff; }
.payment-methods__paypal img { width: 100px; height: auto; flex: none; }
.payment-methods__paypal p { font-size: 14px; }
.payment-methods__bank { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px; border: 1px solid #f5d6ba; border-radius: 24px; background: #fffaf4; }
.payment-methods__bank p { margin-top: 10px; }
.payment-methods .payment-methods__bank-link { display: inline-flex; justify-content: center; align-items: center; gap: 12px; flex: none; min-height: 48px; padding: 12px 24px; border-radius: 999px; background: #e67e22; color: white; text-decoration: none; font-weight: 800; }
.payment-methods a:focus-visible { outline: 3px solid #e67e22; outline-offset: 4px; }
@media (max-width: 720px) {
  .payment-methods__teacher, .payment-methods__paypal, .payment-methods__bank { padding: 22px; }
  .payment-methods__paypal, .payment-methods__bank { flex-direction: column; align-items: flex-start; gap: 16px; }
  .payment-methods .payment-methods__bank-link { width: 100%; flex: auto; text-align: center; }
}

.payment-bank-dialog { box-sizing: border-box; width: min(600px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 32px; overflow-y: auto; border: 1px solid #d9e3dc; border-radius: 24px; color: #263b35; background: #fffdf8; font: 16px/1.5 Lato, sans-serif; }
.payment-bank-dialog::backdrop { background: rgb(20 40 31 / 65%); }
.payment-bank-dialog h2 { margin: 0 36px 12px 0; font: 800 28px/1.15 Lato, sans-serif; color: #4b7d5c; }
.payment-bank-dialog p { margin: 0 0 16px; }
.payment-bank-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; font-size: 30px; cursor: pointer; }
.payment-bank-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.payment-bank-form label { display: grid; gap: 6px; min-width: 0; font-weight: 700; }
.payment-bank-form input, .payment-bank-form select { box-sizing: border-box; width: 100%; min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid #cbd8cf; border-radius: 10px; background: white; color: #263b35; font: inherit; }
.payment-bank-full { grid-column: 1 / -1; }
.payment-bank-form .payment-bank-course { font-weight: 700; color: #4b7d5c; }
.payment-bank-form .payment-bank-privacy { font-size: 14px; }
.payment-bank-dialog a { color: #4b7d5c; text-decoration: underline; }
.payment-bank-submit { min-height: 48px; border: 0; border-radius: 28px; background: #e98222; color: white; font: 800 16px Lato, sans-serif; cursor: pointer; }
.payment-bank-submit:disabled { opacity: .65; cursor: wait; }
.payment-bank-form .payment-bank-hp, .payment-bank-dialog [hidden] { display: none !important; }
@media(max-width: 480px) { .payment-bank-dialog { padding: 24px 20px; } .payment-bank-form { grid-template-columns: 1fr; gap: 12px; } .payment-bank-dialog h2 { font-size: 24px; } }
