/* Original-preserving image layout: no crops and no distorted product proportions. */
.category-image{display:flex;align-items:center;justify-content:center;background:#fff}
.category-image img{display:block;object-fit:contain!important;width:100%;height:100%;max-width:100%}
.card .image img,.product-media img,.gallery img{object-fit:contain!important}
.product-media{min-width:0;position:relative}
body .product-media img{height:auto;max-height:520px;max-width:min(100%,var(--elb-source-width,100%))}
.gallery img,.product-media img[data-elb-original],.description img[data-elb-original]{cursor:zoom-in}
.gallery img{background:#fff;transition:box-shadow .15s}
.gallery img:hover{box-shadow:0 0 0 2px #087ab6}
body .description img{display:block;max-width:min(960px,100%)!important;height:auto!important;margin:12px auto;object-fit:contain}
.description td img{margin:4px auto}
.description img[width="1"],.description img[height="1"]{display:inline;margin:0}
.elb-image-dialog{border:0;border-radius:8px;padding:46px 20px 20px;max-width:min(96vw,1500px);max-height:94vh;background:#fff;box-shadow:0 20px 70px #0007}
.elb-image-dialog::backdrop{background:#102338d9}
.elb-image-dialog img{display:block;max-width:100%;max-height:78vh;width:auto;height:auto;object-fit:contain;margin:auto}
.elb-image-dialog button{position:absolute;right:10px;top:8px;font-size:24px;line-height:1;border:0;background:#edf3f6;color:#122338;border-radius:50%;width:32px;height:32px;cursor:pointer}
.elb-image-dialog a{display:block;text-align:center;font:14px/1.5 sans-serif;color:#086fa4;margin-top:12px;text-decoration:underline}
.elb-image-dialog button:focus-visible{outline:3px solid #e8a838;outline-offset:2px}
@media(max-width:720px){body .product-media{padding:18px;min-height:260px}body .product-media img{max-height:390px}body .gallery{gap:8px}body .gallery img{width:72px;height:72px}body .description img{margin:10px auto}.elb-image-dialog{max-width:96vw;padding:44px 12px 14px}}
