/* Shared full-size image viewer (Community + Property details) */
#sh-community-image-viewer {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 64px 20px 20px;
  background: rgba(10, 15, 12, 0.96);
}

#sh-community-image-viewer.sh-image-viewer-open {
  display: flex;
}

#sh-community-full-image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 84px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

#sh-community-image-close {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

#sh-community-image-close:hover {
  background: rgba(255,255,255,0.24);
}

body.sh-image-viewer-active {
  overflow: hidden;
}

@media (max-width: 600px) {
  #sh-community-image-viewer {
    padding: 60px 10px 10px;
  }

  #sh-community-full-image {
    max-height: calc(100vh - 76px);
  }

  #sh-community-image-close {
    top: 10px;
    right: 10px;
  }
}
