/* Storefront — mirrors the isellbundle.com look (DM Sans + Manrope, gold brand, network colours). */
:root{color-scheme:light;--page:#f2f5f8;--surface:#fff;--surface-2:#f7f9fb;--text:#162536;--muted:#758394;--line:#e4eaf0;--brand:#f9c832;--brand-deep:#e8b516;--brand-ink:#806411;--notice:#dff4f7;--notice-line:#b7e1e7;--notice-ink:#345965;--shadow:0 12px 32px rgba(24,43,62,.07);--shadow-lg:0 24px 60px rgba(17,30,45,.18);--mtn:#f8c62e;--telecel:#d92e50;--at:#2290cb;--ok:#1f9d63;--ok-bg:#e6f6ee;--warn:#b7791f;--warn-bg:#fff5df;--bad:#c42b47;--bad-bg:#fde8ec;--radius:15px}
body.dark{color-scheme:dark;--page:#111923;--surface:#192431;--surface-2:#1f2c3b;--text:#edf2f7;--muted:#a4b0bd;--line:#2b3947;--brand-ink:#f2cf60;--notice:#18343a;--notice-line:#2b5158;--notice-ink:#b9dfe6;--shadow:0 12px 30px rgba(0,0,0,.22);--shadow-lg:0 24px 60px rgba(0,0,0,.45);--ok:#4fd393;--ok-bg:#163527;--warn:#f2c35a;--warn-bg:#3a3018;--bad:#ff7188;--bad-bg:#3b1c25}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-height:100vh;background:var(--page);color:var(--text);font-family:'DM Sans',Arial,sans-serif;-webkit-font-smoothing:antialiased;display:flex;flex-direction:column}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
img{max-width:100%}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
:focus-visible{outline:2px solid var(--brand-deep);outline-offset:2px}
.shell{width:min(100% - 32px,820px);margin-inline:auto}
.page-main{flex:1;padding:30px 0 56px}

/* Top bar */
.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line)}
.brand{display:inline-flex;align-items:center;gap:12px;font:800 16px Manrope,sans-serif;letter-spacing:-.035em;min-width:0}
.brand span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.brand-mark{width:40px;height:40px;flex:none;display:grid;place-items:center;border:2px solid var(--brand);border-radius:50%;font-size:12px;color:#9a7610;background:#fff;overflow:hidden}
.brand-mark img{width:100%;height:100%;object-fit:cover}
.brand-mark.has-logo{border:0;border-radius:11px;background:transparent}
body.dark .brand-mark{background:var(--surface);color:var(--brand)}
.top-actions{display:flex;align-items:center;gap:6px}
.icon-button{width:40px;height:40px;border:0;background:transparent;border-radius:50%;display:grid;place-items:center;color:var(--muted);cursor:pointer}
.icon-button:hover{background:var(--line);color:var(--text)}
body.dark .icon-button:hover{background:#263644}
.icon-button svg{width:20px;height:20px}
.track-link{font-size:13px;font-weight:700;color:var(--muted);padding:10px 12px;border-radius:10px;white-space:nowrap}
.track-link:hover,.track-link.on{background:var(--surface);color:var(--text)}
.theme-toggle .moon-icon{display:none}
body.dark .theme-toggle .moon-icon{display:block}
body.dark .theme-toggle .sun-icon{display:none}

/* Intro */
.intro{padding:2px 0 20px}
.eyebrow{margin:0 0 8px;color:#946a20;font-size:11px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
body.dark .eyebrow{color:var(--brand)}
.intro h1,.page-title{margin:0;font:800 clamp(26px,5vw,34px)/1.2 Manrope,sans-serif;letter-spacing:-.055em}
.lead{margin:9px 0 0;color:var(--muted);font-size:15px;line-height:1.55}
.notice{display:flex;align-items:flex-start;gap:12px;margin:0 0 27px;padding:14px 16px;border:1px solid var(--notice-line);border-radius:var(--radius);background:var(--notice);color:var(--notice-ink);font-size:13px;line-height:1.55}
.notice svg{width:18px;height:18px;flex:none;margin-top:1px}
.notice strong{color:inherit;filter:brightness(.8)}
body.dark .notice strong{filter:none;color:#e3f6f9}

/* Catalogue */
.catalog-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:14px}
.catalog-kicker{margin:0 0 3px;color:var(--muted);font-size:12px}
.catalog-head h2{margin:0;font:800 20px/1.25 Manrope,sans-serif;letter-spacing:-.04em}
.count{color:var(--muted);font-size:12px;white-space:nowrap;padding-bottom:3px}
.search-wrap{margin:0 0 12px}
.search-wrap[hidden]{display:none}
.search-input{width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);outline:none}
.search-input:focus{border-color:#c2a335;box-shadow:0 0 0 3px rgba(249,200,50,.2)}
.tabs{display:flex;gap:4px;margin:15px 0 18px;padding:4px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);overflow-x:auto}
.tab{flex:1;min-width:max-content;min-height:44px;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 12px;border:0;border-radius:11px;background:transparent;color:var(--muted);font-size:13px;font-weight:700;cursor:pointer;transition:background .18s,color .18s}
.tab[aria-selected="true"]{box-shadow:0 2px 5px rgba(24,37,54,.14);background:var(--text);color:var(--surface)}
.tab[data-network-type="mtn"][aria-selected="true"]{background:var(--mtn);color:#292613}
.tab[data-network-type="telecel"][aria-selected="true"]{background:var(--telecel);color:#fff}
.tab[data-network-type="at"][aria-selected="true"]{background:var(--at);color:#fff}
.network-chip{min-width:24px;height:18px;padding:0 4px;display:grid;place-items:center;border:1px solid currentColor;border-radius:99px;font-size:8px;line-height:1}
.panels{display:grid;gap:10px}
.panels[hidden]{display:none}

@keyframes glassGrad{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}
.bundle{overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:0 3px 10px rgba(22,37,54,.025);transition:border-color .2s,box-shadow .2s;background-size:200% 200%;animation:glassGrad 6s ease infinite}
.bundle[hidden]{display:none}
.bundle[open]{box-shadow:var(--shadow)}
.bundle-mtn{background-image:linear-gradient(135deg,rgba(248,198,46,.15) 0%,rgba(255,255,255,.6) 50%,rgba(248,198,46,.15) 100%);border-color:rgba(248,198,46,.4)}
.bundle-telecel{background-image:linear-gradient(135deg,rgba(217,46,80,.15) 0%,rgba(255,255,255,.6) 50%,rgba(217,46,80,.15) 100%);border-color:rgba(217,46,80,.4)}
.bundle-at{background-image:linear-gradient(135deg,rgba(34,144,203,.15) 0%,rgba(255,255,255,.6) 50%,rgba(34,144,203,.15) 100%);border-color:rgba(34,144,203,.4)}
body.dark .bundle-mtn{background-image:linear-gradient(135deg,rgba(242,202,74,.15) 0%,rgba(30,40,50,.7) 50%,rgba(242,202,74,.15) 100%)}
body.dark .bundle-telecel{background-image:linear-gradient(135deg,rgba(255,113,136,.15) 0%,rgba(30,40,50,.7) 50%,rgba(255,113,136,.15) 100%)}
body.dark .bundle-at{background-image:linear-gradient(135deg,rgba(104,201,248,.15) 0%,rgba(30,40,50,.7) 50%,rgba(104,201,248,.15) 100%)}
.bundle summary{position:relative;display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px;padding:17px 18px;list-style:none;cursor:pointer}
.bundle summary::-webkit-details-marker{display:none}
.bundle-main{min-width:0}
.bundle-meta{display:flex;align-items:center;gap:7px;margin-bottom:5px}
.network-tag{font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.network-tag.mtn{color:#a27800}.network-tag.telecel{color:#c42b47}.network-tag.at{color:#1574a5}
body.dark .network-tag.mtn{color:#f2ca4a}body.dark .network-tag.telecel{color:#ff7188}body.dark .network-tag.at{color:#68c9f8}
.badge{padding:3px 7px;border-radius:5px;background:#253342;color:#fff;font-size:8px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
body.dark .badge{background:var(--brand);color:#292613}
.amount{font:800 24px/1.1 Manrope,sans-serif;letter-spacing:-.05em}
.bundle-name{margin-top:3px;color:var(--muted);font-size:12px}
.bundle-side{display:flex;align-items:center;gap:14px}
.price{font:800 16px Manrope,sans-serif;white-space:nowrap;text-align:right}
.price small{font:600 10px 'DM Sans',sans-serif;color:var(--muted)}
.chevron{width:33px;height:33px;display:grid;place-items:center;border-radius:10px;background:#f3f5f7;color:#627083;transition:transform .2s,background .2s}
.bundle[open] .chevron{transform:rotate(180deg);background:#f7e7a8;color:#67520c}
.bundle-telecel[open] .chevron{background:rgba(217,46,80,.12);color:var(--telecel)}
.bundle-at[open] .chevron{background:rgba(34,144,203,.12);color:var(--at)}
body.dark .chevron{background:#263442;color:#c4ced8}
body.dark .bundle[open] .chevron{background:#5c4d1f;color:#ffe087}
.chevron svg{width:17px;height:17px}
.bundle-detail{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 18px 16px;color:var(--muted);font-size:12px}
.buy-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 17px;border:0;border-radius:10px;background:var(--text);color:#fff;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap;transition:transform .16s,background .16s}
.buy-button:hover{transform:translateY(-1px);background:#263e54}
body.dark .buy-button{background:#edf2f7;color:#162536}
body.dark .buy-button:hover{background:#fff}
.buy-button svg{width:15px;height:15px}
.empty-state,.empty{padding:24px;text-align:center;border:1px dashed var(--line);border-radius:14px;color:var(--muted);font-size:13px}
.empty-state[hidden]{display:none}

.below-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-top:34px}
.info-card{padding:18px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}
.info-card h3{margin:0 0 6px;font:800 15px Manrope,sans-serif;letter-spacing:-.03em}
.info-card p{margin:0;color:var(--muted);font-size:12px;line-height:1.55}
.info-link{display:inline-block;margin-top:12px;color:var(--brand-ink);font-size:12px;font-weight:800}

/* Footer */
.footer{padding:18px 0 30px;border-top:1px solid var(--line);color:var(--muted);font-size:11px}
.footer-row{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}
.footer-links{display:flex;gap:14px;flex-wrap:wrap}
.footer-links a:hover{color:var(--text)}
.secure{display:inline-flex;align-items:center;gap:6px}
.secure svg{width:14px;height:14px;color:#54876b}

/* WhatsApp floating button */
@keyframes wa-pulse{0%{transform:scale(1);opacity:.7}70%{transform:scale(1.6);opacity:0}100%{transform:scale(1.6);opacity:0}}
.wa-btn{position:fixed;bottom:24px;right:24px;z-index:40;width:58px;height:58px;border-radius:50%;background:#25d366;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 24px rgba(37,211,102,.45),0 2px 8px rgba(0,0,0,.25);transition:transform .25s,box-shadow .25s,background .25s}
.wa-btn:hover{background:#1ebe5d;transform:translateY(-3px) scale(1.08)}
.wa-ring{position:absolute;inset:0;border-radius:50%;background:#25d366;animation:wa-pulse 2s ease-out infinite;pointer-events:none}
.wa-btn:hover .wa-ring{animation:none}
.wa-btn svg{position:relative;z-index:1}
.wa-tooltip{position:absolute;right:68px;background:#111;color:#fff;font-size:12px;font-weight:700;padding:7px 14px;border-radius:10px;white-space:nowrap;opacity:0;visibility:hidden;transition:opacity .2s,visibility .2s;pointer-events:none}
.wa-btn:hover .wa-tooltip{opacity:1;visibility:visible}

/* Checkout sheet */
.sheet-backdrop{position:fixed;inset:0;z-index:50;background:rgba(10,18,28,.5);backdrop-filter:blur(3px);opacity:0;visibility:hidden;transition:opacity .2s,visibility .2s}
.sheet-backdrop.open{opacity:1;visibility:visible}
.sheet{position:fixed;z-index:51;left:50%;bottom:0;width:min(100%,480px);max-height:92vh;display:flex;flex-direction:column;background:var(--surface);border-radius:22px 22px 0 0;box-shadow:var(--shadow-lg);transform:translate(-50%,105%);transition:transform .28s cubic-bezier(.2,.8,.2,1)}
.sheet.open{transform:translate(-50%,0)}
@media(min-width:640px){.sheet{bottom:auto;top:50%;border-radius:22px;transform:translate(-50%,-44%) scale(.97);opacity:0;visibility:hidden;transition:transform .22s,opacity .22s,visibility .22s}.sheet.open{transform:translate(-50%,-50%) scale(1);opacity:1;visibility:visible}}
.sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px 12px}
.sheet-head h2{margin:0;font:800 18px Manrope,sans-serif;letter-spacing:-.04em}
.sheet-grab{position:absolute;top:7px;left:50%;width:40px;height:4px;margin-left:-20px;border-radius:9px;background:var(--line)}
@media(min-width:640px){.sheet-grab{display:none}}
.sheet-body{padding:0 20px 22px;overflow-y:auto}
.order-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;margin-bottom:16px;border-radius:14px;border:1px solid var(--line);background:var(--surface-2)}
.order-summary .amount{font-size:26px}
.order-summary .price{font-size:20px}
.summary-network{font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.order-summary.mtn{border-color:rgba(248,198,46,.55);background:linear-gradient(135deg,rgba(248,198,46,.16),transparent)}
.order-summary.telecel{border-color:rgba(217,46,80,.4);background:linear-gradient(135deg,rgba(217,46,80,.12),transparent)}
.order-summary.at{border-color:rgba(34,144,203,.4);background:linear-gradient(135deg,rgba(34,144,203,.12),transparent)}

.field{margin:0 0 14px}
.field label,.field-label{display:block;margin:0 0 6px;font-size:12px;font-weight:700}
.field input,.field select,.field textarea{width:100%;min-height:46px;padding:11px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);outline:none;transition:border-color .15s,box-shadow .15s}
.field input:focus,.field select:focus{border-color:#c2a335;box-shadow:0 0 0 3px rgba(249,200,50,.2)}
.field input.phone-input{font:700 20px Manrope,sans-serif;letter-spacing:.04em}
.field input[aria-invalid="true"]{border-color:var(--bad);box-shadow:0 0 0 3px rgba(196,43,71,.12)}
.help,.field-hint{margin:6px 0 0;color:var(--muted);font-size:12px;line-height:1.5}
.field-hint.warn{color:var(--warn)}
.field-hint.bad{color:var(--bad)}
.seg{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:6px;padding:4px;border:1px solid var(--line);border-radius:13px;background:var(--surface-2)}
.seg button{min-height:40px;border:0;border-radius:10px;background:transparent;color:var(--muted);font-size:13px;font-weight:700;cursor:pointer}
.seg button.sel{background:var(--surface);color:var(--text);box-shadow:0 2px 6px rgba(24,37,54,.12)}
.pay-note{display:flex;gap:10px;align-items:center;padding:12px 14px;margin:4px 0 16px;border-radius:12px;background:var(--surface-2);color:var(--muted);font-size:12px;line-height:1.5}
.pay-note svg{width:18px;height:18px;flex:none;color:#54876b}
.buy,.btn-primary{display:flex;width:100%;align-items:center;justify-content:center;gap:9px;min-height:52px;padding:0 18px;border:0;border-radius:13px;background:var(--brand);color:#292613;font:800 15px Manrope,sans-serif;letter-spacing:-.02em;cursor:pointer;box-shadow:0 8px 20px rgba(232,181,22,.32);transition:transform .15s,background .15s,box-shadow .15s}
.buy:hover,.btn-primary:hover{background:var(--brand-deep);transform:translateY(-1px)}
.buy:disabled{opacity:.6;cursor:progress;transform:none}
.form-msg{min-height:18px;margin:10px 0 0;text-align:center;color:var(--bad);font-size:13px}
.spinner{width:18px;height:18px;border:2.5px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .7s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.sheet-state{padding:16px 4px 6px;text-align:center}
.sheet-state h3{margin:12px 0 6px;font:800 19px Manrope,sans-serif;letter-spacing:-.04em}
.sheet-state p{margin:0 0 16px;color:var(--muted);font-size:13px;line-height:1.55}
.state-icon{width:58px;height:58px;margin:0 auto;display:grid;place-items:center;border-radius:50%;background:var(--warn-bg);color:var(--warn)}
.state-icon .spinner{width:26px;height:26px}
.bank-box{display:grid;gap:8px;margin:0 0 16px;padding:14px;border-radius:12px;background:var(--surface-2);text-align:left;font-size:13px}
.bank-box div{display:flex;justify-content:space-between;gap:10px}

/* Generic cards / pages */
.card-surface,.status-card,.auth-card{padding:24px;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:var(--shadow)}
.narrow{max-width:520px;margin-inline:auto}
.prose{font-size:14px;line-height:1.75;color:var(--text)}
.prose p{margin:0 0 12px}
.back-link{display:inline-flex;align-items:center;gap:6px;margin:0 0 18px;color:var(--muted);font-size:13px;font-weight:700}
.back-link:hover{color:var(--text)}
.center{text-align:center}
.alert{padding:12px 14px;margin:0 0 14px;border-radius:12px;font-size:13px}
.alert.err{background:var(--bad-bg);color:var(--bad)}
.alert.ok{background:var(--ok-bg);color:var(--ok)}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 16px;border:1px solid var(--line);border-radius:10px;background:var(--surface);font-size:13px;font-weight:700;cursor:pointer}
.btn-p{background:var(--text);border-color:var(--text);color:var(--surface)}
.btn-g{background:var(--surface)}
.pill{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:99px;font-size:11px;font-weight:800;letter-spacing:.02em;background:var(--surface-2);color:var(--muted)}
.pill.paid,.pill.delivered{background:var(--ok-bg);color:var(--ok)}
.pill.processing,.pill.pending{background:var(--warn-bg);color:var(--warn)}
.pill.failed,.pill.cancelled,.pill.expired{background:var(--bad-bg);color:var(--bad)}

/* Order status */
.status-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:20px}
.status-head h1{margin:6px 0 0;font:800 22px Manrope,sans-serif;letter-spacing:-.04em;word-break:break-all}
.steps{list-style:none;margin:0 0 22px;padding:0;display:grid;gap:0}
.step{position:relative;display:grid;grid-template-columns:34px 1fr;gap:12px;padding-bottom:20px}
.step:last-child{padding-bottom:0}
.step::before{content:"";position:absolute;left:16px;top:34px;bottom:0;width:2px;background:var(--line)}
.step:last-child::before{display:none}
.step-dot{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;border:2px solid var(--line);background:var(--surface);color:var(--muted);font-size:13px;font-weight:800}
.step-dot svg{width:16px;height:16px}
.step b{display:block;margin-top:6px;font-size:14px}
.step span{color:var(--muted);font-size:12px}
.step.done .step-dot{background:var(--ok);border-color:var(--ok);color:#fff}
.step.done::before{background:var(--ok)}
.step.current .step-dot{border-color:var(--brand-deep);color:var(--brand-deep)}
.step.current .step-dot .spinner{width:15px;height:15px}
.step.bad .step-dot{background:var(--bad);border-color:var(--bad);color:#fff}
.detail-list{display:grid;gap:0;margin:0;border-top:1px solid var(--line)}
.detail-list div{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid var(--line);font-size:13px}
.detail-list dt{color:var(--muted)}
.detail-list dd{margin:0;font-weight:700;text-align:right}

/* Account */
.account-shell{width:min(100% - 32px,820px);margin-inline:auto;padding:30px 0 56px}
.auth-card{max-width:440px;margin:0 auto}
.auth-card h1{margin:0 0 6px;font:800 26px Manrope,sans-serif;letter-spacing:-.05em}
.auth-card form{margin-top:18px}
.auth-card p.center{margin:14px 0 0;font-size:13px;color:var(--muted)}
.auth-card p.center a{color:var(--brand-ink);font-weight:800}
.account-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:18px}
.account-head h1{margin:0;font:800 28px Manrope,sans-serif;letter-spacing:-.05em}
.account-shell h2{font:800 18px Manrope,sans-serif;letter-spacing:-.04em}
.account-orders{display:grid;gap:10px}
.account-order{display:flex;justify-content:space-between;gap:12px;padding:16px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}
.account-order:hover{box-shadow:var(--shadow)}
.account-order p{margin:4px 0 0;color:var(--muted);font-size:12px}
.account-order>div:last-child{text-align:right}

@media(max-width:560px){
  .shell,.account-shell{width:min(100% - 30px,820px)}
  .topbar{height:64px}.brand-mark{width:36px;height:36px}.top-actions{gap:2px}
  .track-link{padding:9px 7px;font-size:12px}.hide-sm{display:none}
  .page-main{padding-top:24px}.intro{padding-bottom:18px}.notice{margin-bottom:24px}
  .bundle summary{padding:15px 13px}.bundle-detail{padding:0 13px 14px}.bundle-side{gap:9px}
  .amount{font-size:22px}.price{font-size:14px}.chevron{width:30px;height:30px}
  .footer-row{align-items:flex-start;flex-direction:column}
  .wa-btn{bottom:18px;right:16px;width:54px;height:54px}
  .card-surface,.status-card,.auth-card{padding:18px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
