
.swiper-wrap {
    display: flex;
    width: 1226px;
}
.swiper-wrap .swiper-container {
    flex: 1;
}
.hot-product-title {
    width: 100%;
    margin-top: 24px;
    text-align: center;
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-size: 15px;
}
.hot-product-subtitle {
    width: 100%;
    text-align: center;
    font-family: worksans, serif;
    font-style: italic;
    font-size: 32px;
    margin-bottom: 8px;
}
#content #banner {
    width: 1226px;
    flex-shrink: 0;
    margin-top: 16px;
    display: flex;
    height: 50px;
}
.swiper-slide {
    width: 100%;
    height: 380px;
    background-color: #40a9440a;
    display: flex;
    align-items: center;
    justify-content: center;
}
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
}
.user-info-wrap {
    overflow: hidden;
    margin-right: 16px;
    width: 240px;
    flex-shrink: 0;
    border-radius: 10px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}
.user-info-wrap .username{
    flex: 1;
    padding: 24px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.user-info-wrap .username .avatar{
    width: 70px;
    height: 70px;
    display: block;
    margin-bottom: 10px;
}
.username .welcome {
    font-size: 15px;
}
.user-info-wrap .user-action{
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid #e5e5e5;
    margin: 0 24px;
    padding: 16px 0;
}
.user-info-wrap .user-action.has-user li{
    flex: 50%;
    padding-bottom: 12px;
}

.user-info-wrap .user-action li{
    flex: 1;
    height: 45px;
}
.user-info-wrap .user-action li a{
    font-size: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.user-info-wrap .user-action li a .user-icon {
    width: 24px;
    height: 24px;
    display: block;
    margin-bottom: 4px;
}
.login-btn-wrap {
    padding-top: 24px;
    display: flex;
    flex-direction: column;
}
.login-btn {
    padding: 6px 12px;
    cursor: pointer;
    background-color: #40a944;
    color: #fff;
    border-radius: 3px;
    font-size: 15px;
    margin-bottom: 12px;
}
.register-btn {
    padding: 6px 12px;
    cursor: pointer;
    background-color: #fca50e;
    color: #fff;
    border-radius: 3px;
    font-size: 15px;
}
.all-sort-list {
    z-index: 2;
    position: absolute;
    width: 242px;
    flex-shrink: 0;
    background-color: #fff;
    box-sizing: border-box;
}
.category-list-title {
    user-select: none;
    height: 50px;
    display: flex;
    align-items: center;
    font-size: 18px;
    color: #fff;
    background-color: #40a944;
    font-family: worksans, sans-serif;
    background-image: url("../image/list.png");
    background-size: 14px 20px;
    background-repeat: no-repeat;
    background-position: 20px center;
    padding: 0 16px 0 48px;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
}
.category-item-wrap {
    display: none;
    padding: 10px 0;
    box-shadow: 0px 0px 5.76px 0.24px rgba(0, 0, 0, 0.1);
}

.all-sort-list .item {
    position: relative;
    font-size: 14px;
    line-height: 24px;
    text-transform: capitalize;
    display: block;
    cursor: pointer;
    padding: 10px 20px 10px 30px;
    color: #222;
}
.all-sort-list .item:hover {
    color: #40a944;
}


.all-sort-list .item.bo {
    border-top: none;
}

.all-sort-list .item h3 {
    line-height: 16px;
    font-size: 15px;
    font-weight: normal;
    overflow: hidden;
}

.all-sort-list .item span {
    padding: 0px 5px;
    color: #40a944;
}

.all-sort-list .item a {
    text-decoration: none;
    color: #666;
    font-family: worksans , sans-serif;
}

.all-sort-list .item a:hover {
    color: #40a944;
}

.all-sort-list .item-list {
    display: none;
    position: absolute;
    top: 6px;
    background: #fff;
    left: 240px;
    box-shadow: 0px 0px 5.76px 0.24px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.item-list .subitem a {
    display: block;
    padding: 8px 12px;
    white-space: nowrap;
    font-size: 14px;
}
.item-list .subitem a:hover {
    color: #40a944;
}


#content {
    background-color: #40a9440a;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

#content #banner #cate_menu {
    width: 234px;
    height: 100%;
    background-color: #0c0c13;
    box-sizing: border-box;
    position: relative;
}

#content #banner #cate_menu > ul {
    position: relative;
    padding: 20px 0;
}

#content #banner #cate_menu > ul:hover li:last-of-type {
    display: block;
}

