/* Products index layout — compact header and a wrapping product card grid.
   Linked only from /products/index.html so other pages are unaffected. */

.products-index-hero{
  background:var(--white);
  border-bottom:1px solid var(--line);
  padding:48px 0 44px;
}

.products-index-hero .breadcrumb{
  margin-bottom:22px;
}

.products-index-hero h1{
  font-size:clamp(32px,4.4vw,48px);
  margin:12px 0 0;
  max-width:22ch;
}

.products-index-hero .lead{
  margin-top:16px;
  max-width:42rem;
}

.products-index-range{
  padding-top:48px;
  padding-bottom:24px;
}

.products-index-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:22px;
}

.products-index-grid .card .media-card img{
  aspect-ratio:4/3;
  object-fit:cover;
  object-position:center;
}

@media(max-width:430px){
  .products-index-hero{padding:32px 0 28px}
  .products-index-grid{grid-template-columns:1fr;gap:16px}
  .products-index-range{padding-top:36px}
}
