.banner {
  background-color: #f4f4f4;
}
.banner .wrapper {
  height: 535px;
  overflow: hidden;
}
.banner .pic {
  display: flex;
  width: 3984px;
  /* flex布局,父级宽度不够，子级会被挤小 */
}
/* 侧导航 */
.subnav {
  position: absolute;
  left: 0;
  top: 0;
  width: 250px;
  height: 535px;
  background-color: rgb(0, 0, 0, 0.42);
}
.subnav ul li {
  display: flex;
  padding-left: 30px;
  padding-right: 12px;
  justify-content: space-between;
  height: 50px;
  line-height: 50px;
  color: #fff;
}
.subnav ul li a {
  margin-right: 5px;
  color: #fff;
  font-size: 14px;
}
.subnav ul .classfiy {
  margin-right: 14px;
  font-size: 16px;
}
.subnav ul li .iconfont {
  font-size: 14px;
}
.subnav ul li:hover {
  background-color: rgba(0, 0, 0, 0.385);
  cursor: pointer;
}
/* 圆点指示器 */
.banner ol {
  display: flex;
  position: absolute;
  bottom: 17px;
  right: 16px;
}
.banner ol li {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  margin-left: 8px;
  cursor: pointer;
}
.banner ol li i {
  display: block;
  margin: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #ffffffad;
}
.banner ol .current {
  background-color: #ffffffa3;
}
.banner ol .current i {
  background-color: #ffffff;
}
/* 新鲜好物 */
/* 标题 */

.title {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  margin-bottom: 30px;
  height: 42px;
  /* background-color: pink; */
}
.title .left {
  display: flex;
}
.title .left h3 {
  font-size: 30px;
  margin-right: 35px;
}
.title .left p {
  font-size: 14px;
  color: #a1a1a1;
  align-self: flex-end;
}

.title .right .more {
  line-height: 42px;
  color: #a1a1a1;
}
.title .right .more .iconfont {
  font-size: 12px;
  margin-left: 10px;
  color: #a1a1a1;
}
/* 商品列表 */
.bd ul {
  display: flex;
  justify-content: space-between;
}
.bd li {
  width: 326px;
  height: 426px;
  background-color: rgba(190, 194, 232, 0.463);
  cursor: pointer;
}
.bd li .pic {
  width: 326px;
  height: 326px;
}
.bd li .pic img {
  width: 326px;
  height: 326px;
}
.bd li a .text {
  text-align: center;
}
.bd li a .text h4 {
  font-size: 20px;
  margin-top: 18px;
  margin-bottom: 8px;
}
.bd li a .text p {
  font-size: 18px;
  color: #aa2113;
}
.goods .bd .text p span {
  font-size: 22px;
  margin-left: 2px;
}
/* 人气推荐 */
.recommend .bd li {
  background-color: rgba(255, 255, 255, 0.463);
}
.bd li a .text h4 {
  font-size: 20px;
  margin-top: 18px;
  margin-bottom: 8px;
}
.recommend .bd li a .text p {
  font-size: 18px;
  color: #a1a1a1;
}
.goods .bd .text p span {
  font-size: 22px;
  margin-left: 2px;
}

/* 热门品牌 */
.brand {
  margin-top: 60px;
  height: 468px;
  background-color: #f5f5f5;
}
.brand .wrapper {
  height: 468px;
  /* background-color: #50d114; */
  overflow: hidden;
}
.brand .title {
  position: relative;
  margin-bottom: 40px;
}

