.single-hotel .hover\:bg-transparent:hover {
  color: #695643;
}
#espacos .item .col-span-6 {
  padding-left: 10px;
}

.videos-hotel {
  margin-bottom: 80px;
}
.videos-hotel .container {
  max-width: 100%;
}
.single-video {
  padding: 0 24px;
}
.single-video .video-item {
  width: 1216px !important;
  height: 421px !important;
  max-width: 100%;
  max-height: 421px;
}

/* Área geral do carrossel */
.video-carousel {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  /* 🔥 Remove qualquer overflow que possa afetar o espaçamento */
  overflow: visible;
}

/* Ajuste adicional para o swiper */
.swiper {
  width: 100%;
  padding: 20px 0;
  /* 🔥 Remove TODOS os paddings laterais */
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  /* Garante que não há overflow escondido */
  overflow: visible;
}

.swiper-wrapper {
  align-items: center;
  /* 🔥 Remove qualquer transformação que possa afetar o espaçamento */
  transition-timing-function: ease-out;
}

/* 🔥 SLIDES COM ESPAÇAMENTO CORRETO */
.video-carousel .swiper-slide {
  width: 596px !important;
  min-width: 596px !important;
  height: 421px !important;
  min-height: 421px !important;
  flex-shrink: 0 !important;
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  /* O Swiper já gerencia o margin-right automaticamente com spaceBetween */
}

/* Slide ativo (central) destacado */
.video-carousel .swiper-slide-active {
  opacity: 1;
  z-index: 2;
}
.video-carousel .swiper-slide-next,
.video-carousel .swiper-slide-prev {
  opacity: 1;
}

/* Container interno do vídeo */
.video-item {
  width: 100% !important;
  height: 100% !important;
  max-width: 596px;
  max-height: 421px;
  overflow: hidden;
  list-style: none;
}

/* Estilo para a imagem do thumbnail */
.video-thumbnail {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-width: 596px;
  min-height: 421px;
}

/* Ajuste do player ou thumbnail */
.video-container {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Overlay do play button */
.play-icon-overlay,
.video-container .absolute {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  z-index: 40;
  transition: all 0.3s ease;
}

.play-icon-overlay:hover,
.video-container .absolute:hover {
  background: rgba(0, 0, 0, 0.7);
}

/* Ícone de play */
.play-icon-overlay svg,
.video-container .absolute svg {
  width: 80px;
  height: 80px;
  opacity: 0.9;
  transition: transform 0.3s ease;
  pointer-events: none;
}

.play-icon-overlay:hover svg,
.video-container .absolute:hover svg {
  transform: scale(1.1);
}

.swiper-pagination {
  bottom: 0 !important;
  margin-bottom: -30px;
}
.swiper-pagination .swiper-pagination-bullet {
  background: #b8b8b8;
  opacity: 1;
  width: 8px;
  height: 8px;
}
.swiper-pagination .swiper-pagination-bullet-active {
  background: #695643;
}

/* MODAL STYLES - CRÍTICO PARA FUNCIONAMENTO */
.video-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.95) !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 999999 !important;
  padding: 20px;
}

/* Quando não tem a classe hidden, mostrar */
.video-modal:not(.hidden) {
  display: flex !important;
}

/* Container da modal */
.video-modal-container {
  position: relative;
  width: 90vw;
  max-width: 1200px;
  margin: 0 auto;
}

/* Conteúdo da modal - proporção 16:9 */
.video-modal-content {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  position: relative;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.video-modal-content iframe {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  border-radius: 8px;
}

/* Botão de fechar mais visível */
#closeModal {
  position: absolute;
  top: -60px;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  z-index: 1000000;
  transition: all 0.3s ease;
  font-family: Arial, sans-serif;
  line-height: 1;
}

#closeModal:hover {
  background: rgba(0, 0, 0, 1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.1);
}

/* Ajuste para o container do vídeo embed (se usado) */
.video-embed {
  width: 100%;
  height: 100%;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Esconder scrollbar quando modal está aberta */
body.modal-open {
  overflow: hidden !important;
}

/* 🔥 RESPONSIVIDADE COM ESPAÇAMENTO CORRETO */
@media (max-width: 768px) {
  .video-modal-container {
    width: 95vw;
  }

  #closeModal {
    width: 40px;
    height: 40px;
    font-size: 24px;
    top: -50px;
  }
}

/* Responsividade do carousel mantendo 24px */
@media (max-width: 1200px) {
  .video-carousel .swiper-slide {
    width: 500px !important;
    min-width: 500px !important;
    height: 350px !important;
  }
  .video-thumbnail img {
    min-width: 500px !important;
    min-height: 350px !important;
  }
}

@media (max-width: 768px) {
  .video-carousel .swiper-slide {
    width: 400px !important;
    min-width: 400px !important;
    height: 280px !important;
  }
  .video-thumbnail img {
    min-width: 400px !important;
    min-height: 280px !important;
  }
  .play-icon-overlay svg,
  .video-container .absolute svg {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 576px) {
  .video-item {
    width: 100% !important;
    height: 290px !important;
  }
  .video-carousel .swiper-slide {
    width: 320px !important;
    min-width: 320px !important;
    height: 290px !important;
    min-height: 290px !important;
  }
  .video-carousel .swiper-slide .video-thumbnail img {
    min-width: 320px !important;
    min-height: 290px !important;
  }
  .single-video .video-item {
    height: 300px !important;
    max-width: 100%;
    max-height: 300px;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 480px) {
  .video-carousel .swiper-slide {
    width: 280px !important;
    min-width: 280px !important;
    height: 225px !important;
  }
  .video-thumbnail img {
    min-width: 280px !important;
    min-height: 225px !important;
  }
  .play-icon-overlay svg,
  .video-container .absolute svg {
    width: 50px;
    height: 50px;
  }
}