body{
  margin:0;
  padding:0;
  font-family:Arial;
  background:#f5f5f5;
}

h1{
  text-align:center;
  background:black;
  color:white;
  padding:20px;
  margin:0;
  letter-spacing:3px;
}

#productos{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:20px;
  padding:20px;
}

.card{
  background:white;
  border-radius:15px;
  overflow:hidden;
  box-shadow:0 4px 10px rgba(0,0,0,0.1);
  transition:0.3s;
}

.card:hover{
  transform:translateY(-5px);
}

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

.info{
  padding:15px;
}

.info h2{
  margin:0;
  font-size:22px;
}

.info p{
  color:#555;
  margin:8px 0;
}

.btn{
  display:block;
  text-align:center;
  background:black;
  color:white;
  padding:12px;
  border-radius:10px;
  text-decoration:none;
  margin-top:15px;
}

.card-admin{

  background:white;
  padding:15px;
  border-radius:15px;
  margin-bottom:20px;
  box-shadow:0 4px 10px rgba(0,0,0,0.1);

}

.img-admin{

  width:100%;
  max-width:200px;
  border-radius:10px;

}

.card-admin button{

  background:red;
  color:white;
  border:none;
  padding:10px 15px;
  border-radius:10px;
  cursor:pointer;

}
#buscador{

  width:100%;
  max-width:400px;
  padding:15px;
  border-radius:10px;
  border:1px solid #ccc;
  margin-bottom:20px;
  font-size:16px;

}
#productos{

  display:grid;
  grid-template-columns:
  repeat(auto-fit,minmax(250px,1fr));

  gap:20px;
  padding:20px;

}

.card-producto{

  background:white;
  border-radius:15px;
  overflow:hidden;
  box-shadow:0 4px 15px rgba(0,0,0,0.1);

  transition:0.3s;

}

.card-producto:hover{

  transform:translateY(-5px);

}

.card-producto img{

  width:100%;
  height:300px;
  object-fit:cover;

}

.info-producto{

  padding:15px;

}

.info-producto h3{

  margin-bottom:10px;

}

.btn-whatsapp{

  display:block;
  text-align:center;
  background:#25D366;
  color:white;
  text-decoration:none;
  padding:12px;
  border-radius:10px;
  margin-top:15px;
  font-weight:bold;

}

.estadisticas{

  display:grid;
  grid-template-columns:
  repeat(auto-fit,minmax(200px,1fr));

  gap:20px;
  margin:20px;

}

.card-estadistica{

  background:white;
  padding:20px;
  border-radius:15px;
  text-align:center;
  box-shadow:0 4px 10px rgba(0,0,0,0.1);

}

.card-estadistica h3{

  margin-bottom:10px;

}

.card-estadistica p{

  font-size:28px;
  font-weight:bold;

}


