* {
  margin: 0;
  padding: 0;
  outline: 0;
}

body {
  font-family: sans-serif;
  color: #333;
  width: 1200px;
  margin: 16px auto;
  background: #f9eee7;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  border-radius: 18px;
  background: white;
}

img {
  width: 100%;
}

.logo img {
  width: auto;
  height: 60px;
}

.nav {
  font-size: 28px;
  margin: 2px 0 0;
}

a {
  text-decoration: none;
  color: #435d6d;
}

.nav a {
  margin-left: 22px;
}

.nav a.active {
  color: white;
  background: #ea8a5e;
  border-radius: 8px;
  padding: 0 8px;
}

.banner img {
  margin: 18px 0px;
  border-radius: 18px;
}

.prodcat {
  padding: 12px;
  position: sticky;
  top: 0;
  z-index: 9999;
  background: white;
  border-radius: 18px;
  display: flex;
}

.prodcat a {
  font-size: 28px;
  margin-right: 22px;
  display: flex;
}

.prodcat a.active {
  color: white;
  background: #ea8a5e;
  border-radius: 10px;
  padding: 4px 6px;
}

.prodcat img {
  width: 36px;
  height: auto;
  margin-right: 8px;
}

.prodcatname {
  margin-top: 3px;
}

.products h2 {
  font-size: 28px;
  color: #435d6d;
  margin: 28px 4px 46px;
}

.system,
.panel,
.inverter,
.battery,
.charger {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between
}

.product {
  width: 23.5%;
  margin: 2px 0 24px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.36);
  border-radius: 14px;
}

.product img {
  display: block;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}

.product h3 {
  font-size: 20px;
  padding: 8px 10px 2px;
}

.product p {
  padding: 2px 10px 8px;
}

@media (max-width:768px) {
  body {
    width: 96%
  }

  .product {
    width: 47%;
    margin: 2px 1% 22px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.36);
    border-radius: 14px;
  }

  .prodcat {
    justify-content: space-between
  }

  .prodcat a {
    margin-right: 0;
  }

  .prodcat img {
    margin-right: 0;
  }

  .prodcatname {
    display: none;
  }
}