/* CSS для zoom on click (lightbox) */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  overflow: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  margin: auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  animation: zoom 0.3s;
}

@keyframes zoom {
  from {transform: scale(0.1);}
  to {transform: scale(1);}
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.lightbox .close:hover,
.lightbox .close:focus {
  color: #bbb;
  cursor: pointer;
}

.t480__blockimg {
  cursor: zoom-in; /* Добавляем курсор для всех блоков по умолчанию, но JS переопределит если нужно */
}