html,
body {
  width: 100%;
  height: 100vh;
  font-size: 1rem;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* 导航 */
nav {
  width: 100%;
  height: 28px;
  background: #fcfcfc;
  border-bottom: 1px solid #eeedf2;
  display: flex;
  padding: 0 16%;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #808080;
  /* overflow: hidden; */
}
.leftNav {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
}
.rightNav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 0.8rem;
}
.rightNav > div {
  /* width: 6%; */
  padding: 0 0.5%;
  font-size: 0.8rem;
  cursor: pointer;
}
.rightNav > div:last-child {
  width: auto;
  padding: 0 1%;
  background-color: rgb(249, 45, 94);
  color: white;
  text-align: center;
}
/* 头部 */
header {
  width: 63%;
  margin:0 auto;
  height: 130px;
  display: flex;
  justify-content: space-between;
  /* background-color: rgba(128, 128, 128, 0.1); */
}
header img {
  width: 16%;
  object-fit: contain;
}
.searchWrapper {
  width: 70%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.searchWrapper .tips {
  width: 100%;
  margin-left: 52%;
  margin-top: 10px;
  color: #808080;
  font-size: 0.9rem;
  cursor: pointer;
}
.inputWrapper {
  width: 100%;
  height: 40px;
  display: flex;
  justify-content: center;
  position: relative;
  margin-top: 5%;
}
.inputWrapper input {
  width: 50%;
  height: 100%;
  border-radius: 20px;
  border: 1px solid rgb(108, 46, 249) !important;
  color: rgb(108, 46, 249);
  padding: 0 10px;
  cursor: pointer;
  outline: none;
  font-size: 1rem;
}
.inputWrapper input::placeholder {
  color: rgb(108, 46, 249);
}
.searchButton {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(108, 46, 249);
  color: white;
  width: 100px;
  border-radius: 20px;
  position: relative;
  left: -40px;
  cursor: pointer;
}
.inputWrapper img {
  width: 20px;
  margin-right: 6px;
}
/* 内容 */
main {
  width: 100%;
}
.headerButtonList {
  display: flex;
  padding: 0 17%;
  background-color: rgba(128, 128, 128, 0.1);
}
.headerButtonList > div {
  color: black;
  width: 16%;
  height: 35px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.headerButtonList a {
  color: rgb(108, 46, 249);
  font-weight: bold;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.headerButtonList .bannerActive {
  color: white;
  background-color: rgb(108, 46, 249);
  margin-bottom: 2px;
  font-weight: bold;
}
.bannerActive a {
  color: black;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.banner {
  width: 100%;
  object-fit: contain;
}

.storeList {
  display: flex;
  flex-wrap: nowrap;
  position: relative;
  /* width: 1200px; */
  width: 63%;
  margin-top: 20px;
  z-index: 2;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  height: 335px;
}
.productList {
  flex: 1;
  display: flex;
}
.store {
  width: 40%;
  margin-right: 10px;
  margin-top: 10px;
  overflow: hidden;
  font-size: 1rem;
  color: #43403b;
  /* background-image: url(./images/storeList/storeBg.png); */
  background-image: url(../images/storeList/storeBg.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border-radius: 20px;
  padding: 1% 2%;
  border: 1px solid rgba(128, 128, 128, 0.4);
}
.storeInformation {
  width: 100%;
  height: 70%;
  display: flex;
  align-items: center;
}
.storeInformation .left {
  width: 40%;
  aspect-ratio: 1/1 !important;
  border-radius: 20px;
  align-self: flex-start; /* 关键 */
  margin-right: 5%;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}
.storeInformation .left img {
  width: 100%;
  height: 100%;
}
.storeInformation .right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.chineseName {
  font-size: 1.8rem;
  font-weight: bold;
  color: black;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.englishName {
  max-width: 100%;
  font-size: 1.8rem;
  font-weight: normal;
  color: #666666;
  position: relative;
  display: inline-block;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.englishName::after {
  position: absolute;
  content: "R";
  width: 18px;
  height: 18px;
  text-align: center;
  line-height: 18px;
  left: 105%;
  top: 0;
  color: #666666;
  border-radius: 50%;
  /* padding: 2px; */
  border: 1px solid #666666;
  font-size: 0.8rem;
  font-weight: bold;
}
.score {
  color: black;
  font-size: 1rem;
  margin-top: 20%;
}
.storeName {
  width: 100%;
  height: 30%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed #808080;
}
.storeName .left {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.storeName .left span {
  color: black;
  font-size: 1.2rem;
  white-space: nowrap;
}
.storeName .left span:last-child {
  color: #808080;
  font-size: 1rem;
}
.storeName img {
  width: 30%;
  object-fit: contain;
  cursor: pointer;
}
/* 808080 */
.product {
  /* width: 250px;
    height: 375px; */
  /* width: 200px;
  height: 300px; */
  width: 32%;
  /* aspect-ratio: 2 / 3; */
  background: linear-gradient(
    to bottom,
    rgb(254, 252, 247),
    rgb(253, 246, 229)
  );
  margin-right: 2%;
  margin-top: 10px;
  border-radius: 10px;
  overflow: hidden;
  font-size: 1rem;
  color: #43403b;
  border: 4px solid rgb(240, 228, 214);
  cursor: pointer;
}
.product:nth-child(3n){
  margin-right: 0;
}
.productImg {
  width: 100%;
  object-fit: cover;
  height: 60%;
}
.productName {
  padding: 0 10px;
  width: 100%;
  height: 25%;
  padding-top: 5%;
  line-height: 2rem;
  /* font-weight: bold; */
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.price {
  height: 12%;
  padding-left: 15px;
  font-size: 1.2rem;
  color: red;
  display: flex;
  align-items: center;
  font-weight: bold;
}
.price img {
  margin-left: 0.8rem;
  width: 4rem;
}
.businessName {
  width: 100%;
  height: 11%;
  font-size: 0.9rem;
  color: #808080;
  padding: 0 10px;
  cursor: pointer;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  display: none;
}
