.zcl_thumb {
  width: 150px;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  cursor: pointer;
}

#zid_overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  background-size: cover;
  background-position: center;
}

#zid_wrapper {
  position: relative;
  width: 100%;
  max-width: 768px;
  aspect-ratio: 1 / 1;
  background: #000;
}

#zid_close {
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  z-index: 20;
  user-select: none;
}

#zid_close:hover {
  background: rgba(0, 0, 0, 0.8);
}

#zid_frame {
  width: 100%;
  height: 100%;
  overflow: auto;
  cursor: zoom-in;
}

#zid_frame[data-zoom="150"] {
  cursor: zoom-out;
}

#zid_view_image {
  width: 100%;
  height: auto;
  display: block;
  max-width: none;
  max-height: none;
  pointer-events: none;
  user-select: none;
}

#zid_frame[data-zoom="150"] #zid_view_image {
  width: 150%;
}