/* 1.0.49: layout only, based on 1.0.40. Native payment buttons are untouched. */
#muba-home-v4 .mh-checkout{padding-top:14px}
#muba-home-v4 .mh-checkout .checkout-page-heading,#muba-home-v4 .mh-checkout .service-hero{padding:10px 54px 10px 16px;margin-bottom:6px;border-radius:12px}
#muba-home-v4 .mh-checkout .checkout-page-heading h1,#muba-home-v4 .mh-checkout .service-hero h1{font-size:26px;line-height:1.2;margin:3px 0;font-weight:650;text-transform:none}
#muba-home-v4 .mh-checkout .checkout-page-heading .eyebrow{font-size:10px;letter-spacing:.08em}
#muba-home-v4 .checkout-page-heading>.muba-help>summary{right:8px;top:8px}
#muba-home-v4 .muba-purchase-path{display:block;margin:6px 0 10px}
#muba-home-v4 .muba-purchase-path ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;max-width:900px;font-size:13px}
#muba-home-v4 .muba-purchase-path li{display:block;min-width:0}
#muba-home-v4 .muba-purchase-path li+li:before{content:none}
#muba-home-v4 .muba-purchase-path li>a,#muba-home-v4 .muba-purchase-path li>strong,#muba-home-v4 .muba-purchase-path li>.muba-step-pending{display:flex;align-items:center;gap:8px;min-height:44px;padding:6px 10px;border:1px solid transparent;border-radius:9px;font-weight:500;line-height:1.25}
#muba-home-v4 .muba-purchase-path li>strong{background:#e8f2ec;border-color:#bdd5c6;font-weight:650}
#muba-home-v4 .muba-purchase-path li>a:hover{background:#f0f5f1;text-decoration:none;border-color:#d1dfd6}
#muba-home-v4 .muba-purchase-path li>*>span{display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;border-radius:50%;background:#e9eeea;color:#435b4c}
#muba-home-v4 .muba-purchase-path li>strong>span{background:#245b46;color:white}
#muba-home-v4 .mh-checkout .muba-shipping-jump{display:inline-block;margin:0 0 8px;font-size:12px}
#muba-home-v4 .mh-checkout .muba-quick-payment{position:relative;padding:8px 52px 8px 12px;margin-bottom:12px;border:1px solid #d8dfda;border-radius:12px;background:white}
#muba-home-v4 .mh-checkout .muba-quick-heading{display:block;margin:0 0 4px}
#muba-home-v4 .mh-checkout .muba-quick-heading>h2{font-size:14px;line-height:1.3;font-weight:600;margin:0}
#muba-home-v4 .mh-checkout .muba-quick-heading>.muba-help{display:block;position:static}
#muba-home-v4 .mh-checkout .muba-quick-heading>.muba-help>summary{position:absolute;right:7px;top:7px}
#muba-home-v4 .mh-checkout .muba-quick-heading>.muba-help>p{margin:6px 0;font-size:12px;line-height:1.5}
/* Grid only on provider-region wrappers; no SDK hosts, frames or buttons styled. */
@media(min-width:1000px){
 #muba-home-v4 .mh-checkout #muba-wallet-payment-options{display:grid;grid-template-columns:minmax(0,calc((200% - 10px)/3)) minmax(0,1fr);align-items:center;gap:10px}
 #muba-home-v4 .mh-checkout #muba-wallet-payment-options>.muba-express-region:only-child{grid-column:1/-1}
 #muba-home-v4 .mh-checkout #muba-wallet-payment-options>.muba-express-region.muba-express-visible{margin:0;padding:0}
 #muba-home-v4 .mh-checkout [data-muba-paypal-express]{margin:0 auto}
}
@media(max-width:780px){
 #muba-home-v4 .mh-checkout{padding-top:8px}
 #muba-home-v4 .mh-checkout .checkout-page-heading,#muba-home-v4 .mh-checkout .service-hero{padding:8px 54px 8px 11px}
 #muba-home-v4 .mh-checkout .checkout-page-heading h1,#muba-home-v4 .mh-checkout .service-hero h1{font-size:21px}
 #muba-home-v4 .muba-purchase-path ol{gap:3px;font-size:11px}
 #muba-home-v4 .muba-purchase-path li>a,#muba-home-v4 .muba-purchase-path li>strong,#muba-home-v4 .muba-purchase-path li>.muba-step-pending{padding:5px 4px;gap:5px}
 #muba-home-v4 .muba-purchase-path li>*>span{flex-basis:23px;width:23px;height:23px}
 #muba-home-v4 .mh-checkout .muba-quick-payment{padding:7px 10px;margin-bottom:10px}
 #muba-home-v4 .mh-checkout .muba-quick-heading{min-height:36px;padding-right:46px;display:flex;align-items:center}
 #muba-home-v4 .mh-checkout .muba-quick-heading:has(details[open]){display:block}
 #muba-home-v4 .mh-checkout .muba-quick-heading>h2{font-size:13px}
 #muba-home-v4 .mh-checkout [data-muba-paypal-express]{margin-top:6px}
}

