.history-title { margin: clamp(28px,5vw,68px) 0 24px; }
.history-title h1 { font-size: clamp(2.1rem,5vw,3.8rem); margin: .3em 0 .1em; letter-spacing: -.055em; }
.history-title p, .order-meta { color: #45526c; }
.history-back,.order-action { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; padding: 6px 10px; }
#orders, #loyalty { max-width: 900px; margin: 20px 0 40px; }
.order-row,.order-message { margin: 12px 0; padding: clamp(12px,2.5vw,24px); border: 1px solid #d4deeb; border-radius: 14px; background: white; }
.order-row summary { display: flex; flex-wrap: wrap; align-items: baseline; cursor: pointer; gap: 8px 16px; min-height: 44px; }
.order-row summary::before { content: '+'; font-weight: 700; }
.order-row[open] summary::before { content: '−'; }
.order-value { margin-left: auto; font-variant-numeric: tabular-nums; }
.order-row ul { list-style: none; padding: 0; }
.order-row li { display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; border-top: 1px solid #e1e7ed; padding: 12px 0; overflow-wrap: anywhere; }
.order-row li small { grid-column: 1/-1; }
.order-row p { overflow-wrap: anywhere; }
.order-message button { min-height: 44px; padding: 6px 15px; cursor: pointer; }
@media(max-width: 460px) { .order-meta { flex-basis: 100%; } }
