body {
    padding-top: 0.6rem;
    padding-bottom: calc(0.92rem + constant(safe-area-inset-bottom));
    padding-bottom: calc(0.92rem + env(safe-area-inset-bottom));
}

.product_banner {
    position: relative;
    padding-bottom: 100%;
}

.product_banner img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product_presell::before {
    content: '预售中';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 1rem;
    height: 1rem;
    background: #B10005;
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.24rem;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
}

.product_presell::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.56);
    border-radius: 0.08rem;
}

.product_none::before {
    content: '已售罄';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 1rem;
    height: 1rem;
    background: #8d8d8d;
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.24rem;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
}

.product_none::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.56);
    border-radius: 0.08rem;
}

.product_cont {
    background-color: #fff;
    padding: 0.25rem 0.2rem;
    box-sizing: border-box;
    border-bottom: 0.11rem solid #f3f3f3;
}

.product_num {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.12rem;
}

.product_num .unit {
    font-weight: bold;
    font-size: 0.2rem;
    margin-right: 0.02rem;
    color: #B10005;
}

.product_num .price {
    font-weight: bold;
    font-size: 0.33rem;
    color: #B10005;
}

.product_name {
    font-weight: bold;
    font-size: 0.24rem;
    color: #000000;
    line-height: 0.32rem;
}

.product_tip {
    font-size: 0.16rem;
    color: #B7B7B7;
    line-height: 0.2rem;
    margin-top: 0.13rem;
}

.product_introduce img {
    display: block;
}


