/* ============================================================== 
     # Demo 
=================================================================== */

.demo-area.demo-conten.default-padding {
  padding-bottom: 30px;
}

.demo-area .single-item {
  position: relative;
  z-index: 1;
}

.demo-area .item {
    margin-bottom: 50px
}

.demo-area .single-item .info {
  padding: 15px 10px;
  text-align: center;
}
.demo-area .single-item .info h4 {
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  text-transform: uppercase;
}
.banner-area .demo-banner h1 {
  font-weight: 700;
  margin-bottom: 30px;
}
.banner-area .demo-banner img {
  height: auto;
  margin-bottom: 20px;
  max-height: 80px;
}
.demo-area .def-heading h2 {
  font-weight: 900;
  margin: 30px 0;
  text-transform: uppercase;
  color: #333333;
}
.demo-footer {
  padding-bottom: 80px;
}

.introduction-area h2 span {
  color: #fd0060;
}

.introduction-area h4 {
  font-weight: 300;
  line-height: 30px;
}

.introduction-area h2 {
  color: var(--white);
  display: inline-block;
  font-weight: 700;
  padding-bottom: 20px;
  position: relative;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.introduction-area h2::before {
  background: #fd0060 none repeat scroll 0 0;
  bottom: 0;
  content: "";
  height: 2px;
  left: 50%;
  margin-left: -10px;
  position: absolute;
  width: 50px;
}

.introduction-area h2::after {
  background: var(--white) none repeat scroll 0 0;
  bottom: 0;
  content: "";
  height: 2px;
  left: 50%;
  margin-left: -40px;
  position: absolute;
  width: 25px;
}

footer.demo .copyright {
  margin-top: 15px;
}
.demo-area .comming-soon.item img {
    opacity: 0.3;
}
.banner-area.demo-banner {
  padding: 50px 0;
}
.demo-area .site-heading {
  margin-bottom: 30px;
}
.demo-area img {
  background: var(--white) none repeat scroll 0 0;
  padding: 10px;
  box-shadow: -1px 3px 10px 0 rgba(0, 0, 0, 0.06);
}

.demo-area .single-item > a {
    display: block;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.demo-area .single-item > a .badge {
    position: absolute;
    right: -57px;
    top: 20px;
    width: 200px;
    padding: 10px;
    background: #232323;
    transform: rotate(45deg);
}


/* CSS GLOBAL para el carrusel de testimonios */
.testimonial-carousel-wrapper .slides-container {
  width: 100% !important;
  overflow: hidden !important;
  position: relative !important;
}

.testimonial-carousel-wrapper .slides-wrapper {
  display: flex !important;
  width: 100% !important;
  transition: transform 0.5s ease-in-out !important;
}

.testimonial-carousel-wrapper .slide {
  min-width: 100% !important;
  flex-shrink: 0 !important;
  width: 100% !important;
}

.testimonial-slider {
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: none !important;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
    border-bottom-left-radius: 16px;
    box-shadow: none !important;
    padding-top: 40px;
    padding-right: 30px;
    padding-bottom: 40px;
    padding-left: 30px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
 }

/* ESTILOS EXTRA SEGUROS PARA NAV DOTS */
.testimonial-carousel-wrapper .slider-nav {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 30px !important;
    margin-bottom: 10px !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1000 !important;
    padding: 10px !important;
}

.testimonial-carousel-wrapper .nav-dot {
    width: 14px !important;
    height: 14px !important;
    border-radius: 50% !important;
    background-color: #cccccc !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    border: 2px solid transparent !important;
    box-sizing: border-box !important;
}

.testimonial-carousel-wrapper .nav-dot.active {
    background-color: #6a11cb !important;
    transform: scale(1.3) !important;
    border-color: #6a11cb !important;
}

.testimonial-carousel-wrapper .nav-dot:hover {
    background-color: #8a2be2 !important;
    transform: scale(1.2) !important;
}

/* Forzar visibilidad máxima */
.testimonial-carousel-wrapper .slider-nav,
.testimonial-carousel-wrapper .nav-dot {
    visibility: visible !important;
    opacity: 1 !important;
    display: flex !important;
}


/* 🔹 OCULTAR CONTENIDO DE TRAITS INYECTADO POR GRAPESJS */
.tabs {
  position: relative;
}

/* Ocultar el texto "Contenido de la pestaña..." que GrapesJS inyecta */
.tabs > :first-child:not(input):not(.tab):not(.tab-panels):not(div):not(section):not(style):not(script) {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  clip: rect(0, 0, 0, 0) !important;
}

/* Alternativa más específica - ocultar cualquier texto directo en .tabs */
.tabs {
  font-size: 0 !important;
}

.tabs > * {
  font-size: initial !important;
}

/* Ocultar específicamente el texto "Contenido de la pestaña..." */
.tabs:contains("Contenido de la pestaña") {
  color: transparent !important;
}

/* Solución definitiva - usar pseudo-elemento para ocultar texto */
.tabs::before {
  content: "" !important;
  display: none !important;
}

/* 🔹 ESTILOS PARA COMPONENTE DE PESTAÑAS CSS EN PREVIEW */
.tabs {
  width: 100%;
  max-width: 900px;
  background: #fff;
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(18,18,20,0.06);
  position: relative;
  margin: 0 auto;
  font-family: system-ui, -apple-system, sans-serif;
}

/* ocultar los radios */
.tabs input[type="radio"] { 
  position: absolute; 
  clip: rect(0, 0, 0, 0); 
  width: 1px; 
  height: 1px; 
  overflow: hidden; 
  white-space: nowrap; 
}

/* 🔹 ESTILOS PARA DIVS (cuando GrapesJS convierte labels en divs) */
.tabs > div.tab {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 16px !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #666 !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  user-select: none !important;
  border: 1px solid transparent !important;
  transition: all .18s ease !important;
  text-decoration: none !important;
  margin-right: 8px !important;
  margin-bottom: 8px !important;
  font-family: system-ui, -apple-system, sans-serif !important;
}

/* 🔹 PESTAÑAS ACTIVAS CON DIVS */
.tabs input#tab-1:checked ~ div[for="tab-1"],
.tabs input#tab-2:checked ~ div[for="tab-2"], 
.tabs input#tab-3:checked ~ div[for="tab-3"],
.tabs input#tab-4:checked ~ div[for="tab-4"],
.tabs input#tab-5:checked ~ div[for="tab-5"],
.tabs input#tab-6:checked ~ div[for="tab-6"],
.tabs input#tab-7:checked ~ div[for="tab-7"],
.tabs input#tab-8:checked ~ div[for="tab-8"],
.tabs input#tab-9:checked ~ div[for="tab-9"],
.tabs input#tab-10:checked ~ div[for="tab-10"] {
  color: #000 !important;
  background: linear-gradient(90deg, rgba(255,204,0,0.12), rgba(255,204,0,0.06)) !important;
  border-color: rgba(255,204,0,0.25) !important;
  box-shadow: 0 6px 12px rgba(255,204,0,0.08) !important;
}

/* focus visible para accesibilidad */
.tabs > div.tab:focus{
  outline: 3px solid rgba(0,120,212,0.12) !important;
  outline-offset: 2px !important;
}

/* contenedor del panel */
.tab-panels{
  border-radius: 8px !important;
  padding: 14px !important;
  background: #ffffff !important;
  border: 1px solid #efefef !important;
  min-height: 120px !important;
  margin-top: 16px !important;
}

/* paneles: por defecto ocultos */
.tab-panel{ 
  display: none !important; 
  animation: fade .18s ease both !important; 
}

@keyframes fade { 
  from { opacity: 0; transform: translateY(6px) } 
  to { opacity: 1; transform: none } 
}

/* 🔹 MOSTRAR PANEL CORRESPONDIENTE CON DIVS */
.tabs input#tab-1:checked ~ .tab-panels #panel-tab-1,
.tabs input#tab-2:checked ~ .tab-panels #panel-tab-2,
.tabs input#tab-3:checked ~ .tab-panels #panel-tab-3,
.tabs input#tab-4:checked ~ .tab-panels #panel-tab-4,
.tabs input#tab-5:checked ~ .tab-panels #panel-tab-5,
.tabs input#tab-6:checked ~ .tab-panels #panel-tab-6,
.tabs input#tab-7:checked ~ .tab-panels #panel-tab-7,
.tabs input#tab-8:checked ~ .tab-panels #panel-tab-8,
.tabs input#tab-9:checked ~ .tab-panels #panel-tab-9,
.tabs input#tab-10:checked ~ .tab-panels #panel-tab-10 {
  display: block !important;
}

