.whatsapp-float {
    position: fixed;
    bottom: 40px;  /* Ajusta la separación inferior */
    right: 40px;   /* Ajusta la separación derecha */
    z-index: 1000; /* Asegura que el botón esté sobre otros elementos */
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;   /* Tamaño reducido */
    height: 40px;  /* Tamaño reducido */
    background-color: transparent;
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
}

/* Estilos para la imagen del ícono del botón flotante */
.whatsapp-icon-float img {
    width: 90px;   /* Tamaño reducido */
    height: 90px;  /* Tamaño reducido */
    display: block;
    z-index: 1001;
}

/* Opcional: Ajustar el mensaje flotante para que se vea acorde al nuevo tamaño */
.whatsapp-text {
    position: absolute;
    background: #ffffff;
    color: #1D4200;
    padding: 6px 10px;
    font-size: 12px;
    font-family: 'Inter', sans-serif;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    right: 45px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Mostrar mensaje al pasar el cursor */
.whatsapp-float:hover .whatsapp-text {
    opacity: 1;
    visibility: visible;
    right: 50px;
}

/* Flecha del globo de chat */
.whatsapp-text::before {
    content: "";
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent #ffffff;
}

/* Ajustes en móviles */
@media (max-width: 600px) {
    .whatsapp-icon-float img {
        width: 25px;
        height: 25px;
    }
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    .whatsapp-text {
        display: none !important;
    }
}











/* 🔹 Mostrar icono correctamente */
.whatsapp-icon img {
    width: 70px;  /* 🔹 Ajuste del ancho */
    height: 70px; /* 🔹 Ajuste de la altura */
    display: block; /* 🔹 Asegura que la imagen sea visible */
    z-index: 1001; /* 🔹 Mantiene el icono sobre otros elementos */
}

/* 🔹 Ajuste del mensaje flotante */
.whatsapp-text {
    position: absolute;
    background: #ffffff;
    color: #1D4200;
    padding: 8px 12px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    right: 55px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* 🔹 Mostrar mensaje solo cuando pasas el cursor */
.whatsapp-float:hover .whatsapp-text {
    opacity: 1;
    visibility: visible;
    right: 60px;
}

/* 🔹 Flecha del globo de chat */
.whatsapp-text::before {
    content: "";
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent #ffffff;
}

/* 🔹 Ajustes en móviles */
@media (max-width: 600px) {
    .whatsapp-icon img {
        width: 45px;
        height: 45px;
    }
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    .whatsapp-text {
        display: none !important;
    }
}




#novedades-container .card-title {
    font-family: 'Inter', sans-serif; /* Fuente Inter */
    font-size: 18px;
    font-weight: bold;
    color: #1D4200;
}

#novedades-container .card-price {
    font-family: 'Inter', sans-serif; /* Fuente Inter */
    font-size: 16px;
    font-weight: bold;
    color: #1D4200;
}



.novedades-btn.active {
     
    color: white;
}




.container-home{
    max-width: 1750px;
    margin: 0px auto;
}

/*Carrusel principal*/

