:root{--ink:#321c27;--pink:#a4435e;--soft:#fae8eb;--line:#e8bdc7}
*{box-sizing:border-box}
body{margin:0;background:var(--soft);color:var(--ink);font:16px/1.5 system-ui,-apple-system,sans-serif}

.hidden{display:none!important}
header{min-height:78px;padding:12px clamp(18px,5vw,70px);display:flex;align-items:center;justify-content:space-between;background:#28151f}
header a{display:flex;align-items:center;gap:13px;color:#fff;text-decoration:none;font-weight:800}
header img{width:58px;height:50px;object-fit:contain;background:#fff;border-radius:50%}
header button,.empty a{border:0;border-radius:99px;padding:11px 18px;background:#a4435e;color:#fff;font-weight:800;text-decoration:none;cursor:pointer}
main{max-width:1050px;margin:auto;padding:55px 20px 90px}

.state{min-height:65vh;display:grid;place-items:center;text-align:center}

.state>div{width:min(100%,470px);background:#fff;border:1px solid var(--line);border-radius:24px;padding:28px}

.state img{width:130px}

.intro span{color:#a4435e;font-size:12px;font-weight:900;letter-spacing:.16em;text-transform:uppercase}

.intro h1{font-size:clamp(3rem,7vw,5.5rem);line-height:.9;margin:12px 0}

.intro p{color:#715864;margin-bottom:35px}

.order,.empty{background:#fff;border:1px solid var(--line);border-radius:20px;padding:26px;margin-top:18px;box-shadow:0 14px 40px #4a26351a}

.order-head{display:flex;justify-content:space-between;gap:20px}

.order-head h2{margin:8px 0 0}

.order-head>strong{font-size:22px}

.status{display:inline-block;border-radius:99px;padding:5px 10px;background:#f1dde3;font-size:12px;font-weight:900}

.status.in_production{background:#fff0c9}

.status.shipped{background:#dfeaf7}

.status.completed{background:#dff3e7}

.status.payment_failed,.status.payment_error,.status.cancelled{background:#f3dfe5}

.timeline{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:25px 0}

.timeline span{padding:10px 8px;border-radius:9px;background:#eee;color:#88747c;text-align:center;font-size:12px;font-weight:800}

.timeline .done{background:#a4435e;color:white}

.items{border-top:1px solid #ecd5db;border-bottom:1px solid #ecd5db;padding:12px 0}

.items p,.totals p{display:flex;justify-content:space-between;gap:20px;margin:6px 0}

.totals{margin-top:14px}

.tracking{margin-top:15px;padding:12px;border-radius:10px;background:#f7e5ea}

.error{color:#9b2949}

.empty{text-align:center;padding:55px 25px}
@media(max-width:620px){.order-head{display:block}

.order-head>strong{display:block;margin-top:12px}

.timeline{grid-template-columns:1fr 1fr}
}

[hidden]{display:none!important}
.account-back span{display:flex;flex-direction:column}
.account-back small{font-size:11px;font-weight:500;color:#dbbdc9}
.account-nav{display:flex;align-items:center;gap:22px;margin-left:auto;margin-right:22px}
.account-nav a{font-size:12px;text-transform:uppercase;letter-spacing:.08em}
.order-code{display:block;font-weight:800;color:#7c5e6a;margin-bottom:3px}.current-stage{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:22px 0 0;padding:13px 16px;border:1px solid var(--line);border-radius:12px;background:#fff7f9}.current-stage small{font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:#8c6574}.current-stage strong{color:var(--pink)}.timeline span{display:flex;align-items:center;justify-content:center;gap:7px}.timeline span b{font-size:17px;filter:grayscale(1);opacity:.55}.timeline span.done b{filter:none;opacity:1}
@media(max-width:620px){header{padding:10px 15px}.account-back img{width:48px;height:42px}.account-back small{display:none}.account-nav{gap:10px;margin:0}.account-nav a{font-size:10px}}
