/* NDT product cards: keep all six inspection tools aligned as a deliberate grid. */
.ndt-products .ndt-product-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: stretch;
  grid-auto-rows: 1fr;
  gap: 12px;
}
.ndt-products .ndt-product-card {
  box-sizing: border-box;
  min-height: 330px;
  height: 100%;
  padding: 15px;
  border-radius: 12px;
  background: linear-gradient(155deg, #ffffff 0%, #f6fafc 100%);
  box-shadow: 0 9px 24px rgb(16 53 70 / 6%);
}
.ndt-products .ndt-product-card:hover,
.ndt-products .ndt-product-card.is-selected {
  border-color: #68b5d2;
  box-shadow: 0 13px 28px rgb(16 53 70 / 11%);
}
.ndt-products .ndt-product-card > small {
  min-height: 2.9em;
  margin-top: 13px;
  color: #587488;
  font-size: 8px;
  line-height: 1.45;
}
.ndt-products .ndt-product-card h3 {
  min-height: 1.3em;
  margin: 5px 0 7px;
  font-size: clamp(15px, 1.08vw, 18px);
  line-height: 1.25;
}
.ndt-products .ndt-product-card p {
  flex: 1 1 auto;
  color: #536b7b;
  font-size: 12px;
  line-height: 1.55;
}
.ndt-products .ndt-product-card > button {
  margin-top: 14px;
  padding-top: 11px;
  font-size: 11px;
}
@media (max-width: 1480px) {
  .ndt-products .ndt-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ndt-products .ndt-product-card { min-height: 300px; }
}
@media (max-width: 760px) {
  .ndt-products .ndt-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ndt-products .ndt-product-card { min-height: 285px; padding: 14px; }
}
@media (max-width: 540px) {
  .ndt-products .ndt-product-grid { grid-template-columns: 1fr; }
  .ndt-products .ndt-product-card { min-height: 0; }
  .ndt-products .ndt-product-card > small { min-height: 0; }
}

/* Give each product card a useful, scannable summary instead of unused space. */
.ndt-products .ndt-product-card {
  min-height: 300px;
  padding: 16px;
}
.ndt-products .ndt-product-card p {
  flex: 0 0 auto;
  margin: 0;
  line-height: 1.58;
}
.ndt-products .ndt-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 12px;
  padding: 11px 0 0;
  border-top: 1px solid #e0e9ee;
  list-style: none;
}
.ndt-products .ndt-card-features li {
  padding: 5px 8px;
  border: 1px solid #d8e6ed;
  border-radius: 999px;
  background: #eef5f8;
  color: #42677c;
  font: 600 9px/1.2 "DM Sans", "Segoe UI", Arial, sans-serif;
  white-space: nowrap;
}
.ndt-products .ndt-product-card > button {
  margin-top: auto;
  padding-top: 10px;
}
@media (max-width: 1480px) {
  .ndt-products .ndt-product-card { min-height: 312px; }
}
@media (max-width: 760px) {
  .ndt-products .ndt-product-card { min-height: 300px; }
}
@media (max-width: 540px) {
  .ndt-products .ndt-product-card { min-height: 0; }
  .ndt-products .ndt-card-features { margin-top: 11px; }
}