/* 1.0.50: tighter surrounding layout. Stripe/Apple/Google mounts unchanged. */
#muba-home-v4 .mh-checkout .checkout-page-heading,#muba-home-v4 .mh-checkout .service-hero{padding-block:7px;margin-bottom:4px}
#muba-home-v4 .mh-checkout .checkout-page-heading h1,#muba-home-v4 .mh-checkout .service-hero h1{font-size:23px;margin:2px 0}
#muba-home-v4 .muba-purchase-path{margin:4px 0 6px}
#muba-home-v4 .mh-checkout .muba-shipping-jump{margin-bottom:4px}
#muba-home-v4 .mh-checkout form.muba-checkout-form{margin-top:0!important;padding-top:0!important}
#muba-home-v4 .mh-checkout .muba-quick-payment{padding-block:6px;margin-bottom:10px}
/* Native PayPal v6 custom element accepts height/width through its host style. */
#muba-home-v4 .mh-checkout [data-muba-paypal-express] paypal-button{height:40px!important;width:100%!important;box-sizing:border-box!important;padding:0!important;min-height:0!important}
@media(min-width:1000px){
 #muba-home-v4 .mh-checkout .muba-quick-payment{display:grid;grid-template-columns:118px minmax(0,1fr);align-items:center;gap:10px;padding-left:12px}
 #muba-home-v4 .mh-checkout .muba-quick-heading{margin:0}
 #muba-home-v4 .mh-checkout .muba-quick-heading:has(details[open]){grid-column:1/-1}
 #muba-home-v4 .mh-checkout .muba-quick-heading:has(details[open])+#muba-wallet-payment-options{grid-column:1/-1}
 #muba-home-v4 .mh-checkout [data-muba-paypal-express]{width:100%;max-width:none;margin:0}
}
@media(max-width:780px){
 #muba-home-v4 .mh-checkout .checkout-page-heading h1,#muba-home-v4 .mh-checkout .service-hero h1{font-size:20px}
 #muba-home-v4 .mh-checkout .checkout-page-heading,#muba-home-v4 .mh-checkout .service-hero{padding-block:6px}
 #muba-home-v4 .muba-purchase-path ol{font-size:11px}
 #muba-home-v4 .mh-checkout .muba-quick-heading{min-height:32px}
 #muba-home-v4 .mh-checkout .muba-quick-payment{padding-block:5px}
 #muba-home-v4 .mh-checkout [data-muba-paypal-express]{width:100%;max-width:none;margin:4px auto 0}
 #muba-home-v4 .mh-checkout [data-muba-paypal-express] paypal-button{height:40px!important}
}

