.sc-dialog{position:fixed;inset:0;margin:auto;width:min(520px,calc(100% - 32px));height:min(820px,calc(100dvh - 40px));max-width:none;max-height:none;padding:0;border:0;border-radius:22px;box-shadow:0 28px 100px #0004;background:#fff;overflow:hidden}.sc-dialog::backdrop{background:#0009;backdrop-filter:blur(4px)}.sc-dialog>iframe{width:100%;height:100%;border:0;display:block}.sc-dialog-close{position:absolute;right:14px;top:12px;z-index:5;width:32px;height:32px;border:1px solid #ddd;background:#fff;color:#222;border-radius:50%;font:22px system-ui;cursor:pointer}
.sc-body{--sc-bg:#fff;--sc-ink:#171717;--sc-muted:#747474;--sc-line:#e8e8e8;--sc-soft:#f7f7f7;margin:0;background:var(--sc-bg);color:var(--sc-ink);font:14px 'Superfan Sans',system-ui,sans-serif;color-scheme:light}.sc-body *{box-sizing:border-box}.sc-body [hidden]{display:none!important}[data-theme=dark] .sc-body{--sc-bg:#181818;--sc-ink:#f5f5f5;--sc-muted:#aaa;--sc-line:#373737;--sc-soft:#242424;color-scheme:dark}.sc-shell{padding:32px 28px 20px;max-width:520px;margin:auto}.sc-header{text-align:center;margin-bottom:24px}.sc-header p{font-size:10px;letter-spacing:1.5px;color:var(--sc-muted);margin:12px 0 5px}.sc-header h1{font-size:19px;font-weight:550;margin:0}.sc-ribbon{display:inline-block;width:30px;height:36px;background:var(--sc-accent);mask:url(superfan-mark.png) center/contain no-repeat;-webkit-mask:url(superfan-mark.png) center/contain no-repeat}.sc-steps{display:flex;border-bottom:1px solid var(--sc-line);margin-bottom:24px}.sc-steps span{flex:1;padding:12px 0;color:var(--sc-muted);font-size:12px}.sc-steps [aria-current=step]{border-bottom:2px solid var(--sc-accent);color:var(--sc-ink)}.sc-shell h2{font-size:22px;letter-spacing:-.6px;font-weight:550;margin:0 0 8px}.sc-muted{font-size:12px;line-height:1.7;color:var(--sc-muted);margin:0 0 18px}.sc-shell label{display:grid;gap:8px;font-size:12px;font-weight:500;margin-top:18px}.sc-shell input:not([type=checkbox]):not([type=radio]),.sc-shell textarea{width:100%;border:1px solid var(--sc-line);background:var(--sc-bg);color:var(--sc-ink);border-radius:10px;padding:13px 14px;min-height:46px;font:inherit;outline:none}.sc-shell input:focus,.sc-shell textarea:focus{border-color:var(--sc-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--sc-accent),transparent 85%)}.sc-shell textarea{resize:vertical;font-family:inherit;font-size:14px}.sc-presets{display:flex;gap:8px;margin-top:10px}.sc-presets button{flex:1;background:var(--sc-soft);color:var(--sc-ink);border:1px solid var(--sc-line);padding:10px;border-radius:8px;cursor:pointer}.sc-anonymous{display:flex!important;align-items:center;font-weight:400!important}.sc-shell input[type=checkbox],.sc-shell input[type=radio]{accent-color:var(--sc-accent)}.sc-primary{width:100%;min-height:48px;border:0;border-radius:11px;background:var(--sc-ink);color:var(--sc-bg);font:600 14px 'Superfan Sans',system-ui;cursor:pointer;margin-top:22px;padding:12px}.sc-primary:disabled{opacity:.5;cursor:wait}.sc-text{display:block;margin:14px auto 0;background:none;border:0;color:var(--sc-muted);padding:5px;font:inherit;cursor:pointer}.sc-summary{background:var(--sc-soft);border:1px solid var(--sc-line);padding:15px;border-radius:12px;display:grid;grid-template-columns:1fr auto;gap:6px;margin-bottom:24px}.sc-summary p{grid-column:1/-1;margin:0;color:var(--sc-muted);white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.6}.sc-methods label{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--sc-line);border-radius:11px;margin-top:9px;cursor:pointer}.sc-methods label:has(input:checked){border-color:var(--sc-accent);background:color-mix(in srgb,var(--sc-accent),var(--sc-bg) 95%)}.sc-methods label>span:last-child{font-size:13px}.sc-methods small{display:block;color:var(--sc-muted);font-size:10px;margin-top:4px;font-weight:400}.sc-method-logo{display:grid;place-items:center;width:34px;height:32px;font-size:13px;font-weight:700;border-radius:8px;background:#eee;color:#333;flex-shrink:0}.sc-logo-easypaisa{background:#edf9ef;color:#209a42}.sc-logo-jazzcash{background:#fff1d5;color:#b22b1b}.sc-logo-raast{background:#f1ebfc;color:#6436b4}.sc-logo-payfast{background:#fff0f0;color:#bd2727}#scCard{padding:16px 0 0}#scCardFields{min-height:110px}#scProcessing,#scSuccess{text-align:center;padding-top:28px}#scProcessingText{margin:12px 0}#scQr{max-width:250px;width:100%;background:#fff;padding:10px;border-radius:12px}#scHosted{width:100%;height:480px;border:1px solid var(--sc-line);border-radius:12px}.sc-spinner{width:32px;height:32px;border:3px solid var(--sc-line);border-top-color:var(--sc-accent);border-radius:50%;animation:scspin .8s linear infinite;margin:10px auto 24px}.sc-success-mark{width:64px;height:64px;border-radius:50%;background:#e7f7ed;color:#218348;font-size:32px;display:grid;place-items:center;margin:0 auto 24px}.sc-error{margin-top:16px;padding:13px;border:1px solid #e9b5b5;background:#fff3f3;color:#a72626;border-radius:10px;font-size:12px;line-height:1.6}.sc-footer{text-align:center;font-size:10px;color:var(--sc-muted);margin-top:28px;padding-top:15px;border-top:1px solid var(--sc-line)}.sc-footer a{color:inherit}#scReference{overflow-wrap:anywhere;font-size:10px}@keyframes scspin{to{transform:rotate(360deg)}}@media(max-width:600px){.sc-dialog{inset:auto 0 0;width:100%;height:min(90dvh,850px);margin:0;border-radius:20px 20px 0 0}.sc-shell{padding:28px 20px 24px}.sc-header{margin-bottom:18px}}

[data-theme=dark] .sc-ribbon{background:color-mix(in srgb,var(--sc-accent),white 35%)}[data-theme=dark] .sc-steps [aria-current=step]{border-color:color-mix(in srgb,var(--sc-accent),white 35%)}
.sc-body [class~="3ds-popup-main"]{position:fixed!important;inset:0!important;display:flex!important;align-items:center;justify-content:center;padding:10px;background:#0008;z-index:9999}.sc-body [id^="threeDsPopup_"]{width:100%!important;max-width:480px!important;max-height:calc(100dvh - 20px)!important;overflow:auto;border-radius:14px;background:#fff}.sc-body iframe[id^="3ds-iframe_"]{width:100%!important;min-height:450px;max-height:80dvh;border:0;background:#fff;color-scheme:light}
/* Payment choices and the method sheet share the bio popup. */
.sc-methods label{position:relative;min-height:74px;padding:13px 14px;gap:14px;transition:border-color .18s,transform .18s;background:var(--sc-bg)}.sc-methods label:hover{border-color:var(--sc-ink);transform:translateY(-1px)}.sc-methods input[type=radio]{position:absolute;opacity:0;width:1px;height:1px}.sc-methods label:focus-within{outline:2px solid var(--sc-accent);outline-offset:2px}.sc-method-logo{width:64px;height:43px;background:#fff;border:1px solid #eee;border-radius:9px;padding:5px}.sc-method-logo img{display:block;width:100%;height:100%;object-fit:contain}.sc-methods label>span:nth-of-type(2){flex:1;min-width:0;font-size:13px;font-weight:500}.sc-method-chevron{font-size:25px!important;color:var(--sc-muted)}.sc-methods label>span:last-child{font-size:25px}.sc-methods label small{font-size:10px;font-weight:400;line-height:1.5}.sc-methods label:has(input:checked){background:var(--sc-bg);border-color:var(--sc-line)}
#scMethodBackdrop{position:fixed;inset:0;background:#0006;z-index:29;backdrop-filter:blur(2px)}.sc-details-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.sc-details-head h2{font-size:21px;margin:0}.sc-details-head button{width:30px;height:30px;border:1px solid var(--sc-line);border-radius:50%;background:var(--sc-soft);color:var(--sc-ink);font-size:20px;cursor:pointer;flex-shrink:0}.sc-eyebrow{font-size:9px;letter-spacing:1.5px;color:var(--sc-muted);margin:0 0 8px}.sc-sheet-grip{width:32px;height:4px;border-radius:3px;background:var(--sc-line);margin:0 auto 20px}#scDetails{position:fixed;z-index:30;bottom:0;left:0;right:0;max-height:calc(100dvh - 28px);padding:12px 25px 24px;background:var(--sc-bg);color:var(--sc-ink);border-radius:21px 21px 0 0;border:1px solid var(--sc-line);box-shadow:0 -20px 60px #0002;overflow:auto;overscroll-behavior:contain}.sc-detail-total{display:flex;justify-content:space-between;align-items:center;padding:15px;background:var(--sc-soft);border:1px solid var(--sc-line);border-radius:10px;margin:22px 0 8px;font-size:12px}.sc-detail-total strong{font-size:18px;font-weight:550}.sc-details-security{text-align:center;font-size:10px;color:var(--sc-muted);margin:14px 0 0}.sc-card-brands{display:flex;justify-content:flex-end;margin-bottom:15px}.sc-card-brands img{width:104px;height:34px}#scDetailsTitle:focus,#scSuccess h2:focus{outline:none}#scDetails .sc-method-help{margin:17px 0 0}.sc-receipt{text-align:left;padding:21px;border:1px solid var(--sc-line);border-radius:15px;margin:24px 0 20px;background:var(--sc-soft)}.sc-receipt>span{display:block;font-size:11px;color:var(--sc-muted)}.sc-receipt>strong{display:block;font-size:33px;letter-spacing:-1px;font-weight:550;margin-top:9px}.sc-receipt blockquote{font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin:18px 0;padding:0 0 18px;border-bottom:1px solid var(--sc-line)}.sc-receipt>div{display:flex;gap:12px;justify-content:space-between;align-items:start;font-size:10px;margin-top:12px}.sc-receipt>div span{color:var(--sc-muted)}.sc-receipt b{font-weight:500;overflow-wrap:anywhere;text-align:right;max-width:75%}.sc-success-copy{font-size:12px;color:var(--sc-muted);line-height:1.7}#scSuccess h2{font-size:25px;line-height:1.2}.sc-success-mark{border:6px solid color-mix(in srgb,#32a164,white 85%);width:75px;height:75px;font-size:31px}.sc-primary{transition:transform .16s,opacity .16s}.sc-primary:not(:disabled):active{transform:scale(.99)}[data-theme=dark] .sc-success-mark{background:#183124;border-color:#224632;color:#79dda3}
@media(max-width:600px){#scDetails{padding:12px 20px 25px}.sc-methods label{min-height:70px}.sc-method-logo{width:59px;height:40px}.sc-shell h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){.sc-body *, .sc-body *::before{transition:none!important}.sc-methods label:hover,.sc-primary:active{transform:none!important}}

/* Keep every gateway mark inside a fixed logo plate, regardless of global image rules. */
.sc-body .sc-methods label{min-width:0!important;box-sizing:border-box!important;overflow:hidden}.sc-body .sc-method-logo{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 64px!important;width:64px!important;min-width:64px!important;max-width:64px!important;height:44px!important;min-height:44px!important;max-height:44px!important;overflow:hidden!important;padding:6px!important;border:1px solid #e6e6e6!important;border-radius:9px!important;background:#fff!important;box-sizing:border-box!important}.sc-body .sc-method-logo img{display:block!important;position:static!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important;margin:0!important;padding:0!important;object-fit:contain!important;transform:none!important;box-sizing:border-box!important}.sc-body .sc-methods label>span:nth-of-type(2){min-width:0!important;overflow-wrap:anywhere}.sc-body .sc-method-chevron{flex:0 0 12px!important}.sc-body .sc-card-brands img{display:block!important;width:104px!important;height:34px!important;max-width:100%!important;object-fit:contain!important;margin:0!important;position:static!important}#scQrBox{box-sizing:content-box;width:288px;max-width:calc(100% - 40px);margin:22px auto;padding:20px;background:#fff;border-radius:12px;color-scheme:light;overflow:hidden}#scQrBox img,#scQrBox canvas{width:100%!important;height:auto!important;max-width:288px!important;object-fit:contain!important;margin:0 auto!important}#scQrBox table{margin:auto}#scQrState{margin-top:12px;font-size:12px}.sc-body #scQrBox[hidden]{display:none!important}

#scPay[aria-busy=true]::before{content:'';display:inline-block;width:12px;height:12px;margin-right:9px;vertical-align:-2px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:scspin .8s linear infinite}

#scQrBox img,#scQrBox canvas{image-rendering:pixelated}

.sc-payment-back{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 18px;margin:15px auto 0;border:1px solid var(--sc-line);border-radius:10px;background:var(--sc-bg);color:var(--sc-ink);font:500 12px 'Superfan Sans',system-ui;cursor:pointer}.sc-payment-back:active{transform:translateY(1px)}#scPendingNote{margin:10px 0 0}.sc-body input[readonly]{opacity:.65;cursor:default}

#scProcessing>.sc-payment-back{margin:0 auto 18px;min-height:36px;font-size:12px}

/* Compact pending payment layout, with navigation at the top left. */
.sc-body .sc-shell{padding:20px 24px 18px}.sc-checkout-nav{display:none;align-items:center;justify-content:flex-start;min-height:30px;margin:0 40px 10px 0}.sc-body:has(#scProcessing:not([hidden])) .sc-checkout-nav:has(button:not([hidden])){display:flex}.sc-checkout-nav .sc-payment-back{display:inline-flex;justify-content:flex-start;min-height:30px;margin:0;padding:5px 0;border:0;border-radius:5px;box-shadow:none;background:transparent;color:var(--sc-muted);font-size:12px;font-weight:500}.sc-checkout-nav .sc-payment-back:hover{color:var(--sc-ink)}.sc-checkout-nav .sc-payment-back:focus-visible{outline:2px solid var(--sc-accent);outline-offset:4px}.sc-body .sc-header{margin-bottom:14px}.sc-body .sc-ribbon{width:25px;height:29px}.sc-body .sc-header p{margin:8px 0 4px;font-size:9px}.sc-body .sc-header h1{font-size:18px}.sc-body .sc-steps{margin-bottom:14px}.sc-body .sc-steps span{padding:9px 0;font-size:11px}.sc-body #scProcessing{padding-top:2px}.sc-pending-heading{display:flex;align-items:center;justify-content:center;gap:9px;margin:4px 0 6px}.sc-pending-heading h2{font-size:20px!important;line-height:27px;margin:0!important;letter-spacing:-.4px}.sc-pending-heading .sc-spinner{width:18px;height:18px;flex:0 0 18px;border-width:2px;margin:0!important}.sc-body #scProcessingText{font-size:12px;margin:4px 0 0;line-height:20px}.sc-body #scQrBox{width:288px;max-width:calc(100% - 24px);margin:10px auto 8px;padding:12px;border-radius:11px}.sc-body #scQrState{margin:6px 0 9px;line-height:19px}.sc-body #scReference{margin:8px 0 0;font-size:10px;line-height:16px}.sc-body .sc-footer{margin-top:16px;padding-top:12px}.sc-body #scProcessing>.sc-text{margin-top:7px}
@media(max-width:600px){.sc-body .sc-shell{padding:18px 18px 16px}.sc-checkout-nav{margin-bottom:8px}.sc-pending-heading{gap:8px}.sc-pending-heading h2{font-size:19px!important}.sc-body #scQrBox{margin-top:8px}.sc-body .sc-footer{margin-top:14px}}

/* Safepay card and bank verification panels. */
#scCardFields:has(safepay-card-atom){background:#fff;color:#172017;border:1px solid #dedfe3;border-radius:12px;padding:10px;min-height:52px;color-scheme:light}
safepay-card-atom{display:block;width:100%;min-height:48px}
#scSafepayAuth{position:fixed;inset:0;z-index:20000;background:rgb(0 0 0 / .48);backdrop-filter:blur(5px);display:grid;place-items:center;padding:16px;overflow:auto}
#scSafepayAuth[hidden]{display:none}
.sc-bank-panel{width:min(100%,520px);border-radius:20px;background:var(--sc-bg,#fff);padding:20px;box-shadow:0 20px 70px rgb(0 0 0 / .2)}
.sc-bank-panel header{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;gap:12px}.sc-bank-panel h2{font-size:19px;margin:4px 0}.sc-bank-panel .sc-eyebrow{font-size:10px}.sc-bank-lock{opacity:.5;font-size:22px}
#scSafepayAuthHost{background:#fff;border-radius:12px;overflow:hidden;min-height:360px;color-scheme:light}#scSafepayAuthHost safepay-payer-auth-atom{display:block;width:100%;min-height:420px}.sc-bank-panel>p{font-size:11px;line-height:1.5;margin-bottom:0}
#scContinueCard{margin:10px 0}#scQrExpiry{font-size:11px;margin:8px 0}#scCardEdit{margin-top:10px}
@media(max-width:600px){#scSafepayAuth{padding:0;align-items:end}.sc-bank-panel{width:100%;border-radius:22px 22px 0 0;padding:20px 18px max(18px,env(safe-area-inset-bottom));max-height:96dvh;overflow:auto;animation:sc-bank-up .28s cubic-bezier(.2,.7,.2,1)}#scSafepayAuthHost safepay-payer-auth-atom{min-height:420px}}
@keyframes sc-bank-up{from{transform:translateY(28px);opacity:0}to{transform:translateY(0);opacity:1}}@media(prefers-reduced-motion:reduce){.sc-bank-panel{animation:none}}

@media(max-width:600px){.sc-dialog{inset:auto 0 0;margin:0;width:100%;height:min(900px,96dvh);border-radius:22px 22px 0 0}.sc-dialog[open]{animation:sc-bank-up .28s cubic-bezier(.2,.7,.2,1)}}
@media(min-width:601px){#scDetails{inset:0;margin:auto;width:min(480px,calc(100% - 40px));height:max-content;max-height:calc(100dvh - 40px);border-radius:20px;padding:18px 24px 22px}}

.sc-bank-summary{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:11px;padding:11px 0 14px;color:var(--sc-muted)}.sc-bank-summary strong{font-size:16px;color:var(--sc-ink)}.sc-bank-summary span{overflow-wrap:anywhere;text-align:right}
