.vertical-slider {
  /* width: 300px; */
  height: 423px;
  position: relative;
  overflow: hidden;
  /* border: 1px solid #ccc; */
}

.vs-viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
  margin-top: 30px;
}

.vs-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.5s ease;
  padding: 5px 0px;
}

.vs-item {
  flex-shrink: 0;
  width: 100%;
  text-align: center;
  /* height: 33.33%;  */
  /* ปรับให้แสดง 3 items ต่อ view */
  /* margin-top: 5px; */
  margin-bottom: 10px;
}

.vs-item img {
  width: 75px;
  height: 75px;
  object-fit: cover;
  border-radius: 8px;
}

.vs-btn {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: none;
  /* background: rgba(0,0,0,0.5); */
  /* color: #fff; */
  border: none;
  /* padding: 10px 15px; */
  cursor: pointer;
  font-size: 24px;
  line-height: 0;
}

.vs-btn:hover {
  color: #8d8d8d;
}

.vs-prev {
  /* top: 5px; */
}
.vs-next {
  /* bottom: 5px; */
  margin-top: -50px;
}

/* mobile */
@media (max-width: 767px) {
  .vs-item {
    margin-bottom: 11px;
    height: auto !important;
  }

  .vs-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 5px;
  }

  .vertical-slider {
    height: 313px;
    overflow: unset;
    padding: 25px 0px;
  }

  .vs-viewport {
    margin: unset;
  }

  .vs-prev {
    top: 0px;
  }

  .vs-next {
    bottom: 0px;
  }
}
