:root{
  --bg:#070A12;
  --panel: rgba(255,255,255,.05);
  --panel2: rgba(0,0,0,.35);
  --border: rgba(255,255,255,.10);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.66);
  --muted2: rgba(255,255,255,.45);
  --orange:#ff3b1f;
  --orange2:#ff4b2e;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  overflow-x:hidden;
}

.bg{position:fixed;inset:0;pointer-events:none}
.bg__radials{
  position:absolute;inset:0;
  background:
    radial-gradient(1200px 650px at 15% 10%, rgba(255,59,31,.14), transparent 60%),
    radial-gradient(900px 600px at 85% 20%, rgba(255,255,255,.06), transparent 55%),
    radial-gradient(900px 650px at 50% 90%, rgba(255,59,31,.08), transparent 60%);
}
.bg__grid{
  position:absolute;inset:0;
  opacity:.14;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size:56px 56px;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000 22%, transparent 72%);
          mask-image: radial-gradient(60% 60% at 50% 50%, #000 22%, transparent 72%);
}
.bg__blobs{position:absolute;inset:0}
.blob{position:absolute;border-radius:999px;filter:blur(70px);opacity:.9;transform:translateZ(0)}
.blob--1{
  left:-160px;top:-160px;width:520px;height:520px;
  background:radial-gradient(circle at 30% 30%, rgba(255,59,31,.22), rgba(255,59,31,.05) 60%, transparent 72%);
}
.blob--2{
  right:-220px;top:40px;width:560px;height:560px;
  background:radial-gradient(circle at 40% 40%, rgba(255,255,255,.10), rgba(255,255,255,.03) 60%, transparent 72%);
}
.blob--3{
  left:50%;top:68%;width:520px;height:520px;transform:translateX(-50%);
  background:radial-gradient(circle at 50% 50%, rgba(255,59,31,.16), rgba(255,59,31,.04) 60%, transparent 72%);
}
.bg__vignette{
  position:absolute;inset:0;
  background: radial-gradient(1200px 800px at 50% 40%, transparent 32%, rgba(0,0,0,.62) 100%);
}

.shell{
  position:relative;
  max-width:1100px;
  margin:0 auto;
  padding:22px 18px 30px;
}

.top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:8px 2px 18px;
}

.brand img{
  height:34px;width:auto;
  filter:invert(1) brightness(1.7) contrast(1.05);
  opacity:.95;
}

.top__right{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}

.chip{
  font-size:12px;
  padding:9px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.82);
}
.chip--muted{color:rgba(255,255,255,.66)}
.chip--ok{
  border-color: rgba(46, 213, 115, .25);
  background: rgba(46, 213, 115, .10);
}

.stage{
  min-height:70vh;
  display:flex;
  align-items:center;
  justify-content:center;
}
.statusCard{
  width:min(560px,100%);
  border:1px solid var(--border);
  background:var(--panel);
  border-radius:18px;
  padding:18px 18px;
  display:flex;
  gap:14px;
  align-items:center;
  box-shadow:0 30px 110px rgba(0,0,0,.45);
}
.spinner{
  width:18px;height:18px;border-radius:999px;
  border:2px solid rgba(255,255,255,.25);
  border-top-color:#fff;
  animation:spin .9s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg)}}
.statusTitle{font-weight:800;font-size:16px}
.statusText{color:var(--muted);font-size:13px;margin-top:2px}

.content{padding-top:6px}

.heroOk{
  display:flex;
  gap:14px;
  align-items:center;
  padding:18px 18px;
  border:1px solid var(--border);
  background:linear-gradient(180deg, rgba(255,59,31,.13), rgba(255,255,255,.04));
  border-radius:18px;
  box-shadow:0 30px 110px rgba(0,0,0,.35);
}
.okIcon{
  width:44px;height:44px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(46,213,115,.14);
  border:1px solid rgba(46,213,115,.25);
  font-weight:900;
  font-size:22px;
}
.okTitle{font-weight:900;font-size:20px;letter-spacing:-.4px}
.okSub{color:var(--muted);font-size:13px;margin-top:2px}

.grid{
  margin-top:14px;
  display:grid;
  grid-template-columns: 1.25fr .9fr;
  gap:14px;
}
@media (max-width:980px){
  .grid{grid-template-columns:1fr}
}

.card{
  border:1px solid var(--border);
  background:var(--panel);
  border-radius:18px;
  padding:16px 16px;
  box-shadow:0 18px 70px rgba(0,0,0,.35);
}
.stack{display:flex;flex-direction:column;gap:14px}

.card__head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
}
.card__head h3{margin:0;font-size:15px;letter-spacing:-.2px}
.muted{color:var(--muted);font-size:12px}

.items{display:flex;flex-direction:column;gap:10px}
.itemRow{
  display:flex;
  gap:12px;
  align-items:center;
  padding:10px 10px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(0,0,0,.20);
  border-radius:14px;
}
.itemImg{
  width:64px;height:64px;
  border-radius:12px;
  object-fit:cover;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
}
.itemMeta{flex:1;min-width:0}
.itemTitle{font-weight:800;font-size:13px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.itemSmall{margin-top:4px;color:var(--muted);font-size:12px;display:flex;gap:10px;flex-wrap:wrap}
.itemPrice{font-weight:900}
.badge{
  display:inline-flex;align-items:center;
  height:22px;padding:0 10px;border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.05);
  font-size:12px;color:rgba(255,255,255,.78);
}

.divider{
  height:1px;
  background:rgba(255,255,255,.10);
  margin:14px 0;
}

.totals .row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:6px 0;
  color:rgba(255,255,255,.80);
}
.row--total{
  font-size:14px;
}
.row--total b{
  color:#fff;
  background:linear-gradient(180deg,var(--orange2),var(--orange));
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}

.payBox{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:12px 12px;
  border-radius:14px;
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.08);
}
.payLine{display:flex;justify-content:space-between;gap:10px}
.payLine b{font-weight:800}

.kv{
  display:grid;
  grid-template-columns: 110px 1fr;
  gap:10px 12px;
  font-size:13px;
}
.kv__k{color:var(--muted)}
.kv__v{color:rgba(255,255,255,.88);word-break:break-word}

.ship{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}
.ship__name{font-weight:800}
.ship__price{font-weight:900}

.actions{display:flex;flex-direction:column;gap:10px}
.btn{
  width:100%;
  border:0;
  border-radius:14px;
  padding:13px 14px;
  font-weight:900;
  cursor:pointer;
  color:#0b0f17;
  background:linear-gradient(180deg,var(--orange2),var(--orange));
  box-shadow:0 18px 50px rgba(255,59,31,.18);
}
.btn--ghost{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color:rgba(255,255,255,.88);
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  box-shadow:none;
}
.btn--ghost:hover{background:rgba(255,255,255,.08)}

.foot{
  margin-top:14px;
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  opacity:.9;
}
