/*---gallery*/
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 15px;
}

.gallery-grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border: 1px solid rgba(138, 117, 106, 0.15);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-grid img:hover {
  transform: scale(1.02);
  border-color: var(--taupe);
}
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: zoom-out;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}
