/* product listing + product detail */

.page-head {
  padding: 30px 0 10px;
}

.page-head h1 { font-size: 32px; margin-bottom: 10px; }

.page-head .lead { color: var(--ink-2); max-width: 72ch; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px 0 18px;
}

.filter-bar .fb-label {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.count-line {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 12px;
}

.count-line b { color: var(--ink); font-variant-numeric: tabular-nums; }

.product-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin-bottom: 26px;
}

.product-head h1 { font-size: 28px; margin-bottom: 8px; }

.product-head .ph-meta { color: var(--muted); font-size: 14px; }

.price-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.price-box .pb-label {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
}

.price-box .pb-value {
  font-size: 30px;
  font-weight: 700;
  color: var(--brand-dark);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.price-box .pb-unit { font-size: 14px; color: var(--muted); font-weight: 500; }

.price-box .pb-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.price-box .pb-note { font-size: 12px; color: var(--muted); margin: 12px 0 0; }

.spec-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  margin-bottom: 26px;
}

.spec-strip .spec {
  padding: 14px 16px;
  border-right: 1px solid var(--line);
}

.spec-strip .spec:last-child { border-right: 0; }

.spec-strip dt { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }

.spec-strip dd { margin: 4px 0 0; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.detail-block { margin-bottom: 26px; }

.detail-block h2 { font-size: 19px; margin-bottom: 12px; }

.detail-block h3 { font-size: 15px; color: var(--ink-2); margin-bottom: 10px; }

.tds-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }

.tds-table th,
.tds-table td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; }

.tds-table thead th { background: #f4f6f8; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }

.tds-group td {
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 650;
  font-size: 12.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.aside-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 18px;
}

.aside-card h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

.supplier-line { font-size: 15px; font-weight: 650; margin-bottom: 6px; }

.cert-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }

.other-price { list-style: none; margin: 0; padding: 0; font-size: 14px; }

.other-price li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
}

.other-price li:last-child { border-bottom: 0; }

.other-price .op-price { font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap; }

.note-block { font-size: 12.5px; color: var(--muted); line-height: 1.7; }

@media (max-width: 900px) {
  .product-summary,
  .detail-grid { grid-template-columns: 1fr; }

  .spec-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .spec-strip .spec:nth-child(2) { border-right: 0; }

  .spec-strip .spec:nth-child(1),
  .spec-strip .spec:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* manufacturer groups on the PEEK datasheet list */
.mfr-block { margin-bottom: 26px; }

.mfr-name {
  font-size: 16px;
  font-weight: 650;
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 90px;
}

.mfr-name .muted { font-weight: 400; font-size: 13px; }

.mfr-chips { margin-bottom: 22px; }

/* price board grouped by polymer family (materials centre) */
.board-nav {
  margin: 0 0 26px;
}

.board-nav .chip-n {
  font-variant-numeric: tabular-nums;
  font-size: 11.5px;
  color: var(--muted);
  margin-left: 4px;
}

.board-nav .chip:hover .chip-n { color: var(--brand-dark); }

.fam-block {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  margin-top: 30px;
  scroll-margin-top: 92px;
}

.fam-block:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.fam-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.fam-head h3 {
  margin: 0;
  font-size: 19px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.fam-head h3 a { color: var(--ink); transition: color .18s ease; }

.fam-head h3 a:hover,
.fam-head h3 a:focus-visible { color: var(--brand-dark); }

.fam-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: #eef1f4;
  border-radius: 999px;
  padding: 3px 10px;
  font-variant-numeric: tabular-nums;
}

.fam-meta {
  margin: 7px 0 0;
  font-size: 13px;
  color: var(--muted);
  max-width: 78ch;
}

.fam-meta b { color: var(--ink-2); font-variant-numeric: tabular-nums; }

.fam-block .count-line { margin: 12px 0 0; }

@media (max-width: 640px) {
  .fam-head { align-items: flex-start; }
  .fam-head .more-link { display: none; }
  .fam-block { padding-top: 22px; margin-top: 24px; }
}
