/* Compact cross-links for the five Fixpoint One product pages.
   The current app is omitted; every other app appears once. */

.product-page .related-section-compact {
  padding: 1rem 1.1rem;
}

.product-page .related-section-compact .related-compact-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.product-page .related-section-compact .related-compact-head h2 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.product-page .related-section-compact .related-compact-head .text-link {
  flex: 0 0 auto;
  padding: 0.25rem 0;
  font-size: 0.78rem;
}

.product-page .related-grid-compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.product-page .related-app-chip {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 0.62rem;
  min-width: 0;
  min-height: 70px;
  padding: 0.66rem 0.72rem;
  border: 1px solid rgba(156, 180, 230, 0.17);
  border-radius: 12px;
  background: rgba(12, 20, 47, 0.72);
  color: #eef5ff;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.product-page .related-app-chip:hover,
.product-page .related-app-chip:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(89, 183, 255, 0.5);
  background: rgba(18, 30, 66, 0.88);
  color: #fff;
}

.product-page .related-app-chip:focus-visible {
  outline: 2px solid rgba(78, 232, 234, 0.72);
  outline-offset: 2px;
}

.product-page .related-app-chip img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.product-page .related-app-chip span {
  min-width: 0;
}

.product-page .related-app-chip strong,
.product-page .related-app-chip small {
  display: block;
}

.product-page .related-app-chip strong {
  overflow: hidden;
  color: #f7f9ff;
  font-size: 0.78rem;
  line-height: 1.25;
  text-overflow: ellipsis;
}

.product-page .related-app-chip small {
  margin-top: 0.18rem;
  color: #9eacc7;
  font-size: 0.67rem;
  line-height: 1.35;
}

@media (max-width: 960px) {
  .product-page .related-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .product-page .related-section-compact .related-compact-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .product-page .related-grid-compact {
    grid-template-columns: 1fr;
  }
}
