body {
  position: relative;
  min-height: 100vh;
  background-color: #fff;
  padding-bottom: 0.512rem;
}
body .top-bg {
  display: inline-block;
  height: 7.875rem;
  width: 100%;
}
body .top-bg > img {
  width: 100%;
  height: 100%;
  background-color: #ccc;
}
body .search {
  position: absolute;
  height: 1.5rem;
  width: 90%;
  top: 0.7rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
}
body .search .bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 999;
  background-color: #000;
  opacity: 0.2;
  border-radius: 0.8rem;
}
body .search .search-bar {
  position: absolute;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}
body .search .search-bar img {
  margin-left: 0.5rem;
  width: 0.6rem;
  height: 0.6rem;
}
body .search .search-bar input {
  background-color: transparent;
  color: #fff;
  font-size: 0.6rem;
  margin-left: 0.15rem;
}
body .tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 0.7rem;
}
body .tabs a {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 25%;
  height: 2.55rem;
}
body .tabs a img {
  height: 1rem;
}
body .tabs a span {
  font-size: 0.5rem;
  color: #373737;
  margin-top: 0.2rem;
}
article {
  padding-bottom: 2.5rem;
}
article > h2 {
  font-size: 0.7rem;
  font-weight: bold;
  text-align: center;
}
article section {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  height: 6.5rem;
  width: 100%;
  padding: 1rem;
}
article section::after {
  position: absolute;
  width: 90%;
  height: 1px;
  background-color: #e5e5e5;
  content: '';
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
article section .img-box {
  width: 4.2rem;
  height: 100%;
  overflow: hidden;
  flex-shrink: 0;
}
article section .img-box img {
  width: 100%;
  height: 100%;
  background-color: #ccc;
}
article section .info {
  position: relative;
  width: 0;
  height: 100%;
  flex: 1;
  margin-left: 0.5rem;
  color: #797979;
}
article section .info h5 {
  width: 100%;
  font-size: 0.7rem;
  font-weight: bold;
  color: #333;
}
article section .info .hint {
  margin-top: 0.3rem;
  font-size: 0.45rem;
}
article section .info button {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 3.45rem;
  height: 1.35rem;
  color: #fff;
  background-image: linear-gradient(to right, #4dd0ce, #2eafd8);
  border-radius: 0.3rem;
}
article section .info .price {
  display: flex;
  align-items: flex-end;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 5rem;
  font-size: 0.4rem;
}
article section .info .price .current {
  font-size: 0.7rem;
  color: #ee5a44;
  font-weight: bold;
}
article section .info .price .original {
  font-size: 0.45rem;
  color: #b2b2b2;
  text-decoration: line-through;
  margin-left: 0.25rem;
  margin-bottom: 0.1rem;
}
article section:last-of-type::after {
  background-color: transparent;
}
footer {
  position: fixed;
  display: flex;
  width: 100%;
  height: 2.5rem;
  bottom: 0;
  left: 0;
  border-top: #eee solid 1px;
  background-color: #fff;
  z-index: 999;
}
footer a {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  width: 33%;
  height: 100%;
  font-size: 0.4rem;
}
footer a span {
  margin-bottom: 0.25rem;
}
footer a .u {
  width: 1rem;
  height: 1rem;
  margin-bottom: 0.2rem;
}
footer a .s {
  width: 1.5rem;
  height: 1.5rem;
}
