/* =============================================================================
   LAB REPORTS / COA
   ============================================================================= */

.th-coa__crumb { margin: 0 0 8px; font-size: var(--th-fs-xs); }
.th-coa__crumb a { color: var(--th-footer-heading); text-decoration: underline; }

/* ⚠ padding-BLOCK. This element also carries .th-container, whose side
   gutter comes from `padding-inline`; the `padding` shorthand resets it to
   0 and the lab-reports content then sat flush against both screen edges.
   Fifth instance of this exact mistake on this build — see .th-collection. */
.th-coa__body { padding-block: 28px 48px; }
.th-coa__intro { margin: 0 0 20px; font-size: var(--th-fs-sm); color: var(--th-muted); }

.th-coa__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 760px; }

.th-coa__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--th-border);
}

.th-coa__meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.th-coa__date { font-size: var(--th-fs-sm); font-weight: var(--th-fw-bold); color: var(--th-heading); }
.th-coa__batch { font-size: var(--th-fs-xs); color: var(--th-muted); }

.th-coa__view { flex: 0 0 auto; height: 40px; padding: 0 18px; font-size: var(--th-fs-xs); }

.th-coa__shop { margin-top: 28px; }

/* ---------- hub ---------- */
.th-coa-hub__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.th-coa-hub__item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--th-border);
  font-size: var(--th-fs-sm);
}
.th-coa-hub__item a:hover { border-color: var(--th-btn-bg); text-decoration: none; }
.th-coa-hub__count {
  flex: 0 0 auto;
  font-size: var(--th-fs-xs);
  color: var(--th-muted);
}

@media (max-width: 991px) { .th-coa-hub__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .th-coa-hub__grid { grid-template-columns: 1fr; }
  .th-coa .th-coa__row { flex-direction: column; align-items: flex-start; }
  .th-coa .th-coa__view { width: 100%; }
}
