body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #fff;
  color: #111;
}

header {
  background: #000;
  color: #fff;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  font-size: 1.5em;
}

nav a {
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
}

nav a.active {
  text-decoration: underline;
}

.hero {
  text-align: center;
  padding: 100px 20px;
  background: #f4f4f4;
}

.hero h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

.btn {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
}

.products {
  padding: 40px;
  text-align: center;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.product {
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 10px;
}

.product img {
  width: 100%;
  border-radius: 10px;
}

.product-detail {
  display: flex;
  flex-wrap: wrap;
  padding: 40px;
  gap: 20px;
}

.product-detail img {
  max-width: 400px;
  width: 100%;
  border-radius: 10px;
}

.product-detail .info {
  flex: 1;
}

.price {
  font-weight: bold;
  margin-bottom: 10px;
}

footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 15px 0;
  margin-top: 50px;
}

@media (max-width: 768px) {
  .product-detail {
    flex-direction: column;
    text-align: center;
  }
}