/* estilos internos del panel */
.panel-heading{ 
  font-size: 18px !important; 
  font-weight: 700 !important; 
  margin-bottom: 8px !important; 
  font-family: system-ui, -apple-system, sans-serif !important;
}

.panel-text{ 
  color: #666 !important; 
  line-height: 1.5 !important; 
  font-family: system-ui, -apple-system, sans-serif !important;
}

/* 🔹 RESPONSIVE CON DIVS */
@media (max-width: 520px){
  .tabs > div.tab {
    display: flex !important;
    width: 100% !important;
    justify-content: space-between !important;
    padding: 12px 14px !important;
    border-radius: 8px !important;
    border: 1px solid #f0f0f0 !important;
    margin-right: 0 !important;
    margin-bottom: 4px !important;
  }
  
  .tab-panels { 
    padding: 0 !important; 
    border: 0 !important; 
    background: transparent !important; 
    margin-top: 8px !important;
  }
  
  .tab-panel{ 
    border-top: 1px solid #f0f0f0 !important; 
    padding: 12px 6px !important; 
    display: none !important; 
  }
  
  /* 🔹 SELECTORES MOBILE CON DIVS */
  .tabs input#tab-1:checked ~ div[for="tab-1"] ~ div[style] .panel-1,
  .tabs input#tab-2:checked ~ div[for="tab-2"] ~ div[style] .panel-2,
  .tabs input#tab-3:checked ~ div[for="tab-3"] ~ div[style] .panel-3,
  .tabs input#tab-4:checked ~ div[for="tab-4"] ~ div[style] .panel-4,
  .tabs input#tab-5:checked ~ div[for="tab-5"] ~ div[style] .panel-5,
  .tabs input#tab-6:checked ~ div[for="tab-6"] ~ div[style] .panel-6,
  .tabs input#tab-7:checked ~ div[for="tab-7"] ~ div[style] .panel-7,
  .tabs input#tab-8:checked ~ div[for="tab-8"] ~ div[style] .panel-8,
  .tabs input#tab-9:checked ~ div[for="tab-9"] ~ div[style] .panel-9,
  .tabs input#tab-10:checked ~ div[for="tab-10"] ~ div[style] .panel-10 {
    display: block !important;
  }
}

