/* Compact order confirmation */
.odn{
  width:min(420px,calc(100% - 24px));
  margin:16px auto 36px;
}
.odn-shell{
  background:#fff;
  border:1.5px solid #CBD5E1;
  border-radius:18px;
  padding:14px;
  box-shadow:0 10px 28px rgba(15,23,42,.07);
  display:grid;
  gap:12px;
}
.odn-empty{text-align:center;padding:22px 16px;gap:10px}
.odn-empty h1{margin:0;font-size:20px;font-weight:900;color:#0F172A}
.odn-empty p{margin:0;color:#64748B;font-size:13.5px;font-weight:600;line-height:1.55}

.odn-top{display:flex;align-items:center;gap:12px}
.odn-check{
  width:44px;height:44px;border-radius:50%;flex:none;
  display:grid;place-items:center;
  background:#DCFCE7;color:#15803D;
  box-shadow:0 0 0 4px #F0FDF4;
  animation:odnPop .45s cubic-bezier(.2,1.2,.4,1) both;
}
@keyframes odnPop{
  0%{transform:scale(.6);opacity:0}
  100%{transform:scale(1);opacity:1}
}
.odn-top-txt{min-width:0;text-align:start}
.odn-top-txt h1{
  margin:0;font-size:18px;font-weight:900;color:#0F172A;line-height:1.25
}
.odn-top-txt p{
  margin:3px 0 0;color:#64748B;font-size:12.5px;font-weight:600;line-height:1.45
}

.odn-price{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:12px 14px;border-radius:14px;
  background:linear-gradient(135deg,#0F172A,#1E293B);
  border:1px solid #2A3550;color:#fff
}
.odn-price > div{display:grid;gap:2px}
.odn-price span{font-size:11px;font-weight:700;color:#94A3B8}
.odn-price b{font-size:15px;font-weight:800;color:#FB7185;font-variant-numeric:tabular-nums}
.odn-price-total{text-align:end}
.odn-price-total strong{
  font-size:20px;font-weight:900;color:#fff;font-variant-numeric:tabular-nums;line-height:1.1
}
.odn-price-total small{font-size:12px;font-weight:700;color:#CBD5E1}

.odn-meta{display:grid;gap:6px}
.odn-meta-row{display:flex;flex-wrap:wrap;gap:6px}
.odn-chip{
  display:inline-flex;align-items:center;
  padding:5px 10px;border-radius:999px;
  background:#F1F5F9;border:1px solid #E2E8F0;
  color:#0F172A;font-size:12px;font-weight:800;text-decoration:none
}
.odn-chip.link{color:#1D4ED8;background:#EFF6FF;border-color:#BFDBFE}
.odn-chip.soft{background:#DBEAFE;border-color:#BFDBFE;color:#1D4ED8}
.odn-place{
  margin:0;color:#475569;font-size:12.5px;font-weight:600;line-height:1.45
}

.odn-items{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.odn-items li{
  display:flex;justify-content:space-between;align-items:flex-start;gap:10px;
  padding:9px 10px;border-radius:12px;background:#F8FAFC;border:1px solid #E2E8F0
}
.odn-items li > div{min-width:0;display:grid;gap:1px}
.odn-items b{
  color:#0F172A;font-size:12.5px;font-weight:800;line-height:1.35;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden
}
.odn-items span{color:#64748B;font-size:11.5px;font-weight:700}
.odn-items strong{color:#E11D2E;font-size:13px;font-weight:900;white-space:nowrap;font-variant-numeric:tabular-nums}
.odn-mini{
  display:flex;justify-content:space-between;gap:8px;
  color:#64748B;font-size:11.5px;font-weight:700;padding:0 2px
}

.odn-steps{
  list-style:none;margin:0;padding:8px 4px 2px;
  display:grid;grid-template-columns:repeat(3,1fr);gap:0;position:relative
}
.odn-steps::before{
  content:"";position:absolute;top:15px;inset-inline:18% ;
  height:2px;background:#E2E8F0
}
.odn-steps li{
  position:relative;z-index:1;text-align:center;
  font-size:11.5px;font-weight:800;color:#94A3B8;
  padding-top:22px
}
.odn-steps li::before{
  content:"";position:absolute;top:8px;left:50%;transform:translateX(-50%);
  width:12px;height:12px;border-radius:50%;background:#CBD5E1;box-shadow:0 0 0 3px #fff
}
.odn-steps li.on{color:#0F172A}
.odn-steps li.on::before{background:#E11D2E;box-shadow:0 0 0 3px #FEE2E2}

.odn-actions{display:grid;grid-template-columns:1.15fr 1fr;gap:8px}
.odn-btn{
  display:flex;align-items:center;justify-content:center;
  min-height:44px;border-radius:12px;border:0;
  background:#E11D2E;color:#fff;
  font:800 14px Cairo,sans-serif;text-decoration:none
}
.odn-btn.ghost{
  background:#fff;color:#0F172A;border:1.5px solid #CBD5E1
}
.odn-empty .odn-actions,.odn-empty .odn-btn{grid-template-columns:1fr;width:100%}

@media (max-width:800px){
  .odn{margin:12px auto 28px}
  .odn-shell{padding:12px;border-radius:16px;gap:10px}
  .odn-top-txt h1{font-size:17px}
  .odn-price{padding:10px 12px}
  .odn-price-total strong{font-size:18px}
  .odn-actions{grid-template-columns:1fr;gap:8px}
}
