/* 
 * 首页布局覆盖
 */
.body-content-formal-container {
    flex-grow: 1;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    background-color: #fff;
}

/* 
 * 全局部分样式
 */
.am-theme-header.am-topbar.am-nav-absolute {
    background: transparent;
    box-shadow: none;
}

.am-home-content {
    background-color: #fff;
}

/* 
 * 轮播
*/
.am-swiper-container {
    width: 100%;
    height: 92rem;
    overflow: hidden;
    position: relative;
}

.am-swiper-container .swiper-slide img {
    width: 100%;
    height: auto;
    min-height: 100%;
}

.swiper-button-next,
.swiper-button-prev {
    width: 2.9rem;
    height: 11.6rem;
    transition: all 0.5s ease-in-out;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(91, 101, 112, 0.41);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.7rem;
    color: #fff;
}

.swiper-button-prev {
    left: 2rem;
}

.swiper-button-next {
    right: 2rem;
}

/* 
 * 本期新品
*/
.new-product {
    padding-top: 3.8rem;
}

.new-product li {
    padding: 0.6rem;
}

.new-product li .item .img {
    display: flex;
    background: radial-gradient(0% 50% at 50% 50%, #FFFFFF 0%, #F2F2F2 100%);
}

.new-product li .item .content {
    padding: 1.6rem 2.1rem;
}

.new-product li .item .content::before {
    content: '';
    position: absolute;
    top: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    border-width: 1rem;
    width: 0;
    height: 0;
    border: 1.6rem solid;
    border-color: transparent transparent #fff transparent;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.new-product li .item:hover .content::before {
    opacity: 1;
    top: -3.2rem;
}

/* 
 * 爆款
*/
.activity {
    display: block;
    max-width: 171.9rem;
    margin: 0 auto;
    padding-top: 3.8rem;
}


/* 
 * 精选
*/
.like {
    padding-top: 4.8rem;
}

@media only screen and (max-width: 1600px) {
    .like {
        gap: 1.7rem;
    }
}

@media only screen and (max-width: 1260px) {
    .like {
        gap: 1.4rem;
    }
}

@media only screen and (max-width: 820px) {
    .like {
        gap: 1rem;
    }
}

@media only screen and (max-width: 640px) {
    .like {
        gap: 0.8rem;
    }
}

/* 
 * 春季特惠-从新起航
*/
.preferential {
    padding-top: 6.6rem;
    padding-bottom: 2rem;
}


.preferential li {
    padding: 0.6rem;
}

.preferential li .item .img {
    display: flex;
    background: radial-gradient(0% 50% at 50% 50%, #FFFFFF 0%, #F2F2F2 100%);
}

.preferential li .item .content {
    background: rgba(0, 0, 0, 0.3);
    height: 5.2rem;
    line-height: 5.2rem;
    position: absolute;
    width: 100%;
    bottom: -5.2rem;
    transition: all 0.5s ease-in-out;
}

.preferential li .item:hover .content {
    bottom: 0rem;
}

.preferential li .item .content a {
    color: #fff;
    padding: 0 1rem;
}

@media only screen and (max-width: 640px) {
    .preferential li .item .content {
        height: 3.5rem;
        line-height: 3.5rem;
    }
}

/* 
 * 友情链接
*/
.link {
    padding-top: 7.9rem;
}

.link>div {
    background: #FAFAFA;
    padding: 3.4rem;
    overflow-x: auto;
}

/* 
 * 联系方式
*/
.contact {
    background: var(--color-main);
    padding: 4.3rem 0;
    color: #fff;
}

.contact li:last-of-type {
    margin-right: 0;
}

.contact img {
    width: 2.6rem;
}

.contact a span {
    display: block;
    color: #fff;
    font-size: 1.6rem;
    margin-left: 0.8rem;
}

@media only screen and (max-width: 640px) {

    .contact li:nth-child(1),
    .contact li:nth-child(2),
    .contact li:nth-child(3) {
        margin-bottom: 1rem;
    }

}

/* 
 * 常用样式
*/
.title {
    font-size: 3.6rem;
    color: var(--color-main);
    line-height: 5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.more a {
    display: inline-block;
    background: var(--color-main);
    border: 0.1rem solid var(--color-main);
    border-radius: 4px;
    color: #fff;
    padding: 0.6rem 1.8rem;
    transition: all 0.5s ease-in-out;
}

@media only screen and (min-width: 641px) {
    .more a:hover {
        background-color: #fff;
        color: var(--color-main);
    }
}

@media only screen and (max-width: 760px) {

    .swiper-button-next,
    .swiper-button-prev {
        height: 6rem;
    }

    .preferential,
    .like,
    .activity,
    .new-product {
        padding-top: 2rem;
    }

    .new-product li .item .content {
        padding: 1rem;
    }

    .link {
        padding-top: 2rem;
    }

    .link>div {
        padding: 2rem;
    }

    .contact {
        padding: 2.5rem;
    }

    .contact a,
    .contact i,
    .contact a,
    .contact .desc {
        font-size: 1.4rem;
    }

    .title {
        font-size: 2.4rem;
        margin-bottom: 1.5rem;
    }

    .more {
        margin-top: 1rem;
    }
}

@media only screen and (max-width: 640px) {

    .link>div,
    .contact {
        padding: 1rem;
    }

    .contact img {
        width: 1.8rem;
    }
}

.am-footer.am-footer-default {
    margin-top: 0 !important;
}