/* icon placeholder */
.tab .dot{
  display: inline-block !important; 
  width: 10px !important; 
  height: 10px !important; 
  border-radius: 50% !important;
  background: linear-gradient(180deg, #ffcc00, #f2b800) !important;
}

/* 🔹 ESTILOS PARA LABELS (por si acaso se preservan) */
.tabs > label.tab {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 16px !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #666 !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  user-select: none !important;
  border: 1px solid transparent !important;
  transition: all .18s ease !important;
  text-decoration: none !important;
  margin-right: 8px !important;
  margin-bottom: 8px !important;
  font-family: system-ui, -apple-system, sans-serif !important;
}

.tabs input#tab-1:checked ~ label[for="tab-1"],
.tabs input#tab-2:checked ~ label[for="tab-2"], 
.tabs input#tab-3:checked ~ label[for="tab-3"] {
  color: #000 !important;
  background: linear-gradient(90deg, rgba(255,204,0,0.12), rgba(255,204,0,0.06)) !important;
  border-color: rgba(255,204,0,0.25) !important;
  box-shadow: 0 6px 12px rgba(255,204,0,0.08) !important;
}



/* estilos acorden */

/* 🔹 ESTILOS PARA COMPONENTE DE ACORDEÓN CSS EN PREVIEW */
.accordion {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  font-family: 'Poppins', sans-serif;
}

.accordion-item {
  border-bottom: 1px solid #ddd;
}

.accordion-item:last-child {
  border-bottom: none;
}

/* 🔹 ESTILOS PARA HEADERS - ELIMINAR PSEUDO-ELEMENTOS */
.accordion > div.accordion-header[for] {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 1.2rem 1.5rem !important;
  font-weight: 600 !important;
  background: #f5f5f5 !important;
  cursor: pointer !important;
  transition: background 0.3s ease !important;
  margin: 0 !important;
  font-size: 1rem !important;
  color: #333 !important;
  border: none !important;
  width: 100% !important;
  text-align: left !important;
  font-family: 'Poppins', sans-serif !important;
}

