.products-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: var(--section-y, 36px) 0;
}

/* Same lead style as Art Gallery / Lab / Journal description lines */
.products-section .section-title {
  max-width: 760px;
  margin-bottom: 34px;
}

.research-lead {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.product-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--research-gap, 28px);
  padding: 0;
}

.loading-products {
  margin: 0;
  color: var(--muted);
}

.product-card {
  display: flex;
  min-width: 0;
  min-height: 520px;
  animation: rise 520ms ease both;
  animation-delay: var(--delay);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), transparent 34%),
    rgba(14, 14, 17, 0.86);
  box-shadow: var(--shadow);
}

.product-card--wide {
  grid-column: 1 / -1;
  min-height: auto;
  overflow: hidden;
}

.product-card--interactive {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.product-head--interactive {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.product-head-main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  min-width: 0;
}

.product-head-main span {
  color: var(--soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-head-main h2 {
  margin: 0;
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.product-head-meta {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.product-body--interactive {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0;
  width: 100%;
  min-height: 0;
  padding: 0;
}

.product-body--interactive .product-summary-inline {
  order: 2;
  min-height: auto;
  margin: 0;
  padding: 10px 16px 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.product-preview--interactive {
  order: 1;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.product-card:hover {
  border-color: var(--line-bright);
  background: var(--panel-strong);
}

.product-head {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
}

.product-card--interactive > .product-head,
.product-head.product-head--interactive {
  position: relative;
  top: auto;
  right: auto;
  left: auto;
}

.product-body {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 62px 18px 18px;
}

.product-card--interactive > .product-body,
.product-body.product-body--interactive {
  padding: 0;
}

.product-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.product-title-row h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.05;
}

.product-metric {
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  font-size: 12px;
  font-weight: 720;
}

.product-body p {
  min-height: 72px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.product-preview {
  position: relative;
  flex: 1;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.product-card--interactive .product-preview--interactive {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.product-card--interactive .product-summary-inline {
  min-height: 0;
  margin: 0;
  padding: 10px 16px 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.product-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.product-controls button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.product-controls button:hover,
.product-controls button.active {
  border-color: var(--line-bright);
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
}

.product-insight {
  min-height: 22px;
  margin-top: 10px;
  color: var(--soft);
  font-family: "SF Mono", Consolas, monospace;
  font-size: 11px;
}

@media (max-width: 960px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 500px;
  }

  .product-card--wide {
    grid-column: auto;
  }
}
