
.product{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 34px 0 60px;
    background: #f5f5f5;
    overflow: hidden;
}

.product-inner{
    position: relative;
}
.product-inner .row{
    margin-right: -15px;
    margin-left: -15px;
    width: unset;
}
.product-inner-left{

}
.product-img{
    display: flex;
    margin-bottom: 40px;
    height: fit-content;
    position: relative;
}
.product-img-thumbs{
    height: 100%;
    overflow: hidden;
    width: 80px;
    position: absolute;
}
.product-img-thumbs .swiper-wrapper{
    flex-direction: column;
}
.product-img-thumbs .swiper-slide{
    width: 80px !important;
    height: 80px !important;
}
.product-img-thumbs img{
    width: 100%;
    height: 100%;
    border-radius: 8px;
    border: 2px solid transparent;
    object-fit: contain;
}
.product-img-gallery img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.product-img-thumbs .swiper-slide-thumb-active img{
    border: 2px solid #E21818;
}
.product-img-gallery .p-swiper-btn{
    position: absolute;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #FFFFFF;

    font-size: 14px;
    cursor: pointer;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: #fff;
    z-index: 2;
    transition: all .3s;
}
.product-img-gallery .p-swiper-btn:hover{

    background: #fff;
    color: #E21818;
}
.product-img-gallery .p-swiper-btn.icon-fanye-zuojian{
    left: 20px;
}
.product-img-gallery .p-swiper-btn.icon-fanye-youjian{
    right: 20px;
}
.product-img-gallery {
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    border-radius: 14px;
    overflow: hidden;
    margin-left: 110px;
    position: relative;
}
.product-gallery-item{
    position: relative;
    width: 100%;
    height: 100%;
}
.product-gallery-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #fff;
}
.product-img-gallery .save,.product-img-gallery .share{
    position: absolute;
    width: 46px;
    height: 46px;
    background: rgba(0,0,0,0.14);
    border-radius: 32px 32px 32px 32px;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    text-align: center;
    line-height: 49px;
    bottom: 24px;
    z-index: 2;
}
.product-img-gallery .save .iconfont{
    font-size: 22px;
}
.save:hover em::before{
    content: "\e8f5";
}

