.gallery-item:nth-child(4) {
  grid-column: 1 / span 2;
}

.gallery-item:hover > img {
  transform: scale(1.035);
}

.gallery-item > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s, filter .35s;
  filter: saturate(.9) contrast(1.06);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 58%, rgba(0, 0, 0, .82));
  pointer-events: none;
}

.closing-product {
  transform: none;
}

.closing-product img {
  width: min(530px, 100%);
  aspect-ratio: 1.3;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .6), 0 0 50px rgba(225, 6, 0, .2);
  transform: rotate(-1.5deg);
}

.dialog-art {
  height: min(65vh, 620px);
  background: #050505;
}

.dialog-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 900px) {
  .gallery-item:nth-child(4) {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .hero-product-frame {
    width: min(390px, 92%);
  }

  .hero-product-photo {
    height: 465px;
  }

  .gallery-item:nth-child(4) {
    grid-column: auto;
  }

  .closing-product img {
    transform: none;
  }

  .dialog-art {
    height: 68vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-item > img {
    transition: none;
  }
}
