.receipt-reference {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-block: 20px 8px;
  padding: 14px 18px;
  background: #f6f1fa;
  border: 1px solid #e7dcee;
  border-radius: 12px;
}
.receipt-reference > div { display: flex; align-items: center; gap: 12px; }
.receipt-reference .button { min-height: 40px; padding: 7px 13px; font-size: 13px; }
.order-reference { display: inline-block; color: #162c49; font: 700 20px Outfit, sans-serif; }
.receipt-note { margin: 6px 0; font-size: 13px; color: #56637a; }
.receipt-track { margin-top: 20px; }
.receipt-track .button { max-width: 100%; white-space: normal; }
.receipt-track + .feedback:empty, .orders-feedback:empty { display: none; }

.customer-orders-page { min-height: 100vh; padding-bottom: 0; color: #172b45; background: #fbf8fc; }
.customer-orders-page [hidden] { display: none !important; }
.orders-back { font-size: 14px; font-weight: 600; white-space: nowrap; color: #523d6c; }
.orders-back span { margin-inline-start: 5px; }
.orders-main { max-width: 900px; padding-block: clamp(32px, 8vw, 100px); }
.orders-panel { padding: clamp(22px, 5vw, 56px); border: 1px solid #e4dcea; border-radius: 18px; background: #fff; }
.orders-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.orders-heading h1 { margin: 0; font-size: clamp(30px, 5vw, 46px); line-height: 1.25; }
.orders-intro, .orders-feedback { margin-block: 16px; color: #526078; }
.account-panel { max-width: 540px; margin-inline: auto; }
.account-form, .account-field, .account-actions { display: grid; gap: 10px; }
.account-form { margin-block: 24px 12px; }
.account-field { margin-block: 6px 10px; }
.account-form label { font-weight: 600; }
.account-form input { width: 100%; min-height: 46px; padding: 9px 12px; border: 1px solid #cfc4d7; border-radius: 8px; color: #172b45; background: #fff; font: inherit; }
.account-form input:focus-visible { outline: 2px solid #6b5186; outline-offset: 2px; }
.account-form small { color: #526078; }
.account-links, .orders-sign-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.account-link { justify-self: start; padding: 7px 0; border: 0; background: transparent; color: #523d6c; font: inherit; font-weight: 600; text-underline-offset: 3px; text-decoration: underline; cursor: pointer; }
.account-actions .button { justify-self: start; }
.receipt-track .st-inline-link { display: inline-block; margin-inline-start: 12px; }
.customer-orders-list { margin: 24px 0 0; padding: 0; list-style: none; border-top: 1px solid #e9e2ee; }
.customer-order { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 12px; padding: 17px 0; border-bottom: 1px solid #e9e2ee; }
.customer-order .order-reference { justify-self: start; }
.customer-order time { font-size: 14px; color: #526078; }
.customer-order-status { justify-self: start; background: #efe8f6; color: #493963; padding: 6px 12px; border-radius: 99px; font-size: 13px; }
.customer-order-status[data-status="delivered"] { color: #155737; background: #e6f4eb; }
.customer-order-status[data-status="cancelled"] { color: #863448; background: #f8edf0; }

@media (min-width: 1001px) and (max-width: 1080px) {
  .st-nav.nav-links { gap: 12px; }
}
@media (max-width: 540px) {
  .customer-order { grid-template-columns: 1fr auto; }
  .customer-order time { grid-row: 2; }
  .customer-order-status { grid-column: 2; grid-row: 1 / span 2; }
  .orders-heading .button { font-size: 13px; padding-inline: 12px; }
}
