/* R7.8.0 | Homepage BVER five-product grid only.
   Desktop: three cards on first row, two balanced cards on second.
   Tablet: two columns; mobile: single column. */
#products .product-grid-five {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px) !important;
  align-items: stretch;
}
#products .product-grid-five > .product-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(22px, 2.3vw, 32px);
}
#products .product-grid-five > .product-card:nth-child(4),
#products .product-grid-five > .product-card:nth-child(5) {
  grid-column: span 3;
}
#products .product-grid-five > .product-card .product-link {
  margin-top: auto;
  padding-top: 20px;
  align-self: flex-start;
}
#products .product-grid-five > .product-card .product-header {
  gap: 16px;
}
#products .product-grid-five > .product-card .product-icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
}
@media (max-width: 900px) {
  #products .product-grid-five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #products .product-grid-five > .product-card,
  #products .product-grid-five > .product-card:nth-child(4),
  #products .product-grid-five > .product-card:nth-child(5) { grid-column: auto; }
  #products .product-grid-five > .product-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: 100%;
  }
}
@media (max-width: 600px) {
  #products .product-grid-five { grid-template-columns: minmax(0, 1fr); }
  #products .product-grid-five > .product-card,
  #products .product-grid-five > .product-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
