:root { --brand: #5E5CE6; --ink: #0b1020; --text: #1f2937; --muted: #6b7280; --line: #e7e8f0; --soft: #f5f6fb; --grad: linear-gradient(135deg, #8F5BD7, #5E5CE6 55%, #4EA7F4); }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.6 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--text); background: var(--soft); -webkit-font-smoothing: antialiased; }
a { color: var(--brand); font-weight: 700; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; background: #fff; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; }
.brand b { letter-spacing: .08em; }
.mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; font-size: 13px; }
.tag { padding: 2px 8px; border-radius: 999px; background: #eef2ff; color: var(--brand); font-size: 12px; font-weight: 800; }
.lock { color: #16a34a; font-weight: 700; font-size: 14px; }
.wrap { width: min(980px, 100% - 32px); margin: 28px auto 40px; }
.grid { display: grid; gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: 0 20px 50px -30px rgba(17, 24, 39, .35); }
.eyebrow { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); font-size: 13px; font-weight: 700; }
h1 { margin: 10px 0 16px; font-size: 26px; color: var(--ink); line-height: 1.2; }
h2 { margin: 0 0 4px; font-size: 20px; color: var(--ink); }
.item { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.item small { display: block; color: var(--muted); }
.price { font-weight: 800; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 6px; font-size: 18px; }
.total b { font-size: 28px; color: var(--ink); }
.total small { font-size: 14px; color: var(--muted); }
.note { color: var(--muted); font-size: 14px; }
.back { display: inline-block; margin-top: 4px; font-size: 14px; }
.muted { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.loading { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; }
.spinner { width: 18px; height: 18px; border: 3px solid var(--line); border-top-color: var(--brand); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.alert { padding: 12px 14px; border-radius: 12px; background: #fef2f2; color: #991b1b; font-weight: 600; }
.msg { max-width: 560px; margin: 40px auto; text-align: center; }
.btn { display: inline-block; margin-top: 8px; padding: 12px 22px; border-radius: 999px; background: var(--grad); color: #fff; text-decoration: none; }
.foot { padding: 20px; text-align: center; color: var(--muted); font-size: 13px; }
@media (min-width: 860px) { .grid { grid-template-columns: .9fr 1.1fr; align-items: start; } }
