/* Scoped CBE related cards: text and controls share an inset, photographs remain complete. */
#cbe-preview #cbe-related .product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
#cbe-preview #cbe-related .product{display:flex;flex-direction:column;min-width:0;overflow:hidden}
#cbe-preview #cbe-related .product-photo{box-sizing:border-box;display:grid;place-items:center;width:100%;height:auto;aspect-ratio:16/10;padding:12px;margin:0;overflow:hidden}
#cbe-preview #cbe-related .product-photo img{display:block;width:100%;height:100%;max-width:100%;object-fit:contain;transform:none;mix-blend-mode:normal}
#cbe-preview #cbe-related .product>h3{margin:20px 20px 12px;font:500 clamp(1.3rem,2.5vw,1.65rem)/1.25 Georgia,serif;color:#173e31;overflow-wrap:anywhere}
#cbe-preview #cbe-related .product>h3 a{font:inherit;color:inherit;white-space:normal}
#cbe-preview #cbe-related .product>p{box-sizing:border-box;margin:0 20px 16px;max-width:none;min-width:0;font:400 1rem/1.6 system-ui,sans-serif;color:#173e31;overflow-wrap:anywhere}
#cbe-preview #cbe-related .product>p.reference-price{margin-top:auto;font-weight:600}
#cbe-preview #cbe-related .product>a.button{align-self:flex-start;box-sizing:border-box;max-width:calc(100% - 40px);min-height:44px;margin:4px 20px 20px;padding:12px 20px;font:600 1rem/1.4 system-ui,sans-serif;white-space:normal;text-align:center}
#cbe-preview #cbe-visual-comparison .cbe-photo{min-width:0}
#cbe-preview #cbe-visual-comparison .cbe-photo>p{box-sizing:border-box;position:static;width:100%;max-width:100%;margin:10px 0 0;padding:0;font:400 1rem/1.5 system-ui,sans-serif;white-space:normal;overflow-wrap:anywhere;text-align:start}
#cbe-preview #cbe-visual-comparison .cbe-scroll{max-width:100%;overflow-x:auto}
@media(max-width:900px){#cbe-preview #cbe-related .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#cbe-preview #cbe-related .product-grid{grid-template-columns:minmax(0,1fr);gap:20px}#cbe-preview #cbe-related .product-photo{aspect-ratio:16/9;padding:10px}#cbe-preview #cbe-related .product>h3{margin-top:18px;font-size:1.4rem}#cbe-preview #cbe-related .product>p{line-height:1.6}}
