#mbuc-modal{position:fixed;inset:0;z-index:2147483000;font-family:Arial,sans-serif;color:#fff}#mbuc-modal.mbuc-hidden{display:none}#mbuc-modal .mbuc-shade{position:absolute;inset:0;background:#000b}#mbuc-modal .mbuc-window{position:relative;max-width:1100px;max-height:92vh;overflow:auto;margin:4vh auto;background:#101010;border-radius:12px;padding:24px;box-shadow:0 12px 60px #000a}#mbuc-modal h2{color:#fff;font-size:25px;margin:0 35px 20px 0}#mbuc-modal h3{color:#fff;font-size:19px;margin:0 0 15px}#mbuc-modal .mbuc-close{position:absolute;right:18px;top:13px;background:transparent;border:0;color:#fff;font-size:30px;cursor:pointer}#mbuc-modal .mbuc-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}#mbuc-modal .mbuc-card{background:#202020;padding:22px;border-radius:9px;min-width:0}#mbuc-modal .mbuc-frame-wrap{height:580px;overflow:auto}#mbuc-modal iframe{width:100%;height:100%;border:0;background:#202020}#mbuc-modal .mbuc-item{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff24;padding:10px 0;gap:12px}#mbuc-modal .mbuc-item button{background:transparent;border:0;color:#fff;font-size:23px;cursor:pointer}#mbuc-modal .mbuc-hint{color:#bbb;font-size:13px;line-height:1.5}#mbuc-modal .mbuc-presets{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:12px 0}#mbuc-modal .mbuc-presets button{background:transparent;border:1px solid #bbb;border-radius:5px;padding:10px 3px;color:#fff;cursor:pointer}#mbuc-modal .mbuc-presets button.active{background:#fff;color:#111}#mbuc-modal .mbuc-custom{display:block;font-size:14px}#mbuc-modal .mbuc-custom input{display:block;width:140px;max-width:100%;padding:9px;margin-top:7px;background:#fff;color:#111;border-radius:4px}#mbuc-modal .mbuc-total{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #ffffff55;margin-top:20px;padding-top:20px;font-size:21px}#mbuc-modal #mbuc-message{font-size:13px;color:#ffc78e}body.mbuc-open{overflow:hidden!important}@media(max-width:760px){#mbuc-modal .mbuc-window{margin:0;max-height:100vh;border-radius:0;padding:16px}#mbuc-modal .mbuc-grid{grid-template-columns:1fr}#mbuc-modal .mbuc-frame-wrap{height:520px}#mbuc-modal .mbuc-card{padding:15px}}
/* v0.2 : formulaire natif, sans iframe */
#mbuc-modal .mbuc-frame-wrap,#mbuc-modal iframe{display:none!important}
#mbuc-modal #mbuc-checkout{background:transparent;color:#fff}
#mbuc-modal #mbuc-checkout form.checkout{display:block!important;background:transparent!important;padding:0!important;margin:0!important}
#mbuc-modal #mbuc-checkout .col2-set,#mbuc-modal #mbuc-checkout .col-1,#mbuc-modal #mbuc-checkout .woocommerce-billing-fields,#mbuc-modal #mbuc-checkout .woocommerce-billing-fields__field-wrapper{width:100%!important;float:none!important;margin:0!important;padding:0!important}
#mbuc-modal #mbuc-checkout .form-row{width:100%!important;float:none!important;margin:0 0 14px!important}
#mbuc-modal #mbuc-checkout input.input-text,#mbuc-modal #mbuc-checkout select{width:100%!important;background:#333!important;color:#fff!important;border:1px solid #666!important;border-radius:5px!important;padding:11px!important;box-sizing:border-box!important}
#mbuc-modal #mbuc-checkout label{color:#fff!important}
#mbuc-modal #mbuc-checkout #order_review_heading,#mbuc-modal #mbuc-checkout .woocommerce-checkout-review-order-table,#mbuc-modal #mbuc-checkout .woocommerce-additional-fields,#mbuc-modal #mbuc-checkout .woocommerce-billing-fields>h3,#mbuc-modal #mbuc-checkout .mbd-donation,#mbuc-modal #mbuc-checkout .mbd-cart-selection,#mbuc-modal #mbuc-checkout .woocommerce-form-coupon-toggle,#mbuc-modal #mbuc-checkout .woocommerce-form-login-toggle{display:none!important}
#mbuc-modal #mbuc-checkout .woocommerce-checkout-review-order{background:transparent!important}
#mbuc-modal #mbuc-payment-destination{margin-top:20px}
#mbuc-modal #payment{background:transparent!important;color:#fff!important}
#mbuc-modal #payment .payment_box{display:none!important}
#mbuc-modal #payment ul.payment_methods{background:transparent!important;border:0!important;padding:10px 0!important}
#mbuc-modal #payment .place-order{background:transparent!important;padding:10px 0!important}
#mbuc-modal #place_order{background:#d32f2f!important;color:#fff!important;border:0!important;border-radius:5px!important;width:100%!important;padding:15px!important}
#mbuc-modal #mbuc-checkout .woocommerce-NoticeGroup{color:#fff}
#mbuc-modal #mbuc-checkout .woocommerce-error{background:#4a1919;color:#fff}

