.preview_image_video_k {
  max-width: 650px;
  width: 100%;

  padding: 1rem;
  border-radius: 1rem;
  position: fixed;
  /* position: sticky; */
  bottom: 50px;
}

.image_container {
  max-width: 100%;
  margin-right: 10px;
  display: flex;
  flex-direction: column;
  max-height: fit-content;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  /* position: relative; */
  position: sticky;
  top: 0;
}

/* prev and next button */
.prev,
.next {
  position: absolute;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  font-size: 1.3rem;

  &:hover {
    background-color: rgba(0, 0, 0, 0.7);
  }
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.radio_img {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0px 0px 15px 0px;
  gap: 8px;
  position: absolute;
  bottom: -0px;
}

/* hover image show */

.image_hover_change {
  position: absolute;
  z-index: 23;
}
.image_hover_change > img {
  object-fit: cover;
}

.image_hover {
  display: flex;
  margin-top: 10px;
  margin-bottom: 10px;
  gap: 7px;
  overflow: auto;
  transition: all 0.3s ease;
}
.image_hover > span {
  border: 1px solid rgba(130, 130, 130, 0.292);
  border-radius: 10px;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* cursor: pointer; */
  transition: all 0.3s ease;
}
.image_hover > span > img {
  width: 100%;
  object-fit: contain;
  transition: all 0.3s ease;
}

.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  touch-action: pan-y; /* Allow vertical scrolling on the page */
}

.slides {
  display: flex;
  align-items: center;
  transition: all 0.3s ease-in-out;
  will-change: transform; /* Optimization hint for smoother animation */
}

.slides img {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  border: none;
}
