.photo-carousel {
  position: relative;
  max-width: 1300px;
  margin: auto;
  display: flex;
  align-items: center;
  margin-top: 60px;
}

.photo-viewport {
  overflow: hidden;
  width: 100%;
}

.photo-track {
  display: flex;
  transition: transform 0.4s ease;
}

.photo-item {
  flex: 0 0 33.333%;
  padding: 10px;
}

.photo-item img {
  max-width: 400px;
  height: 400px;
  border-radius: 12px;
  display: block;
  object-fit: cover;
}

/* Tablet: 2 visible */
@media (max-width: 900px) {
  .photo-item {
    flex: 0 0 50%;
  }
}

/* Mobile: 1 visible */
@media (max-width: 600px) {
  .photo-item {
    flex: 0 0 100%;
  }
  .photo-item img {
    max-width: 300px;
    height: 300px;
  }
}

/* Buttons */
.photo-btn {
  background: #000;
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  z-index: 2;
}

.photo-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
