/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

header {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}

main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
}

.product {
    width: 30%; /* Ajustar el ancho de cada producto para dispositivos medianos */
    margin: 10px;
    text-align: center;
}


.product img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.whatsapp-btn {
    display: inline-block;
    background-color: #25D366;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Asegura que el footer esté por encima del contenido */
}

/* Añadir margen inferior al último elemento en main */
.product:last-child {
    margin-bottom: 60px; /* Ajusta este valor según sea necesario */
}

/* Media queries para hacer responsive */
@media (max-width: 768px) {
    main {
        padding: 10px;
    }
    .product {
        width: 45%; /* Ajustar el ancho para tablets y móviles */
    }
}

@media (max-width: 480px) {
    .product {
        width: 100%; /* Ajustar el ancho para dispositivos móviles pequeños */
    }
}
