/* Cursor-following magnification is independent of the existing photo transforms. */
.design-v7 [data-cursor-zoom-frame]{overflow:hidden;isolation:isolate;}
.design-v7 .cursor-image-target{scale:var(--cursor-image-scale,1);transform-origin:var(--cursor-image-x,50%) var(--cursor-image-y,50%);transition:scale 1s cubic-bezier(.4,0,.2,1),transform-origin .16s ease-out,opacity .85s var(--ease),transform 1.1s var(--ease);}
.design-v7 .photo-layer.cursor-image-target{transition:scale 1s cubic-bezier(.4,0,.2,1),transform-origin .16s ease-out,opacity 1.15s var(--ease);}
.design-v7 .cursor-zoom-active{cursor:zoom-in;}
.design-v7 .cursor-zoom-active>.cursor-image-target{will-change:scale;}
.design-v7 .cursor-photo-frame{position:relative;display:block;min-width:0;}
.design-v7 #image-dialog>.cursor-photo-frame{width:100%;height:calc(100% - 40px);}
.design-v7 #image-dialog>.cursor-photo-frame>img{width:100%;height:100%;object-fit:contain;}
.design-v7 .cart-line>.cursor-photo-frame{width:76px;height:100px;background:#f5f5f3;}
.design-v7 .cart-line>.cursor-photo-frame>img{width:100%;height:100%;object-fit:contain;}
.design-v7 .product-story>.cursor-photo-frame{align-self:center;}

@media(max-width:760px){.design-v7 .cart-line>.cursor-photo-frame{width:66px;height:85px;}}
@media(prefers-reduced-motion:reduce){.design-v7 .cursor-image-target{transition:none!important;}}
