/* PAT-011: one real 3D motion owner; the original image remains the fallback. */
.showcase-infomaja .screen-phone.has-iphone-3d{animation:none!important;transform:none!important;aspect-ratio:1/2.16;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;isolation:auto;will-change:auto}
.screen-phone.has-iphone-3d>.screen-viewport{position:absolute!important;inset:0;visibility:hidden}
.screen-phone.has-iphone-3d::before,.screen-phone.has-iphone-3d::after{visibility:hidden}
.infomaja-iphone-canvas{position:absolute;left:-45%;top:-20%;width:190%;height:140%;max-width:none;cursor:grab;touch-action:pan-y;filter:drop-shadow(0 16px 12px #0003)}
.is-dragging .infomaja-iphone-canvas{cursor:grabbing}
.infomaja-iphone-canvas:focus-visible{outline:2px solid #171717;outline-offset:-16px;border-radius:20px}
@media print{.infomaja-iphone-canvas{display:none}}

/* Same model and gestures on Plaanid's existing homepage composition. */
.plaanid-home-cover .hero-phone.has-iphone-3d{animation:none!important;transform:none!important;height:auto!important;aspect-ratio:1/2.16;padding:0;border:0;background:transparent;box-shadow:none;isolation:auto;will-change:auto}
.plaanid-home-cover .hero-phone.has-iphone-3d>.phone-glass,.plaanid-home-cover .hero-phone.has-iphone-3d>.device-keys,.plaanid-home-cover .hero-phone.has-iphone-3d>.cover-phone-back,.plaanid-home-cover .hero-phone.has-iphone-3d::before{visibility:hidden}
.plaanid-home-cover .hero-phone.has-iphone-3d>.phone-glass{position:absolute;inset:0}
.plaanid-home-cover.has-interactive-iphone .plaanid-home-scene{transform:none!important;transition:none!important}

/* Let the case phone and its soft shadow breathe beyond the device composition. */
.theme-infomaja .visual .showcase-infomaja{overflow:visible}

.infomaja-iphone-canvas.is-navigation-preview{pointer-events:none;cursor:inherit}