#content #banner #cate_menu > ul > li {
    display: flex;
    align-items: center;
    height: 40px;
    padding: 0 30px;
    font-size: 14px;
}

#content #banner #cate_menu > ul > li:last-of-type {
    display: none;
    padding: 0;
    width: 800px;
    height: 461px;
    z-index: 2;
    position: absolute;
    left: 100%;
    top: 0;
}

#content #banner #cate_menu > ul > li:hover {
    background-color: #40a944;
}

#content #banner #cate_menu > ul > li a {
    color: #fff;
    margin-left: 10px;
}

#content #banner #cate_menu > ul > li .pop {
    box-shadow: 2px 3px 5px #ccc;
    width: 800px;
    height: 461px;
    background-color: #fff;
    padding: 20px 0 0 20px;
    font-size: 12px;
    box-sizing: border-box;
}

#content #banner #cate_menu > ul > li .pop > li {
    margin-bottom: 10px;
    white-space: nowrap;
}

#content #banner #cate_menu > ul > li .pop > li .title {
    float: left;
    width: 70px;
    height: 20px;
    line-height: 20px;
    font-weight: bold;
}

#content #banner #cate_menu > ul > li .pop > li .title .iconfont {
    font-size: 12px;
}

#content #banner #cate_menu > ul > li .pop > li .list {
    float: left;
    max-width: 700px;
}

#content #banner #cate_menu > ul > li .pop > li .list li {
    float: left;
    margin-top: 2px;
    margin-bottom: 5px;
}

#content #banner #cate_menu > ul > li .pop > li .list li a {
    display: block;
    height: 16px;
    margin-left: 0;
    line-height: 16px;
    white-space: nowrap;
    padding: 0 10px;
    text-align: center;
    color: #666;
    border-left: 1px solid #e0e0e0;
}

#content #banner #cate_menu > ul > li .pop > li .list li a:hover {
    color: #40a944;
}

#content #banner .swiper-container {
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}
.swiper-button-next, .swiper-button-prev {
    display: none;
}
.swiper-pagination-bullet-active {
    background: #40a944 !important;
}
#content #banner .swiper-container .swiper-wrapper .swiper-slide img {
    width: 100%;
    height: 100%;
}

#content #sub_banner {
    width: 100%;
    margin-top: 15px;
    background-color: #f4f6e9;
}
#content #sub_banner .banner-wrap {
    margin: auto;
    width: 1306px;
    display: flex;
    flex-shrink: 0;
    justify-content: space-between;
    height: 295px;
    padding: 100px 40px 40px 40px;
}

#content #sub_banner .selector {
    width: 234px;
    height: 100%;
}

#content #sub_banner .selector .sidebar {
    float: left;
    display: block;
    width: 78px;
    height: 85px;
}

#content #sub_banner .selector .sidebar img {
    opacity: 0.8;
}

#content #sub_banner .selector .sidebar img:hover {
    opacity: 1;
}

#content #sub_banner .hot-image {
    width: calc(1186px / 5);
    height: calc(1186px / 5);
}

.banner_thumb {
    position: relative;
    transition: .3s;
}
.banner_thumb:hover::before {
    left: 0;
    right: 0;
    opacity: 0;
    transition: all 900ms linear;
}
.banner_thumb:hover::after {
    top: 0;
    bottom: 0;
    opacity: 0;
    transition: all 900ms linear;
}
.banner_thumb::before {
    background: rgba(255, 255, 255, 0.3);
    bottom: 0;
    content: "";
    left: 50%;
    position: absolute;
    right: 51%;
    top: 0;
    opacity: 1;
    pointer-events: none;
}
.banner_thumb::after {
    background: rgba(255, 255, 255, 0.6);
    bottom: 50%;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 50%;
    opacity: 1;
    pointer-events: none;
}

#content #sub_banner .hot-image a {
    display: block;
    width: 100%;
    height: 100%;
}

#content #sub_banner .hot-image a img {
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

#content #sub_banner .hot-image a img:hover {
    opacity: 1;
}

#content #flash {
    width: 1226px;
    flex-shrink: 0;
    margin-top: 20px;
}

