/* MGPLITKA callback popup skin + footer payment hardening 1.0.2. */
body .jqmWindow.mg-callback-popup{width:min(620px,calc(100vw - 32px))!important;max-width:620px!important;max-height:calc(100vh - 30px)!important;overflow:auto!important;background:#fff!important;border:0!important;border-radius:2px!important;box-shadow:0 24px 70px rgba(31,27,23,.22)!important}
body .jqmWindow.mg-callback-popup .form.CALLBACK{width:100%!important;background:#fff!important;color:#292723!important;font-family:Arial,Helvetica,sans-serif!important}
body .jqmWindow.mg-callback-popup .form.CALLBACK .form_head{padding:34px 42px 25px!important;border-bottom:1px solid #e7e2dc!important;background:#fff!important}
body .jqmWindow.mg-callback-popup .form.CALLBACK .form_head h2{margin:0!important;color:#282624!important;font-size:38px!important;line-height:1.04!important;letter-spacing:-.035em!important;font-weight:700!important;text-shadow:none!important}
body .jqmWindow.mg-callback-popup .form.CALLBACK .form_desc{margin-top:10px!important;color:#8b8782!important;font-size:14px!important;line-height:1.45!important}
body .jqmWindow.mg-callback-popup .form.CALLBACK .form_body{padding:27px 42px 8px!important;background:#fff!important}
body .jqmWindow.mg-callback-popup .form.CALLBACK .form_footer{padding:0 42px 34px!important;background:#fff!important}
body .jqmWindow.mg-callback-popup .form.CALLBACK .form-control{margin:0 0 19px!important}
body .jqmWindow.mg-callback-popup .form.CALLBACK .form-control label,body .jqmWindow.mg-callback-popup .form.CALLBACK .form-group label{color:#6f6a65!important;font-size:14px!important;line-height:1.35!important;font-weight:600!important}
body .jqmWindow.mg-callback-popup .form.CALLBACK .star{color:#c81924!important}
body .jqmWindow.mg-callback-popup .form.CALLBACK input[type="text"],body .jqmWindow.mg-callback-popup .form.CALLBACK input[type="tel"],body .jqmWindow.mg-callback-popup .form.CALLBACK input[type="email"],body .jqmWindow.mg-callback-popup .form.CALLBACK input[type="password"],body .jqmWindow.mg-callback-popup .form.CALLBACK select,body .jqmWindow.mg-callback-popup .form.CALLBACK textarea{width:100%!important;min-height:50px!important;padding:13px 15px!important;border:1px solid #ded9d3!important;border-radius:2px!important;background:#f8f6f3!important;color:#292723!important;box-shadow:none!important;outline:none!important;font-size:16px!important;line-height:1.35!important;box-sizing:border-box!important;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease!important}
body .jqmWindow.mg-callback-popup .form.CALLBACK textarea{min-height:110px!important}
body .jqmWindow.mg-callback-popup .form.CALLBACK input:focus,body .jqmWindow.mg-callback-popup .form.CALLBACK select:focus,body .jqmWindow.mg-callback-popup .form.CALLBACK textarea:focus{border-color:#c81924!important;background:#fff!important;box-shadow:0 0 0 2px rgba(200,25,36,.08)!important}
body .jqmWindow.mg-callback-popup .form.CALLBACK .licence_block,body .jqmWindow.mg-callback-popup .form.CALLBACK .license_block,body .jqmWindow.mg-callback-popup .form.CALLBACK .consent_block{margin:7px 0 20px!important;color:#706b66!important;font-size:13px!important;line-height:1.45!important}
body .jqmWindow.mg-callback-popup .form.CALLBACK .licence_block a,body .jqmWindow.mg-callback-popup .form.CALLBACK .license_block a,body .jqmWindow.mg-callback-popup .form.CALLBACK .consent_block a{color:#c81924!important;text-decoration:none!important;border-bottom:1px solid rgba(200,25,36,.28)!important}
body .jqmWindow.mg-callback-popup .form.CALLBACK .form_footer .form-control{margin-bottom:16px!important;color:#8b8782!important;font-size:12px!important}
body .jqmWindow.mg-callback-popup .form.CALLBACK .form_footer .btn,body .jqmWindow.mg-callback-popup .form.CALLBACK .form_footer button[type="submit"]{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:52px!important;margin:0!important;padding:0 26px!important;border:1px solid #c81924!important;border-radius:2px!important;background:#c81924!important;color:#fff!important;box-shadow:none!important;text-shadow:none!important;font-size:15px!important;line-height:1!important;font-weight:700!important;letter-spacing:0!important;transition:background .16s ease,border-color .16s ease!important}
body .jqmWindow.mg-callback-popup .form.CALLBACK .form_footer .btn:hover,body .jqmWindow.mg-callback-popup .form.CALLBACK .form_footer button[type="submit"]:hover{background:#a90f19!important;border-color:#a90f19!important;color:#fff!important}
body .jqmWindow.mg-callback-popup .form.CALLBACK .form_result{padding:30px 42px!important;color:#292723!important;font-size:15px!important}
/* Own close glyph: no Aspro sprite/background is allowed on hover. */
body .jqmWindow.mg-callback-popup>.close,body .jqmWindow.mg-callback-popup .jqmClose{position:absolute!important;top:18px!important;right:18px!important;width:38px!important;height:38px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important;opacity:1!important;overflow:visible!important;cursor:pointer!important}
body .jqmWindow.mg-callback-popup>.close *,body .jqmWindow.mg-callback-popup .jqmClose *{display:none!important;background:none!important;background-image:none!important}
body .jqmWindow.mg-callback-popup>.close:before,body .jqmWindow.mg-callback-popup>.close:after,body .jqmWindow.mg-callback-popup .jqmClose:before,body .jqmWindow.mg-callback-popup .jqmClose:after{content:""!important;display:block!important;position:absolute!important;left:50%!important;top:50%!important;width:24px!important;height:2px!important;margin:0!important;border:0!important;border-radius:2px!important;background:#96918c!important;background-image:none!important;box-shadow:none!important;transform-origin:center!important;transition:background-color .15s ease!important}
body .jqmWindow.mg-callback-popup>.close:before,body .jqmWindow.mg-callback-popup .jqmClose:before{transform:translate(-50%,-50%) rotate(45deg)!important}
body .jqmWindow.mg-callback-popup>.close:after,body .jqmWindow.mg-callback-popup .jqmClose:after{transform:translate(-50%,-50%) rotate(-45deg)!important}
body .jqmWindow.mg-callback-popup>.close:hover,body .jqmWindow.mg-callback-popup .jqmClose:hover{background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important}
body .jqmWindow.mg-callback-popup>.close:hover:before,body .jqmWindow.mg-callback-popup>.close:hover:after,body .jqmWindow.mg-callback-popup .jqmClose:hover:before,body .jqmWindow.mg-callback-popup .jqmClose:hover:after{background:#c81924!important;background-image:none!important}
body .jqmWindow.mg-callback-popup label.error{color:#c81924!important;font-size:11px!important}

/* Hard payment overrides. Duplicated here intentionally so an old Bitrix component CSS cache cannot break the block. */
.mg-footer-payments-component,.mg-footer-payments-component *{box-sizing:border-box}
.mg-footer-payments-component{display:flex!important;align-items:center!important;width:100%!important;min-width:0!important;font-family:Arial,Helvetica,sans-serif!important}
.mg-footer-payments-component__copy{flex:1 1 auto!important;min-width:260px!important;padding-right:34px!important}
.mg-footer-payments-component__copy strong{display:block!important;margin:0 0 8px!important;color:#2a2825!important;font-size:16px!important;line-height:1.2!important;font-weight:700!important}
.mg-footer-payments-component__copy span{display:block!important;color:#8d8883!important;font-size:13px!important;line-height:1.35!important}
.mg-footer-payments-component__copy span:before,.mg-footer-payments-component__copy span:after{content:none!important;display:none!important}
.mg-footer-payments-component__items{flex:0 0 auto!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;min-width:0!important;width:auto!important}
.mg-footer-payments-component .mg-pay-badge{all:unset;display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;height:46px!important;padding:0 14px!important;border:1px solid #ded9d3!important;background:#fff!important;background-image:none!important;color:#292723!important;text-decoration:none!important;box-sizing:border-box!important;font-family:Arial,Helvetica,sans-serif!important;font-size:13px!important;line-height:1!important;font-weight:700!important;white-space:nowrap!important;overflow:hidden!important;cursor:default!important}
.mg-footer-payments-component a.mg-pay-badge{cursor:pointer!important}.mg-footer-payments-component a.mg-pay-badge:hover{border-color:#c9c2bb!important;box-shadow:0 4px 14px rgba(42,36,31,.07)!important;transform:translateY(-1px)!important}
.mg-footer-payments-component .mg-pay-badge:before,.mg-footer-payments-component .mg-pay-badge:after,.mg-footer-payments-component .mg-pay-badge *:before,.mg-footer-payments-component .mg-pay-badge *:after{content:none!important;display:none!important;background:none!important;background-image:none!important}
.mg-footer-payments-component .mg-pay-badge svg{display:block!important;flex:0 0 auto!important;overflow:visible!important}.mg-footer-payments-component .mg-pay-logo--mir{width:88px!important;height:28px!important}.mg-footer-payments-component .mg-pay-icon{width:22px!important;height:22px!important}.mg-footer-payments-component .mg-pay-icon--ya{width:58px!important;height:24px!important}.mg-footer-payments-component .mg-pay-icon--vat{width:36px!important;height:24px!important}
.mg-footer-payments-component .mg-pay-badge--mir{width:136px!important;padding-left:16px!important;padding-right:16px!important}.mg-footer-payments-component .mg-pay-badge--online{width:190px!important}.mg-footer-payments-component .mg-pay-badge--split{width:190px!important}.mg-footer-payments-component .mg-pay-badge--dolyami{width:136px!important;background:#ef2027!important;border-color:#ef2027!important;color:#fff!important;font-size:14px!important;font-weight:800!important;text-transform:lowercase!important}.mg-footer-payments-component .mg-pay-badge--cashless{width:236px!important}.mg-footer-payments-component .mg-pay-badge--vat{width:236px!important}.mg-footer-payments-component .mg-pay-badge--custom{min-width:150px!important}
@media(max-width:1500px){.mg-footer-payments-component{display:grid!important;grid-template-columns:220px minmax(0,1fr)!important;gap:24px!important}.mg-footer-payments-component__copy{min-width:0!important;padding-right:0!important}.mg-footer-payments-component__items{display:grid!important;grid-template-columns:repeat(3,minmax(170px,1fr))!important;width:100%!important;gap:10px!important}.mg-footer-payments-component .mg-pay-badge{width:100%!important;min-width:0!important}}
@media(max-width:767px){body .jqmWindow.mg-callback-popup{width:calc(100vw - 20px)!important;max-width:none!important;max-height:calc(100vh - 20px)!important}body .jqmWindow.mg-callback-popup .form.CALLBACK .form_head{padding:28px 22px 21px!important}body .jqmWindow.mg-callback-popup .form.CALLBACK .form_head h2{font-size:30px!important}body .jqmWindow.mg-callback-popup .form.CALLBACK .form_body{padding:22px 22px 6px!important}body .jqmWindow.mg-callback-popup .form.CALLBACK .form_footer{padding:0 22px 26px!important}body .jqmWindow.mg-callback-popup .form.CALLBACK .form_result{padding:24px 22px!important}body .jqmWindow.mg-callback-popup>.close,body .jqmWindow.mg-callback-popup .jqmClose{top:12px!important;right:12px!important}.mg-footer-payments-component{grid-template-columns:1fr!important;gap:16px!important}.mg-footer-payments-component__items{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.mg-footer-payments-component .mg-pay-badge{height:44px!important;padding:0 10px!important;font-size:12px!important}.mg-footer-payments-component__copy strong{font-size:15px!important}}
@media(max-width:460px){.mg-footer-payments-component__items{grid-template-columns:1fr!important}}

/* 1.0.2 — uploaded payment logos are always isolated in a fixed viewport. */
.mg-footer-payments-component .mg-pay-media{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 var(--mg-pay-logo-w,80px)!important;width:var(--mg-pay-logo-w,80px)!important;height:var(--mg-pay-logo-h,26px)!important;min-width:var(--mg-pay-logo-w,80px)!important;max-width:96px!important;max-height:30px!important;overflow:hidden!important;line-height:0!important;border:0!important;background:transparent!important}
.mg-footer-payments-component .mg-pay-media img,.mg-footer-payments-component .mg-pay-media svg{display:block!important;width:100%!important;height:100%!important;min-width:0!important;max-width:100%!important;max-height:100%!important;margin:0!important;padding:0!important;border:0!important;background:none!important;transform:none!important;overflow:hidden!important}
.mg-footer-payments-component .mg-pay-media img{object-position:center center!important;object-fit:contain!important}
.mg-footer-payments-component .mg-pay-media--cover img{object-fit:cover!important}
.mg-footer-payments-component .mg-pay-media--contain img{object-fit:contain!important}
.mg-footer-payments-component .mg-pay-text{display:block!important;min-width:0!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:inherit!important;font:inherit!important;line-height:1!important}