.carousel-container {
      max-width: 100%;
      margin: 0 auto;
      padding: 0;
      overflow: hidden;
      /* Oculta cualquier contenido desbordante */
      border-radius: 10px;
      background-color: #fff;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      /* Sombra para darle profundidad */
      position: relative;
      /* Asegura que los elementos absolutos se posicionen dentro de este contenedor */
  }

  .carousel {
      position: relative;
      width: 100%;
      height: auto;
  }

  .carousel-item img {
      width: 100%;
      height: 400px;
      object-fit: cover;
  }

  .carousel-item {
      display: none;
      opacity: 0;
      transition: opacity 1s ease-in-out;
      transform: translateX(100%);
  }

  .carousel-item.active {
      display: block;
      opacity: 1;
      transform: translateX(0);
  }

  .carousel-control-prev,
  .carousel-control-next {
      cursor: pointer;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background-color: #1D4200; /* Verde oscuro */
      color: white;
      border: none;
      font-size: 26px;
      width: 50px;
      height: 50px;
      border-radius: 15px; /* Esquinas redondeadas como en la imagen */
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
      transition: all 0.3s ease;
      opacity: 0.9;
      z-index: 200;
  }
  
  .carousel-control-prev:hover,
  .carousel-control-next:hover {
      background-color: #145806; /* Un tono más fuerte al hacer hover */
      transform: translateY(-50%) scale(1.1);
      opacity: 1;
  }
  
  .carousel-control-prev {
      left: 10px;
  }
  
  .carousel-control-next {
      right: 10px;
  }
  

  /* Posicionar los indicadores sobre la imagen */
  .carousel-indicators {
      position: absolute;
      bottom: 20px;
      /* Colocamos los indicadores en la parte inferior, pero dentro de la imagen */
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      justify-content: center;
      z-index: 200;
      /* Asegura que estén sobre las imágenes */
      padding: 0;
      /* Eliminar el espacio adicional */
  }

  .carousel-indicators button {
      background-color: rgba(255, 255, 255, 0.3);
      /* Fondo blanco con más transparencia */
      border: none;
      width: 12px;
      height: 12px;
      margin: 5px;
      border-radius: 50%;
      cursor: pointer;
      opacity: 0.6;
      /* Más transparente por defecto */
      transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .carousel-indicators .active {
      background-color: rgba(29, 66, 0, 0.9);
      /* Verde con mayor opacidad cuando está activo */
      opacity: 1;
      /* Completamente visible cuando está activo */
      transform: scale(1.2);
      /* Efecto de aumento en el indicador activo */

  }

  /*=================== Fin de estilos carrusel principal ================*/


/*===================== Inicio de estilos de carrusel secundario ==================*/

/* Contenedor principal */
.container-cont {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/*
.carousel-novedades {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1600px;
    overflow: hidden;
    margin: 20px auto;
    position: relative;
    padding: 40px;
  }
  */


#tarjetas-container {
     display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    gap: 20px; /* Espacio entre tarjetas */
}


.card-carousel {
    display: flex;
}

/* Ajustar las tarjetas */
.card {
    flex: 0 0 23%;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
}

.card img {
    width: 280px;
    height: 320px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
    
}

.card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.card-title {
    font-weight: 500;
    font-size: 16px;
    color: #1D4200;
    margin-bottom: 10px;
    font-family: 'Open Sans', sans-serif;
    margin: 0; /* Para quitar margen extra del <h5> si es necesario */
}

.card-price {
    font-weight: bold;
    font-size: 14px;
    color: #1D4200;
    margin-bottom: 10px;
    font-family: 'Open Sans', sans-serif;
}

.card-action {
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 20px;
    color: #1D4200;
    cursor: pointer;
}

.card-action:hover {
    color: #2a5c00;
    /* Cambia el color del ícono al hacer hover */
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(29, 66, 0, 0.8);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
}
 
.novedades-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}
  
.novedades-header {
    display: flex;
    align-items: center;
    /* Justifica hacia la izquierda o ajusta según desees */
    justify-content: flex-start;
    margin-bottom: 20px; /* Espacio general debajo del contenedor */
    flex-wrap: wrap;
}
  
  .novedades-title {
    font-size: 24px;
    font-weight: bold;
    color: #1d4200;
    font-family: 'Open Sans', sans-serif;
    margin: 0;          /* Sin márgenes arriba/abajo */
    margin-right: 40px; /* Añade espacio a la derecha del título */
  }

/* Centrar los botones */
.novedades-buttons {
    display: flex;
    gap: 20px; /* Espacio entre botones */
    flex-wrap: wrap;
    margin-left: 10;
}
  

.novedades-btn {
    border: none;
    background: none;
    color: #1d4200; /* Color deseado */
    font-size: 14px;
    cursor: pointer;
    position: relative;
    padding: 0;
    font-family: 'Open Sans', sans-serif; /* Tipografía */
    transition: color 0.2s ease;
    flex-wrap: wrap;
    margin-right: 10;
}

.novedades-btn:hover {
    color: #1d4200;
}

  
.novedades-btn.active {
    font-weight: 600;
    color: #1d4200;
}


