* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: Arial, sans-serif;
    background: #0b0b0b;
    color: #fff;
}

.site-header {
    background: #000;
    padding: 18px 16px;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid #222;
}

.header-inner {
  max-width: 980px;
    margin: 0 auto;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.brand {
    font-family: 'Great Vibes', cursive;
    font-size: 36px;
    color: #fff;
    text-decoration: none;
    line-height: 1;
}

.back-link {
    color: #fff;
    text-decoration: none;
    opacity: 0.85;
    font-weight: 700;
}

.back-link:hover { opacity: 1; text-decoration: underline; }

.wrap {
    max-width: 980px;
    margin: 18px auto;
    padding: 0 16px;
    display: grid;
    gap: 16px;
}

.card {
    background: #111;
    border: 1px solid #222;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.section-title {
    font-size: 18px;
    margin-bottom: 12px;
}

.empty {
    opacity: 0.9;
    padding: 10px;
    border: 1px dashed #333;
    border-radius: 12px;
}

.order-list {
    display: grid;
    gap: 10px;
}

.order-item {
    border: 1px solid #222;
    border-radius: 14px;
    padding: 12px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.order-item small { opacity: 0.9; }

.qty-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #000;
    border: 1px solid #222;
    font-weight: 800;
}

.totals {
    margin-top: 14px;
    border-top: 1px solid #222;
    padding-top: 12px;
    display: grid;
    gap: 8px;
}

.totals-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.totals-row--big {
    margin-top: 6px;
    font-size: 18px;
}

.pay-form {
    display: grid;
    gap: 10px;
}

.radio {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid #222;
    border-radius: 12px;
    cursor: pointer;
}

.radio input { transform: translateY(1px); }

.pay-note {
    opacity: 0.85;
    font-size: 14px;
    line-height: 1.35;
    padding-top: 6px;
}

.cta {
    margin-top: 6px;
    background: #fff;
    color: #111;
    border: 0;
    border-radius: 12px;
    padding: 12px 14px;
    cursor: pointer;
    font-weight: 900;
}

.cta:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.error {
    color: #ffdddd;
    font-size: 14px;
}
