/* ============================
   SX Lab Equipment (sx-lab)
   Catalog-dense variant
   ============================ */

/* Denser vertical rhythm for lab catalog pages */
.sx-landing-page.sx-lab.sx-section {
  padding: 22px 0 40px 0;
}

/* Slightly denser stack spacing */
.sx-landing-page .sx-stack--lab {
  gap: 16px;
}

.sx-landing-page .sx-stack--dense {
  gap: 14px;
}

/* Lab modules: a touch flatter + more technical */
.sx-landing-page .sx-module--lab {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(33, 37, 41, 0.09);
  border-radius: 14px;
}

.sx-landing-page .sx-module--lab:hover {
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.07);
}

/* Lab media: slightly less dominant than Cells */
.sx-landing-page .sx-module--lab .sx-module__media {
  flex-basis: 280px;
  min-height: 180px;
}

/* Dense variant (environment + software): slightly smaller media */
.sx-landing-page .sx-module--dense .sx-module__media {
  flex-basis: 260px;
  min-height: 170px;
}

/* Software: visually distinct (less hardware presence) */
.sx-landing-page .sx-module__media--software {
  flex-basis: 220px;
  min-height: 150px;
}

.sx-landing-page .sx-module--software {
  border-radius: 12px;
}

/* Bullet lists as "spec bullets" */
.sx-landing-page .sx-bullets--spec {
  margin: 10px 0 6px 0;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.sx-landing-page .sx-bullets--spec li {
  margin: 6px 0;
}

.sx-landing-page .sx-bullets--tight li {
  margin: 4px 0;
}

/* Subsection inside a module (Consumables) */
.sx-landing-page .sx-subsection {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(33, 37, 41, 0.08);
}

.sx-landing-page .sx-subsection__title {
  margin: 0 0 10px 0;
  font-size: 0.98rem;
  font-weight: 820;
  letter-spacing: -0.01em;
}

/* Consumables grid: compact and clearly subordinate */
.sx-landing-page .sx-subgrid--lab {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 6px 0;
}

.sx-landing-page .sx-subcard--lab {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 10px;
  align-items: center;

  padding: 10px;
  border-radius: 12px;

  background: rgba(248, 249, 250, 0.75);
  border: 1px solid rgba(33, 37, 41, 0.08);
}

.sx-landing-page .sx-subcard--lab:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 132, 205, 0.28);
  box-shadow: 0 10px 16px rgba(0, 0, 0, 0.06);
}

.sx-landing-page .sx-subcard__media {
  width: 62px;
  height: 46px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--neutral-100);
  border: 1px solid rgba(33, 37, 41, 0.08);
}

.sx-landing-page .sx-subcard__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.sx-landing-page .sx-subcard__body h5 {
  margin: 0 0 3px 0;
  font-size: 0.92rem;
  font-weight: 860;
}

.sx-landing-page .sx-subcard__body p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Keep responsive behavior consistent */
@media (max-width: 900px) {
  .sx-landing-page .sx-subgrid--lab {
    grid-template-columns: 1fr;
  }

  .sx-landing-page .sx-module--lab {
    flex-direction: column;
  }

  .sx-landing-page .sx-module--lab .sx-module__media {
    flex-basis: auto;
  }

  .sx-landing-page .sx-subcard--lab {
    grid-template-columns: 72px 1fr;
  }

  .sx-landing-page .sx-subcard__media {
    width: 72px;
    height: 54px;
  }
}

/* ============================
   Software Grid (Simplified Layout)
   ============================ */
.sx-landing-page .sx-software-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.sx-landing-page .sx-software-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(33, 37, 41, 0.09);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sx-landing-page .sx-software-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.07);
}

.sx-landing-page .sx-software-card__media {
  width: 100%;
  height: 160px; /* Keeps image heights uniform */
  background: #f8f9fa; /* Fallback background */
  border-bottom: 1px solid rgba(33, 37, 41, 0.05);
}

.sx-landing-page .sx-software-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sx-landing-page .sx-software-card__body {
  padding: 16px;
}

/* Force the text to stay on a single line */
.sx-landing-page .sx-software-card__body h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  white-space: nowrap; 
  overflow: hidden;
  text-overflow: ellipsis; 
}

/* Responsive adjustment for mobile */
@media (max-width: 900px) {
  .sx-landing-page .sx-software-grid {
    grid-template-columns: 1fr; /* Stacks the cards on smaller screens */
  }
}