/* Native dialogs and external CSS preserve the storefront's strict CSP. */
body.market-popup-is-open{overflow:hidden}
dialog.market-popup{--popup-width:560px;--popup-height:auto;box-sizing:border-box;position:fixed;inset:0;width:min(var(--popup-width),calc(100vw - 32px));height:var(--popup-height);max-width:calc(100vw - 32px);max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:0;overflow:auto;overscroll-behavior:contain;background:#fff;color:#153750;border:1px solid #15375026;border-radius:6px;box-shadow:0 24px 100px #091b3655;text-align:left}
dialog.market-popup:not([open]){display:none}
.market-popup::backdrop{background:#081a2bd1;backdrop-filter:blur(3px)}
.market-popup .market-popup-close{position:absolute;z-index:1;right:12px;top:12px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;margin:0;border:1px solid #15375026;border-radius:50%;background:#ffffffed;color:#153750;font:400 28px/1 Arial,sans-serif;cursor:pointer;box-shadow:0 2px 12px #15375012}
.market-popup .market-popup-image{display:block;width:100%;height:auto;max-width:100%;object-fit:contain;background:#fff;border:0;margin:0}
.market-popup .market-popup-copy{box-sizing:border-box;padding:38px clamp(22px,5vw,44px) 32px}
.market-popup h2{margin:0 0 18px;padding-right:22px;color:#153750;font:400 clamp(30px,4vw,44px)/1.08 'Cormorant Garamond',Georgia,serif;letter-spacing:-.025em;overflow-wrap:anywhere}
.market-popup .market-popup-copy>p{margin:0 0 24px;color:#506377;font:400 14px/1.8 Manrope,Arial,sans-serif;white-space:pre-line;overflow-wrap:anywhere}
.market-popup .market-popup-cta{position:relative;display:flex;align-items:center;justify-content:center;gap:20px;box-sizing:border-box;min-height:50px;width:100%;padding:14px 38px;background:#153750;color:#fff;border:1px solid #153750;border-radius:4px;text-decoration:none;font:500 17px/1.4 'Cormorant Garamond',Georgia,serif;overflow-wrap:anywhere;transition:box-shadow .2s}
.market-popup .market-popup-cta:after{content:"";position:absolute;right:22px;top:50%;width:2px;height:24px;background:#16b98a;transform:translateY(-50%) skewX(-22deg)}
.market-popup .market-popup-cta>span{font:400 14px/1 Arial,sans-serif}
.market-popup button:focus-visible,.market-popup a:focus-visible{outline:3px solid #16b98a;outline-offset:-4px}
.market-popup .market-popup-cta:hover{color:#fff;box-shadow:0 0 18px #16b98a66}
.popup-admin{max-width:1300px;margin:0 auto}.popup-admin .admin-heading{margin:24px 0}.popup-admin-layout{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(0,2fr);gap:24px;align-items:start}.popup-campaigns,.popup-editor{min-width:0;background:#fff;border:1px solid #dce5ef;border-radius:10px;padding:24px}.popup-campaigns h2,.popup-editor h2{font-size:22px;margin:0 0 20px}.popup-campaign{display:grid;gap:7px;padding:16px 12px;margin:0 0 12px;border:1px solid #dce5ef;border-radius:6px;text-decoration:none;color:#153750;overflow-wrap:anywhere}.popup-campaign span{font-size:12px;color:#52677d}.popup-campaign.is-selected{border-color:#153750;background:#eff5fa}.popup-editor fieldset{min-width:0;padding:20px;margin:24px 0;border:1px solid #dce5ef;border-radius:8px}.popup-editor legend{font-weight:600;padding:0 8px}.popup-editor>label,.popup-editor fieldset>label,.popup-editor details>label{display:grid;gap:8px;margin:14px 0}.popup-editor label.check{display:flex;align-items:flex-start;gap:10px}.popup-editor p{font-size:13px;line-height:1.7;color:#52677d}.popup-editor .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.popup-editor .form-grid label{display:grid;gap:8px;min-width:0}.popup-editor input:not([type=checkbox]),.popup-editor select,.popup-editor textarea{box-sizing:border-box;width:100%;max-width:100%}.popup-editor-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}.popup-upload-preview{display:block;max-width:100%;max-height:240px;object-fit:contain;margin:16px auto}.popup-delete{margin:24px 0}.popup-delete form{margin-top:16px}
@media(max-width:760px){.popup-admin-layout{grid-template-columns:minmax(0,1fr)}.popup-campaigns,.popup-editor{padding:18px}.popup-editor fieldset{padding:15px}.popup-editor .form-grid{grid-template-columns:minmax(0,1fr)}.market-popup .market-popup-copy{padding-top:34px}}
@media(prefers-reduced-motion:reduce){.market-popup .market-popup-cta{transition:none}}
.market-popup.popup-width-280{--popup-width:280px}
.market-popup.popup-width-300{--popup-width:300px}
.market-popup.popup-width-320{--popup-width:320px}
.market-popup.popup-width-340{--popup-width:340px}
.market-popup.popup-width-360{--popup-width:360px}
.market-popup.popup-width-380{--popup-width:380px}
.market-popup.popup-width-400{--popup-width:400px}
.market-popup.popup-width-420{--popup-width:420px}
.market-popup.popup-width-440{--popup-width:440px}
.market-popup.popup-width-460{--popup-width:460px}
.market-popup.popup-width-480{--popup-width:480px}
.market-popup.popup-width-500{--popup-width:500px}
.market-popup.popup-width-520{--popup-width:520px}
.market-popup.popup-width-540{--popup-width:540px}
.market-popup.popup-width-560{--popup-width:560px}
.market-popup.popup-width-580{--popup-width:580px}
.market-popup.popup-width-600{--popup-width:600px}
.market-popup.popup-width-620{--popup-width:620px}
.market-popup.popup-width-640{--popup-width:640px}
.market-popup.popup-width-660{--popup-width:660px}
.market-popup.popup-width-680{--popup-width:680px}
.market-popup.popup-width-700{--popup-width:700px}
.market-popup.popup-width-720{--popup-width:720px}
.market-popup.popup-width-740{--popup-width:740px}
.market-popup.popup-width-760{--popup-width:760px}
.market-popup.popup-width-780{--popup-width:780px}
.market-popup.popup-width-800{--popup-width:800px}
.market-popup.popup-width-820{--popup-width:820px}
.market-popup.popup-width-840{--popup-width:840px}
.market-popup.popup-width-860{--popup-width:860px}
.market-popup.popup-width-880{--popup-width:880px}
.market-popup.popup-width-900{--popup-width:900px}
.market-popup.popup-width-920{--popup-width:920px}
.market-popup.popup-width-940{--popup-width:940px}
.market-popup.popup-width-960{--popup-width:960px}
.market-popup.popup-width-980{--popup-width:980px}
.market-popup.popup-width-1000{--popup-width:1000px}
.market-popup.popup-width-1020{--popup-width:1020px}
.market-popup.popup-width-1040{--popup-width:1040px}
.market-popup.popup-width-1060{--popup-width:1060px}
.market-popup.popup-width-1080{--popup-width:1080px}
.market-popup.popup-width-1100{--popup-width:1100px}
.market-popup.popup-width-1120{--popup-width:1120px}
.market-popup.popup-width-1140{--popup-width:1140px}
.market-popup.popup-width-1160{--popup-width:1160px}
.market-popup.popup-width-1180{--popup-width:1180px}
.market-popup.popup-width-1200{--popup-width:1200px}
.market-popup.popup-height-0{--popup-height:auto}
.market-popup.popup-height-240{--popup-height:240px}
.market-popup.popup-height-260{--popup-height:260px}
.market-popup.popup-height-280{--popup-height:280px}
.market-popup.popup-height-300{--popup-height:300px}
.market-popup.popup-height-320{--popup-height:320px}
.market-popup.popup-height-340{--popup-height:340px}
.market-popup.popup-height-360{--popup-height:360px}
.market-popup.popup-height-380{--popup-height:380px}
.market-popup.popup-height-400{--popup-height:400px}
.market-popup.popup-height-420{--popup-height:420px}
.market-popup.popup-height-440{--popup-height:440px}
.market-popup.popup-height-460{--popup-height:460px}
.market-popup.popup-height-480{--popup-height:480px}
.market-popup.popup-height-500{--popup-height:500px}
.market-popup.popup-height-520{--popup-height:520px}
.market-popup.popup-height-540{--popup-height:540px}
.market-popup.popup-height-560{--popup-height:560px}
.market-popup.popup-height-580{--popup-height:580px}
.market-popup.popup-height-600{--popup-height:600px}
.market-popup.popup-height-620{--popup-height:620px}
.market-popup.popup-height-640{--popup-height:640px}
.market-popup.popup-height-660{--popup-height:660px}
.market-popup.popup-height-680{--popup-height:680px}
.market-popup.popup-height-700{--popup-height:700px}
.market-popup.popup-height-720{--popup-height:720px}
.market-popup.popup-height-740{--popup-height:740px}
.market-popup.popup-height-760{--popup-height:760px}
.market-popup.popup-height-780{--popup-height:780px}
.market-popup.popup-height-800{--popup-height:800px}
.market-popup.popup-height-820{--popup-height:820px}
.market-popup.popup-height-840{--popup-height:840px}
.market-popup.popup-height-860{--popup-height:860px}
.market-popup.popup-height-880{--popup-height:880px}
.market-popup.popup-height-900{--popup-height:900px}
.market-popup.popup-height-920{--popup-height:920px}
.market-popup.popup-height-940{--popup-height:940px}
.market-popup.popup-height-960{--popup-height:960px}
.market-popup.popup-height-980{--popup-height:980px}
.market-popup.popup-height-1000{--popup-height:1000px}
