.vip-media {
  display: flex;
  flex-direction: column;
  align-items: left;
  margin-top: -70px;
}

.vip-photo-carousel-arrow.left {
  transform: rotate(180deg); 
}

.vip-media-tabs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 450px;
  box-sizing: border-box;
  margin: 0 22%;
}

.vip-media-tabs > div:first-child {
  order: 1;
}

.vip-media-tabs > div:last-child {
  order: 2;
  display: flex;
  margin: 15px 10px 0 0;
}

.vip-tab-button {
  background: var(--white-back);
  color: var(--black-text);
  border: 2px solid var(--border);
  border-radius: 5px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  margin-left: 10px;
  transition: background 0.3s ease, color 0.3s ease, border 0.3s ease;
}

.vip-tab-button.active {
  font-weight: bold;
  background: var(--grey-theme);
  color: var(--white-back);
  border: 2px solid var(--grey-theme);
  border-radius: 5px;
}

.vip-media-content {
  width: 100%;
  max-width: 600px; 
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0px auto 40px auto; 
  
}

.vip-photo-gallery {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center; 
  justify-content: center;
  
}

.vip-photo-carousel-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center; 
  justify-content: center; 
}

.vip-photo-carousel-container {
  width: 100%;
  max-width: 450px;
  height: 650px; 
  overflow: hidden;
  display: flex;
  align-items: center; 
  justify-content: center; 
  
}

.vip-slick-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.vip-photo-carousel-image {
  max-width: 95%;
  max-height: 100%;
  object-fit: contain; 
  object-position: center;
  margin: auto;
  border-radius: 5px;
}

.vip-photo-carousel-arrow {
    display: none;
}


.vip-photo-thumbnail {
  width: 60px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 5px;
  transition: border-color 0.3s ease-out;
}

.vip-photo-carousel-thumbnails {
  display: flex;
  justify-content: flex-start; 
  padding: 5px 10px;
  margin-top: 10px;
  gap: 10px;
  position: absolute;
  bottom: 15px; 
  max-width: 450px;
  overflow-x: auto; 
  white-space: nowrap; 
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
}

.vip-photo-thumbnail.active {
  border-color: var(--grey-theme);
  border: 2px solid var(--grey-theme);
  
}

.vip-photo-carousel-thumbnails::-webkit-scrollbar {
  height: 15px;
}

.vip-photo-carousel-thumbnails::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.5); 
  border-radius: 5px;
}

.vip-photo-carousel-thumbnails::-webkit-scrollbar-thumb {
  background-color: var(--border); 
  border-radius: 5px;
  border: 2px solid rgba(0, 0, 0, 0.5); 
}

.vip-photo-carousel-thumbnails::-webkit-scrollbar-thumb:hover {
  background-color: var(--border);
}

.vip-video-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 600px;
  height: 800px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

video {
  max-width: 100%;
  max-height: 100%;
  width: 450px; 
  height: 650px;
  display: block;
  object-fit: contain;
  border-radius: 5px;
}

.vip-video-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 10px;
}

.vip-video-controls button {
  background-color: transparent;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
}

.vip-video-controls button:hover {
  color: #ff5252;
  transform: scale(1.2);
}

.vip-video-controls .vip-play-pause,
.vip-video-controls .vip-volume,
.vip-video-controls .vip-fullscreen {
  display: flex;
  align-items: center;
}

.vip-video-controls .vip-volume input[type="range"] {
  margin-left: 10px;
  width: 100px;
  background: transparent;
}



@media only screen and (max-width: 1550px) {
    
    .vip-photo-carousel-arrow {
        display: none;
    }

    .vip-photo-thumbnail {
        width: 50px; 
        height: 50px; 
        display: inline-block; 
        margin-right: 5px;
    }

    .vip-photo-carousel-thumbnails {
        display: flex;
        gap: 5px;
        overflow-x: auto;
        white-space: nowrap;
        max-width: 300px;
        justify-content: flex-start;
        flex-wrap: nowrap;
    }
    
    .vip-media-tabs {
      display: flex;
      justify-content: space-between;
      align-items: center;
      max-width: 450px;
      box-sizing: border-box;
      margin: 10px 17%;
      flex-direction: column;
    }
    
    .vip-video-wrapper {
        width: 100%;
        margin-top: 0;
    }

    video {
        width: 100%;
        height: auto;
    }
}