/* 🔹 ELIMINAR PSEUDO-ELEMENTOS ::after */
.accordion > div.accordion-header[for]::after {
  content: none !important;
  display: none !important;
}

.accordion > div.accordion-header[for]:hover {
  background: #ece9ff !important;
}

/* 🔹 ESTILOS PARA SECCIONES ACTIVAS CON DIVS */
.accordion input[type="checkbox"]:checked + div.accordion-header[for] {
  background: #6a11cb !important;
  color: white !important;
}

/* 🔹 OCULTAR CHECKBOXES */
.accordion input[type="checkbox"] {
  display: none !important;
}

/* 🔹 CONTENIDO DEL ACORDEÓN */
.accordion-content {
  max-height: 0 !important;
  overflow: hidden !important;
  background: #fff !important;
  transition: max-height 0.4s ease, padding 0.3s ease !important;
  padding: 0 1.5rem !important;
}

.accordion input[type="checkbox"]:checked ~ .accordion-content {
  max-height: 500px !important;
  padding: 1rem 1.5rem !important;
}

.accordion-text {
  margin: 0 !important;
  line-height: 1.6 !important;
  color: #333 !important;
  font-family: 'Poppins', sans-serif !important;
}

/* 🔹 ESTILOS PARA LABELS - ELIMINAR PSEUDO-ELEMENTOS */
.accordion > label.accordion-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 1.2rem 1.5rem !important;
  font-weight: 600 !important;
  background: #f5f5f5 !important;
  cursor: pointer !important;
  transition: background 0.3s ease !important;
  margin: 0 !important;
  font-size: 1rem !important;
  color: #333 !important;
  font-family: 'Poppins', sans-serif !important;
}

/* 🔹 ELIMINAR PSEUDO-ELEMENTOS ::after EN LABELS */
.accordion > label.accordion-header::after {
  content: none !important;
  display: none !important;
}

.accordion > label.accordion-header:hover {
  background: #ece9ff !important;
}

.accordion input[type="checkbox"]:checked + label.accordion-header {
  background: #6a11cb !important;
  color: white !important;
}

/* 🔹 ESTILOS PARA ICONOS CON SPAN - ÚNICA FUENTE DE ICONOS */
.accordion-header .accordion-icon {
  font-size: 1.5rem !important;
  color: #6a11cb !important;
  transition: color 0.3s ease !important;
  font-weight: normal !important;
  margin-left: auto !important;
  padding-left: 10px !important;
  min-width: 20px !important;
  text-align: center !important;
}

.accordion input[type="checkbox"]:checked + .accordion-header .accordion-icon {
  color: white !important;
}

/* 🔹 RESPONSIVE */
@media (max-width: 768px) {
  .accordion {
    border-radius: 8px !important;
    margin: 0 10px !important;
  }
  
  .accordion > div.accordion-header[for],
  .accordion > label.accordion-header {
    padding: 1rem 1.2rem !important;
    font-size: 0.9rem !important;
  }
  
  .accordion-content {
    padding: 0 1.2rem !important;
  }
  
  .accordion input[type="checkbox"]:checked ~ .accordion-content {
    padding: 0.8rem 1.2rem !important;
  }
  
  .accordion-header .accordion-icon {
    font-size: 1.3rem !important;
  }
}

/* 🔹 OCULTAR CONTENIDO DE TRAITS INYECTADO */
.accordion {
  position: relative !important;
}

.accordion > :first-child:not(input):not(.accordion-header):not(.accordion-content):not(.accordion-item):not(div):not(style):not(script) {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  clip: rect(0, 0, 0, 0) !important;
}


/* Componente Slider */

/* 🔹 ESTILOS PARA COMPONENTE DE SLIDER EN PREVIEW */
.slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  font-family: system-ui, sans-serif;
}

.slides {
  display: flex;
  transition: transform 0.8s ease-in-out;
  height: 100%;
  width: 100%;
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.slide img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: 0;
}

.slide-content {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.45);
  padding: 25px 40px;
  border-radius: 8px;
  text-align: center;
  max-width: 80%;
}

.slide-content h2 {
  margin: 0 0 10px;
  font-size: 2.5rem;
  font-weight: 700;
}

