body {
font-family: Arial, sans-serif;
margin: 0;
background-color: #f5f5f5;
}
header {
background-color: #111;
color: white;
padding: 1em;
text-align: center;
}
nav ul {
list-style: none;
padding: 0;
margin: 1em 0;
display: flex;
justify-content: center;
gap: 1em;
}
nav button {
padding: 0.5em 1em;
background-color: #fff;
border: none;
cursor: pointer;
border-radius: 5px;
}
#product-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1em;
padding: 1em;
}
.product-card {
background-color: white;
border-radius: 8px;
padding: 1em;
text-align: center;
box-shadow: 0 0 5px rgba(0,0,0,0.1);
}
.product-card img {
width: 100%;
border-radius: 5px;
}