/* This stylesheet only changes the square-shelf page's related comparison cards. */
.compare-section.related-3d-section .compare-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 40px;align-items:stretch}
.compare-section.related-3d-section .compare-links>a.related-product-card{display:flex;flex-direction:column;min-width:0;padding:0;border:1px solid var(--line);border-radius:3px;background:var(--paper);color:var(--ink);text-decoration:none;overflow:visible}
.compare-section.related-3d-section .related-product-media{position:relative;aspect-ratio:4/3;width:100%;min-height:0;flex:none;background:#eeece5;border-bottom:1px solid var(--line);border-radius:3px 3px 0 0}
.compare-section.related-3d-section .related-product-media img{position:absolute;inset:18px;display:block;width:calc(100% - 36px);height:calc(100% - 36px);max-width:100%;object-fit:contain;object-position:center}
.compare-section.related-3d-section .related-product-copy{padding:24px;min-width:0}
.compare-section.related-3d-section .related-product-copy h3{font-size:24px;line-height:1.3;margin:0 0 14px;overflow-wrap:anywhere}
.compare-section.related-3d-section .related-product-copy p{font-size:16px;line-height:1.7;margin:0;color:var(--muted);overflow-wrap:anywhere}
.compare-section.related-3d-section .related-product-copy h3 span{display:inline;font:inherit;color:var(--accent);margin:0}
.compare-section.related-3d-section .related-product-card:hover h3{text-decoration:underline;text-underline-offset:5px}
.compare-section.related-3d-section .related-product-card:focus-visible{outline:3px solid #719c89;outline-offset:5px}
.compare-section.related-3d-section .related-collection-link{display:inline-flex;align-items:center;min-height:44px;margin-top:28px;color:var(--accent);font-size:16px;line-height:1.6;text-underline-offset:4px}
@media(max-width:760px){
 .compare-section.related-3d-section .compare-links{grid-template-columns:minmax(0,1fr);gap:28px}
 .compare-section.related-3d-section .related-product-media img{inset:14px;width:calc(100% - 28px);height:calc(100% - 28px)}
 .compare-section.related-3d-section .related-product-copy{padding:22px}
 .compare-section.related-3d-section .related-product-copy h3{font-size:23px;line-height:1.35}
}