.slide-content p {
  font-size: 1.2rem;
  margin-bottom: 15px;
  line-height: 1.5;
}

.slide-content a {
  display: inline-block;
  padding: 10px 20px;
  background: #fff;
  color: #000;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.slide-content a:hover {
  background: #e9e9e9;
}

/* 🔹 FLECHAS DE NAVEGACIÓN */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 50%;
  z-index: 2;
  transition: background 0.3s;
  font-family: inherit;
}

.nav-arrow:hover {
  background: rgba(0,0,0,0.6);
}

.prev { left: 25px; }
.next { right: 25px; }

/* 🔹 INDICADORES (DOTS) */
.dots {
  position: absolute;
  bottom: 25px;
  width: 100%;
  text-align: center;
  z-index: 2;
}

.dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin: 0 6px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: #fff;
  transform: scale(1.2);
}

/* 🔹 RESPONSIVE */
@media (max-width: 768px) {
  .slider {
    height: 70vh;
  }
  
  .slide-content {
    padding: 15px 25px;
    max-width: 90%;
  }
  
  .slide-content h2 {
    font-size: 1.6rem;
  }
  
  .slide-content p {
    font-size: 1rem;
  }
  
  .nav-arrow {
    font-size: 1.5rem;
    padding: 8px 12px;
  }
  
  .prev { left: 15px; }
  .next { right: 15px; }
  
  .dots {
    bottom: 15px;
  }
}

/* 🔹 ESTILOS ESPECÍFICOS PARA PREVIEW */
.slider {
  pointer-events: auto !important;
}

.slider * {
  box-sizing: border-box !important;
}

/* 🔹 OCULTAR CONTENIDO DE TRAITS INYECTADO */
.slider > :first-child:not(.slides):not(.nav-arrow):not(.dots):not(div):not(style):not(script) {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  clip: rect(0, 0, 0, 0) !important;
}

/* 🔹 ANIMACIONES ESPECÍFICAS PARA PREVIEW */
.slider[data-animation="slide"] .slides {
  transition: transform 0.8s ease-in-out;
}

.slider[data-animation="slide"] .slide {
  position: relative;
  opacity: 1;
}

/* ANIMACIÓN FADE */
.slider[data-animation="fade"] .slides {
  position: relative;
  transform: none !important;
  transition: none !important;
}

.slider[data-animation="fade"] .slide {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0;
  transition: opacity 0.8s ease-in-out !important;
}

.slider[data-animation="fade"] .slide.active {
  opacity: 1;
  z-index: 2;
}

/* ANIMACIÓN ZOOM */
.slider[data-animation="zoom"] .slides {
  position: relative;
  transform: none !important;
  transition: none !important;
}

.slider[data-animation="zoom"] .slide {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.8s ease-in-out !important;
}

.slider[data-animation="zoom"] .slide.active {
  transform: scale(1);
  opacity: 1;
  z-index: 2;
}

/* ANIMACIÓN FLIP */
.slider[data-animation="flip"] .slides {
  perspective: 1000px;
  transform: none !important;
  transition: none !important;
}

.slider[data-animation="flip"] .slide {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  transform: rotateY(180deg);
  opacity: 0;
  transition: all 0.8s ease-in-out !important;
}

.slider[data-animation="flip"] .slide.active {
  transform: rotateY(0deg);
  opacity: 1;
  z-index: 2;
}

/* ANIMACIÓN CUBE */
.slider[data-animation="cube"] .slides {
  perspective: 1200px;
  transform-style: preserve-3d;
  transform: none !important;
  transition: none !important;
}

.slider[data-animation="cube"] .slide {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  transform: rotateY(90deg) translateZ(300px);
  opacity: 0;
  transition: all 0.8s ease-in-out !important;
}

.slider[data-animation="cube"] .slide.active {
  transform: rotateY(0deg) translateZ(0);
  opacity: 1;
  z-index: 2;
}

/* ANIMACIÓN COVERFLOW */
.slider[data-animation="coverflow"] .slides {
  perspective: 1000px;
  transform-style: preserve-3d;
  transform: none !important;
  transition: none !important;
}

.slider[data-animation="coverflow"] .slide {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  transform: rotateY(45deg) scale(0.8);
  opacity: 0.5;
  transition: all 0.8s ease-in-out !important;
}

