/* Checkout, receipts and public tracking. Shop accents remain owner-configured. */
.commerce-checkout,.commerce-confirmation,.commerce-tracking{--commerce-accent:var(--shop-accent,var(--primary));--commerce-soft:color-mix(in srgb,var(--commerce-accent) 9%,var(--surface));--commerce-deep:color-mix(in srgb,var(--commerce-accent) 50%,#080f21);--commerce-banner:linear-gradient(125deg,#080f21,var(--commerce-deep));--commerce-link:color-mix(in srgb,var(--commerce-accent) 70%,var(--text-primary));min-width:0}
.commerce-checkout{max-width:1020px;margin-inline:auto}.commerce-back{display:inline-flex;align-items:center;min-height:38px;font-size:12px;margin-bottom:14px;color:var(--commerce-link)}.commerce-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.commerce-kicker{font-size:10px;letter-spacing:.14em;font-weight:750;line-height:1.6}.commerce-heading .commerce-kicker{color:var(--commerce-link)}.commerce-heading h1{font-size:clamp(26px,3vw,34px);letter-spacing:-.045em;line-height:1.2;margin:8px 0}.commerce-heading p{margin:0;font-size:13px;color:var(--text-secondary);line-height:1.65}.commerce-secure{display:flex;align-items:center;gap:7px;flex-shrink:0;font-size:11px;color:var(--text-secondary)}.commerce-secure svg{width:16px;height:16px}
.commerce-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:24px;align-items:start}.commerce-layout>*{min-width:0}.commerce-form.section-card{padding:28px;border-radius:22px;display:grid;gap:22px;box-shadow:var(--shadow-sm)}.commerce-step{display:flex;gap:12px;align-items:center}.commerce-step>span{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;flex-shrink:0;background:var(--commerce-soft);color:var(--commerce-link);font-size:11px;font-weight:750}.commerce-form h2{font-size:16px;margin:0 0 4px}.commerce-form .section-card-sub{font-size:12px;line-height:1.65;margin:0}.commerce-form label.field{font-size:12px;font-weight:650;display:grid;gap:8px;margin:0}.commerce-form input:not([type=radio]):not([type=hidden]){min-height:51px;margin:0;font-size:16px;min-width:0;width:100%;border-radius:12px;background:var(--bg-primary)}.commerce-form input:focus-visible,.commerce-track-form input:focus-visible{outline:2px solid var(--commerce-accent);outline-offset:2px}
.commerce-payment{display:flex;gap:12px;align-items:center;padding:16px;border:1px solid color-mix(in srgb,var(--commerce-accent) 25%,var(--border));border-radius:14px;background:var(--commerce-soft)}.commerce-payment>div{min-width:0}.commerce-payment-icon{display:grid;place-items:center;color:var(--commerce-link)}.commerce-payment-check{margin-left:auto;color:var(--commerce-link);font-weight:750}.commerce-payment h2{font-size:13px}.commerce-payment .section-card-sub{font-size:11px}.commerce-number-note{font-size:11px;color:var(--text-secondary);line-height:1.6;margin:0}.commerce-pay.btn{min-height:52px;justify-content:center;border-radius:12px;gap:12px;white-space:normal;font-size:13px}.commerce-summary{display:grid;gap:18px}.commerce-ticket{position:relative;isolation:isolate;overflow:hidden;background:var(--commerce-banner);color:#fff;border-radius:22px;padding:28px;border:1px solid var(--commerce-deep);box-shadow:var(--shadow-md)}.commerce-ticket::after{content:"";position:absolute;width:230px;height:230px;right:-115px;top:-115px;border:1px solid #ffffff20;border-radius:50%;box-shadow:0 0 0 30px #ffffff06,0 0 0 60px #ffffff04;z-index:-1}.commerce-ticket-top{display:flex;justify-content:space-between;align-items:center;color:#dbe4ff;margin-bottom:26px}.commerce-ticket-top svg{width:24px;height:24px}.commerce-network{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:5px 9px;border-radius:7px;background:var(--commerce-soft);color:var(--text-primary);font-size:10px;line-height:1.4;font-weight:750;overflow-wrap:anywhere}.commerce-network[data-network*="MTN" i]{background:#ffdc59;color:#503c00}.commerce-network[data-network*="Telecel" i]{background:#ffe6ec;color:#a01439}.commerce-network[data-network^="AT" i],.commerce-network[data-network*="Airtel" i]{background:#e3ecff;color:#254c9b}.commerce-ticket h2{font-size:44px;line-height:1.1;letter-spacing:-.045em;color:#fff;margin:16px 0 26px}.commerce-ticket h2 small{display:block;font-size:12px;letter-spacing:0;font-weight:400;line-height:1.6;color:#dbe4ff;margin-top:6px}.commerce-ticket-total{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:22px;border-top:1px dashed #ffffff4a;font-size:12px}.commerce-ticket-total strong{font-size:26px;letter-spacing:-.03em;color:#fff;overflow-wrap:anywhere}.commerce-ticket-foot{color:#dbe4ff;font-size:10px;margin:8px 0 0;text-align:right}.commerce-aftercare{display:flex;align-items:flex-start;gap:10px;font-size:12px;color:var(--text-secondary);line-height:1.75;margin:0;padding:0 8px}.commerce-aftercare svg{flex-shrink:0;color:var(--commerce-link);margin-top:3px}
/* Receipt: status is distinct from the payment amount and order delivery. */
.commerce-receipt.result-card{position:relative;max-width:550px;margin:22px auto 40px;padding:28px 32px;border-radius:24px;border-top:4px solid var(--commerce-accent);background:var(--surface)}.commerce-receipt-brand{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;color:var(--text-primary);text-align:left;padding-bottom:23px;margin-bottom:28px;border-bottom:1px dashed var(--border)}.commerce-receipt-brand>span:first-of-type{overflow-wrap:anywhere;min-width:0}.commerce-receipt-brand>svg{color:var(--commerce-link);flex-shrink:0}.commerce-receipt-label{margin-left:auto;font-size:9px;letter-spacing:.1em;color:var(--text-muted);font-weight:600;flex-shrink:0}.commerce-receipt .result-icon{width:72px;height:72px;font-size:32px;box-shadow:0 0 0 9px color-mix(in srgb,var(--bg-secondary) 65%,transparent);margin-bottom:22px}.commerce-receipt.is-paid .result-icon{box-shadow:0 0 0 9px color-mix(in srgb,var(--success-soft) 55%,transparent)}.commerce-receipt h1{font-size:28px;letter-spacing:-.04em;line-height:1.25;margin:0 0 12px}.commerce-receipt>.muted{font-size:13px;line-height:1.75}.commerce-receipt .result-facts{background:var(--bg-primary);border-radius:14px;margin:24px 0}.commerce-receipt .result-facts>div{padding:14px 16px;font-size:12px;align-items:center}.commerce-receipt .result-facts dd{max-width:65%}.commerce-receipt .result-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:24px}.commerce-receipt .result-actions .btn{min-height:48px;border-radius:11px;font-size:12px;white-space:normal;justify-content:center}.commerce-receipt .result-actions .btn:only-child{grid-column:1/-1}.commerce-paid-label{color:var(--success)}.commerce-receipt .commerce-receipt-footer{display:flex;justify-content:center;align-items:center;gap:6px;color:var(--text-muted);font-size:10px;border-top:1px dashed var(--border);padding-top:20px;margin:24px 0 0}.commerce-receipt-footer svg{width:14px;height:14px}
/* Tracking intentionally exposes only the same limited order fields as before. */
.commerce-tracking{max-width:780px;margin:12px auto 36px}.commerce-track-hero{display:flex;align-items:center;gap:20px;padding:30px;border-radius:22px 22px 0 0;background:var(--commerce-banner);color:#fff}.commerce-track-hero h1{color:#fff;font-size:28px;letter-spacing:-.035em;line-height:1.25;margin:8px 0}.commerce-track-hero p{color:#dbe4ff;font-size:12px;line-height:1.7;margin:0;max-width:440px}.commerce-track-hero .commerce-kicker{color:#dbe4ff}.commerce-track-icon{display:grid;place-items:center;flex-shrink:0;width:58px;height:58px;background:#ffffff12;border:1px solid #ffffff26;border-radius:17px}.commerce-track-icon svg{width:27px;height:27px}.commerce-track-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:14px;padding:24px 30px;background:var(--surface);border:1px solid var(--border);border-top:0;border-radius:0 0 22px 22px;box-shadow:var(--shadow-sm)}.commerce-track-form label{display:grid;gap:8px;font-size:12px;font-weight:650;min-width:0;margin:0}.commerce-track-form input{width:100%;min-width:0;min-height:49px;font-size:16px;background:var(--bg-primary);border-radius:11px;margin:0}.commerce-track-form .btn{min-height:49px;border-radius:11px;font-size:12px;gap:15px}.commerce-results-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:28px 0 14px}.commerce-results-heading h2{font-size:15px;margin:0}.commerce-results-heading>span{font-size:11px;color:var(--text-secondary)}.commerce-track-results{display:grid;gap:16px}.commerce-order-card{padding:24px;border:1px solid var(--border);border-radius:18px;background:var(--surface);box-shadow:var(--shadow-sm)}.commerce-order-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.commerce-order-product{display:flex;gap:14px;align-items:center}.commerce-order-product h2{font-size:23px;letter-spacing:-.025em;margin:0;line-height:1.2}.commerce-order-product small{display:block;color:var(--text-secondary);font-weight:400;font-size:10px;letter-spacing:0;margin-top:4px}.commerce-order-card .status-badge{font-size:10px;max-width:100%;white-space:normal}.commerce-order-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:20px 0;margin:18px 0 0;border-top:1px solid var(--border)}.commerce-order-facts dt{font-size:10px;color:var(--text-muted);margin-bottom:6px}.commerce-order-facts dd{font-size:12px;font-weight:600;margin:0;color:var(--text-primary);overflow-wrap:anywhere}.commerce-order-note{display:flex;gap:9px;align-items:flex-start;font-size:12px;line-height:1.65;color:var(--text-secondary);padding:13px 14px;background:var(--bg-primary);border-radius:11px;margin:0}.commerce-order-note svg{flex-shrink:0;color:var(--commerce-link);width:16px;height:16px;margin-top:2px}.commerce-empty,.commerce-track-hint{text-align:center;padding:34px 22px;color:var(--text-secondary);font-size:12px;line-height:1.75}.commerce-empty{border:1px solid var(--border);border-radius:18px;background:var(--surface)}.commerce-empty h2{font-size:17px;color:var(--text-primary);margin:12px 0 6px}.commerce-empty p{margin:0 0 16px}.commerce-track-hint>svg,.commerce-empty>span>svg{width:28px;height:28px;color:var(--commerce-link)}
.commerce-agent{--commerce-banner:linear-gradient(145deg,var(--commerce-deep),#080f21)}.commerce-agent .commerce-ticket{border-radius:8px 26px 26px 26px}.commerce-agent .commerce-track-hero{border-radius:8px 26px 0 0}
@media(max-width:760px){.commerce-heading{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:20px}.commerce-layout{grid-template-columns:1fr;gap:18px}.commerce-summary{grid-row:1}.commerce-ticket{padding:20px;display:grid;grid-template-columns:1fr auto;column-gap:14px;border-radius:18px}.commerce-ticket-top{grid-column:1/-1;margin-bottom:16px}.commerce-ticket-top svg{width:20px;height:20px}.commerce-ticket .commerce-network{justify-self:start;align-self:start}.commerce-ticket h2{grid-column:1;grid-row:3;font-size:30px;margin:10px 0 0}.commerce-ticket h2 small{font-size:10px}.commerce-ticket-total{grid-column:2;grid-row:2/4;flex-direction:column;align-items:flex-end;justify-content:center;border:0;padding:0;gap:6px}.commerce-ticket-total strong{font-size:25px}.commerce-ticket-foot{grid-column:1/-1;border-top:1px dashed #ffffff30;padding-top:13px;margin-top:16px}.commerce-aftercare{display:none}.commerce-form.section-card{padding:22px;border-radius:18px;gap:20px}.commerce-track-hero{padding:24px;gap:14px}.commerce-track-hero h1{font-size:24px}.commerce-track-icon{width:44px;height:44px;border-radius:12px}.commerce-track-form{padding:22px;grid-template-columns:1fr}.commerce-track-form .btn{justify-content:center}.commerce-receipt.result-card{margin:10px auto 26px;padding:24px;border-radius:20px}.commerce-receipt h1{font-size:25px}}
@media(max-width:390px){.commerce-form.section-card{padding:18px}.commerce-payment{padding:12px;gap:9px}.commerce-pay.btn{font-size:12px;padding-inline:10px;gap:6px}.commerce-ticket-total strong{font-size:22px}.commerce-ticket h2{font-size:27px}.commerce-track-hero{padding:22px 18px;align-items:flex-start}.commerce-track-icon{display:none}.commerce-track-form{padding:18px}.commerce-order-card{padding:18px}.commerce-order-facts{gap:12px}.commerce-order-facts dd{font-size:11px}.commerce-receipt.result-card{padding:22px 18px}.commerce-receipt-label{font-size:8px;max-width:80px}.commerce-receipt .result-facts>div{padding:12px;font-size:11px}}
@media(prefers-reduced-motion:reduce){.commerce-receipt .result-icon.is-spinner{animation:none}}
