/* SACAR DESPUES DEL COVID */
.covid19 {
  text-align: center;
  padding: 7px 0 7px 0;
  background: 000;
  background-color: #ff6262;
  color: white;
  top: 0;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

.covid19 p {
  margin: 0;
}

.navbar-fixed-top {}

body {}

.modal-body {
  text-align: justify;
}

/* SACAR DESPUES DEL COVID */


.nav-productos-li {}

.menu-producto-img {
  width: 75px;
  height: 75px;
  margin: 5px 0 5px 0;
}

.nav-productos {
  margin-bottom: 15px;
}

.thumbnail i {
  color: #45aed6;
}

.thumbnail p {
  line-height: 28px;
}

img.micro {
  position: absolute;
  right: 20%;
  top: 20px;
  width: 35px;
}

img.micro-nuevo {
  position: absolute;
  right: 20%;
  top: 145px;
  width: 35px;
}

.certificado {
  text-align: right;
  margin-bottom: 15px;
}

.certificado img {
  height: 50px;
}

.productos-datos {
  height: 70px;
}

.categoriaActual {
  font-size: 30px;
  font-weight: 600;
  margin-top: 20px;
  color: black;
}

.politicas {
  margin-top: 10px;
}

.team-img {
  padding: 2px;
}

.espacio {
  margin-top: 60px;
}

.detalle-modal {
  text-transform: capitalize;
}

#icons {
  margin-top: 50px;
}

.img-responsive-custom {
    width: 100%;
    height: auto;
    display: block;
}

/* Botón flotante original (comentado)
#chat-button {
  position: fixed;
  bottom: 20px;
  right: 90px;
  background-color: #005baa;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99999;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}
*/

/* Botón de WhatsApp */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 90px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.whatsapp-button:hover {
  background-color: #20b355;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Caja de chat */
#chat-box {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 500px;
  max-height: 5500px;
  background: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  display: none;
  flex-direction: column;
  z-index: 99999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

#chat-header {
  background-color: #005baa;
  color: white;
  padding: 10px;
  font-weight: bold;
  text-align: center;
  font-family: 'Esphimere', sans-serif;
}

#chat-messages {
  padding: 10px;
  height: 440px;
  overflow-y: auto;
  font-size: 14px;
}

#chat-form {
  display: flex;
  border-top: 1px solid #ccc;
}

#chat-input {
  flex: 1;
  padding: 10px;
  border: none;
  outline: none;
}

#chat-form button {
  background-color: #005baa;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
}

/* Contenedor de cada mensaje */
.message {
  margin: 8px 0;
  display: flex;
  flex-direction: column;
  max-width: 80%;
}

/* Mensaje del usuario */
.message.user {
  align-self: flex-end;
  background-color: #e6f0fa;
  /* celeste suave */
  color: #003366;
  border-radius: 15px 15px 0 15px;
  padding: 10px 14px;
  margin-left: auto;
}

/* Mensaje del bot */
.message.bot {
  align-self: flex-start;
  background-color: #005baa;
  /* azul institucional */
  color: white;
  border-radius: 15px 15px 15px 0;
  padding: 10px 14px;
}

@media only screen and (min-width: 768px) {

  #main-menu.navbar-default .dropdown-menu {
    background: rgba(255, 255, 255, 0.9);
    -webkit-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.1);
  }

  .navbar-right .dropdown-menu {
    right: auto;
    left: auto;
  }

  .media-heading-big {
    font-size: 2rem;
  }

  .media-text-big {
    font-size: 1.5rem;
    text-align: justify;
    line-height: 40px;
  }

}

@media only screen and (max-width: 768px) {
  .covid19 p {
    font-size: 11px;
    line-height: 12px;
  }

  #chat-box {
    width: 90%;
  }

  .media-heading-big {
    font-size: 2rem;
  }

  .media-text-big {
    font-size: 2rem;
    text-align: justify;
  }
}


.video-container {
  width: 100%;
  overflow: hidden;
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
}

.video-container-vertical {
  text-align: center;
}

#video-vertical {
  height: 399px;
}

.texto-grande {
  font-size: 2em;
}



.novedades-row {
  display: flex;
  flex-wrap: wrap;
}

/* Hace que ambas columnas se alineen verticalmente */
.novedades-row>.col-sm-6 {
  display: flex;
  align-items: center;
}

/* Asegura que el texto no quede pegado arriba */
.media.service-box {
  width: 100%;
}

