
.wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 100px;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.gallery-img {
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

.gallery-img > .img {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}



.description {
  color: var(--color-dark);
  font-size: 16px;
  font-weight: 400;
  margin: 0;
  font-family: GraphikMedium;
  padding: 0 0 30px 0;
  white-space: pre-line;
}


/* START PREVIEW IMAGE */
#preview {
  display: flex;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  z-index: 99;
  background-color: var(--preview-bkg-color);
  position: fixed;
  pointer-events: none;
  opacity: 0;
  transition-duration: 200ms;
  overflow: auto;
}

#preview.show {
  opacity: 1;
  pointer-events: inherit;
}

#close-btn {
  background-color: var(--zoomist-zoomer-button-color);
  border-bottom-left-radius: 4px;
  border: none;
  border-radius: 0;
  color: #000;
  font-size: 30px;
  font-weight: 100;
  height: 48px;
  position: absolute;
  right: 0;
  top: 144px;
  width: 48px;
  z-index: 2;
}

#preview-img {
  display: flex;
  height: calc(100% - 20px);
  margin: 100px auto;
  position: relative;
}

/*END PREVIEW IMAGE */


.item-data {
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: 10px;
  margin: 5px 0;
}

.item-data .left {
  display: flex;
  color: var(--accent-color);
  font-size: 14px;
  font-weight: 500;
  font-family: GraphikMedium;
  text-align: right;
  margin: 0;
  justify-content: right;
}

.item-data .right {
  display: flex;
  color: var(--color-dark);
  font-size: 14px;
  font-weight: 500;
  font-family: GraphikMedium;
  text-align: left;
  margin: 0;
}




.zoomist-container {
  position: relative;
  padding: 0 !important;
  touch-action: none;
  user-select: none;
  width: 100%;
  max-width: 600px;
  border-radius: 20px;
  overflow: hidden;
}

.zoomist-wrapper {
  background-color: var(--zoomist-wrapper-bg-color);
  height: 100%;
  overflow: hidden;
  padding: 0 !important;
  position: relative;
  width: 100%;
  z-index: 1;
}

#open-file {
  left: 0;
  position: relative;
  top: 0;
  z-index: 4;
}

#open-file > div {
  background-color: var(--accent-color);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
}


.zoomist-image {
  width: 100%;
  aspect-ratio: 1;
}

.zoomist-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


.swiper-related .swiper-slide {
  width: 300px !important;
}



@media all and (max-width: 920px) {
  .wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 100px;
    grid-template-rows: 1fr 2fr;
  }
}