#mbuc-modal .mbuc-grid{display:block}
#mbuc-modal .mbuc-left{background:transparent;padding:0}
#mbuc-modal #mbuc-checkout form.checkout{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}
#mbuc-modal #mbuc-checkout form.checkout>.col2-set{grid-column:1;background:#202020;border-radius:9px;padding:20px!important}
#mbuc-modal #mbuc-checkout form.checkout>.mbuc-side{grid-column:2;grid-row:1 / span 2}
#mbuc-modal #mbuc-checkout form.checkout>#order_review_heading,#mbuc-modal #mbuc-checkout form.checkout>#order_review{display:none!important}
#mbuc-modal #mbuc-checkout form.checkout>.mbuc-side #payment{display:block!important}
@media(max-width:760px){#mbuc-modal #mbuc-checkout form.checkout{grid-template-columns:1fr}#mbuc-modal #mbuc-checkout form.checkout>.col2-set,#mbuc-modal #mbuc-checkout form.checkout>.mbuc-side{grid-column:1;grid-row:auto}}

/* Fenêtre compacte, coordonnées et validation locales */
#mbuc-modal .mbuc-window{max-width:1000px;margin:2vh auto;max-height:96dvh;padding:18px}#mbuc-modal h2{font-size:21px;line-height:1.2;margin-bottom:12px}#mbuc-modal h3{font-size:16px;line-height:1.3;margin-bottom:9px}#mbuc-modal .mbuc-left>h3{display:none}#mbuc-modal .mbuc-card,#mbuc-modal #mbuc-checkout form.checkout>.col2-set{padding:16px!important}#mbuc-modal #mbuc-checkout form.checkout{gap:16px}#mbuc-modal #mbuc-checkout .form-row{padding:0!important;margin:0 0 7px!important;line-height:1.3!important}#mbuc-modal #mbuc-checkout label{position:static!important;transform:none!important;display:block!important;margin:0 0 4px!important;font-size:12px!important;line-height:1.3!important;height:auto!important}#mbuc-modal #mbuc-checkout input.input-text,#mbuc-modal #mbuc-checkout select{height:34px!important;min-height:34px!important;line-height:20px!important;padding:6px 9px!important;margin:0!important;font-size:14px!important}#mbuc-modal .select2-container .select2-selection--single{height:34px!important;background:#333;border:1px solid #666;color:#fff}#mbuc-modal .select2-selection__rendered{line-height:32px!important;color:#fff!important;font-size:13px}#mbuc-modal .select2-selection__arrow{height:32px!important}#mbuc-modal .mbuc-item{padding:5px 0;font-size:13px;line-height:1.35}#mbuc-modal #mbuc-items{max-height:150px;overflow:auto;border-bottom:2px solid #e63232;padding-bottom:8px;margin-bottom:12px}#mbuc-modal .mbuc-presets{margin:9px 0}#mbuc-modal .mbuc-presets button{border:1px solid #e63232;padding:7px 3px;font-size:14px;line-height:1.3;height:auto;min-height:32px}#mbuc-modal .mbuc-presets button.active{background:#e63232;color:#fff}#mbuc-modal .mbuc-custom input{padding:5px 8px!important;height:34px!important;min-height:34px!important;font-size:14px}#mbuc-modal .mbuc-hint{font-size:11px;line-height:1.4;margin:5px 0 8px}#mbuc-modal .mbuc-total{font-size:17px;margin-top:10px;padding-top:10px}#mbuc-modal #mbuc-payment-destination{margin-top:12px}#mbuc-modal #payment ul.payment_methods{padding:4px 0!important;margin:0!important}#mbuc-modal #payment .place-order{padding:6px 0 0!important;margin:0!important}#mbuc-modal .woocommerce-privacy-policy-text,#mbuc-modal .woocommerce-privacy-policy-text p{font-size:9px!important;line-height:1.35!important;margin:5px 0!important}#mbuc-modal #place_order{display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;font-size:16px!important;line-height:1.2!important;letter-spacing:.6px!important;min-height:40px!important;height:auto!important;padding:10px 14px!important;margin:10px 0 0!important;box-sizing:border-box!important}#mbuc-modal #place_order::before,#mbuc-modal #place_order::after{display:none!important}#mbuc-modal .mbuc-payment-choice{display:flex!important;align-items:flex-start;gap:8px;margin:4px 0 8px!important;font-size:12px!important;line-height:1.45!important}#mbuc-modal #mbuc-checkout label.mbuc-payment-choice{display:flex!important;font-size:12px!important;line-height:1.45!important}#mbuc-modal #mbuc-payment-confirm{position:static!important;opacity:1!important;appearance:auto!important;width:16px!important;height:16px!important;min-height:16px!important;flex:0 0 16px;margin:1px 0 0!important}#mbuc-modal .payment_method_helloasso>label,#mbuc-modal .payment_method_helloasso>input{display:none!important}#mbuc-modal .mbuc-field-error{display:block;color:#ff5959!important;font:11px/1.4 Arial,sans-serif;margin:4px 0 0}#mbuc-modal [aria-invalid=true]{border-color:#ff5959!important}#mbuc-modal #mbuc-message{color:#ff5959;font-size:12px;margin:6px 0}#mbuc-modal #mbuc-message:empty{display:none}#mbuc-modal .mbuc-open-payment{display:block;color:#fff;text-decoration:underline;padding:8px 0}#mbuc-modal .mbuc-side>.mbuc-hint:last-child{display:none}@media(max-width:760px){#mbuc-modal .mbuc-window{margin:0;max-height:100dvh;padding:12px}#mbuc-modal #mbuc-checkout form.checkout{gap:10px}#mbuc-modal .mbuc-card,#mbuc-modal #mbuc-checkout form.checkout>.col2-set{padding:12px!important}}

#mbuc-modal #mbuc-checkout .payment_method_helloasso>label:not(.mbuc-payment-choice){display:none!important}#mbuc-modal #mbuc-checkout .mbuc-payment-choice{display:flex!important}#mbuc-modal .mbuc-card.mbuc-left{padding:0!important}

/* v0.3.2 : un seul sélecteur par moyen de paiement */
#mbuc-modal #mbuc-checkout #payment ul.payment_methods li.wc_payment_method{display:grid!important;grid-template-columns:20px minmax(0,1fr)!important;gap:0 10px!important;align-items:start!important;float:none!important;clear:both!important;width:100%!important;margin:0 0 12px!important;padding:0!important;background:transparent!important;box-shadow:none!important;}
#mbuc-modal #mbuc-checkout #payment ul.payment_methods li.wc_payment_method>input.input-radio{display:block!important;position:static!important;opacity:1!important;appearance:none!important;-webkit-appearance:none!important;width:18px!important;height:18px!important;min-height:18px!important;margin:1px 0 0!important;border:2px solid #fff!important;border-radius:2px!important;background:transparent!important;box-shadow:none!important;grid-column:1!important;grid-row:1!important;float:none!important;transform:none!important;}
#mbuc-modal #mbuc-checkout #payment ul.payment_methods li.wc_payment_method>input.input-radio:checked{background:#fff!important;box-shadow:inset 0 0 0 3px #202020!important;}
#mbuc-modal #mbuc-checkout #payment ul.payment_methods li.wc_payment_method>label{display:block!important;position:static!important;grid-column:2!important;grid-row:1!important;width:auto!important;margin:0!important;padding:0!important;font:13px/20px Arial,sans-serif!important;color:#fff!important;background:transparent!important;box-shadow:none!important;text-shadow:none!important;transform:none!important;}
#mbuc-modal #mbuc-checkout #payment ul.payment_methods li.wc_payment_method>label:before,#mbuc-modal #mbuc-checkout #payment ul.payment_methods li.wc_payment_method>label:after{content:none!important;display:none!important;}
#mbuc-modal #mbuc-checkout #payment .mbuc-payment-choice,#mbuc-modal #mbuc-checkout #payment .payment_box{display:none!important;}
#mbuc-modal #mbuc-checkout #payment input.input-radio:focus:not(:focus-visible){outline:none!important;}
#mbuc-modal #mbuc-checkout #place_order{display:flex!important;text-transform:none!important;}
#mbuc-modal #ppc-button,#mbuc-modal #ppc-button-ppcp-gateway,#mbuc-modal .ppc-button-wrapper,#mbuc-modal .ppcp-button-container,#mbuc-modal .paypal-buttons,#mbuc-modal .ppcp-messages{display:none!important;}