/* 1.0.51: compact gift panel; a permanent action space prevents checked-state growth. */
#muba-home-v4 .mh-checkout #order_review .mh-gift-wrap{margin-top:8px;border-radius:10px}
#muba-home-v4 .mh-checkout #order_review .mh-gift-choice{grid-template-columns:22px 26px minmax(0,1fr) auto;grid-template-rows:auto;align-items:center;gap:6px;padding:8px 50px 8px 8px;min-height:64px}
#muba-home-v4 .mh-checkout #order_review .mh-gift-choice>input{grid-column:1;grid-row:1}
#muba-home-v4 .mh-checkout #order_review .mh-gift-art{display:grid;grid-column:2;grid-row:1;width:26px;height:26px;border-radius:7px}
#muba-home-v4 .mh-checkout #order_review .mh-gift-art svg{width:18px;height:18px}
#muba-home-v4 .mh-checkout #order_review .mh-gift-copy{grid-column:3;grid-row:1;gap:2px}
#muba-home-v4 .mh-checkout #order_review .mh-gift-copy strong{font-size:12px;line-height:1.25;letter-spacing:0}
#muba-home-v4 .mh-checkout #order_review .mh-gift-copy>span{font-size:11px;line-height:1.3;text-transform:none;letter-spacing:0}
#muba-home-v4 .mh-checkout #order_review .mh-gift-price{grid-column:4;grid-row:1;padding:0;margin:0;font-size:14px;font-weight:600;align-self:center}
#muba-home-v4 .mh-checkout #order_review .muba-gift-remove{top:50%;bottom:auto;right:7px;transform:translateY(-50%);width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important}
/* Equal typography for links, active and pending steps. */
#muba-home-v4 .muba-purchase-path li>a,#muba-home-v4 .muba-purchase-path li>strong,#muba-home-v4 .muba-purchase-path li>.muba-step-pending{font-family:inherit!important;font-size:13px!important;line-height:1.25!important;letter-spacing:0;text-transform:none}
/* Privacy text is moved intact, outside the checkbox label, into native details. */
#muba-home-v4 .mh-checkout .muba-terms-with-help{display:flex;align-items:flex-start;flex-wrap:wrap;gap:6px;margin-bottom:8px}
#muba-home-v4 .mh-checkout .muba-terms-with-help>p{flex:1 1 180px;min-width:0;margin:0}
#muba-home-v4 .mh-checkout .muba-privacy-help{display:block;position:relative;flex:0 0 32px;font-size:12px;line-height:1.5}
#muba-home-v4 .mh-checkout .muba-privacy-help[open]{flex:1 1 100%}
#muba-home-v4 .mh-checkout .muba-privacy-help>.woocommerce-privacy-policy-text{font-size:12px;line-height:1.5;margin-top:6px;padding:9px 11px;background:#f0f5f1;border:1px solid #d8dfda;border-radius:8px}
#muba-home-v4 .mh-checkout .muba-privacy-help>.woocommerce-privacy-policy-text p{font-size:inherit;margin:0}
@media(max-width:600px){
 #muba-home-v4 .mh-checkout #order_review .mh-gift-choice{grid-template-columns:22px minmax(0,1fr) auto;min-height:68px;padding:7px 49px 7px 8px;gap:5px}
 #muba-home-v4 .mh-checkout #order_review .mh-gift-art{display:none}
 #muba-home-v4 .mh-checkout #order_review .mh-gift-copy{grid-column:2}
 #muba-home-v4 .mh-checkout #order_review .mh-gift-price{grid-column:3;font-size:13px}
 #muba-home-v4 .muba-purchase-path li>a,#muba-home-v4 .muba-purchase-path li>strong,#muba-home-v4 .muba-purchase-path li>.muba-step-pending{font-size:12px!important}
}
@media(pointer:coarse){#muba-home-v4 .mh-checkout .muba-privacy-help{flex-basis:44px}}

/* 1.0.55: override older, more specific provider-panel padding. Native Stripe hosts stay untouched. */
@media(min-width:1000px){
 #muba-home-v4 .mh-checkout .muba-quick-payment #muba-wallet-payment-options>.muba-express-region{padding:0!important;margin:0!important;align-self:start;min-width:0;border:0}
 #muba-home-v4 .mh-checkout .muba-quick-payment #muba-wallet-payment-options{align-items:start}
}
#muba-home-v4 .mh-checkout [data-muba-paypal-express] .woocommerce-mini-cart__buttons{padding:0!important;margin:0!important;line-height:0;min-height:0}
#muba-home-v4 .mh-checkout [data-muba-paypal-express] [id^="ppc-button-minicart"]{padding:0!important;margin:0!important;min-height:0;line-height:0}
#muba-home-v4 .mh-checkout [data-muba-paypal-express] paypal-button{display:block!important;margin:0!important;vertical-align:top}
