/* 版心居中 */
.wrapper {
    margin: 0 auto;
    width: 1240px;
}

/* 快捷导航 */
.shortcut {
    height: 52px;
    background-color: #333;
}

.shortcut .wrapper ul {
    display: flex;
    justify-content: flex-end;
}

.shortcut .wrapper li {
    line-height: 52px;
}

.shortcut .wrapper li a {
    color: #fff;
    padding: 0 15px;
    border-right: 1px solid #999;
    font-size: 14px;
}

.shortcut .wrapper li:last-child a {
    border: 0px solid #999;
}

.shortcut .wrapper li span {
    font-size: 18px;
    color: #fff;
    vertical-align: middle;
}

.shortcut .wrapper li .login {
    color: #5EB69C;
}

/* 头部区域 */
.header {
    margin-top: 22px;
    margin-bottom: 22px;
    height: 88px;
    /* background-color: pink; */
    display: flex;

}

.header .logo {
    vertical-align: top;
    width: 200px;
    height: 88px;
    margin-right: 41px;
}

.logo a {
    display: block;
    width: 200px;
    height: 88px;
    background-image: url(../image/logo2.png);
}

.header ul {
    display: flex;
}

.header li a {
    line-height: 88px;
    margin-right: 48px;
    padding: 10px 0;
    font-size: 16px;
}

.header li .active {
    color: #5EB69C;
    border-bottom: 2px solid #5EB69C;
}

.header li:last-child a {
    margin-right: 75px;
}

.header .search {
    display: flex;
    width: 170px;
    height: 34px;
    margin-top: 33px;
    border-bottom: 2px solid #F4F4F4;
    color: #CCC;
    /* padding-bottom: 10px; */
    margin-right: 45px;
}

.header .search span {
    margin-right: 8px;
    font-size: 18px;
}

.header .search input {
    /* 浏览器优先生效input的默认宽度 此时flex：1 不生效 */
    /* 重置input的 默认宽度 */
    width: 0;
    flex: 1;
}

.header .cart {
    line-height: 88px;
}

.header .cart .iconfont {
    font-size: 24px;
}

/* 底部区域 */
.footer {
    height: 580px;
    background-color: #f5f5f5;
}

.footer .service {
    height: 180px;
    /* background-color: pink; */
    border-bottom: 1px solid #e8e8e8;
}

.footer .service ul {
    display: flex;
    justify-content: space-evenly;
}

.footer .service li {
    margin: 60px 0;
    display: flex;
}

.footer .service li h5 {
    width: 58px;
    height: 58px;
    background-image: url(../image/sprite.png);
    margin-right: 20px;
}

.footer .service li p {
    color: #333;
    font-size: 28px;
    line-height: 58px;
}

.footer li:nth-child(2) h5 {
    background-position: 0 -58px;
}

.footer li:nth-child(3) h5 {
    background-position: 0 -116px;
}

.footer li:nth-child(4) h5 {
    background-position: 0 -174px;
}

.help {
    height: 302px;
    /* background-color: pink; */
    padding-top: 60px;
    display: flex;
}

.help dl {
    margin-right: 84px;
}

.help dt {
    color: #333;
    font-size: 18px;
    margin-bottom: 30px;
}

.help dd a {
    display: block;
    color: #969696;
    font-size: 16px;
    margin-bottom: 10px;
}

.help dd a .iconfont {
    margin-left: 5px;
    font-size: 16px;
    color: #5EB69C;
}

.footer .erweima {
    display: flex;
}

.footer .erweima .wechat img {
	width:100px;
	height:100px;
	}

.footer .erweima .app img {
	width:100px;
	height:100px;
	}

.help .wechat {
    height: 152px;
    width: 120px;
    position: relative;
    margin-right: 55px;
}

.footer .help .erweima img {
    /* 固定宽度自适应大小 防止拉伸变形 */
    max-width: 100%;
    height: auto;
}

.footer .erweima p {
    margin-top: 10px;
    font-size: 16px;
    color: #969696;
    text-align: center;
}

.footer .copyright {
    height: 60px;
    margin-bottom: 40px;
}

