/* Blend only the supplied Stage 2 photo; retain the original photograph and expose the braid below the boot. */
body.home-page #systems .product-visual.performance,body.products-page .range-card .product-visual.performance{background:none;filter:none;aspect-ratio:305/260;-webkit-mask-image:linear-gradient(0deg,transparent,#000 12%,#000 72%,transparent),linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);mask-image:linear-gradient(0deg,transparent,#000 12%,#000 72%,transparent),linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);-webkit-mask-composite:source-in;mask-composite:intersect}
body.home-page #systems .product-visual.performance img,body.products-page .range-card .product-visual.performance img{display:block;position:absolute;width:100%;height:auto;max-width:none;top:-10%;left:50%;transform:translateX(-50%);filter:none;-webkit-mask-image:none;mask-image:none}
body.home-page #systems .product-visual.performance::after{display:none}

/* Desktop harness photos: full-width Stage 2 and equal reserved image areas. */
@media(min-width:561px){
 body.products-page .range-card .product-visual,
 body.home-page #systems .product-visual{
  aspect-ratio:1225/1284!important;
  background:none;
  filter:none;
  flex-shrink:0;
  -webkit-mask:none!important;mask:none!important;
 }
 body.products-page .range-card .product-visual img,
 body.home-page #systems .product-visual img{display:none!important}
 body.products-page .range-card .product-visual::after,
 body.home-page #systems .product-visual::after{display:none}
 body.products-page .range-card .product-visual::before,
 body.home-page #systems .product-visual::before{
  content:"";position:absolute;display:block;left:0;top:50%;width:100%;
  aspect-ratio:305/205;transform:translateY(-50%);pointer-events:none;
  background:transparent url("/assets/product-reference.jpeg") 5.5633% 74.3802% / 335.7377% 749.2683% no-repeat;
  -webkit-mask:url("/assets/stage-2-desktop-mask.svg?v=matched-8") center / 100% 100% no-repeat;
  mask:url("/assets/stage-2-desktop-mask.svg?v=matched-8") center / 100% 100% no-repeat;
 }
 body.products-page .range-card .product-visual.motorsport::before,
 body.home-page #systems .product-visual.motorsport::before{background-position:94.85396% 74.3802%}
 body.products-page .range-card .product-visual.performance::before,
 body.home-page #systems .product-visual.performance::before{
  aspect-ratio:1225/1284;
  background:transparent url("/assets/stage-2-original.jpeg") center / contain no-repeat;
 }
}
/* Keep the connections divider at the bottom of each equal-height content area. */
@media(min-width:821px){
 body.products-page .range-grid .range-card>.grid{
  display:flex;flex-direction:column;flex:1;align-items:stretch;
 }
 body.products-page .range-grid .range-card>.grid>.vehicle-details{
  margin-top:auto;
 }
 body.products-page .range-grid .range-card>.card-purchase{
  margin-top:20px;
 }
}

/* Desktop cards retain their collapsed row height while expanding independently. */
@media(min-width:561px){
 body.home-page #systems .grid>.card:not(.shared-card),
 body.products-page .range-grid>.range-card{
  align-self:start!important;
 }
}
