* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #ffffff;
  color: #333333;
  font-family: Arial, "Microsoft YaHei", "SimSun", sans-serif;
  font-size: 12px;
}

.page {
  width: 722px;
  margin: 42px auto 16px;
  border: 1px solid #7c7c7c;
  border-top: 6px solid #555555;
  background: #ffffff;
  box-shadow: 0 1px 0 #222222;
}

.site-header {
  height: 174px;
  padding: 0 8px;
  overflow: hidden;
}

.site-header img {
  display: block;
  width: 100%;
  height: 174px;
  object-fit: cover;
}

.top-nav {
  height: 35px;
  margin: 0 8px;
  border: 1px solid #d4d4d4;
  border-top: 0;
  background: linear-gradient(#ffffff, #f4f4f4);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
}

.top-nav a {
  color: #243447;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  line-height: 34px;
}

.top-nav a:hover {
  color: #0089d6;
}

.showcase {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 6px;
  margin: 7px 8px 8px;
}

.category {
  border: 1px solid #0aa2ff;
  height: 225px;
}

.category h2 {
  height: 22px;
  margin: 0;
  background: #0497ee;
  color: #ffffff;
  font-size: 11px;
  line-height: 22px;
  text-align: center;
}

.category button {
  display: block;
  width: 100%;
  height: 33px;
  padding-left: 30px;
  border: 0;
  border-bottom: 1px solid #edf0f2;
  background: #ffffff;
  color: #66717a;
  font: inherit;
  line-height: 33px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.category button:hover,
.category button.active {
  background: #f4fbff;
  color: #008ee8;
}

.feature {
  position: relative;
  min-width: 0;
}

.feature img {
  display: block;
  width: 557px;
  height: 193px;
  object-fit: cover;
}

.feature-copy {
  position: absolute;
  top: 0;
  left: 0;
  width: 235px;
  height: 193px;
  padding: 18px 18px 10px 28px;
  background: linear-gradient(90deg, rgba(33, 114, 180, 0.92), rgba(33, 114, 180, 0.72) 72%, rgba(33, 114, 180, 0));
  color: #ffffff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.28);
}

.feature-copy h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 15px;
  line-height: 18px;
}

.feature-copy p {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 18px;
}

.feature-copy ul {
  margin: 0;
  padding-left: 14px;
  font-size: 11px;
  line-height: 16px;
}

.feature-copy li {
  margin: 0;
}

.feature-caption {
  height: 24px;
  color: #7a7a7a;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
}

.pager {
  position: absolute;
  right: 0;
  bottom: -2px;
  display: flex;
  align-items: center;
  gap: 3px;
  color: #8fc6e6;
  font-size: 12px;
}

.pager button {
  width: 14px;
  height: 14px;
  padding: 0;
  border: 1px solid #91cdeb;
  background: #ffffff;
  color: #199bd8;
  font-size: 11px;
  font-weight: 700;
  line-height: 12px;
}

.pager button.active {
  background: #1f9dd4;
  color: #ffffff;
}

.recommend {
  margin: 0 8px 10px;
  border: 1px solid #c8c8c8;
  padding: 6px 8px 10px;
}

.recommend h1 {
  margin: 0 0 8px;
  color: #111111;
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 11px;
}

.product {
  height: 185px;
  border: 1px solid #d8d8d8;
  background: #ffffff;
  overflow: hidden;
}

.product img {
  display: block;
  width: 100%;
  height: 107px;
  object-fit: cover;
}

.product h2 {
  margin: 7px 7px 0;
  overflow: hidden;
  color: #666666;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.product p {
  height: 18px;
  margin: 0 8px;
  overflow: hidden;
  color: #b9c2c9;
  font-size: 10px;
  line-height: 18px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 7px;
}

.meta span {
  color: #1ba4ec;
  font-weight: 700;
}

.meta strong {
  color: #ff8a00;
  font-size: 18px;
  font-weight: 400;
  white-space: nowrap;
}

.meta strong span {
  color: #ff8a00;
  font-size: 10px;
  font-weight: 400;
}

@media (max-width: 760px) {
  .page {
    width: calc(100vw - 20px);
    margin-top: 18px;
  }

  .site-header {
    height: auto;
  }

  .site-header img,
  .feature img {
    height: auto;
  }

  .showcase {
    grid-template-columns: 1fr;
  }

  .category {
    height: auto;
  }

  .category button {
    padding-left: 18px;
  }

  .feature img {
    width: 100%;
  }

  .feature-copy {
    width: 48%;
    min-width: 210px;
    height: calc(100% - 24px);
    padding: 14px 14px 8px 18px;
  }

  .pager {
    position: static;
    justify-content: flex-end;
    margin-top: -22px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
