/* Ink & Aura Theme - Components: Tables
   Purpose: Reusable table visuals for lists, orders, summaries
   Scope: Utility classes only; do not target Woo classes directly
*/

.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--color-ink);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.table thead th {
  background: var(--color-ivory);
  color: var(--color-ink);
  text-align: left;
  padding: var(--space-s) var(--space-m);
  border-bottom: 1px solid var(--color-ink);
}

.table tbody td {
  padding: var(--space-s) var(--space-m);
  border-top: 1px solid var(--color-ink);
}

/* Density variants */
.table--compact thead th,
.table--compact tbody td {
  padding: var(--space-xs) var(--space-s);
}

/* Striped rows */
.table--striped tbody tr:nth-child(odd) td {
  background: rgba(0,0,0,0.02);
}

/* Align helpers */
.table__num { text-align: right; }
.table__center { text-align: center; }