/**
 * Related Products section: spacing and group headings only.
 *
 * The grid and the product card come from blocks/products-grid-items/style.css
 * (declared as this section's first stylesheet), the same source as the
 * collection and homepage grids. The heading uses the Products Grid heading scale.
 */

.starterkit-section.starterkit-related-products {
  padding: var(--starterkit-related-pad-y, 48px) 0;
}

.starterkit-related-products__group {
  display: grid;
  gap: clamp(20px, 3vw, 28px);
  min-width: 0;
  margin: 0;
}

.starterkit-related-products__group + .starterkit-related-products__group {
  margin-top: clamp(40px, 5vw, 56px);
}

.starterkit-related-products .starterkit-related-products__heading {
  margin: 0;
  color: var(--color-primary, #111827);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.2;
}

@media (max-width: 767px) {
  .starterkit-section.starterkit-related-products {
    padding: var(--starterkit-related-pad-y-mobile, 32px) 0;
  }
}
