*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background:#f5f5f5;
}

header{
    background:red;
    color:white;
    text-align:center;
    padding:20px;
}

nav{
    background:#222;
    padding:15px;
    text-align:center;
}

nav a{
    color:white;
    text-decoration:none;
    margin:15px;
    font-weight:bold;
}

nav a:hover{
    color:yellow;
}

.container{
    width:90%;
    margin:auto;
}

.box{
    background:white;
    margin:20px auto;
    padding:20px;
    border-radius:10px;
    box-shadow:0 0 10px rgba(0,0,0,.2);
}

h2{
    color:red;
    margin-bottom:10px;
}

.productos{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
}

.producto{
    width:220px;
    background:white;
    margin:15px;
    padding:15px;
    border-radius:10px;
    text-align:center;
    box-shadow:0 0 10px rgba(0,0,0,.2);
}

.producto img{
    width:180px;
    height:180px;
    object-fit:cover;
}

.precio{
    color:red;
    font-size:20px;
    font-weight:bold;
}

.btn{
    background:red;
    color:white;
    border:none;
    padding:10px;
    margin-top:10px;
    cursor:pointer;
    border-radius:5px;
}

.btn:hover{
    background:darkred;
}

table{
    width:100%;
    border-collapse:collapse;
    background:white;
}

table th{
    background:red;
    color:white;
    padding:10px;
}

table td{
    padding:10px;
    border:1px solid #ddd;
}

input{
    width:100%;
    padding:10px;
    margin-top:5px;
    margin-bottom:10px;
}

footer{
    background:#222;
    color:white;
    text-align:center;
    padding:20px;
    margin-top:30px;
}