.order-count {
  color: var(--color-muted);
  font-size: var(--text-sm);
  margin-top: var(--space-2);
}

/* Icon SVGs */
.icon-reorder {
  color: var(--color-brand-light);
}

.icon-delete {
  color: var(--color-error);
}

/* Responsive: on narrow viewports, each row stacks */
@media (width <= 600px) {
  /* Visually hidden, not display:none — display:none removes the
     <th scope="col"> headers from the accessibility tree entirely, so a
     screen reader user navigating this table in table mode would hear
     values with no column context. Sighted users get the same
     information via the data-label pseudo-content on each cell below.
     Mirrors assets/css/base.css's .sr-only technique property-for-property
     rather than applying that class directly — .sr-only is unconditional,
     and this needs to be scoped to this one breakpoint: above 600px the
     table renders normally and the header must stay visible. */
  .orders-table thead {
    border: 0;
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }

  .orders-table tr {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    display: block;
    margin-bottom: var(--space-4);
    padding: var(--space-4);
  }

  .orders-table td,
  .orders-table th[scope='row'] {
    align-items: center;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    font-size: var(--text-sm);
    justify-content: space-between;
    padding: var(--space-2) 0;
  }

  .orders-table td:last-child,
  .orders-table th[scope='row']:last-child {
    border-bottom: none;
  }

  .orders-table td::before {
    color: var(--color-muted);
    content: attr(data-label);
    flex-shrink: 0;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-right: var(--space-4);
    text-transform: uppercase;
  }

  .table-actions {
    justify-content: flex-end;
  }
}
