body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
    color: #333;
}

h1, h2, h3 {
    color: #004080;
    text-align: center;
}

form {
    background: #fff;
    padding: 20px;
    margin: 20px auto;
    border-radius: 8px;
    max-width: 500px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

form input, form select, form textarea, form button {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

form button {
    background-color: #004080;
    color: #fff;
    border: none;
    cursor: pointer;
}

form button:hover {
    background-color: #0066cc;
}

.catalogo-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px;
}

.producto {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 250px;
    margin: 15px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.producto:hover {
    transform: scale(1.03);
}

.producto img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 10px;
}

.producto a {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #004080;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
}

.producto a:hover {
    background-color: #0066cc;
}

.filtro {
    text-align: center;
    margin: 20px;
}

.catalogo-container img {
    width: 100%;          /* ocupa todo el ancho disponible */
    max-width: 350px;     /* límite para que no se deforme en pantallas grandes */
    height: auto;         /* mantiene proporción */
    border-radius: 8px;
    margin-bottom: 10px;
}

.contenedor-modelo img {
    width: 100%;          /* ocupa todo el ancho en móvil */
    max-width: 100%;      /* no limita el tamaño */
    height: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
}
.contenedor-modelo img:hover {
    transform: scale(1.05); /* zoom suave */
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
