/* Scoped to this plugin's gateways; works with the existing theme's escaped Hub labels. */
.oi-below-minimum,.wc_payment_method:has([data-oi-below-minimum="true"]),[data-mch-funds-form]:not([data-oi-minimum-ready="true"]) label:has(input:is([value=og_wallet_local_pay],[value=og_paypal_local_pay])) { opacity:.45!important;filter:grayscale(1);cursor:not-allowed!important; }
.oi-below-minimum,.wc_payment_method:has([data-oi-below-minimum="true"]) { pointer-events:none; }
:is(.woocommerce,#payment) .oi-payment-logo { width:80px!important;height:22px!important;max-width:80px!important;max-height:22px!important;object-fit:contain;object-position:right center;float:right;margin:0 0 0 12px!important;vertical-align:middle; }
.woocommerce #payment .wc_payment_method:has(>input:is([value=cashapp_local_pay],[value=venmo_local_pay],[value=paysafecard_local_pay],[value=og_wallet_local_pay],[value=og_paypal_local_pay]))>label { display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px;box-sizing:border-box;line-height:1.4; }
.woocommerce #payment .wc_payment_method:has(>input:is([value=cashapp_local_pay],[value=venmo_local_pay],[value=paysafecard_local_pay],[value=og_wallet_local_pay],[value=og_paypal_local_pay]))>input[type=radio] { top:24px; }
.woocommerce #payment .oi-payment-logo { float:none;flex-shrink:0;margin:0!important; }
[data-mch-funds-form] .mch-funds-methods label:has(input:is([value=cashapp_local_pay],[value=venmo_local_pay],[value=paysafecard_local_pay],[value=og_wallet_local_pay],[value=og_paypal_local_pay])) { display:flex;align-items:center;gap:12px;min-height:68px;box-sizing:border-box;padding:14px 16px;margin:0 0 10px;border:1px solid #dfe3eb;border-radius:12px;background:#fff;color:#253047;cursor:pointer;line-height:1.4; }
[data-mch-funds-form] .mch-funds-methods label:has(input:checked) { border-color:var(--mch-accent,#6425ed);background:var(--mct-brand-tint,#f5f1ff);box-shadow:0 0 0 1px var(--mch-accent,#6425ed); }
[data-mch-funds-form] .mch-funds-methods label:has(input:disabled) { opacity:.5;cursor:not-allowed; }
[data-mch-funds-form] .mch-funds-methods input[name=method] { flex:0 0 17px;width:17px;height:17px;margin:0; }
[data-mch-funds-form] .mch-funds-methods label>span { display:flex;align-items:center;justify-content:space-between;gap:16px;flex:1;min-width:0;font-size:14px;font-weight:600; }
[data-mch-funds-form] .mch-funds-methods label:has(input:is([value=cashapp_local_pay],[value=venmo_local_pay],[value=paysafecard_local_pay],[value=og_wallet_local_pay],[value=og_paypal_local_pay]))>span::after { content:'';display:block;flex:0 0 80px;width:80px;height:22px;background:var(--oi-method-logo) right center/contain no-repeat; }
[data-mch-funds-form] label:has([value=cashapp_local_pay]) { --oi-method-logo:url('assets/cashapp.png'); }
[data-mch-funds-form] label:has([value=venmo_local_pay]) { --oi-method-logo:url('assets/venmo.png'); }
[data-mch-funds-form] label:has([value=paysafecard_local_pay]) { --oi-method-logo:url('assets/paysafecard.png'); }
[data-mch-funds-form] label:has([value=og_wallet_local_pay]) { --oi-method-logo:url('assets/wallet.svg'); }
[data-mch-funds-form] label:has([value=og_paypal_local_pay]) { --oi-method-logo:url('assets/paypal.png'); }
.oi-block-label { display:flex;align-items:center;justify-content:space-between;gap:16px;flex:1;min-width:0;width:100%;font-weight:600; }
.oi-block-label img { display:block;width:80px;height:22px;max-width:80px;object-fit:contain;object-position:right;flex-shrink:0; }
.oi-wallet-dialog { border:1px solid #e1e5ed;border-radius:20px;padding:26px;width:min(420px,calc(100% - 32px));box-sizing:border-box;margin:auto;color:#182238;background:#fff;font:14px/1.55 system-ui,sans-serif;box-shadow:0 24px 80px #18223830; }
.oi-wallet-dialog::backdrop { background:#14213d66; }
.oi-wallet-dialog h2 { margin:0 0 8px;font-size:22px;line-height:1.3; }
.oi-wallet-options { display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0; }
.oi-wallet-options button,.oi-wallet-select { display:flex;align-items:center;justify-content:center;gap:8px;min-height:56px;border:1px solid #dfe3eb;border-radius:12px;background:#fff;color:#253047;padding:12px;cursor:pointer;font:600 14px/1.4 system-ui,sans-serif; }
.oi-wallet-options button:hover,.oi-wallet-select:hover { border-color:#6425ed;background:#f5f1ff; }
.oi-wallet-options img { display:block;width:76px;height:24px;object-fit:contain; }
.oi-wallet-cancel { padding:8px 0;color:#4d566b;background:none;border:0;cursor:pointer; }
.oi-wallet-dialog [data-error] { color:#b42318; }
.oi-wallet-dialog button:disabled { opacity:.5;cursor:wait; }
.oi-wallet-dialog button:focus-visible,.oi-wallet-select:focus-visible { outline:3px solid #c8b4ff;outline-offset:3px; }
[data-oi-minimum] { margin:8px 0 14px;color:#626b7e;font-size:12px;line-height:1.5; }
#payment:has(input:is([value=cashapp_local_pay],[value=venmo_local_pay],[value=paysafecard_local_pay],[value=og_wallet_local_pay],[value=og_paypal_local_pay])) #place_order,
[data-mch-funds-form]:has(input:is([value=cashapp_local_pay],[value=venmo_local_pay],[value=paysafecard_local_pay],[value=og_wallet_local_pay],[value=og_paypal_local_pay]))>button[type=submit] { background:var(--fc-co-accent,var(--mch-accent,var(--mct-brand-violet,#6425ed)));color:#fff;border:1px solid transparent;border-radius:12px;min-height:50px;font:650 14px/1.4 system-ui,sans-serif;cursor:pointer;padding:14px 20px;width:100%; }
@media(max-width:380px) { [data-mch-funds-form] .mch-funds-methods label>span { gap:8px;font-size:13px; } [data-mch-funds-form] .mch-funds-methods label>span::after { flex-basis:72px!important;width:72px!important; } }
