img { -webkit-user-drag: none; -webkit-touch-callout: none; }
.product-visual .image-enlarge {
  display: block; width: 100%; height: calc(100% - 30px); min-height: 0;
  padding: 0; border: 0; background: transparent; cursor: zoom-in;
  position: relative; min-width: 0;
}
.product-visual .image-enlarge img { height: 100%; width: 100%; object-fit: contain; user-select: none; }
.image-enlarge::after { content: 'Ingrandisci +'; position: absolute; right: 8px; bottom: 8px; padding: 7px 10px; border-radius: 4px; background: #171713ed; color: #f2f0e9; font: 12px/1.3 Manrope, sans-serif; }
.product-visual .image-enlarge:focus { outline: none; box-shadow: none; }
.image-keyboard-navigation .image-enlarge:focus-visible::after { text-decoration: underline; text-underline-offset: 4px; color: #ec5b3f; }
.image-viewer {
  margin: auto; padding: 48px 0 0; width: fit-content; height: fit-content;
  max-width: 94vw; max-height: 96dvh; border: 0; border-radius: 0;
  background: transparent; overflow: visible;
}
.image-viewer::backdrop { background: #0008; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.image-viewer > img { display: block; width: auto; height: auto; max-width: 94vw; max-height: calc(96dvh - 48px); object-fit: contain; user-select: none; }
.image-viewer .image-viewer-close {
  position: absolute; top: 0; right: 0; display: grid; place-items: center;
  width: 44px; height: 44px; padding: 0; border: 0; background: transparent;
  color: #ec5b3f; font: 40px/1 Arial, sans-serif; cursor: pointer;
}
.image-viewer .image-viewer-close:focus { outline: none; box-shadow: none; }
.image-keyboard-navigation .image-viewer-close:focus-visible span { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 700px) { .product-visual .image-enlarge { height: 100%; } }
