.detail-stage .product-image-open {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  cursor: zoom-in;
}
.product-image-hint {
  position: absolute;
  left: 20px;
  bottom: 18px;
  color: #5d717d;
  font-size: 12px;
}
.product-image-dialog {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 64px 24px 24px;
  border: 0;
  background: rgba(5, 15, 22, .94);
  color: #fff;
}
.product-image-dialog[open] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.product-image-dialog::backdrop { background: transparent; }
.product-image-dialog img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 150px);
  max-height: calc(100dvh - 150px);
  min-height: 0;
  object-fit: contain;
  background: #fff;
}
.product-image-dialog p {
  max-width: 100%;
  margin: 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
}
.product-image-close {
  position: absolute;
  top: 12px;
  right: 18px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}
.product-image-close:focus-visible { outline: 2px solid #4fb6e8; outline-offset: 3px; }
@media (max-width: 600px) {
  .product-image-dialog { padding: 64px 12px 20px; }
  .product-image-hint { left: 14px; font-size: 11px; }
}
