/* Shared stainless steel woven mesh specifications table. Namespaced only. */
#specifications { scroll-margin-top: 100px; }

.cx-spec-intro { max-width: 72ch; }
.cx-spec-intro p { margin: 0 0 14px; }
.cx-spec-intro p:last-child { margin-bottom: 0; }

.cx-spec-wrap {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0 0;
  border: 1px solid #d7e0da;
  border-radius: 10px;
  background-color: #fff;
  background-image:
    linear-gradient(to right, #fff 20%, rgba(255,255,255,0)),
    linear-gradient(to left, #fff 20%, rgba(255,255,255,0)),
    linear-gradient(to right, rgba(16,36,37,.18), rgba(16,36,37,0)),
    linear-gradient(to left, rgba(16,36,37,.18), rgba(16,36,37,0));
  background-repeat: no-repeat;
  background-size: 48px 100%, 48px 100%, 18px 100%, 18px 100%;
  background-position: 0 0, 100% 0, 0 0, 100% 0;
  background-attachment: local, local, scroll, scroll;
}

.cx-spec-table {
  min-width: 860px;
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.cx-spec-table th,
.cx-spec-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #d7e0da;
  border-right: 1px solid #e6ece8;
  white-space: nowrap;
  font-size: .9rem;
  line-height: 1.4;
  vertical-align: middle;
}

.cx-spec-table th:last-child,
.cx-spec-table td:last-child { border-right: 0; }

.cx-spec-table thead th {
  background: #eef3ef;
  color: var(--ink, #15232e);
  font-weight: 700;
  text-align: center;
}

.cx-spec-table tbody td {
  text-align: right;
  background: #fff;
}

.cx-spec-table tbody td:first-child,
.cx-spec-table thead tr:first-child th:first-child {
  text-align: left;
  font-weight: 650;
}

.cx-spec-table tbody tr:nth-child(even) td { background: #f4f7f4; }
.cx-spec-table tbody tr:last-child td { border-bottom: 0; }

/* Keep the Mesh column in view while the other columns scroll.
   Only the rowspan Mesh header (first header row, first cell) is sticky on the left.
   The second header row's first cell is "in"; it must not stick at left: 0. */
.cx-spec-table thead tr:first-child th:first-child,
.cx-spec-table tbody td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  box-shadow: 1px 0 0 #d7e0da;
}

.cx-spec-table thead tr:first-child th:first-child {
  z-index: 5;
  background: #eef3ef;
}

.cx-spec-table thead tr:nth-child(2) th:first-child {
  position: static;
  left: auto;
  z-index: auto;
  box-shadow: none;
  text-align: center;
  font-weight: 700;
}

/* Do not sticky-top thead inside .cx-spec-wrap. overflow-x: auto makes the
   wrap the sticky containing block, so a top offset meant for the site header
   would push both header rows down from the wrap edge, stack them, and cover
   the first data rows. A viewport-sticky header would need a different
   structure. Left-sticky Mesh (first header row only) is unchanged. */

.cx-spec-notes {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-2, #3d5364);
  font-size: .9rem;
  line-height: 1.65;
}
.cx-spec-notes li { margin: 0 0 10px; }
.cx-spec-notes li:last-child { margin-bottom: 0; }

.cx-spec-lead {
  margin: 16px 0 0;
  font-size: .95rem;
}
