.shine-button {
  position: relative;
  overflow: hidden;
}

.shine-button::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient( to right, transparent, rgba(255, 255, 255, 0.9) );
  opacity: 0.4;
  transform: skewX(-10deg) translateX(-120%);
  animation: button-shine 8s ease infinite;
  pointer-events: none;
}

@keyframes button-shine {
  0% {
    transform: skewX(-10deg) translateX(-120%);
  }
  15% {
    transform: skewX(-10deg) translateX(120%);
  }
  100% {
    transform: skewX(-10deg) translateX(120%);
  }
}

.fly-img {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fly-img:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 12px 25px rgba(0,0,0,0.18);
}

.js-image-modal {
  cursor: zoom-in;
}

.image-modal-wrapper {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.image-modal-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  display: block;
}

.image-modal-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: rgb(227, 6, 76);
  color: white;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.2s ease;
}

.image-modal-close:hover {
  transform: scale(1.1);
}