.slider[data-animation="coverflow"] .slide.active {
  transform: rotateY(0deg) scale(1);
  opacity: 1;
  z-index: 2;
}



/* 🔹 CONTENEDOR PRINCIPAL */
.whatsapp-multi {
  position: fixed;
  bottom: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.whatsapp-right {
  right: 20px;
  align-items: flex-end;
}

.whatsapp-left {
  left: 20px;
  align-items: flex-start;
}

.whatsapp-left .whatsapp-contacts {
  align-items: flex-start;
}

.whatsapp-left .whatsapp-contacts a:hover {
  transform: translateX(4px);
}

/* 🔹 BOTÓN PRINCIPAL */
.whatsapp-main {
  background-color: #25d366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  outline: none;
  position: relative;
}

.whatsapp-main:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* 🔹 ESTILOS DEL ICONO SVG */
.whatsapp-main svg {
  display: block;
  width: 28px;
  height: 28px;
  fill: white;
}

/* 🔹 TAMAÑOS ESPECÍFICOS PARA DIFERENTES BOTONES */
.whatsapp-main[style*="width: 50px"] svg,
.whatsapp-main[style*="width:50px"] svg {
  width: 22px !important;
  height: 22px !important;
}

.whatsapp-main[style*="width: 70px"] svg,
.whatsapp-main[style*="width:70px"] svg {
  width: 32px !important;
  height: 32px !important;
}

/* 🔹 LISTA DE CONTACTOS (oculta por defecto) */
.whatsapp-contacts {
  display: none;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 5px;
  align-items: flex-end;
}

.whatsapp-contacts a {
  background: white;
  color: #333;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
  border: none;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 8px;
}

.whatsapp-contacts a:hover {
  background: #e9f8ef;
  transform: translateX(-4px);
}

/* 🔹 ANIMACIÓN DE APARICIÓN */
.whatsapp-contacts.show {
  display: flex;
  animation: fadeInUp 0.3s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 🔹 RESPONSIVO */
@media (max-width: 600px) {
  .whatsapp-multi {
    bottom: 15px;
  }
  
  .whatsapp-right {
    right: 15px;
  }
  
  .whatsapp-left {
    left: 15px;
  }
  
  .whatsapp-main {
    width: 50px;
    height: 50px;
  }
  
  .whatsapp-main svg {
    width: 22px;
    height: 22px;
  }
  
  .whatsapp-contacts a {
    font-size: 13px;
    padding: 8px 12px;
  }
}

/* 🔹 GARANTIZAR QUE EL SVG SEA VISIBLE */
.whatsapp-multi * {
  box-sizing: border-box;
}

.whatsapp-main svg {
  visibility: visible !important;
  opacity: 1 !important;
}


/* WHATSAPP FLOAT - ESTILOS CORREGIDOS PARA PREVIEW */
.whatsapp-float {
  position: fixed !important;
  bottom: 20px !important;
  background-color: #25d366 !important;
  color: #fff !important;
  border-radius: 50% !important;
  text-align: center !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3) !important;
  z-index: 10000 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  cursor: pointer !important;
  border: none !important;
  outline: none !important;
  width: 60px !important;
  height: 60px !important;
}

/* Posiciones */
.whatsapp-float.right {
  right: 20px !important;
  left: auto !important;
}

.whatsapp-float.left {
  left: 20px !important;
  right: auto !important;
}

/* Efectos hover */
.whatsapp-float:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4) !important;
}

/* Animación pulse */
@keyframes whatsapp-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-float.animate {
  animation: whatsapp-pulse 2s infinite !important;
}

/* 🔹 ESTILOS CRÍTICOS PARA EL SVG EN PREVIEW */
.whatsapp-float svg,
.whatsapp-float [xmlns="http://www.w3.org/2000/svg"] {
  width: 28px !important;
  height: 28px !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
}

/* 🔹 FIX PARA CUANDO EL SVG SE CONVIERTE EN DIV */
.whatsapp-float > div[xmlns] {
  width: 28px !important;
  height: 28px !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
}

.whatsapp-float > div[xmlns] path {
  fill: white !important;
}

