/* Presentation for existing app checkouts only. Native forms and gateways own behavior. */
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332){background:#fff;color:#1d1f1c}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout{--mtac-ink:#1d1f1c;--mtac-muted:#62665d;--mtac-line:#d9e8c4;--mtac-pale:#f4f9ea;--mtac-lime:#9bd23e;--mtac-orange:#ff5a00;box-sizing:border-box;width:min(1080px,calc(100% - 48px));margin-inline:auto;color:var(--mtac-ink);font:400 16px/1.6 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout>.mt-app-checkout-header{padding:30px 0 26px;border-bottom:1px solid var(--mtac-line);margin:0 0 26px}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout>.mt-app-checkout-header>a{font-size:14px;color:var(--mtac-muted);text-decoration:underline;text-underline-offset:3px}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout .mt-app-checkout-eyebrow{font-size:11px;font-weight:750;letter-spacing:.1em;margin:22px 0 9px;color:var(--mtac-muted)}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout .mt-app-checkout-header h1{font:750 clamp(28px,4vw,40px)/1.15 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.035em;margin:0;color:var(--mtac-ink)}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout .mt-app-period-section{margin:0 0 28px}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout .mt-app-period-section h2{font:750 24px/1.3 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.02em;margin:0 0 8px;color:var(--mtac-ink)}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout .mt-app-period-intro{font-size:14px;color:var(--mtac-muted);margin:0 0 18px}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout .mt-app-period-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout .mt-app-period-link{position:relative;display:flex;flex-direction:column;box-sizing:border-box;gap:12px;min-width:0;min-height:172px;padding:46px 16px 18px;border:1px solid var(--mtac-line);border-radius:14px;background:#fff;color:var(--mtac-ink);text-decoration:none;line-height:1.4}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout .mt-app-period-link:is(:hover,[aria-current="page"]){border-color:var(--mtac-lime);background:var(--mtac-pale);box-shadow:inset 0 0 0 1px var(--mtac-lime)}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout .mt-app-period-name{display:block;font-size:17px;font-weight:750;line-height:1.35;min-height:23px}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout .mt-app-period-price{display:block;margin-top:auto;font-size:24px;font-weight:750;letter-spacing:-.025em;white-space:nowrap}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout .mt-app-period-copy{display:block;font-size:12px;color:var(--mtac-muted);line-height:1.55;min-height:37px}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout .mt-app-period-badge{position:absolute;top:12px;left:16px;padding:3px 8px;border-radius:99px;background:#e8f4cf;color:#36550f;font-size:10px;font-weight:750;line-height:1.5}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout .mt-app-current-period{margin-top:16px;padding:16px 18px;border:1px solid var(--mtac-line);border-radius:14px;background:var(--mtac-pale);color:var(--mtac-muted);font-size:14px}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout .mt-app-current-period strong{color:var(--mtac-ink);font-weight:750}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout .wcf-embed-checkout-form{box-sizing:border-box;padding:28px;border:1px solid var(--mtac-line);border-radius:20px;min-width:0;background:#fff}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout form.checkout{color:var(--mtac-ink);font-family:inherit}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout form.checkout :is(#customer_details,#order_review,.col2-set,.col-1,.col-2){box-sizing:border-box;width:100%;max-width:100%;min-width:0;float:none;clear:both;padding-inline:0}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout #customer_details{margin:0 0 28px}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout :is(#customer_details h3,#order_review_heading){font:750 22px/1.3 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.02em;margin:0 0 18px;color:var(--mtac-ink)}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout #customer_details .form-row{color:var(--mtac-ink)}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout #customer_details .form-row:not(.woocommerce-invalid) :is(input.input-text,textarea,select,.select2-selection){border-color:var(--mtac-line)!important;background-color:#fff!important;color:var(--mtac-ink)!important}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout #customer_details :is(input.input-text,textarea,select,.select2-selection){box-sizing:border-box;border-radius:9px;font-family:inherit;min-height:48px;box-shadow:none}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout #customer_details label{color:var(--mtac-ink);font-family:inherit}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout table.shop_table{box-sizing:border-box;width:100%;border:1px solid var(--mtac-line);border-radius:14px;border-collapse:separate!important;border-spacing:0;margin:20px 0;font-size:15px}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout table.shop_table :is(th,td){padding:14px!important;border:0!important;border-bottom:1px solid var(--mtac-line)!important;overflow-wrap:anywhere}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout table.shop_table thead{background:#f8faf5}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout table.shop_table .order-total{background:var(--mtac-pale);font-weight:750}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout table.shop_table .order-total .woocommerce-Price-amount{font-size:23px;font-weight:750;letter-spacing:-.02em}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout table.shop_table :is(.product-total,tfoot td){text-align:right;white-space:nowrap}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout #wcf_custom_coupon_field{padding:16px 0!important}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout :is(input.wcf-coupon-code-input,input[name="coupon_code"]){box-sizing:border-box;border:1px solid var(--mtac-line)!important;border-radius:9px;min-height:48px;background:#fff!important;color:var(--mtac-ink)!important;font-family:inherit}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout :is(button.wcf-submit-coupon,button#place_order){box-sizing:border-box;border:1px solid #ff5a00!important;border-radius:12px!important;padding:14px 20px!important;min-height:50px;background:#ff5a00!important;color:#fff!important;font-family:inherit;font-weight:750!important;font-size:17px!important;line-height:1.4;text-shadow:none!important;box-shadow:none!important}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout :is(button.wcf-submit-coupon,button#place_order):hover{background:#e94f00!important;border-color:#e94f00!important;color:#fff!important}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout button#place_order{width:100%;white-space:normal}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout #payment{box-sizing:border-box;background:var(--mtac-pale);padding:20px;border:1px solid var(--mtac-line);border-radius:14px}
/* Only method-level siblings are styled; provider fields, banks and frames are untouched. */
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout #payment>ul.wc_payment_methods{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:0 0 20px;padding:0;border:0;list-style:none}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout #payment>ul.wc_payment_methods>li.wc_payment_method{position:relative;box-sizing:border-box;display:block;min-width:0;margin:0!important;padding:0 14px!important;border:1px solid var(--mtac-line);border-radius:12px;background:#fff;list-style:none;color:var(--mtac-ink)}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout #payment>ul.wc_payment_methods>li.wc_payment_method:has(>input.input-radio[name="payment_method"]:checked){border-color:#92b558;box-shadow:inset 0 0 0 1px #92b558}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout #payment>ul.wc_payment_methods>li.wc_payment_method>input.input-radio[name="payment_method"]{position:absolute!important;inset:18px auto auto 14px;z-index:1;display:block;float:none;width:18px;height:18px;min-width:18px;margin:0!important;padding:0;appearance:auto;accent-color:#52781b;cursor:pointer}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout #payment>ul.wc_payment_methods>li.wc_payment_method>label{position:relative;display:block;float:none;box-sizing:border-box;width:100%;min-width:0;min-height:54px;margin:0!important;padding:15px 96px 15px 32px!important;color:var(--mtac-ink)!important;font-family:inherit;font-size:15px;font-weight:650;line-height:1.5;text-align:left;white-space:normal;overflow-wrap:break-word;cursor:pointer}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout #payment>ul.wc_payment_methods>li.wc_payment_method>label>img{position:absolute;top:50%;right:0;display:block;float:none!important;box-sizing:border-box;width:auto!important;height:auto!important;min-width:0;max-width:80px!important;max-height:26px!important;margin:0!important;object-fit:contain;transform:translateY(-50%)}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout #payment>ul.wc_payment_methods>li.payment_method_tpayblik>label>img{max-width:58px!important}
/* Keep native payment_box visibility/height and every provider control authoritative. */
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout #payment>ul.wc_payment_methods>li.wc_payment_method>div.payment_box{box-sizing:border-box;width:100%;margin:0 0 14px;padding:12px 0 0;background:transparent;border-radius:0}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout #payment>ul.wc_payment_methods>li.wc_payment_method>div.payment_box::before{content:none}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout #payment>ul.wc_payment_methods>li.wc_payment_method>div.payment_box>p{font-size:13px;line-height:1.65;color:var(--mtac-muted);overflow-wrap:break-word}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout #payment .woocommerce-terms-and-conditions-wrapper{font-size:13px;line-height:1.65;color:var(--mtac-muted)}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout :is(.mt-app-period-link,.mt-app-checkout-header>a,button#place_order,button.wcf-submit-coupon,#customer_details input,#customer_details select,#customer_details textarea,#payment>ul.wc_payment_methods>li>input[name="payment_method"]):focus-visible{outline:3px solid #52781b!important;outline-offset:4px}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout .mt-app-checkout-footer{box-sizing:border-box;width:100%;grid-column:1/-1;clear:both;padding:22px 24px;margin:28px 0;border:1px solid var(--mtac-line);border-radius:16px;background:var(--mtac-pale);font-size:14px}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout .mt-app-checkout-footer p{margin:6px 0 0;font-size:13px;color:var(--mtac-muted);line-height:1.65}
/* Existing instant layout keeps its DOM, focus order and responsive summary behavior. */
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout .wcf-embed-checkout-form-instant-checkout{--wcf-ic-left-column-bg-color:#fff;--wcf-ic-right-column-bg-color:#fff}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout .wcf-instant-checkout-wrapper>.wcf-customer-info-main-wrapper{box-sizing:border-box;min-width:0;border-right:0!important;background:transparent;block-size:auto}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout .wcf-instant-checkout-wrapper .wcf-ic-layout-left-column{box-sizing:border-box;width:100%!important;max-width:100%;min-width:0;padding:0 24px 0 0}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout .wcf-instant-checkout-wrapper>.wcf-ic-layout-right-column{box-sizing:border-box;min-width:0;min-height:0!important;background:transparent}
body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout .wcf-ic-layout-right-column>.wcf-order-wrap{box-sizing:border-box;max-width:100%!important;min-width:0;min-height:0!important;padding:0!important;position:static!important;background:transparent}
@media(min-width:821px){
 body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout .wcf-embed-checkout-form-instant-checkout .woocommerce .wcf-instant-checkout-wrapper{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
}
@media(max-width:820px){
 body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout .wcf-instant-checkout-wrapper .wcf-ic-layout-left-column{padding:0}
}
@media(max-width:760px){
 body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout{width:calc(100% - 28px)}
 body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout .mt-app-period-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout .mt-app-period-link{min-height:163px;padding-inline:12px;gap:8px}
 body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout .mt-app-period-name{font-size:16px}
 body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout .mt-app-period-price{font-size:22px}
 body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout .wcf-embed-checkout-form{padding:18px 12px}
 body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout .wcf-embed-checkout-form>.woocommerce{padding-inline:0}
 body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout #payment{padding:0;border:0;background:transparent}
 body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout table.shop_table :is(th,td){padding:11px!important}
}
@media(max-width:380px){
 body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout{width:calc(100% - 20px)}
 body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout .wcf-embed-checkout-form{padding-inline:10px}
 body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout #payment>ul.wc_payment_methods>li.wc_payment_method{padding-inline:8px!important}
 body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout #payment>ul.wc_payment_methods>li.wc_payment_method>input.input-radio[name="payment_method"]{left:8px}
 body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout #payment>ul.wc_payment_methods>li.wc_payment_method>label{padding-inline:28px 76px!important;font-size:14px}
 body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout #payment>ul.wc_payment_methods>li.wc_payment_method>label>img{max-width:64px!important;max-height:24px!important}
 body:is(.postid-4313,.postid-4320,.postid-4327,.postid-4332) #mt-app-checkout #payment>ul.wc_payment_methods>li.payment_method_tpayblik>label>img{max-width:54px!important}
}
