/* V3.8.41 Product detail modal; does not change project gallery. */
.ms41-product-lightbox[hidden],.ms41-product-lightbox button[hidden]{display:none!important}
.ms41-product-lightbox{position:fixed;inset:0;z-index:21000;background:rgba(5,14,27,.96);display:flex;align-items:center;justify-content:center;padding:60px 70px 55px;color:#fff}
.ms41-lb-figure{margin:0;max-width:min(1200px,100%);width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0}
.ms41-lb-image{max-height:calc(100dvh - 130px);max-width:100%;width:auto;height:auto;object-fit:contain;box-shadow:0 18px 65px rgba(0,0,0,.3)}
.ms41-lb-caption{font-size:13px;text-align:center;margin-top:12px;max-width:100%;overflow-wrap:anywhere;color:#e5e5e5}
.ms41-product-lightbox button{position:absolute;z-index:1;display:grid;place-items:center;background:rgba(30,43,60,.9);border:1px solid #8e98a4;border-radius:50%;color:#fff;width:44px;height:44px;cursor:pointer}
.ms41-product-lightbox button:focus-visible{outline:3px solid #d5ad67;outline-offset:3px}
.ms41-lb-close{top:18px;right:18px;font-size:30px;line-height:1}.ms41-lb-prev{left:12px}.ms41-lb-next{right:12px}
.ms41-lightbox-open{overflow:hidden}.ms29-main #msMainImage{cursor:zoom-in}
@media(max-width:575.98px){.ms41-product-lightbox{padding:74px 12px 80px}.ms41-lb-image{max-height:calc(100dvh - 185px)}.ms41-lb-prev,.ms41-lb-next{bottom:17px}.ms41-lb-prev{left:25%}.ms41-lb-next{right:25%}.ms41-lb-close{right:14px;top:14px}}
@media(prefers-reduced-motion:reduce){.ms41-product-lightbox *{scroll-behavior:auto!important}}
