/* Orders & payments (admin) */
.status-tabs { display: flex; gap: 0.375rem; flex-wrap: wrap; margin: -0.5rem 0 1rem; }
.status-tabs a { text-decoration: none; font-size: 0.8125rem; padding: 0.375rem 0.75rem; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); background: #fff; }
.status-tabs a span { color: var(--subtle); margin-left: 0.25rem; font-size: 0.75rem; }
.status-tabs a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.status-tabs a[aria-current="page"] span { color: rgb(250 248 244 / 0.6); }
.tag.status-awaiting_payment { background: #b5822a; }
.tag.status-paid { background: #55632f; }
.tag.status-shipped { background: #3e5b7a; }
.tag.status-delivered { background: var(--sunken); color: var(--muted); }
.tag.status-cancelled { background: #8c3222; }
.order-grid { display: grid; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 860px) { .order-grid { grid-template-columns: 1fr 1fr; } }
.order-card { display: grid; gap: 0.75rem; align-content: start; }
.card-title { font: 400 1.25rem var(--display); margin: 0; }
.card-sub { font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--subtle); font-weight: 500; margin: 0.5rem 0 0; }
.order-item { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; align-items: center; }
.order-item .thumb { width: 4.5rem; }
.order-item p { margin: 0.25rem 0; }
.totals { margin: 0; border-top: 1px solid var(--border); }
.totals div { display: flex; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px solid var(--border); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; }
.totals .total { font-weight: 500; font-size: 1rem; }
.ship-to { font-style: normal; line-height: 1.6; }
.note { white-space: pre-wrap; background: var(--sunken); padding: 0.75rem; border-radius: 6px; margin: 0; }
.order-actions { gap: 1rem; }
.order-actions .actions { margin-top: 0.25rem; }
.text-link { font-size: 0.8125rem; color: var(--accent); }
