/* v3.2.8.84 — equal height for all three mobile hero slides.
   Only sizes mobile slides; no changes to supplied artwork or product packaging. */
@media (max-width:700px){
  body.home .sn-hero63-slider{
    --sn84-mobile-height:clamp(555px,150vw,760px);
    width:100%;
    overflow:hidden;
  }
  body.home .sn-hero63-slider > .sn-hero63-slide,
  body.home .sn-hero63-slider > .sn-hero63-slide.sn-hero75-grout-slide{
    height:var(--sn84-mobile-height)!important;
    min-height:var(--sn84-mobile-height)!important;
    max-height:var(--sn84-mobile-height)!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    aspect-ratio:auto!important;
  }
  body.home .sn-hero63-slide[hidden]{display:none!important;}
  /* First slide: photo at top, copy in middle, four benefits in the bottom row. */
  body.home .sn-hero63-slide .sn-hero51{
    height:100%!important;
    min-height:0!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:space-between!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  body.home .sn-hero63-slide .sn-hero51-main{
    height:auto!important;
    min-height:0!important;
    flex:1 1 auto!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:space-evenly!important;
  }
  body.home .sn-hero63-slide .sn-hero51-art{
    flex:0 1 auto!important;
    min-height:0!important;
    max-height:48%!important;
  }
  body.home .sn-hero63-slide .sn-hero51-art img{
    max-height:100%!important;
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
  }
  body.home .sn-hero63-slide .sn-hero51-copy{
    flex:0 0 auto!important;
    padding:8px 12px 10px!important;
    margin:0!important;
  }
  body.home .sn-hero63-slide .sn-hero51-benefits{
    flex:0 0 auto!important;
    margin:7px auto 12px!important;
    gap:7px!important;
  }
  body.home .sn-hero63-slide .sn-hero51-benefit{
    min-height:56px!important;
    padding:7px 8px!important;
  }
  /* Microcement slide: retain original buckets, typography, and 3 grade labels. */
  body.home .sn-hero63-slide .sn-hero63-micro{
    height:100%!important;
    min-height:0!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:space-evenly!important;
    overflow:hidden!important;
  }
  body.home .sn-hero63-slide .sn-hero63-micro-main{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow:hidden!important;
    display:flex!important;
    flex-direction:column-reverse!important;
    justify-content:space-evenly!important;
  }
  body.home .sn-hero63-slide .sn-hero63-micro-copy{
    flex:0 0 auto!important;
    padding:12px 15px 6px!important;
  }
  body.home .sn-hero63-slide .sn-hero63-micro-art{
    flex:0 1 auto!important;
    min-height:0!important;
    padding:5px 10px 18px!important;
  }
  body.home .sn-hero63-slide .sn-hero63-micro-art img{
    height:auto!important;
    max-height:min(34vh,210px)!important;
    max-width:100%!important;
    object-fit:contain!important;
  }
  body.home .sn-hero63-slide .sn-hero63-micro-footer{
    flex:0 0 auto!important;
    margin:8px auto 12px!important;
  }
  /* Approved vertical grout artwork is not cropped or stretched. */
  body.home .sn-hero63-slide.sn-hero75-grout-slide .sn-grout77,
  body.home .sn-hero63-slide.sn-hero75-grout-slide .sn-grout83-picture{
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    aspect-ratio:auto!important;
    background:#07282d!important;
  }
  body.home .sn-hero63-slide.sn-hero75-grout-slide .sn-grout83-primary{
    left:19%!important;
    width:62%!important;
  }
  body.home .sn-hero63-slide.sn-hero75-grout-slide .sn-grout83-secondary{
    left:25%!important;
    width:50%!important;
  }
  body.home .sn-hero63-slide.sn-hero75-grout-slide .sn-grout83-image{
    display:block!important;
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
    object-position:center!important;
    max-width:none!important;
  }
}
@media (max-width:360px){
  body.home .sn-hero63-slider{--sn84-mobile-height:570px;}
  body.home .sn-hero63-slide .sn-hero51-art{max-height:44%!important;}
  body.home .sn-hero63-slide .sn-hero51-benefit small{font-size:9px!important;}
  body.home .sn-hero63-slide .sn-hero63-micro-desc{margin-bottom:7px!important;}
}