.product-img-gallery .save{
    right: 87px;
}
.product-img-gallery .share{
    right: 29px;
}
.product-inner-right{
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.1);
    border-radius: 14px 14px 14px 14px;
    padding: 24px;
    background: #fff;
    z-index: 3;
}
.product-inner .p-name{
    font-weight: bold;
    font-size: 26px;
    color: #333333;
    line-height: 26px;
    margin-bottom: 20px;
    display: flex;
}
.product-inner .p-option{
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.product-inner .p-option .iconfont{
    color: #666666;
    font-size: 18px;
    cursor: pointer;
}
.product-inner .p-option .iconfont:hover{
    color: var(--color-primary);
}
.product-inner .p-option .l{
    margin: 0 12px;
    height: 18px;
    background: #D9D9D9;
    width: 1px;
}
.product-inner .p-tag{
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.product-inner .p-tag div{
    background: #F5F5F5;
    border-radius: 4px 4px 4px 4px;
    padding: 4px 6px;
    font-size: 14px;
    color: #333333;
    line-height: 22px;
    margin-bottom: 20px;
    margin-right: 10px;
}
.product-inner .p-tag div span{
    margin-left: 10px;
    cursor: pointer;
}
.product-inner .p-info{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 22px;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #EEEEEE;
}
.no-border{
    border: none;
}
.product-inner .p-info .t1{
    font-size: 16px;
    color: #666666;
    line-height: 16px;
}
.product-inner .p-info .t2{
    font-weight: 500;
    font-size: 20px;
    color: #333333;
    line-height: 23px;
}
.product-inner .p-info .info-num{
    display: flex;
    align-items: center;
}
.product-inner .p-info .info-num .iconfont{
    width: 40px;
    height: 40px;
    border-radius: 3px 3px 3px 3px;
    border: 1px solid #DCDCDC;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.90);
    font-size: 14px;
}
.product-inner .p-info .info-num input{
    width: 80px;
    height: 40px;
    border-radius: 3px 3px 3px 3px;
    border: 1px solid #DCDCDC;
    margin: 0 4px;
    color: rgba(51, 51, 51, 1);
    font-size: 18px;
    outline: none;
    text-align: center;
}
.product-inner .p-info .info-num .text{
    font-size: 16px;
    color: #999999;
    margin-left: 12px;
}
.p-info-list .product-inner:last-child{
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}
.product-inner .p-btn{
    margin: 24px 0 30px;
}
.product-inner .p-btn div{
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    height: 50px;
    transition: all .3s;
    width: 100%;
    margin-bottom: 10px;
    border-radius: 6px 6px 6px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-inner .p-btn div i{
    font-size: 22px;
    margin-right: 10px;
}
.product-inner .p-btn .btn-r{
    background: #E21818;
    color: #fff;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 10px;
}
.product-inner .p-btn .btn-r i{
    color: #fff;
}
.product-inner .p-btn .btn-o{
    color: #E21818;
    border: 1px solid #E21818;
}
.product-inner .p-btn .btn-o i{
    color: #E21818;
}
.product-inner .p-btn div:hover{
    background: rgba(226, 24, 24, 0.5);
    color: #fff;
}
.shop-card{
    background: #F5F5F5;
    border-radius: 14px 14px 14px 14px;
    padding: 24px;
}
.shop-card-top{
    display: flex;
    padding-bottom: 20px;
    border-bottom: 1px solid #DDDDDD;
    margin-bottom: 20px;
}
.shop-card-top .logo{
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin-right: 10px;
    flex-shrink: 0;
    border-radius: 50%;
    background-size: auto 80%;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #fff;
}
.shop-card-info .name{
    font-size: 18px;
    color: #333333;
    line-height: 25px;
    font-weight: bold;
    margin-bottom: 6px;
}
.shop-card-info img{
    width: 34px;
    margin-right: 10px;
    object-fit: contain;
}
.shop-card-info .exhi{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.shop-card-info .exhi img{
    width: 19px;
    height: 19px;
    background: #F5F5F5;
    border-radius: 5px 5px 5px 5px;
    border: 1px solid #BBBBBB;
    margin-right: 12px;
    object-fit: contain;
    margin-bottom: 12px;
}
.shop-card-info .exhi div{
    font-size: 14px;
    color: #333333;
    line-height: 19px;
    margin-bottom: 12px;
}
.shop-card-info .addr{
    font-size: 16px;
    color: #999;
    line-height: 16px;
    margin-right: 12px;
    margin-bottom: 6px;
}
.shop-card-info .addr .iconfont{
    color: #E21818;
    margin-right: 6px;
    font-size: 14px;
}
.shop-card-info .tags{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.shop-card-info .tags div{
    margin-right: 8px;
    background: #FFFFFF;
    border-radius: 4px 4px 4px 4px;
    padding: 4px 8px;
    font-size: 14px;
    color: #666666;
    line-height: 20px;
    margin-bottom: 6px;
}
.shop-card .btn{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 43px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all .3s;
    border: 1px solid #333333;
}
.card-btm-btn{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-gap: 0 20px;
}
.shop-card .btn i{
    font-size: 22px;
    margin-right: 10px;
    font-weight: bold;
}
.shop-card .btn:hover{
    transform: scale(1.02);
}
.shop-card .btn1{
    color: #333333;
}
.shop-card .btn1 .el-iconfont{
    color: #333333;
}
.shop-card .btn2{
    background: #333333;
    color: #fff;
}
.shop-card .btn2 .el-iconfont{
    color: #FFFFFF;
}

.product-attr-luck{
    height: 506px;
    position: relative;
    border-radius: 14px 14px 14px 14px;
    overflow: hidden;
    border: 1px dashed #BBBBBB;
    padding: 0 20px;
    margin-top: 25px;
    margin-bottom: 25px;
}
.luck-box{
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EEEEEE;
    background: rgba(245,245,245,0.5);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(4px);
    z-index: 2;
}
.luck-box-center{
    margin: 0 30px;
    max-width: 378px;
    width: 100%;
    padding: 24px;
    background: #FFFFFF;
    box-shadow: 0px 0px 40px 0px rgba(0,0,0,0.15);
    border-radius: 14px 14px 14px 14px;
    text-align: center;
}
.luck-box-center .img{
    width: 62px;
    object-fit: contain;
    margin-bottom: 20px;
}
.luck-box-center .name{
    font-weight: 500;
    font-size: 18px;
    color: #333333;
    line-height: 21px;
    margin-bottom: 20px;
}
.luck-box-center .text{
    font-size: 14px;
    color: #666666;
    line-height: 16px;
    margin-bottom: 20px;
}
.luck-box-center .btn{
    text-align: center;
    cursor: pointer;
    height: 42px;
    background: #E21818;
    border-radius: 30px 30px 30px 30px;
    line-height: 42px;
    font-weight: bold;
    font-size: 16px;
    color: #FFFFFF;
    width: 100%;
}
.product-attr-info{
    margin: 39px 0;
    font-weight: 500;
    font-size: 32px;
    color: #333333;
    line-height: 38px;
}
.p-line{
    height: 1px;
    background: #EEEEEE;
    margin-top: 40px;
}
.product-desc-box{
    background: #FFFFFF;
    border-radius: 14px 14px 14px 14px;
    padding: 20px;
}
.product-desc-box .menu{
    display: flex;
    border-bottom: 1px solid #EEEEEE;
}
.product-desc-box .menu div{
    margin-right: 44px;
    padding-bottom: 19px;
    border-bottom: 2px solid transparent;
    font-size: 16px;
    color: #333333;
    font-weight: 500;
    cursor: pointer;
}
.product-desc-box .menu .on{
    color: #E21818;
    border-color: #E21818;
}
.product-desc-box-title{
    padding: 0 0 20px;
    font-size: 18px;
    color: #333333;
    line-height: 25px;
    font-weight: bold;
}
.menu-content{
    padding: 20px 0;
}
.menu-content.slide2{
    display: grid;
    grid-gap: 30px;
    grid-template-columns: repeat(2,1fr);
}
.product-desc-box-cont{
    font-size: 16px;
    color: #666666;
    line-height: 22px;
}
.product-desc-box-cont *{
    max-width: 100%;
}
.like-product-line{
    background: #FFFFFF;
    border-radius: 14px 14px 14px 14px;
    padding: 20px;
    margin-top: 40px;
}
.like-product-line .name{
    font-size: 24px;
    color: #333333;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 34px;
}
.product-item{

}
.product-line .row{
    margin: -10px;
}
.product-col{
    padding: 10px;
}

.product-item .main-img{
    aspect-ratio: 1;
    width: 100%;
    position: relative;
}
.product-item .main-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-item .main-img .tags{
    display: flex;
    position: absolute;
    left: 14px;
    top: 14px;
    flex-wrap: wrap;
}
.product-item .main-img .tags div{
    background: #F5F5F5;
    padding: 4px 8px;
    font-size: 14px;
    color: #333333;
    height: fit-content;
    line-height: 20px;
}
.product-item .info{
    padding-top: 10px;
}
.product-item .info .name{
    font-size: 18px;
    color: #333333;
    line-height: 25px;
    font-weight: bold;
    height: 25px;
}
.product-item .info .price{
    font-size: 20px;
    color: #333333;
    font-weight: bold;
}
.product-item .info .ask-btn{
    background: #F5F5F5;
    border-radius: 30px 30px 30px 30px;
    padding: 9px 18px;
    font-size: 16px;
    color: #E21818;
    line-height: 22px;
    cursor: pointer;
    transition: all .3s;
}
.product-item .info .ask-btn:hover{
    background: #E21818;
    color: #fff;
}






@media (max-width: 992px) {

    .product-inner .p-name{
        margin-top: 30px;
    }
    .product-desc-box{
        margin-bottom: 20px;
    }
}
@media (max-width: 560px){
    .masks{
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: rgba(18, 18, 18, 0.8);
        z-index: 900;
        align-items: center;
        justify-content: center;
        display: none;
    }
    .product-img{
        flex-direction: column-reverse;
    }
    .media-line div{
        display: none;}
    .product-img-thumbs{
        margin-right: 0;
        height: unset;
        width: calc(100% - 30px);
    }
    .product-img-gallery{
        margin-left: 0;
        margin-bottom: 100px;
    }
    .product-img-thumbs .swiper-wrapper{
        flex-direction: unset;
    }
}


