*,
::after,
::before {
  box-sizing: border-box;
}
body,
ul,
ol,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, PingFangSC-Regular, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333;
}
a {
  color: #333;
  text-decoration: none;
  -webkit-tap-highlight-color: regb(0, 0, 0, 0);
}
ul {
  list-style-type: none;
}
li {
  list-style: none;
}
img {
  vertical-align: bottom;
}
em,
i {
  font-style: normal;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  display: flex;
  height: 13.95348837vw;
  margin-bottom: 3.48837209vw;
  padding-top: 2.3255814vw;
  background-color: #fff;
}
header a {
  display: block;
  width: 10.23255814vw;
  height: 12.79069767vw;
  text-align: center;
  line-height: 6.51162791vw;
}
header a img {
  width: 3.72093023vw;
  height: 3.72093023vw;
}
header .serach {
  display: flex;
  width: 81.1627907vw;
  height: 9.30232558vw;
  border-radius: 6.97674419vw;
  background-color: rgba(30, 184, 158, 0.1);
  align-items: center;
  color: rgba(187, 187, 187, 0.8);
  font-size: 3.25581395vw;
}
header .serach img {
  margin: 0 3.48837209vw;
  margin-top: 0.93023256vw;
  width: 5.11627907vw;
  height: 5.11627907vw;
}
.main-container {
  position: relative;
  display: flex;
  margin-top: 60/4.3vw;
  padding-bottom: 60/4.3vw;
}
.main-container .left {
  position: fixed;
  left: 0;
  top: 13.95348837vw;
  z-index: 5;
  overflow: hidden;
  width: 27.6744186vw;
  height: calc(100vh - 60px);
  margin-right: 3.48837209vw;
  border-radius: 0 0 2.3255814vw 0;
  background-color: rgba(30, 184, 158, 0.2);
  overflow-y: auto;
  /* 优化滚动性能 */
  -webkit-overflow-scrolling: touch;
}
.main-container .left ul {
  position: relative;
  z-index: 1;
}
.main-container .left ul li {
  transition: all 0.5s;
  position: relative;
  font-size: 3.25581395vw;
  height: 13.95348837vw;
  line-height: 13.95348837vw;
  font-size: 3.72093023vw;
  text-align: center;
}
.main-container .left ul li a {
  margin-left: 4.18604651vw;
}
.main-container .left ul .active {
  background-color: #fff;
}
.main-container .left ul .active::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 0.93023256vw;
  height: 8.13953488vw;
  background-color: #1eb89e;
}
.main-container .right {
  margin-top: 16.27906977vw;
  margin-left: 31.1627907vw;
  flex: 1;
  height: 152.55813953vw;
  
}.main-container .right ul{
  padding-bottom: 40.9836vw;
}
.main-container .right ul li {
  height: 23.48837209vw;
  margin-bottom: 2.3255814vw;
 
  
}
.main-container .right ul li a {
  display: flex;
}
.main-container .right ul li a .pic {
  width: 28.37209302vw;
  height: 23.48837209vw;
  border-radius: 1.1627907vw;
  margin-right: 1.86046512vw;
}
.main-container .right ul li a .txt {
  flex: 1;
  font-size: 3.72093023vw;
}
.main-container .right ul li a .txt h4 {
  height: 15.11627907vw;
  width: 27.90697674vw;
  display: -webkit-box;
  /* 必须使用 -webkit-box 布局 */
  -webkit-box-orient: vertical;
  /* 设置垂直方向排列 */
  -webkit-line-clamp: 3;
  /* 限制显示两行 */
  overflow: hidden;
  /* 隐藏溢出的内容 */
  text-overflow: ellipsis;
  /* 超出部分显示省略号 */
}
.main-container .right ul li a .txt .price {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 10px;
  color: #d70e0e;
  font-size: 3.72093023vw;
  margin-top: 1.1627907vw;
}
.main-container .right ul li a .txt .price span {
  display: inline-block;
  width: 6.97674419vw;
  height: 6.97674419vw;
  border: 1px solid #1eb89e;
  border-radius: 50%;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.main-container .right ul li a .txt .price span img {
  width: 3.48837209vw;
  height: 3.48837209vw;
}
.footer {
  position: fixed;
  bottom: 18.60465116vw;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  width: 91.39534884vw;
  height: 10.69767442vw;
  background-color: #1eb89e;
  border-radius: 5.81395349vw;
}
.footer .shopping-cart {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 10.69767442vw;
  height: 10.69767442vw;
  background-color: #caac5e;
  border-radius: 50%;
  margin-left: 0.23255814vw;
}
.footer .shopping-cart .price-num {
  position: absolute;
  top: 0.69767442vw;
  right: -2.3255814vw;
  width: 4.65116279vw;
  height: 4.65116279vw;
  border-radius: 50%;
  background-color: #d70e0e;
  text-align: center;
  line-height: 4.65116279vw;
  font-size: 2.79069767vw;
  color: #1eb89e;
}
.footer .shopping-cart img {
  width: 5.81395349vw;
  height: 5.81395349vw;
}
.footer .price-total {
  font-size: 3.72093023vw;
  color: #d70e0e;
  align-self: end;
  margin-left: 2.3255814vw;
  margin-bottom: 2.3255814vw;
  font-weight: 700;
}
.footer .check-detail {
  font-size: 2.79069767vw;
  align-self: end;
  margin-bottom: 2.3255814vw;
  color: #fff;
}
.footer .check-detail img {
  width: 2.79069767vw;
  height: 2.79069767vw;
  transform: rotate(270deg);
  margin-left: 0.69767442vw;
}
.footer .settlement {
  width: 22.55813953vw;
  height: 9.06976744vw;
  background-color: #caac5e;
  border-radius: 4.65116279vw;
  align-self: center;
  margin-right: 2.3255814vw;
  font-size: 3.25581395vw;
  text-align: center;
  line-height: 9.06976744vw;
  color: #fff;
}
.footer-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 13.95348837vw;
  background-color: #fff;
  font-size: 12px;

}
.footer-nav ul {
  height: 13.95348837vw;
  display: flex;
  /* justify-content: space-around; */
  justify-content: space-evenly;
  align-items: center;
  padding-bottom: .4098vw;
}
.footer-nav ul li {
  width: 20%;
  text-align: center;
  /* font-size: 3.72093023vw; */
  font-size: 3.0738vw;
}
.footer-nav ul li img {
  width: 6.3525vw;
  margin-top: 5px;
  margin-bottom: 1.1627907vw;
  vertical-align: middle;
}
.footer-nav ul .active a p {
  color: #1EB89E;
}
