@import 'cbkfe-assets/dist/css/control.less';
//css for PackageInfo
.cbkfe-packageInfo {
    // padding-top: 0.15rem;
    border-radius: 0.5rem 0.5rem 0 0;
    height: 100%;
    overflow: auto;
    .package-content .commonheader-container .cmh-title {
        font-size: 0.8rem;
    }
    .cbkfe-packageInfo-content {
        max-height: 70vh;
        overflow: auto;
        &--showFooter {
            margin-bottom: 3rem;
        }
    }
    .cbkfe-packageInfo-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 0.9rem;
        padding-left: 0.75rem;
        padding-right: 0.85rem;
        background-color: #fff;
        .iconfont {
            font-size: 0.7rem;
        }
    }
    .cbkfe-packageInfo-header--pd {
        padding-bottom: 0.75rem;
    }
    .cbkfe-packageInfo-title {
        font-size: 0.9rem;
        font-weight: 500;
        color: rgba(0, 0, 0, 1);
        line-height: 1.1rem;
    }
    .cbkfe-packageInfo-closeBtn {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 1rem;
        height: 1rem;
        .cbkfe-packageInfo-closeIcon {
            width: 0.7rem;
            height: 0.7rem;
        }
    }
    .cbkfe-packageInfo--topInfo {
        padding: 0.75rem;
        padding-top: 0;
        background-color: #fff;
    }
    .cbkfe-packageInfo-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.75rem;
    }
    .product-appoint--noAppoint {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        height: 1.7rem; // margin-top: 0.75rem;
        background: rgba(249, 249, 249, 1);
        border-radius: 0.2rem;
        padding: 0 0.5rem;
        .appoint--noAppoint__img {
            width: 0.7rem;
            height: 0.7rem;
        }
        .appoint--noAppoint__title {
            margin-left: 0.3rem;
            font-size: 0.7rem;
            font-weight: 500;
            color: rgba(34, 190, 142, 1);
            line-height: 0.9rem;
        }
        .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-appoint--phone {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        height: 1.7rem; // margin-top: 0.75rem;
        background: rgba(249, 249, 249, 1);
        border-radius: 0.2rem;
        padding: 0 0.5rem;
        .appoint--phone__img {
            width: 0.7rem;
            height: 0.7rem;
        }
        .appoint--phone__title {
            margin-left: 0.3rem;
            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-appoint {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        max-height: 1.7rem;
        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-appoint__icon {
            &:before {
                content: '\e614'
            }
        }
        .product-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-appoint__date {
            font-size: 0.6rem;
            font-weight: 400;
            color: rgba(255, 153, 51, 1);
            line-height: 1;
            transform: translateY(1px); // background: yellowgreen;
        }
        .product-appoint__rightText {
            font-size: 0.6rem;
            font-weight: 400;
            color: #000;
            line-height: 0.8rem;
        }
        .product-appoint__arrowText {
            position: absolute;
            top: 50%;
            right: 0.5rem;
            transform: translateY(-50%);
            font-size: 0.6rem;
            font-weight: 400;
            color: rgba(68, 68, 68, 1);
            .product-appoint__arrow {
                &:before {
                    content: '\e615';
                    padding-left: 0.4rem;
                }
            }
        }
    }
    .product-appoint--date {
        justify-content: space-between;
    }
    .cbkfe-packageInfo--content {
        margin-top: 0.5rem;
        padding: 0.75rem;
        background-color: #fff;
    }
}

.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-packageInfo-popup {
    background-color: #f5f5f5;
    overflow: hidden;
    border-radius: 0.5rem 0.5rem 0 0;
}

.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 {
        margin-bottom: 0.32rem;
        font-size: 0.75rem;
        font-weight: 400;
        color: rgba(0, 0, 0, 1);
        line-height: 0.95rem;
    }
    .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;
        z-index: 100;
    }
}