/* Responsive */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 15px !important;
    width: 55px !important;
    height: 55px !important;
  }
  
  .whatsapp-float.right {
    right: 15px !important;
  }
  
  .whatsapp-float.left {
    left: 15px !important;
  }
  
  .whatsapp-float svg,
  .whatsapp-float [xmlns="http://www.w3.org/2000/svg"],
  .whatsapp-float > div[xmlns] {
    width: 24px !important;
    height: 24px !important;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 50px !important;
    height: 50px !important;
    bottom: 10px !important;
  }
  
  .whatsapp-float.right {
    right: 10px !important;
  }
  
  .whatsapp-float.left {
    left: 10px !important;
  }
  
  .whatsapp-float svg,
  .whatsapp-float [xmlns="http://www.w3.org/2000/svg"],
  .whatsapp-float > div[xmlns] {
    width: 22px !important;
    height: 22px !important;
  }
}

/* 🔹 ESTILOS MODAL PREVIEW - COMPLETO */
.modal-component-container {
  position: relative !important;
  display: inline-block !important;
}

/* Checkbox simulado */
.modal-toggle {
  display: none !important;
}

/* Botón principal */
.modal-btn-open {
  background: #007bff !important;
  color: #fff !important;
  padding: 12px 24px !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  cursor: pointer !important;
  transition: background 0.3s ease !important;
  display: inline-block !important;
  font-family: Arial, sans-serif !important;
  text-decoration: none !important;
  line-height: 1 !important;
}

.modal-btn-open:hover {
  background: #0056b3 !important;
}

/* Modal base - OCULTO POR DEFECTO */
.modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.5s ease, visibility 0.5s ease !important;
  z-index: 10000 !important;
  pointer-events: none !important;
}

/* Modal activo - CONTROLADO POR JS */
.modal--open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: all !important;
  display: flex !important;
}

/* Contenido del modal */
.modal-content {
  background: #fff !important;
  border-radius: 12px !important;
  max-width: 480px !important;
  width: 90% !important;
  padding: 2rem !important;
  text-align: center !important;
  position: relative !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3) !important;
  transform: scale(0.95) !important;
  opacity: 0 !important;
  transition: opacity 0.5s ease, transform 0.5s ease !important;
  font-family: Arial, sans-serif !important;
  z-index: 10001 !important;
}

/* Animación de aparición */
.modal--open .modal-content {
  transform: scale(1) !important;
  opacity: 1 !important;
}

/* Botón de cerrar (✕) */
.modal-btn-close {
  position: absolute !important;
  top: 10px !important;
  right: 12px !important;
  font-size: 22px !important;
  cursor: pointer !important;
  color: #666 !important;
  transition: color 0.3s ease !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  z-index: 10002 !important;
}

.modal-btn-close:hover {
  color: #000 !important;
}

/* Overlay clickable */
.modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  cursor: pointer !important;
  background: transparent !important;
  z-index: 10000 !important;
}

/* Botón cerrar dentro del modal */
.modal-btn-secondary {
  background: #dc3545 !important;
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: 6px !important;
  border: none !important;
  cursor: pointer !important;
  transition: background 0.3s ease !important;
  display: inline-block !important;
  font-family: Arial, sans-serif !important;
  font-size: 14px !important;
  text-decoration: none !important;
  margin-top: 15px !important;
  line-height: 1 !important;
}

.modal-btn-secondary:hover {
  background: #a71d2a !important;
}

/* Título del modal */
.modal-title {
  margin: 0 0 1rem 0 !important;
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  color: #333333 !important;
}

/* Cuerpo del modal */
.modal-body {
  margin-bottom: 1.5rem !important;
  line-height: 1.6 !important;
  color: #333333 !important;
}

.modal-body strong {
  font-weight: 600 !important;
}

/* 🔹 RESPONSIVE */
@media (max-width: 768px) {
  .modal-content {
    padding: 1.5rem !important;
    max-width: 90% !important;
  }
  
  .modal-title {
    font-size: 1.3rem !important;
  }
  
  .modal-btn-open {
    font-size: 14px !important;
    padding: 10px 20px !important;
  }
}

@media (max-width: 480px) {
  .modal-content {
    padding: 1rem !important;
    max-width: 95% !important;
  }
  
  .modal-title {
    font-size: 1.2rem !important;
  }
  
  .modal-btn-open {
    font-size: 13px !important;
    padding: 8px 16px !important;
  }
}