/* BM05-06 only: related product image cards. */
.rc .shelf-related-3d{scroll-margin-top:110px}
.rc .shelf-related-3d .detail-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}
.rc .shelf-related-3d .detail-related-grid>a{display:flex;flex-direction:column;min-width:0;padding:20px;overflow-wrap:break-word;text-decoration:none}
.rc .shelf-related-3d .shelf-related-image{display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;width:100%;margin:0 0 20px;background:#f5f3ee;border-radius:8px;overflow:hidden}
.rc .shelf-related-3d .shelf-related-image img{display:block;width:100%;height:100%;max-height:none;object-fit:contain;object-position:center}
.rc .shelf-related-3d .detail-related-grid h3{margin:0;font-family:var(--font-serif);font-size:24px;line-height:1.22;letter-spacing:-.015em}
.rc .shelf-related-3d .detail-related-description{margin:14px 0 20px;color:#536159;font-family:var(--font-sans);font-size:16px;line-height:1.7}
.rc .shelf-related-3d .detail-related-grid>a>.shelf-related-link{display:inline-flex;margin-top:auto;font-family:var(--font-sans);font-size:14px;line-height:1.6;font-weight:600}
.rc .shelf-related-3d .detail-related-grid>a:focus-visible,.rc .shelf-related-3d .shelf-related-collection:focus-visible{outline:3px solid #a6601b;outline-offset:5px}
.rc .shelf-related-3d .detail-related-grid>a:hover h3{text-decoration:underline;text-underline-offset:4px}
.rc .shelf-related-3d .shelf-related-collection-row{margin:24px 0 0}
.rc .shelf-related-3d .shelf-related-collection{display:inline-flex;align-items:center;min-height:44px;max-width:100%;font:600 16px/1.6 var(--font-sans);overflow-wrap:anywhere}
@media(max-width:760px){
 .rc .shelf-related-3d .detail-related-grid{grid-template-columns:minmax(0,1fr);gap:20px}
 .rc .shelf-related-3d .detail-related-grid>a{padding:16px}
 .rc .shelf-related-3d .detail-related-grid h3{font-size:24px}
}
