/* Matches Elementor reference popup23036:400px content +12px border each side. */
.myb-abandon-overlay{position:fixed;inset:0;z-index:999999;background:rgba(0,0,0,.62);display:flex;align-items:center;justify-content:center;padding:0;box-sizing:border-box;overflow:auto}
.myb-abandon-overlay .myb-abandon{position:relative;box-sizing:border-box;background:#f6f8f3;border:12px solid #fff;width:424px;max-width:100%;max-height:calc(100dvh - 24px);overflow:auto;padding:10px;text-align:center;color:#585858;font-family:Roboto,sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:normal}
.myb-abandon-overlay .myb-abandon h2{font-family:Raleway,sans-serif;font-size:28px;font-weight:700;line-height:43px;letter-spacing:normal;text-transform:none;color:#353535;margin:0 0 20px;padding:0}
.myb-abandon-overlay .myb-abandon p{font-family:Roboto,sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:normal;color:#585858;margin:0 0 20px;padding:0}
.myb-abandon-actions{display:grid;grid-template-columns:minmax(0,1fr);width:350px;max-width:100%;margin-inline:auto;gap:12px}
.myb-abandon-overlay .myb-abandon button{border:0;box-shadow:none!important;cursor:pointer;border-radius:0;text-transform:none}
.myb-abandon-overlay .myb-abandon-actions button,.myb-abandon-overlay .myb-offer-status button{box-sizing:border-box;width:100%;min-width:0;min-height:52px;height:52px;padding:0 12px;font-family:Roboto,sans-serif;font-size:var(--myb-popup-button-size,16px);font-weight:800;line-height:1;letter-spacing:normal;overflow-wrap:normal;background:#387028;color:#fff;white-space:normal}
.myb-abandon-overlay .myb-abandon-actions .myb-abandon-secondary{background:#DFE8DC;color:#387028}
.myb-abandon-overlay .myb-abandon .myb-abandon-x{position:absolute;right:0;top:0;z-index:4;background:transparent;color:#387028;font-family:Arial,sans-serif;font-size:24px;line-height:24px;letter-spacing:normal;padding:2px}
.myb-abandon-overlay .myb-abandon input{box-sizing:border-box;min-width:0;width:100%;height:40px;border:1px solid #ddd;border-radius:0;background:#fff;color:#585858;font-family:Roboto,sans-serif;font-size:16px;font-weight:400;line-height:24px;padding:8px 10px;margin:0 0 12px}
.myb-abandon-names{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.myb-popup-debug{position:fixed;bottom:8px;right:8px;z-index:999998;background:#fff;color:#111;padding:8px;font:12px monospace;box-shadow:0 0 0 1px #aaa;cursor:pointer}
.myb-checkout-highlight{outline:3px solid #d00000!important;outline-offset:4px;transition:none!important}
.myb-checkout-highlight.myb-checkout-highlight--fade{outline-color:transparent!important;transition:outline-color 1.25s ease!important}
.myb-abandon-overlay .myb-abandon .myb-offer-status{position:relative;inset:auto;padding:0;min-height:0;background:transparent;color:inherit;gap:20px;overflow:visible}
.myb-abandon-overlay .myb-offer-status h2,.myb-abandon-overlay .myb-offer-status p{margin:0}
.myb-abandon-overlay .myb-abandon-content.has-offer-status>:not(.myb-offer-status){display:none!important}
.myb-abandon-overlay[data-status] .myb-abandon>h2,.myb-abandon-overlay[data-status] .myb-abandon>.myb-abandon-copy,.myb-abandon-overlay[data-status] .myb-abandon>.myb-abandon-actions{display:none}
@media(max-width:767px){.myb-abandon-overlay .myb-abandon{width:calc(80vw + 24px)}.myb-abandon-overlay .myb-abandon h2{font-size:24px;line-height:31px}.myb-abandon-overlay .myb-abandon p{font-size:14px;line-height:21px}.myb-abandon-actions{grid-template-columns:minmax(0,1fr)}.myb-abandon-overlay .myb-abandon-actions button,.myb-abandon-overlay .myb-offer-status button{padding:0 12px}}

@media(max-width:921px){.myb-abandon-overlay .myb-abandon-actions button,.myb-abandon-overlay .myb-offer-status button{font-size:var(--myb-popup-button-size,13.68px)}}

.myb-abandon-overlay .myb-offer-status button{width:350px;max-width:100%;align-self:center}

/* Shared centered text/button column, capped by the mobile dialog width. */
.myb-abandon-overlay .myb-abandon>h2,.myb-abandon-overlay .myb-abandon>.myb-abandon-copy{box-sizing:border-box;width:350px;max-width:100%;margin-left:auto;margin-right:auto;overflow-wrap:anywhere}
.myb-abandon-overlay .myb-abandon .myb-offer-status{box-sizing:border-box;width:350px;max-width:100%;margin-inline:auto}
.myb-abandon-overlay .myb-offer-status h2,.myb-abandon-overlay .myb-offer-status p{box-sizing:border-box;max-width:100%;overflow-wrap:anywhere}

.myb-abandon-overlay .myb-abandon-content{box-sizing:border-box;width:350px;max-width:100%;margin-inline:auto}

.myb-abandon-overlay[dir="rtl"] .myb-abandon-x{right:auto;left:0}.myb-abandon-overlay [dir="ltr"]{unicode-bidi:isolate}

/* Offer restoration uses the approved popup shell and typography. */
.myb-abandon-overlay.myb-offer-loading .myb-abandon{padding-top:28px;padding-bottom:28px}
.myb-offer-loading-logo{display:block;width:38.4px;height:38.4px;object-fit:contain;margin:0 auto 22px;animation:mybOfferLoadingSpin 3s linear infinite}
.myb-abandon-overlay.myb-offer-loading .myb-abandon>.myb-abandon-copy{margin-bottom:0}
@keyframes mybOfferLoadingSpin{from{transform:rotate(0)}to{transform:rotate(2160deg)}}
@media(prefers-reduced-motion:reduce){.myb-offer-loading-logo{animation:none}}

/* The loading dialog receives focus for accessibility; keep its approved white frame. */
.myb-abandon-overlay.myb-offer-loading .myb-abandon:focus,
.myb-abandon-overlay.myb-offer-loading .myb-abandon:focus-visible{outline:none!important;box-shadow:none!important}