.brand .right .button {
  display: flex;
  position: absolute;
  bottom: -25px;
  right: 0;
}
.brand .title .right .button a {
  color: #fff;
  margin-left: 12px;
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 20px;
}
.brand .right .button .prev {
  background-color: #ddd;
}
.brand .right .button .next {
  background-color: #00be9a;
}
/* 内容 */
.brand .bd li {
  width: 258px;
  height: 320px;
  background-color: #fff;
  cursor: pointer;
}
.brand .bd li img {
  width: 258px;
  height: 320px;
}
/* 生鲜 */
.fresh {
  margin-top: 60px;
  margin-bottom: 20px;
}
.title .right {
  display: flex;
}
.title .right ul {
  display: flex;
  margin-top: 10px;
  margin-right: 58px;
}
.title .right ul a {
  display: block;
  padding: 0 7px;
  height: 20px;
  line-height: 20px;
  /* background-color: pink; */
  margin-left: 6px;
}
.title .right ul .active {
  background-color: #00be9a;
  color: #fff;
}
.contont {
  display: flex;
  justify-content: space-between;
}
.contont .left {
  width: 258px;
  height: 610px;
  background-color: #f5f5f5;
  cursor: pointer;
}
.contont .left img {
  width: 258px;
  height: 610px;
}
.contont .right {
  width: 1032px;
  height: 610px;
  /* background-color: pink; */
}
.contont .right ul {
  display: flex;
  flex-wrap: wrap;
}
.contont .right li {
  position: relative;
  overflow: hidden;
  padding: 10px 21px 0;
  width: 258px;
  height: 305px;
  border: 2px solid #ffffff;
}
.contont .right li:hover .cover {
  bottom: 0;
}
/* 产品内容 */
.contont .pic {
  width: 215px;
  height: 180px;
  cursor: pointer;
}
.contont .pic img {
  width: 215px;
  height: 180px;
}
.contont .info {
  margin-top: 14px;
  margin-bottom: 5px;
  height: 60px;
  line-height: 19px;
}
.contont .price {
  color: #aa2113;
}
.contont .price span {
  font-size: 22px;
  margin-left: 5px;
}
/* 产品底部 */
.contont li .cover {
  position: absolute;
  left: 0;
  bottom: -86px;
  width: 258px;
  height: 84px;
  background-color: #00be9a;
  text-align: center;
  color: #fff;
  transition: all 0.3s;
}
.contont li .cover p:nth-child(1) {
  font-size: 18px;
  margin-top: 12px;
}
.contont li .cover p:nth-child(2) {
  margin: 3px auto 6px;
  width: 120px;
  height: 1px;
  background-color: #ffffff51;
}

.contont li .cover p:nth-child(3) {
  font-size: 13px;
}
.contont li .cover p:nth-child(3) .iconfont {
  font-size: 13px;
  margin-left: 5px;
}
.contont li:hover {
  border: 2px solid #00be9a;
}
/* 专题 */
.topic {
  margin-top: 100px;
}
.topic-bd ul {
  display: flex;
  justify-content: space-between;
}
.topic-bd li {
  width: 435px;
  height: 355px;
  /* background-color: rgba(190, 194, 232, 0.463); */
  cursor: pointer;
}
.topic-bd .pic {
  position: relative;
  width: 435px;
  height: 288px;
}
.topic-bd .pic img {
  width: 435px;
  height: 288px;
}
.topic-bd .text {
  display: flex;
  align-items: center;
  padding: 0 15px;
  justify-content: space-between;
  width: 435px;
  height: 67px;
  /* background-color: azure; */
}
.topic-bd .text .left {
  display: flex;
}
.topic-bd .text .left p {
  margin-right: 20px;
  font-size: 14px;
  color: #666;
}

.topic-bd .text .left p:nth-child(1) i {
  color: #aa2113;
}
/* 定位 */
.topic-bd .pic .cover {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  align-items: center;
  width: 435px;
  height: 90px;
  background-image: linear-gradient(
    180deg,
    rgba(137, 137, 137, 0) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
}
.topic-bd .pic .cover .left {
  color: #fff;
}
.topic-bd .pic .cover .left h4 {
  font-size: 20px;
  margin-bottom: 6px;
}
.topic-bd .pic .cover .right {
  padding: 0 7px;
  height: 25px;
  font-size: 15px;
  color: #aa2113;
  background-color: #fff;
}
.topic-bd .pic .cover .right span {
  font-size: 18px;
}
