/* SECURA product gallery containment, 2026-10-06 */
.detail-layout>div,.detail-grid>div{min-width:0}
.detail-picture,.detail-main-image{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;min-width:0}
.detail-picture>picture,.detail-main-image>picture{display:block;width:100%;height:100%;min-width:0;min-height:0}
.detail-picture img,.detail-main-image img{display:block;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center}
.detail-main-image{height:470px;aspect-ratio:auto}
.detail-gallery,.detail-thumbs{position:relative;clear:both}
.detail-gallery button,.detail-thumbs button{overflow:hidden;flex-shrink:0}
.detail-gallery picture,.detail-thumbs picture{display:block;width:100%;height:100%}
@media(max-width:1000px){.detail-main-image{height:340px}}
@media(max-width:680px){.detail-main-image{height:320px}}

/* Size the link wrapper as well as its image. */
.detail-picture>a,.detail-main-image>a{display:flex;width:100%;height:100%;min-width:0;min-height:0;align-items:center;justify-content:center;position:relative;cursor:zoom-in}
.detail-picture>a>picture,.detail-main-image>a>picture{display:block;width:100%;height:100%;min-height:0}
.detail-picture>a img,.detail-main-image>a img{position:static!important;width:100%!important;height:100%!important;min-height:0!important;object-fit:contain!important;transform:none!important}
.secura-zoom-icon{position:absolute;right:8px;bottom:8px;background:#fff;color:#073e46;border:1px solid #a9c4c1;border-radius:50%;width:42px;height:42px;display:grid;place-items:center;font-size:25px;pointer-events:none}
#securaPhotoViewer{padding:0;border:0;border-radius:12px;background:#f5faf9;width:94vw;max-width:1400px;height:90vh;max-height:90dvh;overflow:hidden;color:#073e46}
#securaPhotoViewer::backdrop{background:#071b1ce0}
.secura-viewer-tools{height:56px;display:flex;justify-content:flex-end;align-items:center;gap:12px;padding:8px 14px}
.secura-viewer-tools button{min-width:44px;height:40px;background:#fff;border:1px solid #a9c4c1;border-radius:8px;font-size:22px;color:#073e46}
.secura-viewer-stage{height:calc(100% - 56px);overflow:auto;overscroll-behavior:contain}
.secura-viewer-stage img{display:block;width:100%;height:100%;max-width:none;object-fit:contain;cursor:zoom-in}
.secura-viewer-stage.zoomed img{width:200%;height:200%;cursor:zoom-out}
