/* Compact course checkout. Keep the page still; retain form scrolling only
   for a small visible viewport, enlarged text or the on-screen keyboard. */
html.course-checkout-open{overflow:hidden;overscroll-behavior:none;scroll-behavior:auto}
html.course-checkout-open body{position:fixed;left:0;right:0;width:100%;overflow:hidden;overscroll-behavior:none}
#buy.course-checkout{width:min(560px,calc(100% - 24px));max-height:calc(100dvh - 24px);overscroll-behavior:contain;scrollbar-width:thin}
#buy.course-checkout .dlg{padding:22px 26px}
#buy.course-checkout .dialog-top{margin-bottom:10px}
#buy.course-checkout .dlg h2{font-size:24px;line-height:1.2;margin:0}
#buy.course-checkout .dialog-price{font-size:25px;line-height:1.25;margin:8px 0}
#buy.course-checkout #buyDescription{font-size:13px;line-height:1.45;margin:8px 0 12px}
#buy.course-checkout .email-label{margin:12px 0 5px;font-size:13px}
#buy.course-checkout input[type=email],#buy.course-checkout input[type=tel]{min-height:44px;padding:10px 12px;font-size:16px;line-height:1.3}
#buy.course-checkout .contact-note{font-size:11px!important;line-height:1.4!important;margin:6px 0 0!important}
#buy.course-checkout .consent-box{gap:10px;margin:15px 0 13px}
#buy.course-checkout .chk{font-size:12px;line-height:1.45;gap:10px}
#buy.course-checkout .chk input{margin-top:1px}
#buy.course-checkout #buyGo{min-height:46px;padding:11px 16px;font-size:14px;line-height:1.35}
#buy.course-checkout .payment-note{font-size:11px!important;line-height:1.4!important;margin:8px 0 0!important}
#buy.course-checkout .msg{margin:8px 0;line-height:1.4}
@media(max-width:600px){
 #buy.course-checkout{width:calc(100% - 20px);max-height:calc(100dvh - 20px)}
 #buy.course-checkout .dlg{padding:18px}
 #buy.course-checkout .dialog-top{margin-bottom:8px}
 #buy.course-checkout .dlg h2{font-size:22px}
 #buy.course-checkout .close-btn{width:44px;height:44px}
 #buy.course-checkout .dialog-label{font-size:10px}
 #buy.course-checkout .consent-box{gap:9px;margin:13px 0 12px}
 #buy.course-checkout .payment-note{font-size:10px!important}
}
@media(max-height:740px){
 #buy.course-checkout .dlg{padding:16px 22px}
 #buy.course-checkout .dialog-top{margin-bottom:6px}
 #buy.course-checkout .dlg h2{font-size:21px}
 #buy.course-checkout .dialog-price{font-size:23px;margin:6px 0}
 #buy.course-checkout #buyDescription{font-size:12px;line-height:1.4;margin:6px 0 9px}
 #buy.course-checkout .email-label{margin:9px 0 4px}
 #buy.course-checkout .consent-box{gap:8px;margin:12px 0 10px}
 #buy.course-checkout .chk{line-height:1.4}
}
