/* Keep the gallery beside the commercial information, bounded by the hero grid. */
@media (min-width:761px) and (min-height:600px){
  .editorial-product .editorial-gallery{
    position:sticky;
    top:calc(var(--editorial-header-height,78px) + 24px);
    align-self:start;
    min-width:0;
  }
  .editorial-product .editorial-gallery .editorial-hero-image img{
    max-height:min(610px,calc(100dvh - var(--editorial-header-height,78px) - 244px));
  }
}
@media (max-width:760px), (max-height:599px){
  .editorial-product .editorial-gallery{position:static;top:auto}
}

/* Reserve the measured main header plus a visible gap for every sticky layer. */
.editorial-product .editorial-section-nav{top:calc(var(--editorial-header-height,78px) + 12px)}
.editorial-product .editorial-section,.editorial-product .editorial-quote,.editorial-product .editorial-photo-grid figure{scroll-margin-top:calc(var(--editorial-header-height,78px) + var(--editorial-nav-height,66px) + 34px)}

.editorial-product .editorial-quick-specs{grid-template-columns:repeat(2,minmax(0,1fr))}.editorial-product .editorial-quick-specs>div{min-width:0}.editorial-product .editorial-quick-specs dd{overflow-wrap:anywhere}

/* Keep long model codes and unsplit parameter alternatives inside their cards. */
.editorial-product :is(h1,h2,h3,h4,p,dd,li){overflow-wrap:anywhere}
.editorial-product .guide-buying-steps article,.editorial-product .guide-buying-steps article>div{min-width:0}