.novedades-btn.active::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: #1d4200;
    margin: 4px auto 0;
}


/*========================= */

/* CONTENEDOR CARRUSEL */
.carousel-wrapper-nv {
    font-family: 'Open Sans', sans-serif;
    position: relative;
    overflow: hidden;
    font-size: 13px;
    padding: 20px;
    margin-bottom: 50px;
}

/* CARRUSEL */
.carousel-nv {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
}


/* CARD */
.carousel-card-nv {
    flex: 0 0 calc(20% - 15px);
    /* 4 cards por fila - ajustar con gap */
    background: white;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.carousel-card-nv img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-info-nv {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 15px;
    color: #145806;
}

.card-details-nv {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-details-nv h3 {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 300;
}

.card-details-nv a {
    color: #145806;
    font-size: 20px;
    text-decoration: none;
}

.whatsapp-link {
    display: flex;
    align-items: center;
}


/* BOTONES DEL CARRUSEL */
.carousel-btn-nv {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    background-color: #1d4200bd;
    color: white;
    border: none;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    z-index: 10;
    opacity: 0;
}

.carousel-wrapper-nv:hover .carousel-btn-nv {
    opacity: 1;
    transition: opacity 300ms ease-out;
}

.carousel-btn-nv:hover {
   background-color: #1D4200
}

.carousel-btn-nv.prev {
    left: 0;
}

.carousel-btn-nv.next {
    right: 0;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .carousel-card-nv {
        flex: 0 0 calc(33.33% - 15px);
        /* 3 cards por fila */
    }
}

@media (max-width: 768px) {
    .carousel-card-nv {
        flex: 0 0 calc(50% - 15px);
        /* 2 cards */
    }
    .carousel-btn-nv{
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .carousel-card-nv {
        flex: 0 0 100%;
        /* 1 card */
    }
}





@media (max-width: 768px) {
    .carousel-control-prev,
    .carousel-control-next {
      display: flex !important;
      opacity: 1 !important;
      pointer-events: auto;
    }
  }
  




/*===================== Inicio de estilos de carrusel principal ==================*/
  @media (max-width: 768px) {
      .carousel-item img {
          height: 250px;
      }

      .carousel-control-prev,
      .carousel-control-next {
          font-size: 20px;
      }

      .carousel-indicators button {
          width: 8px;
          height: 8px;
      }

    
     /*  .carousel-container {
          max-width: 90%;
      } */
  }

  @media (max-width: 480px) {
      .carousel-item img {
          height: 200px;
      }

      .carousel-control-prev,
      .carousel-control-next {
          font-size: 18px;
          padding: 5px;
      }

      .carousel-indicators button {
          width: 6px;
          height: 6px;
      }

      /* .carousel-container {
          max-width: 95%;
      } */
  }

  @media (min-width: 1200px) {
      .carousel-item img {
          height: 500px;
      }
  }

  /*===================== Fin de medias de carrusel principal ==================*/


  /* === Mostrar botones del carrusel solo al hacer hover === */
.carousel-container:hover .carousel-control-prev,
.carousel-container:hover .carousel-control-next {
    opacity: 0.9;
    pointer-events: auto;
}

.carousel-control-prev,
.carousel-control-next {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}



/* === Mostrar botones del carrusel de novedades solo al hacer hover === */
.carousel-novedades:hover .carousel-control-prev,
.carousel-novedades:hover .carousel-control-next {
    opacity: 0.9;
    pointer-events: auto;
}

.carousel-novedades .carousel-control-prev,
.carousel-novedades .carousel-control-next {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}


.fa-whatsapp {
    font-size: 24px;  /* Ajusta este valor para hacer el icono más grande */
    margin-left: 8px; /* Espacio entre el título y el icono */
}


.card .fa-whatsapp {
    font-size: 24px;
    margin-left: 240px;
}

 
  /* Ajusta el tamaño del ícono si quieres que sea más grande */
  .card-title-container .fa-whatsapp {
    font-size: 30px; 
    color: #1d4200;   /* Si quieres darle un color específico */
  }
  