.footer .copyright ul {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.footer .copyright li a {
    display: block;
    font-size: 16px;
    color: #a1a1a1;
    border-right: 1px solid #a1a1a1;
    padding-right: 10px;
    margin-left: 10px;

}

.footer .copyright p {
    text-align: center;
    font-size: 16px;
    color: #a1a1a1;
}

.footer .copyright li:last-child a {
    border-right: 0px solid #000;
}


/* banner区域 */
.banner {
    height: 500px;
    background-color: #f5f5f5;
}

.banner .wrapper {
    width: 1240px;
    height: 500px;
    background-color: pink;
    /* 隐藏超出部分 */
    overflow: hidden;
    position: relative;
}

.banner .wrapper .pic ul {
    display: flex;
    /* flex 布局，父级宽度不够，子级被挤小，不想挤小，增大父级尺寸 */
    width: 3720px;

}

.banner .wrapper .subnav {
    width: 250px;
    height: 500px;
    background-color: rgba(0, 0, 0, 0.42);
    position: absolute;
    top: 0;
    left: 0;
}

.banner .subnav ul li {
    width: 250px;
    height: 50px;
    line-height: 50px;
    padding-left: 30px;
    padding-right: 12px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.subnav li a {
    font-size: 14px;
    color: #fff;
    margin-right: 5px;
}

.subnav li .iconfont {
    font-size: 10px;
    color: #fff;
}

.subnav li .classify {
    font-size: 16px;
    margin-right: 14px;
}

.subnav li:hover {
    background-color: #00be9a;
}

/* 小圆点 */
.banner ol {
    position: absolute;
    bottom: 17px;
    right: 16px;
    display: flex;
}

.banner ol li {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    /* background-color: #fff; */
    cursor: pointer;
}

.banner ol li i {
    display: block;
    width: 14px;
    height: 14px;
    margin-top: 4px;
    margin-left: 4px;
    border-radius: 50%;
    background-color: rgba(256, 256, 256, 0.5);
}

.banner ol .active {
    background-color: rgba(256, 256, 256, 0.5);
}

.banner ol .active i {
    background-color: rgb(256, 256, 256);
    opacity: 1;
}

/* 新鲜好物 */
/* 标题-公共样式 */
.title {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    margin-bottom: 30px;
    height: 42px;
}

.title .left {
    display: flex;
    align-items: flex-end;
}

.title .left h2 {
    font-size: 30px;
    margin-right: 35px;
}

.title .left p {
    font-size: 16px;
    color: #a1a1a1;
}

.title .right .more {
    color: #a1a1a1;
    font-size: 16px;
    line-height: 42px;
}

.title .right .iconfont {
    font-size: 12px;
    margin-left: 10px;
}

.bd ul {
    display: flex;
    justify-content: space-between;
}

.bd ul li {
    width: 304px;
    height: 404px;
    background-color: #EEF9F4;
}

.bd ul li .pic {
    width: 304px;
    height: 304px;
}

.bd ul li .txt {
    text-align: center;
}

.bd .txt h3 {
    margin-top: 18px;
    margin-bottom: 8px;
    font-size: 20px;
}

.goods .bd .txt p {
    color: #AA2113;
    font-size: 18px;
}

.goods .bd .txt span {
    font-size: 22px;
}


/* 热门品牌 */
.brand {
    height: 468px;
    background-color: #f5f5f5;
    margin-top: 60px;
}

.brand .wrapper {
    height: 468px;
    /* background-color: pink; */
    overflow: hidden;
}

.brand .title {
    position: relative;
}



.brand .button {
    position: absolute;
    right: 0;
    bottom: -25px;
    display: flex;
}

.brand .button a {
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    /* background-color: black; */
    color: #fff;
}

.brand .button .prev {
    background-color: #ddd;
}

.brand .button .next {
    background-color: #00be9a;
    margin-left: 12px;
}

.brand .bd ul li {
    width: 244px;
    height: 306px;
}

.fresh .title {
    margin-top: 60px;
    margin-bottom: 20px;
}

.title .right {
    display: flex;
}

.title .right ul {
    display: flex;
    margin-top: 10px;
    margin-right: 58px;
}

.title .right a {
    height: 20px;
    padding: 0 7px;
    /* background-color: pink; */
    line-height: 20px;
    margin-right: 6px;
    font-size: 16px;
}

.title .right ul .active {
    background-color: #00BE9A;
}

.content {
    display: flex;
    justify-content: space-between;
}

.content .left {
    width: 248px;
    height: 610px;
}

.content .right {
    width: 968px;
    height: 305px;
}

.content .right ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: right;
}

.content .right li {
    width: 242px;
    height: 305px;
    padding: 10px 21px;
    /* background-color: pink;  */
    border: 2px solid #fff;
    position: relative;
    overflow: hidden;
}

.content .right li .pic {
    width: 190px;
    height: 171px;
    margin-bottom: 14px;
}

.content .right .info {
    width: 200px;
    height: 57px;
    margin-bottom: 7px;
}

.content .right .info p {
    line-height: 19px;
    font-size: 16px;
}

.content .right .price p {
    font-size: 16px;
    color: #AF2F22;
}

.content .right .price span {
    margin-left: 5px;
    font-size: 22px;
}


/* 最新专题 */
.topic {
    margin-bottom: 40px;
}

.topic .title {
    margin-top: 100px;
}

.topic .tp_bd ul {
    display: flex;
    justify-content: space-between;
}

.topic .tp_bd li {
    width: 405px;
    height: 355px;
}

.topic .tp_bd li .pic {
    width: 405px;
    height: 288px;
    position: relative;
}

.topic .tp_bd .txt {
    width: 405px;
    height: 67px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;

}

.topic .txt .left {
    display: flex;
}

.topic .txt .iconfont {
    font-size: 16px;
}

.topic .txt span {
    font-size: 14px;
    color: #666;
}

.topic .txt .left p:nth-child(1) {
    margin-right: 20px;
}

.topic .txt .left p:nth-child(1) i {
    color: #AA2113;
}

.topic .cover {

    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    align-items: center;
    width: 405px;
    height: 90px;
    /* background-color: pink; */
    position: absolute;
    left: 0;
    bottom: 0;
    /* background-image: linear-gradient(180deg, rgba(137, 137, 137, 0.00) 0%, rgba(0, 0, 0, 0.90) 100%); */

}

.topic .cover .left {
    color: #fff;
}

.topic .cover .left h4 {
    font-size: 20px;
}


.topic .cover .left p {
    font-size: 16px;
}

.topic .cover .right {
    height: 25px;
    background-color: #fff;
    color: #AA2113;
    padding: 0 7px;
}

.topic .cover .right span {
    font-size: 18px;
}