
/* V339 - Product detail / Related Products responsive count
   Desktop >1100px: 5 visible, 5 columns
   Tablet 761-1100px: 6 visible, 3 columns x 2 rows
   Mobile <=760px: 6 visible, 2 columns x 3 rows */

@media (min-width:1101px){
  body:not(.admin-layout) .v120-product-page .v120-related .v120-related-grid{
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:14px!important;
  }
  body:not(.admin-layout) .v120-product-page .v120-related .v120-related-grid > .v117-product-card:nth-child(n+6){
    display:none!important;
  }
}

@media (min-width:761px) and (max-width:1100px){
  body:not(.admin-layout) .v120-product-page .v120-related .v120-related-grid{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:12px!important;
  }
  body:not(.admin-layout) .v120-product-page .v120-related .v120-related-grid > .v117-product-card{
    display:block!important;
    min-width:0!important;
    width:100%!important;
  }
}

@media (max-width:760px){
  body:not(.admin-layout) .v120-product-page .v120-related .v120-related-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  body:not(.admin-layout) .v120-product-page .v120-related .v120-related-grid > .v117-product-card{
    display:block!important;
    min-width:0!important;
    width:100%!important;
  }
  body:not(.admin-layout) .v120-product-page .v120-related .v117-product-media{
    height:auto!important;
    aspect-ratio:1/1!important;
  }
  body:not(.admin-layout) .v120-product-page .v120-related .v117-product-body{
    padding-left:9px!important;
    padding-right:9px!important;
  }
}
