.gallery-item {
  cursor: zoom-in;
}

.gallery-item:focus-visible {
  outline: 2px solid #f4c83d;
  outline-offset: 4px;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1000;
  padding: 30px;
}

.gallery-lightbox.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gallery-lightbox-content {
  max-width: 1200px;
  max-height: 90vh;
  width: 100%;
  display: flex;
  justify-content: center;
}

.gallery-lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.gallery-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 44px;
  line-height: 1;
  cursor: pointer;
  padding: 0 10px;
}

body.gallery-lightbox-open {
  overflow: hidden;
}
