img.full-sized-image-from-click {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: auto;
  max-height: calc(100vh - 16px);
  max-width: calc(100vw - 16px);
  object-fit: contain;
  position: fixed;
  box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
}

img.full-sized-image-from-click:hover {
  cursor: pointer;
}

.full-sized-image-from-click--wrapper {
  /* Provides the background */
  width: 100vw;
  background: white;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.full-sized-image-from-click--wrapper:hover {
  cursor: pointer;
}

.lightbox-thumbnails {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  overflow: visible;
  z-index: 10;
}

.lightbox-thumbnails-inner {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: nowrap;
  padding: 1px 6px;
  transition: transform 0.2s ease;
}

.lightbox-thumbnails img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  opacity: 0.45;
  border: 2px solid transparent;
  flex-shrink: 0;
  cursor: pointer;
  transition: opacity 0.15s, border-color 0.15s;
}

.lightbox-thumbnails img.active {
  opacity: 1;
  border-color: white;
  box-shadow: 0 0 0 1px black;
}

.lightbox-thumbnails img:hover {
  opacity: 0.8;
}

.lightbox-close {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  color: #888;
  background: none;
  border: none;
  z-index: 10;
  line-height: 1;
}

.lightbox-close:hover {
  color: #333;
}
