/* White photo backgrounds and portrait product presentation. */
.enyen-photo img{transform:none!important;object-position:center!important}
.product-image.enyen-photo,.product-detail-image.enyen-photo{background:var(--enyen-photo-bg,#fff)!important;aspect-ratio:4/5!important;height:auto!important;position:relative;overflow:hidden}
.product-image.enyen-photo{min-height:0!important}
.product-image.enyen-photo>img,.product-image.enyen-photo>picture,.product-image.enyen-photo>picture>img{position:absolute!important;inset:0;width:100%!important;height:100%!important;object-fit:contain!important;max-height:none!important;margin:0!important}
.product-detail-image.enyen-photo .main-photo-button{position:absolute!important;inset:0;width:100%!important;height:100%!important;padding:0!important;background:var(--enyen-photo-bg,#fff)!important}
.product-detail-image.enyen-photo .main-photo-button img{width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;margin:0!important}
.enyen-photo img.enyen-portrait-turn,.product-thumbnails img.enyen-portrait-turn,.enyen-card-views img.enyen-portrait-turn,.enyen-lightbox-frame img.enyen-portrait-turn{position:absolute!important;inset:auto!important;left:50%!important;top:50%!important;width:var(--enyen-turn-width)!important;height:var(--enyen-turn-height)!important;max-width:none!important;max-height:none!important;transform:translate(-50%,-50%) rotate(90deg)!important;object-fit:contain!important}
.product-thumbnails button,.enyen-card-views button{position:relative;background:var(--enyen-photo-bg,#fff)!important;overflow:hidden}
.enyen-card-views{display:flex;gap:7px;align-items:center;padding:10px 14px;background:#fff;border-top:1px solid #f2f2f2;flex-wrap:wrap}
.enyen-card-views button{width:42px;height:54px;padding:2px;background:#fff;border:1px solid #dce1e4;cursor:pointer;flex:0 0 auto}
.enyen-card-views button:hover,.enyen-card-views button:focus-visible{border-color:#213d4c;outline:1px solid #213d4c}
.enyen-card-views img{width:100%;height:100%;object-fit:contain;display:block}
.enyen-card-views a{font-size:11px;margin-left:auto;color:#284854}
@media(max-width:760px){.enyen-card-views{gap:5px;padding:8px}.enyen-card-views button{width:31px;height:41px}.enyen-card-views a{width:100%;margin:2px 0 0}.product-detail-image.enyen-photo{max-height:none!important}}

.enyen-lightbox-frame{position:relative;width:min(72vw,480px);aspect-ratio:4/5;max-height:75vh;margin:auto;overflow:hidden;background:var(--enyen-photo-bg,#fff)}
.enyen-lightbox-frame .lightbox-photo{width:100%;height:100%;object-fit:contain;max-height:none!important;display:block}
