/* Related products reuse the shared carousel while retaining the PDP spacing. */
#derm-id-site .pd-product-page .pd-related-new {
  color:#111;
  background:#fff;
  min-width:0;
  overflow:hidden;
}
#derm-id-site .pd-product-page .pd-related-heading-viewport {
  padding:40px 0 10px;
  overflow-x:auto;
  scrollbar-width:none;
  overscroll-behavior-x:contain;
}
#derm-id-site .pd-product-page .pd-related-heading-viewport::-webkit-scrollbar { display:none; }
#derm-id-site .pd-product-page .pd-related-heading-viewport:focus-visible { outline:2px solid #526758; outline-offset:-3px; }
#derm-id-site .pd-product-page .pd-related-heading {
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:nowrap;
  gap:30px;
  width:max-content;
  min-width:100%;
  padding:0 var(--pdp-gutter,15px);
  margin:0;
  font-size:clamp(25.6px,calc(15.981213px + 1.252446vw),32px);
  line-height:1;
  font-weight:400;
  letter-spacing:-.04em;
  white-space:nowrap;
}
#derm-id-site .pd-product-page .pd-related-heading-rule {
  display:block;
  flex:0 0 64px;
  width:64px;
  height:1px;
  background:currentColor;
}
#derm-id-site .pd-product-page .pd-related-card-wrap { padding:54px var(--pdp-gutter,15px) 50px; }
#derm-id-site .pd-product-page .pd-related-new .di-product-art {
  height:auto;
  aspect-ratio:1;
  min-height:0;
  max-height:none;
}
@media (min-width:768px) and (max-width:1279px) {
  #derm-id-site .pd-product-page .pd-related-heading-viewport { padding-top:32px; padding-bottom:8px; }
  #derm-id-site .pd-product-page .pd-related-card-wrap { padding-top:51.2px; padding-bottom:40px; }
}
@media (max-width:767px) {
  #derm-id-site .pd-product-page .pd-related-heading-viewport { padding-top:24px; padding-bottom:6px; overflow:visible; }
  #derm-id-site .pd-product-page .pd-related-card-wrap { padding-top:40.4px; padding-bottom:30px; }
  #derm-id-site .pd-product-page .pd-related-heading { display:grid; grid-template-columns:minmax(0,1fr); width:100%; min-width:0; font-size:25.6px; line-height:1.2; gap:10px; text-align:center; white-space:normal; overflow-wrap:anywhere; }
  #derm-id-site .pd-product-page .pd-related-heading-rule { display:none; }
  #derm-id-site .pd-product-page .pd-related-new .di-product-carousel {
    --carousel-gap:8px;
    --carousel-slide-width:calc((100% - 15px) * .475);
    width:calc(100% + 15px);
  }
  #derm-id-site .pd-product-page .pd-related-new .di-card-tags { left:8px; right:8px; bottom:8px; gap:4px; }
}
@media (prefers-reduced-motion:reduce) {
  #derm-id-site .pd-product-page .pd-related-new * { transition:none!important; }
}
