body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f4f4f4;
}

/* Header */
header {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px;
}

/* Navegación */
nav {
    background-color: #34495e;
    display: flex;
    justify-content: center;
}

nav a {
    color: white;
    padding: 15px 20px;
    text-decoration: none;
    cursor: pointer;
}

nav a:hover {
    background-color: #2c3e50;
}

/* Secciones */
.seccion {
    display: none;
    padding: 20px;
}

/* Productos */
.productos {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.producto {
    background: white;
    padding: 15px;
    border-radius: 5px;
    width: 200px;
    text-align: center;
}

.producto img {
    width: 100%;
}

/* Login */
.login {
    max-width: 300px;
    margin: auto;
    background: white;
    padding: 20px;
    border-radius: 5px;
}

.login input,
.login button {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 10px;
}

/* Producto mejorado */
.producto {
    background: white;
    padding: 15px;
    border-radius: 8px;
    width: 220px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Hover */
.producto:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.categoria {
    font-size: 13px;
    color: #777;
    display: block;
    margin-bottom: 5px;
}

.precio {
    font-weight: bold;
    margin: 10px 0;
}

/* Select */
.producto select {
    width: 100%;
    padding: 6px;
    margin-bottom: 10px;
}

/* Botón */
.producto button {
    width: 100%;
    padding: 10px;
    background-color: #2c3e50;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.producto button:hover {
    background-color: #1a252f;
}


#lista-carrito div {
    background: white;
    padding: 10px;
    margin: 5px 0;
    display: flex;
    justify-content: space-between;
    border-radius: 5px;
}
