//css for PackageInfoCard
@import 'cbkfe-assets/dist/css/control.less';
.cbkfe-packageInfoCard-padding {
    padding-bottom: 3rem;
}

.cbkfe-packageInfoCard {
    background: #f5f5f5;
    .groupon-product-info {
        //不管有没有轮播图原有的margin-top: -0.5rem给清除掉
        margin-top: 0;
    }
    &--hasSwiper {
        // 有轮播图的时候顶部边距为0
        .groupon-product-info {
            padding-top: 0rem;
        }
    }
    .grouponTemp-experiencer-container {
        position: relative;
        overflow: hidden;
        padding-top: 1.25rem;
        background: #fff; // border-bottom: 0.5rem solid #F5F5F5;
        margin-top: 0.5rem;
        .experiencer-header-class {
            padding: 0 0.75rem;
            margin-bottom: 1rem;
        }
    }
    .cbkfe-packageInfoCard-scrollview {
        // padding-bottom: 3rem;
    }
    .grouponTemp-fitstore-container {
        position: relative;
        padding: 0 0.75rem 1rem;
        background: #fff; // border-bottom: 0.5rem solid #F5F5F5;
        margin-top: 0.5rem;
        overflow: hidden;
        .fitstore-header {
            margin-top: 1.25rem;
            margin-bottom: 1rem;
        }
    }
    .package-content .commonheader-container .cmh-title {
        font-size: 0.8rem;
    }
    .cbkfe-packageInfoCard-content {
        position: relative;
        z-index: 10; // border-radius:0.5rem 0.5rem 0rem 0rem;
        // transform: translateY(-0.5rem);
        overflow: hidden;
        &--showFooter {
            margin-bottom: 3rem;
        }
    }
    .cbkfe-content-blank {
        height: 0.5rem;
        width: 100%;
        background: #fff;
    }
    .cbkfe-packageInfoCard--topInfo {
        padding-top: 0;
        background-color: #fff;
    }
    .cbkfe-packageInfoCard-product {
        .packageInfo-product__brandName {
            position: relative;
            padding-left: 1.05rem;
            .font(0.85rem, #000, 1.05rem);
            .text-overflow();
            font-weight: 500;
            &::before {
                content: '';
                position: absolute;
                left: 0;
                top: 50%;
                transform: translateY(-50%);
                height: 0.8rem;
                width: 0.8rem;
                background: url(https://static.caibeike.com/i/a5f2168463fdc94c5f00e5918499a5f4-M7pKk6) no-repeat;
                background-size: 0.75rem 0.75rem;
                background-position: center center;
            }
        }
        .packageInfo-product__skuName {
            .font(0.7rem, #000, 0.9rem);
            font-weight: 500;
            margin-top: 0.25rem;
            .text-overflow();
        }
        .packageInfo-product__text {
            .font(0.6rem, #757575, 0.8rem);
            font-weight: 400;
            margin-top: 0.2rem;
        }
    }
    .packageInfo-product__appointBar {
        margin-top: 0.1rem;
        padding: 0 0.75rem;
        padding-bottom: 1.1rem;
    }
    .product-card-appoint--noAppoint {
        position: relative;
        display: flex;
        justify-content: flex-start;
        height: 2.6rem;
        background: rgba(255, 255, 255, 1);
        box-shadow: 0rem 0.2rem 0.6rem 0rem rgba(233, 233, 233, 1);
        border-radius: 0.2rem;
        padding: 0 0.5rem;
        padding-left: 2.1rem;
        .appoint--noAppoint-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
        }
        .appoint--noAppoint__subInfo {
            line-height: 0.7rem;
        }
        .appoint--noAppoint__img {
            position: absolute;
            left: 0.5rem;
            top: 50%;
            transform: translateY(-50%);
            width: 1.1rem;
            height: 1.1rem;
        }
        .appoint--noAppoint__title {
            font-size: 0.7rem;
            font-weight: 500;
            color: rgba(34, 190, 142, 1);
            line-height: 0.7rem;
        }
        .appoint--noAppoint__text {
            font-size: 0.6rem;
            font-weight: 400;
            color: rgba(68, 68, 68, 1);
            line-height: 0.8rem;
            margin-left: 0.5rem;
        }
    }
    .product-card-appoint--phone {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        height: 2.6rem; // margin-top: 0.75rem;
        background: rgba(255, 255, 255, 1);
        box-shadow: 0rem 0.2rem 0.6rem 0rem rgba(233, 233, 233, 1);
        border-radius: 0.2rem;
        border-radius: 0.2rem;
        padding: 0 0.5rem;
        padding-left: 2.1rem;
        .appoint--phone__img {
            position: absolute;
            left: 0.5rem;
            top: 50%;
            transform: translateY(-50%);
            width: 1.1rem;
            height: 1.1rem;
        }
        .appoint--phone__img__subInfo {
            line-height: 0.7rem;
        }
        .appoint--phone__title {
            font-size: 0.7rem;
            font-weight: 500;
            color: #000;
            line-height: 0.9rem;
        }
        .appoint--phone__text {
            font-size: 0.6rem;
            font-weight: 400;
            color: rgba(68, 68, 68, 1);
            line-height: 0.8rem;
            margin-left: 0.5rem;
        }
    }
    .product-card-validityDate {
        .font(0.6rem, #9d9d9d, 0.6rem);
        margin-top: 0.3rem;
    }
    .product-card-statusText {
        .font(0.6rem, #000, 0.8rem);
        align-self: center;
    } // 预约打卡
    .product-card-appoint {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        max-height: 2.6rem;
        box-sizing: border-box;
        padding: 0.55rem 0.5rem;
        box-shadow: 0rem 0.2rem 0.6rem 0rem rgba(233, 233, 233, 1);
        border-radius: 0.2rem; // margin-top: 0.75rem;
        // background: gray;
        .product-card-icon {
            width: 1.1rem;
            margin-right: 0.4rem;
        }
        .product-card-info {
            flex: 1;
            .text-overflow();
        }
        .product-card-appointDate {
            line-height: 1;
            .card-appointDate-title {
                .font(0.7rem, #000, 0.7rem);
                font-weight: 500;
            }
            .card-appointDate-value {
                .font(0.6rem, #444, 0.6rem);
                font-weight: 400;
                margin-left: 0.3rem;
            }
        }
        .card-appointDate-fullText {
            .font(0.6rem, #000, 0.8rem);
        }
        .product-card-appoint__title {
            position: relative;
            font-size: 0.7rem;
            line-height: 1;
            font-weight: 500;
            color: rgba(255, 153, 51, 1);
            margin-left: 0.33rem;
            padding-left: 0.9rem;
            transform: translateY(1px); // background: red;
            &:before {
                content: '';
                position: absolute;
                left: 0;
                top: -1px;
                background: url('https://static.caibeike.com/i/eb8d451688bb37923a8f46e1060dc4ec-81NsTn') no-repeat;
                background-size: 100%;
                width: 0.65rem;
                height: 0.65rem;
            }
        }
        .product-card-appoint__date {
            font-size: 0.6rem;
            font-weight: 400;
            color: rgba(255, 153, 51, 1);
            line-height: 1;
            transform: translateY(1px); // background: yellowgreen;
        }
        .product-card-appoint__rightText {
            font-size: 0.6rem;
            font-weight: 400;
            color: #000;
            line-height: 0.8rem;
        }
        .product-card-appoint__arrowText {
            flex-shrink: 0;
            font-size: 0.5rem;
            font-weight: 400;
            color: rgba(68, 68, 68, 1);
            .product-card-appoint__arrow {
                &:before {
                    content: '\e615';
                    padding-left: 0.4rem;
                }
            }
        }
    }
    .product-card-appoint--date {
        justify-content: space-between;
    }
    .cbkfe-packageInfoCard--content {
        margin-top: 0.5rem;
        padding: 0.75rem;
        background-color: #fff;
    }
    .productInfo-card-context {
        margin-top: 0.5rem;
        padding: 1rem 0.75rem;
        background: #fff;
        .card-context-header {
            padding-top: 0.25rem;
            padding-bottom: 1rem;
        }
    }
    .packageInfo-card-back {
        background: url('https://static.caibeike.com/i/94152401cf5ee3f51c771822353262fa-H1WLrq-bbACwgOihp1') no-repeat;
        background-size: 100%;
        width: 100%;
        padding-top: 4.9rem;
        padding-bottom: 0.5rem;
        margin-top: -2px;
        &--wechat {
            padding-top: 1.5rem;
        }
        .packageInfo-card-detail {
            margin: auto;
            background: url('https://static.caibeike.com/i/b946c554e66817b439c70b003eb21940-Ocaj07-bMfCweMChp1') no-repeat;
            background-size: 100%;
            width: 17.25rem;
            padding: 0.7rem 0.75rem 0.75rem;
        }
        .packageInfo-card-name {
            .font(1rem,
            #fff,
            1rem);
            .text-overflow();
            font-weight: 500;
        }
        .packageInfo-card-subInfo {
            display: flex;
            align-items: center;
            margin-top: 0.48rem;
        }
        .packageInfo-card-subTitle {
            .font(0.65rem,
            #fff,
            0.65rem);
            font-weight: 400;
            margin-right: 0.3rem;
        }
        .packageInfo-card-label {
            .cbkfe-label--normal {
                background: transparent;
                color: #fff;
                .cbkfe-label-text {
                    font-size: 0.55rem;
                }
                &::before {
                    background: transparent;
                    border-color: #fff;
                    border-radius: 1rem;
                    border-bottom-left-radius: 0;
                }
            }
        }
        .packageInfo-card-price {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 0.75rem;
        }
        .packageInfo-card-detailbtn {
            width: 3.85rem;
            height: 1.2rem;
            .font(0.6rem,
            #ff9933,
            1.2rem);
            text-align: center;
            background: rgba(255, 255, 255, 1);
            border-radius: 0.75rem;
            .iconfont {
                margin-left: 0.1rem;
                display: inline-block;
                transform: scale(0.7);
                font-size: 0.5rem;
            }
        }
        .card-price {
            display: flex;
            align-items: flex-end;
            .card-price-soldPrice {
                .font(1.4rem,
                #fff,
                1);
                font-weight: 500;
                .card-price-unit {
                    .font(0.7rem,
                    #fff,
                    1);
                }
            }
            .card-price-labelMarket {
                display: flex;
                flex-direction: column;
                justify-content: flex-end;
                align-items: flex-start;
                margin-left: 0.3rem;
                transform: translateY(-2px);
                .card-price-label {
                    .cbkfe-label--normal {
                        background: transparent;
                        color: #fff;
                        font-weight: 300;
                        &::before {
                            background: transparent;
                            border-color: #fff;
                        }
                    }
                }
                .card-price-del {
                    .font(0.6rem,
                    #fff,
                    0.6rem);
                    font-weight: 300;
                    margin-top: 0.2rem;
                }
            }
        }
    }
}

.cbkfe-package-pricilege {
    .package-pricilege-title {
        padding-top: 0.5rem;
        padding-bottom: 0.93rem;
    }
    .package-pricilege-icons {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 3.9rem;
        background: rgba(255, 255, 255, 1);
        box-shadow: 0rem 0.2rem 0.6rem 0rem rgba(233, 233, 233, 1);
        border-radius: 0.2rem;
        .package-pricilege-icon {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }
        .package-pricilege-img {
            width: 1.2rem;
        }
        .package-pricilege-text {
            margin-top: 0.45rem;
            font-size: 0.7rem;
            font-weight: 400;
            color: rgba(0, 0, 0, 1);
            line-height: 0.9rem;
        }
    }
}

.cbkfe-package-description {
    background: rgba(249, 249, 249, 1);
    border-radius: 0 0 0.2rem 0.2rem;
    padding: 0.65rem 0.5rem;
    .package-description-title {
        position: relative;
        margin-bottom: 0.32rem;
        font-size: 0.75rem;
        font-weight: 400;
        color: rgba(0, 0, 0, 1);
        line-height: 0.95rem;
        padding-left: 1rem;
        &::before {
            content: '';
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            left: 0;
            background: url('https://static.caibeike.com/i/7b45423fba4aa6bf7bb03217e3a2fc3f-VhLFb0@!c150') no-repeat;
            background-size: 100%;
            width: 0.7rem;
            height: 0.7rem;
        }
    }
    .package-description-li {
        margin-top: 0.18rem;
        font-size: 0.7rem;
        font-weight: 300;
        color: rgba(68, 68, 68, 1);
        line-height: 0.9rem;
    }
}

.packageInfo-swiper-container {
    height: 11rem;
    width: 100%;
    overflow: scroll;
    padding-left: 0.75rem;
    background-color: #fff;
    .packageInfo-swiper-wrapper {
        position: relative;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: nowrap;
    }
    .packageInfo-swiper-item {
        width: 100vw;
        flex-shrink: 0;
        padding-right: 0.5rem;
        &:only-child {
            width: 17.25rem;
            padding-right: 0;
        }
        .packageInfo-swiper-itemImg {
            border-radius: 0.5rem;
            height: 9.5rem;
            width: 100%;
            object-fit: cover;
            box-shadow: 0rem 0.2rem 0.6rem 0rem rgba(0, 0, 0, 0.1);
        }
    }
    .packageInfo-swiper-pagination {
        position: absolute;
        bottom: 1.25rem;
        right: 1.5rem;
        width: 2.08rem;
        height: 1rem;
        background: rgba(0, 0, 0, 0.3);
        border-radius: 0.5rem;
        font-size: 0.6rem;
        font-weight: 400;
        color: rgba(255, 255, 255, 1);
        line-height: 1rem;
        text-align: center;
    }
}

.packageInfo-card-nav {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    min-height: 44px;
    width: 100%;
    padding: 0 0.75rem;
    z-index: 2001;
    transform: translateZ(101px);
    &--android {
        min-height: 50px;
    }
    .card-nav-title {
        display: block;
        flex: 1;
    }
    .nav-collect-icon {
        margin-right: 1.35rem;
    }
    .iconfont {
        flex-shrink: 0;
    }
}