.btn-flotante {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  border-radius: 8px;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #64b5f6, #1e88e5);
  padding: 16px 28px;
  position: fixed;
  bottom: 100px; /* Más arriba */
  right: 40px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 99;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-flotante:hover {
  background: linear-gradient(135deg, #1e88e5, #64b5f6);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}



.btn-flotanteimporte {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  border-radius: 8px;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #64b5f6, #1e88e5);
  padding: 16px 28px;
  position: fixed;
  bottom: 40px; /* Más abajo */
  right: 40px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 98;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-flotanteimporte:hover {
  background: linear-gradient(135deg, #1e88e5, #64b5f6);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}



.card-img-top {
    width: 100%;
    height: 220px; /* Ajusta a la altura que quieras */
    object-fit: cover; /* Esto hace que la imagen se recorte sin deformarse */
    object-position: center;
    background-color: #f0f0f0; /* Fondo en caso de imagen transparente o pequeña */
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}



@media only screen and (max-width: 600px) {
  .btn-flotante,
  .btn-flotanteimporte,
  .btn-flotante-promos {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    /* 🔒 Anulamos otras posiciones */
    bottom: auto !important;
    right: auto !important;
    
    /* ✅ Aseguramos tamaño correcto */
    width: max-content;
    white-space: nowrap;
    z-index: 9999;
  }

  /* Opcional: desplazamiento vertical para que no se encimen */
  .btn-flotanteimporte {
    transform: translate(-50%, -30%);
  }

  .btn-flotante-promos {
    transform: translate(-50%, -10%);
  }
}

.btn-flotante-promos {
      position: fixed;
      bottom: 100px;
      left: 20px;
      background: linear-gradient(45deg, #00c6ff, #0072ff);
      color: white;
      padding: 15px 20px;
      border-radius: 30px;
      display: flex;
      align-items: center;
      gap: 10px;
      box-shadow: 0 0 15px rgba(0, 255, 255, 0.7);
      font-weight: bold;
      text-decoration: none;
      z-index: 1000;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .btn-flotante-promos:hover {
      transform: scale(1.05);
      box-shadow: 0 0 25px rgba(0, 255, 255, 1);
    }

    .btn-flotante-promos img {
      width: 30px;
      height: 30px;
    }