:root {
  --primary-vc-color: #5851db;
  --gradient-vc-start: #405de6;
  --gradient-mid: #5851db;
  --gradient-vc-end: #833ab4;
  --text-vc-light: #ffffff;
  --text-vc-dark: #262626;
  --background-vc-light: rgba(255, 255, 255, 0.95);
  --progress-vc-bar-bg: rgba(200, 200, 200, 0.5);
  --progress-vc-bar-fill: #5851db;
  --shadow-vc-color: rgba(0, 0, 0, 0.2);
  --button-vc-bg: rgba(0, 0, 0, 0.3);
  --button-vc-bg-hover: rgba(0, 0, 0, 0.8);
}

.vc-video-widget {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: left;
  align-items: center;
}

/* Botão flutuante com vídeo de fundo */
.vc-floating-button {
  position: fixed;
  bottom: 40px;
  left: 45px;
  /* Posição inicial desejada */
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  cursor: grab;
  box-shadow: 0 4px 15px var(--shadow-vc-color);
  z-index: 1001;
  border: 3px solid var(--gradient-vc-end);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  touch-action: none;
}

@media screen and (max-width: 768px) {
  .vc-floating-button {
    width: 70px;
    height: 70px;
  }

}

.vc-floating-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.vc-floating-button:active {
  cursor: grabbing;
}

.vc-floating-button video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Label do botão flutuante */
.vc-floating-label {
  position: fixed;
  bottom: 55px;
  left: 125px;
  /* Posição inicial desejada */
  background: linear-gradient(45deg,
      var(--gradient-vc-start),
      var(--gradient-vc-end));
  color: var(--text-vc-light);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 10px var(--shadow-vc-color);
  opacity: 0;
  transform: translateX(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 1000;
  white-space: nowrap;
}

/* Modal do carrossel */
.vc-video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.vc-vc-modal-content {
  position: relative;
  width: 53vh;
  height: 100%;
  max-height: 80vh;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--text-vc-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
@media (max-width: 768px) {
  .vc-vc-modal-content {
    width: 90vw;
    height: 100%;
    max-height: 80vh;
  }
}


.vc-modal-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  z-index: 2100;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vc-close-modal {
  padding: 1px;
  background-color: var(--button-vc-bg);
  color: var(--text-vc-light);
  border: none;
  cursor: pointer;
  border-radius: 5px;
  position: relative;
}

.vc-carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.vc-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: column;
}

.vc-carousel-slide.active {
  display: flex;
}

.vc-video-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.vc-carousel-video {
  object-fit: cover;
  max-width: unset;
  opacity: 1;
  transition: 50ms ease-out;
}

.vc-video-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: var(--text-vc-light);
  z-index: 2052;
}

.vc-product-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.vc-product-description {
  font-size: 14px;
  margin-bottom: 12px;
  opacity: 0.9;
}

.vc-cta-button {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(45deg,
      var(--gradient-vc-start),
      var(--gradient-vc-end));
  color: var(--text-vc-light);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
}

.vc-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  color: var(--text-vc-light);
}

.vc-carousel-controls {
  position: absolute;
  top: 38px;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  z-index: 2050;
}

.vc-control-area {
  flex: 1;
  height: 100%;
  cursor: pointer;
}

/* Indicadores de navegação */
.vc-carousel-indicators {
  position: relative;
  height: 4px;
  width: 90%;
  display: flex;
  justify-content: space-between;
  gap: 4px;
  cursor: pointer;
}

.vc-indicator {
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background-color: var(--progress-vc-bar-bg);
  transition: transform 0.3s ease, background-color 0.3s ease;
  position: relative;
}

.vc-indicator.active {
  width: 100%;
}

.vc-indicator.active:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: var(--progress-width);
  background-color: var(--progress-vc-bar-fill);
  transition: width 0.1s linear;
  height: 100%;
  border-radius: 2px;
}

.vc-button-controls {
  position: absolute;
  bottom: 20px;
  display: flex;
  gap: 10px;
  z-index: 2052;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}

.vc-button-controls button {
  padding: 10px;
  background-color: var(--button-vc-bg);
  color: var(--text-vc-light);
  border: none;
  cursor: pointer;
  border-radius: 50%;
}

.vc-button-controls button:hover {
  background-color: var(--button-vc-bg-hover);
  transform: translateY(-2px);
}

/* Animações */
@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.vc-pulse {
  animation: pulse 1.5s infinite ease-in-out;
}

/* Estilo do modal de compartilhamento */
#shareModal {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: none;
    /* Inicialmente oculto */
    justify-content: center;
    align-items: center;
    z-index: 2100;
    /* Acima do modal principal */
}

/* Conteúdo do modal */
#shareModal .modal-content {
    background-color: var(--background-vc-light);
    color: var(--text-vc-dark);
    border-radius: 12px;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
}

/* Botão de fechar */
#shareModal .close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-vc-dark);
}

#shareModal .close:hover {
    color: var(--gradient-vc-end);
}

/* Texto informativo */
#shareModal p {
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 600;
}
#shareModal .social-medias {
   display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
/* Links de compartilhamento */
#shareModal a,
.vc-button-controls a {
    padding: 8px;
    border-radius: 50%;
    color: var(--text-vc-light);
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
    align-items: center;
}
#shareModal a#whatsappShare,
.vc-button-controls a#whatsappButton{
    background-color: #25D366;
}
#shareModal a#whatsappShare:hover,
.vc-button-controls a#whatsappButton:hover{
    background-color: #128C7E;
}
#shareModal a#facebookShare,
.vc-button-controls a#facebookButton{
    background-color: #3b5998;
}
#shareModal a#facebookShare:hover,
.vc-button-controls a#facebookButton:hover{
    background-color: #2d4373;
}
#shareModal a#twitterShare,
.vc-button-controls a#videoServiceButton{
    background-color: #1DA1F2;
}
#shareModal a#twitterShare:hover,
.vc-button-controls a#videoServiceButton:hover{
    background-color: #0c7db1;
}
#shareModal a:hover,
.vc-button-controls a:hover {
    transform: translateY(-2px);
}