.product_bottom {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 100%;
    max-width: 500px;
    background-color: #fff;
    padding: 0.18rem 0.2rem;
    padding-bottom: calc(0.18rem + constant(safe-area-inset-bottom));
    padding-bottom: calc(0.18rem + env(safe-area-inset-bottom));
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product_buy {
    width: 2.15rem;
    height: 0.56rem;
    margin: 0 auto;
    background: #B10005;
    border-radius: 0.1rem;
    font-weight: bold;
    font-size: 0.2rem;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product_buy:hover {
    background-color: #841a20;
}

.product_buy_no {
    background-color: #8d8d8d;
    color: #fff;
}

.product_buy_no:hover {
    background-color: #8d8d8d;
}

.user_address {
    margin-top: 0.08rem;
    background-color: #fff;
    padding: 0.15rem 0.26rem;
    display: flex;
    align-items: center;
}

.user_address_l {
    flex: 1;
    display: flex;
}

.user_address_l img {
    display: block;
    width: 0.21rem;
    height: 0.27rem;
    margin-right: 0.07rem;
}

.user_address_l_cont {
    flex: 1;
}

.address_text {
    font-weight: bold;
    font-size: 0.2rem;
    color: #000000;
    line-height: 0.27rem;
    margin-bottom: 0.15rem;
}

.user_text {
    font-size: 0.17rem;
    color: #999999;
}

.user_address_r {
    width: 0.06rem;
    height: 0.11rem;
    background: url(../image/right.png) no-repeat;
    background-size: 100% auto;
    margin-left: 0.08rem;
}

.product_box {
    position: relative;
    padding: 0.27rem;
    background-color: #fff;
    margin-top: 0.08rem;
    display: flex;
    align-items: center;
}

.product_box img {
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 0.06rem;
    margin-right: 0.25rem;
}

.product_box_cont {
    flex: 1;
}
.product_box_cont_top {
    display: flex;
    align-items: center;
}
.product_bottom_tip {
    font-size: 0.17rem;
    color: #999999;
    margin-top: 0.14rem;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.product_box_title {
    flex: 1;
    margin-right: 0.25rem;
    font-size: 0.2rem;
    color: #000000;
    font-weight: bold;
    line-height: 0.26rem;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.product_box_num {
    font-weight: bold;
    font-size: 0.2rem;
    color: #000000;
    white-space: nowrap;
}

.product_number_btn {
    position: absolute;
    right: 0.25rem;
    bottom: 0.25rem;
    background-color: #f3f4f8;
    border-radius: 0.06rem;
    font-size: 0.16rem;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.product_number_btn .cont_num {
    padding: 0 0.12rem;
    line-height: 0.29rem;
    border-left: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
}

.product_number_btn .btn {
    width: 0.29rem;
    height: 0.29rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product_buy_btn {
    padding: 0 0.37rem;
    height: 0.56rem;
    margin: 0 auto;
    background: #B10005;
    border-radius: 0.1rem;
    font-weight: bold;
    font-size: 0.2rem;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product_buy_btn:hover {
    background-color: #841a20;
}

.product_buy_no {
    background-color: #8d8d8d !important;
}

.row_item {
    height: 0.65rem;
    padding: 0 0.27rem;
    margin-bottom: 0.11rem;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.row_item_label {
    font-size: 0.17rem;
    color: #000000;
}

.row_item .product_number_btn {
    position: static;
}

.row_item_r {
    display: flex;
    align-items: center;
}

.row_item_r span {
    font-weight: bold;
    font-size: 0.2rem;
    color: #000000;
    line-height: 0.22rem;
}

.pay_type_cont {
    padding: 0.25rem 0.27rem;
    padding-bottom: 0.1rem;
    background-color: #fff;
    box-sizing: border-box;
}

.pay_type_title {
    margin-bottom: 0.1rem;
    font-size: 0.17rem;
    color: #000000;
}

.pay_type_item {
    height: 0.53rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #E3E3E3;
}

.pay_type_item:last-child {
    border: none;
}

.pay_type_item .item_left {
    flex: 1;
    display: flex;
    align-items: center;
}

.pay_type_item .item_left img {
    width: 0.29rem;
    height: 0.26rem;
    object-fit: cover;
    margin-right: 0.1rem;
}

.pay_type_item .item_left .name {
    font-size: 0.17rem;
    color: #000000;
}

.pay_type_item .icons {
    width: 0.19rem;
    height: 0.19rem;
    border-radius: 50%;
    border: 1px solid #999999;
    box-sizing: border-box;
}

.pay_type_item .icons_show {
    border: none;
    background: url(/image/index/pay_change.png) no-repeat;
    background-size: 100% 100%;
}

.submit_cont {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.submit_cont .pay_text {
    font-size: 0.17rem;
    color: #000000;
}

.submit_cont .pay_text .num {
    font-weight: bold;
    font-size: 0.24rem;
    color: #B10005;
}

.submit_pay_btn {
    width: 1.29rem;
    height: 0.46rem;
    background: #B10005;
    font-weight: bold;
    border-radius: 0.1rem;
    font-size: 0.19rem;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.submit_pay_btn:hover {
    background-color: #841a20;
}

/* 规格蒙层 */
.popup_box {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.56);
    z-index: 99;
    display: none;
}

.popup_box .popup_box_cont {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    max-width: 500px;
    background-color: #fff;
    z-index: 0;
    animation-name: tipFade;
    animation-duration: 0.4s;
    transition: all .4s;
}

@keyframes tipFade {
    from {
        opacity: 0;
        transform: translateY(100%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.popup_box_cont {
    padding: 0.2rem;
    box-sizing: border-box;
    border-radius: 0.2rem 0.2rem 0px 0px;
}

.commodity_cont {
    display: flex;
    align-items: flex-end;
    margin-bottom: 0.2rem;
}

.commodity_cont .commodity_img {
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 0.1rem;
    background-color: #ece9e4;
    overflow: hidden;
    object-fit: cover;
    margin-right: 0.17rem;
    flex-shrink: 0;
}

.commodity_body {
    position: relative;
    padding-bottom: 0.4rem;
    flex: 1;
    box-sizing: border-box;
}

.commodity_body .name {
    padding-right: 0.3rem;
    font-weight: bold;
    font-size: 0.24rem;
    color: #000000;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    box-sizing: border-box;
}

.commodity_body .num {
    margin-top: 0.1rem;
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 0.33rem;
    color: #B10005;
}

.commodity_body .num span {
    font-weight: normal;
    font-size: 0.2rem;
    color: #B10005;
}

.commodity_body .product_number_btn {
    position: absolute;
    left: 0;
    bottom: 0;
    right: auto;
}

.commodity_body .product_number_btn .cont_num {
    line-height: 0.35rem;
    padding: 0 0.16rem;
}

.commodity_body .product_number_btn .btn {
    width: 0.35rem;
    height: 0.35rem;
}

.popup_close {
    position: absolute;
    top: 0.15rem;
    right: 0.15rem;
    font-size: 0.3rem;
    color: #bfbfbf;
    cursor: pointer;
}

.popup_bottom_scroll {
    height: 50vh;
    min-height: 250px;
    overflow-y: scroll;
    margin-bottom: 0.2rem;
}

.popup_bottom_scroll::-webkit-scrollbar {
    display: none;
}

.specification_title {
    margin-bottom: 0.2rem;
    font-weight: bold;
    font-size: 0.2rem;
    color: #000000;
}

.specification_product_list {
    display: grid;
    grid-column-gap: 0.17rem;
    grid-row-gap: 0.17rem;
    grid-template-columns: 1fr 1fr 1fr;
    text-align: center;
    margin-bottom: 0.2rem;
}

.specification_product_item {
    border: 0.01rem solid transparent;
    border-radius: 0.07rem;
    overflow: hidden;
}

.specification_product_show {
    border: 0.01rem solid #B10005;
}

.specification_product_show .specification_product_name {
    color: #B10005;
    background-color: #FFE4E4;
}

.specification_product_item_img {
    height: 1.4rem;
}

.specification_product_item_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.specification_product_name {
    padding: 0 0.14rem;
    background-color: #F2F6F9;
    font-size: 0.2rem;
    color: #000000;
    line-height: 0.44rem;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    box-sizing: border-box;
}

.specification_tag_list {
    display: grid;
    grid-column-gap: 0.17rem;
    grid-row-gap: 0.17rem;
    grid-template-columns: 1fr 1fr 1fr;
    text-align: center;
    margin-bottom: 0.2rem;
}

.specification_tag_list .tag_item {
    height: 0.43rem;
    background: #F2F6F9;
    border: 0.01rem solid #F2F6F9;
    border-radius: 0.1rem;
    font-size: 0.19rem;
    color: #000000;
    line-height: 0.43rem;
    box-sizing: border-box;
    padding: 0 0.14rem;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.specification_tag_list .tag_item_show {
    border: 0.01rem solid #B10005;
    color: #B10005;
    background: #FFE4E4;
}

.specification_row_list {
    background-color: #F2F6F9;
    border: 0.01rem solid #F2F6F9;
    border-radius: 0.07rem;
    font-size: 0.2rem;
    color: #000000;
    line-height: 0.44rem;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    box-sizing: border-box;
    margin-bottom: 0.17rem;
}
.specification_row_list_div {
    padding: 0 0.14rem;
    box-sizing: border-box;
}
.specification_row_list:first-child {
    margin-top: 0.15rem;
}
.specification_row_list_show {
    color: #B10005;
    background-color: #FFE4E4;
    border: 0.01rem solid #B10005;
}
.tab_body {
    padding: 0.11rem;
    margin-top: 0.08rem;
    background-color: #ffffff;
}

.tab_list {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tab_list .tab_item {
    position: relative;
    width: 49%;
    height: 0.46rem;
    /*background-color: #f3f3f3;*/
    border-radius: 0.23rem;
    font-size: 0.19rem;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.tab_list .tab_item_show {
    background: transparent;
    color: #ffffff;
}
.tab_list .tab_item_bg {
    position: absolute;
    top: 0;
    left: 0;
    /*left: calc(51% + 0.11rem);*/
    width: 49%;
    height: 0.46rem;
    background-color: #B10005;
    border-radius: 0.23rem;
    z-index: 1;
    transition: all 0.3s;
}

.tab_list .tab_xian {
    width: 1px;
    height: 0.46rem;
    background-color: #f3f3f3;
}

