.vrg-carousel-wrapper {
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.vrg-carousel {
  display: flex;
  gap: 20px;
  scroll-behavior: smooth;
  padding: 10px 0;
  flex-direction: row; 
  overflow-x: hidden;
  overflow-y: hidden;
  white-space: nowrap;
}

.vrg-carousel-prev,
.vrg-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  /*background: rgba(255,255,255,0.9);*/
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: none;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  /*box-shadow: 0 0 6px rgba(0,0,0,0.2);*/
  transition: background-color 0.3s;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vrg-carousel-prev:hover,
.vrg-carousel-next:hover {

  background: rgba(255, 255, 255, 0.15);
}

.vrg-carousel-prev { left: 30px; }
.vrg-carousel-next { right: 30px; }

.vrg-reel {
  flex: 0 0 210px;
  width: 200px;
  display: block;
  cursor: pointer;
}

.vrg-reel video {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  height: auto;
}

/* Modal Styling */


.vrg-modal {
  display: none; 
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7); /* semi-transparent background */
}

.vrg-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0;
  border-radius: 10px;
  max-width: 90%;
  width: 300px;
  max-height: 90%;
}

.vrg-modal video {
  width: 100%;
  max-height: 500px;
  margin-bottom: 15px;
  border-radius: 10px;
}


.vrg-video-wrapper {
  position: relative;
  display: inline-block;
}

#vrg-popup-video {
  width: 100%;
  height: auto;
  display: block;
}

/* Blurred overlay at bottom */
.vrg-cart-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

/* Styled button */
.vrg-add-to-cart-overlay {
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  font-family: inherit;
  transition: background 0.3s ease;
}

.vrg-add-to-cart-overlay:hover {
  background-color: green;
}

.vrg-video-wrapper:hover .vrg-cart-overlay {
  display: flex;
}