#content #flash > h2 {
    text-align: center;
    height: 58px;
    line-height: 58px;
    color: #0c5460;
    font-family: worksans , sans-serif;
}

#content #flash > h2 >img{
    width: 26px;
    height: 26px;
    display: inline-block;
    vertical-align: -4px;
}

#content #flash ul {
    display: flex;
    justify-content: space-between;
}

#content #flash ul li {
    width: 234px;
    height: 352px;
    border-radius: 3px;
    background-color: #40a944c2;
}

#content #flash ul li:hover {
    box-shadow: 5px 5px 10px #40a9440f;
}
#content #flash ul li .name {
  padding: 0 32px;
    color: #fff;
}

#content #flash ul li a {
    display: block;
    font-size: 14px;
    text-align: center;
    color: #fff;
}

#content #flash ul li a img {
    width: 160px;
    height: 160px;
    margin: 37px;
}

#content #flash ul li a .discount {
    font-size: 15px;
    margin: 15px 0;
    color: #fff;
}

#content #flash ul li a .item_price {
    font-size: 15px;
    margin: 15px 0;
    color: #fff;
}

#content #flash .time {
    background-color: #f1eded;
}

#content #flash .time .name {
    margin-top: 53px;
    font-size: 21px;
    color: #ef3a3b;
}

#content #flash .time img {
    width: 34px;
    height: 53px;
}

#content #flash .time .text {
    font-size: 15px;
    color: rgba(0, 0, 0, 0.54);
}

#content #flash .time .flashTime {
    margin: 28px 33px 0;
    color: #fff;
    font-size: 24px;
    line-height: 46px;
    display: flex;
    justify-content: center;
}

#content #flash .time .flashTime .box {
    width: 46px;
    height: 46px;
    background-color: #605751;
}

#content #flash .time .flashTime .dosh {
    height: 46px;
    font-size: 28px;
    color: #605751;
}

#content #recommend {
    width: 1226px;
    position: relative;
    flex-shrink: 0;
    margin-top: 20px;
    margin-bottom: 24px;
}

#content #recommend > h2 {
    margin: 10px 0;
    text-align: center;
    height: 58px;
    line-height: 58px;
    color: #0c5460;
    font-family: worksans , sans-serif;
}

#content #recommend > h2 >img{
    width: 26px;
    height: 26px;
    display: inline-block;
    vertical-align: -4px;
}


#content #recommend .more {
    position: absolute;
    top: 18px;
    right: 30px;
}

#content #recommend .more:hover {
    color: #40a944;
}

#content #recommend ul {
    display: flex;
    justify-content: space-between;
    align-content: space-between;
    flex-wrap: wrap;
}

#content #recommend ul li {
    width: 234px;
    height: 280px;
    border-radius: 10px;
    background-color: #fca50e21;
    margin-bottom: 20px;
    margin-left: 4px;
    margin-right: 6px;
}

#content #recommend ul li .name {
   padding: 0 12px;
}

#content #recommend ul li:hover {
    box-shadow: 5px 5px 10px #40a9440f;
}
#content #recommend ul li:nth-child(1) .hot-image,
#content #recommend ul li:nth-child(6) .hot-image {
    width: 100%;
    height: 100%;
    margin: 0;
}

#content #recommend ul li:hover .comment {
    transform: translateY(0);
}

#content #recommend ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    text-align: center;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

#content #recommend ul li a .info {
    display: none;
    width: 104px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    color: #fff;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    font-size: 12px;
}

#content #recommend ul li a .new {
    background-color: #83c44e;
}

#content #recommend ul li a .discount {
    background-color: #fca50e;
}

#content #recommend ul li a > p {
    line-height: 24px;
    font-size: 14px;
}

#content #recommend ul li a .item_price {
    color: #40a944;
}

#content #recommend ul li a .counter {
    height: 15px;
    line-height: 15px;
    color: #aaa;
    font-size: 12px;
}

#content #recommend ul li a img {
    width: 160px;
    height: 160px;
    margin: 30px 0 20px;
    border-radius: 4px;
}

#content #recommend ul li a .comment {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateY(101%);
    transition: transform 0.4s;
    box-sizing: border-box;
    height: 70px;
    padding: 10px 0 0 30px;
    background-color: #40a944;
    color: #fff;
    text-align: left;
}

#content #recommend ul li a .comment p {
    font-size: 12px;
    margin-top: 5px;
}