header {
    position: relative;
    z-index: 40; /* Mayor que el z-index del carrusel */
}

/* Estilaso para el carrusel */
mi-carrousel {
    display: block;
    position: relative;
    width: 100%;
    background-color: #f3f4f6; 
}

mi-carrousel [data-carousel-item] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

mi-carrousel [data-carousel-item]:not(.hidden) {
    opacity: 1;
}

mi-carrousel img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Muestra la imagen completa sin recortar */
    width: auto;
    height: auto;
}



.sticky {
    position: sticky;
    top: 0;
}



/* Opcional: ajusta la altura del navbar */
header {
    height: 80px; /* Ajusta según tu diseño real */
}



  .messenger-float {
    position: fixed;
    bottom: 100px; /* Puedes ajustar para que no se cruce con el de WhatsApp */
    right: 20px;
    background-color: #0084FF;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s ease;
  }

  .messenger-float:hover {
    transform: scale(1.1);
  }

  .messenger-icon {
    font-size: 30px;
  }

  body {
    font-family: 'Segoe UI', sans-serif;
  }