/* Opcional: para mejorar la lectura */
.media-body {
  text-align: justify;
}

/* --- Miniatura --- */

img.img-responsive.center-block {
  height: 399px;
}

.portada-video-horizontal {
  width: 100%;
}

.video-thumbnail {
  position: relative;
  display: inline-block;
  cursor: pointer;
  max-width: 100%;
  transition: transform 0.3s ease;
}

.video-thumbnail:hover {
  transform: scale(1.02);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 80px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.video-thumbnail:hover .play-button {
  opacity: 1;
}

.play-button i {
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

/* --- Overlay del video --- */
.video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.video-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* --- Video centrado --- */
.video-overlay video {
  height: 90vh;
  width: auto;
  max-width: 90%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.7);
}

/* --- Botón de cierre --- */
.close-video {
  position: absolute;
  top: 20px;
  right: 30px;
  background: transparent;
  border: none;
  color: white;
  font-size: 50px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s;
  z-index: 10000;
}

.close-video:hover {
  opacity: 1;
}

.banner-categoria {
  margin-bottom: 10px;
}

.nombre-producto {
  font-weight: 600;
  font-family: 'Esphimere', sans-serif;
  color: #272727;
  font-size: 17px;
  margin-bottom: 5px;
  margin-top: 5px;
}

#categorias,
#subCategorias {
  height: 50px;
  font-size: 18px;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

#categorias:focus,
#subCategorias:focus {
  border-color: #66afe9;
  outline: 0;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
}

/* Infinite Logo Slider */
#client-logos-slider {
  padding: 100px 0;
  background-color: #f8f8f8;
  overflow: hidden;
}

.slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  width: calc(200px * 24);
  /* 200px width per slide * 24 slides */
  animation: scroll 30s linear infinite;
  animation-play-state: paused;
  /* Start paused, JS will play it */
}

.slider-track.animate {
  animation-play-state: running;
}

.slide {
  width: 200px;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide img {
  width: 100%;
  max-width: 140px;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.slide img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-200px * 12));
    /* Move by the width of the original set of logos */
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .slide {
    width: 150px;
    padding: 0 15px;
  }

  .slider-track {
    width: calc(150px * 24);
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(calc(-150px * 12));
    }
  }
}


.row.nosotros {
  margin-top: 20px;
  text-align: justify;
}

.encabezado {
  width: 100%;
}

/* Sección de Destacados (Highlights) */
#highlights-section {
  background-color: #ffffff;
  padding: 35px 0 20px 0;
}

.highlight-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.highlight-icon-wrap {
  flex: 0 0 85px;
  width: 85px;
  margin-right: 15px;
}

.highlight-icon-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.highlight-content {
  flex: 1;
}

.highlight-title {
  font-family: 'Esphimere', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #272727;
  margin-top: 0;
  margin-bottom: 8px;
  line-height: 1.3;
}

.highlight-text {
  font-family: 'Esphimere', sans-serif;
  font-size: 13.5px;
  color: #64686d;
  line-height: 1.5;
  margin-bottom: 0;
  text-align: justify;
}

/* Ajustes Responsive */
@media (max-width: 991px) {
  .highlight-icon-wrap {
    flex: 0 0 70px;
    width: 70px;
  }
  .highlight-title {
    font-size: 16px;
  }
  .highlight-text {
    font-size: 12.5px;
  }
}

@media (max-width: 767px) {
  #highlights-section {
    padding: 25px 0 5px 0;
  }
  .highlight-item {
    margin-bottom: 25px;
  }
}

/* ----------------------------------------------------
 * 7. Estilos Personalizados para Iconos Sociales en Footer
 * ---------------------------------------------------- */
#footer .social-icons {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

#footer .social-icons li {
  display: inline-block;
  margin: 0;
}

#footer .social-icons li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #ffffff !important;
  font-size: 18px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  background-color: #555555;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#footer .social-icons li a.social-icon-facebook {
  background-color: #1877F2 !important;
}

#footer .social-icons li a.social-icon-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285ae5 90%) !important;
}

#footer .social-icons li a.social-icon-linkedin {
  background-color: #0A66C2 !important;
}

#footer .social-icons li a:hover {
  transform: translateY(-3px) scale(1.15);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  filter: brightness(1.1);
}

/* Centrado responsivo en pantallas pequeñas */
@media (max-width: 767px) {
  #footer .social-icons {
    justify-content: center;
    margin-top: 15px;
    margin-bottom: 10px;
  }
}
