//css for FavourablePackages
@import 'cbkfe-assets/dist/css/control.less';
.cbkfe-template-favourPackages {
    padding: 0.25em 1rem 0.9rem;
    background: rgba(255, 255, 255, 1);
    .favour-modelTitle {
        display: flex;
        align-items: center;
        position: relative;
        padding: 1rem 0;
    }
    .cmh-all {
        display: none;
    }
    .favour-content {
        display: flex;
        justify-content: flex-start;
        padding: 0.5rem;
        margin-bottom: 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;
        .content-skuImg {
            position: relative;
            flex-shrink: 0;
            margin-right: 0.5rem;
            border-radius: 0.4rem;
            overflow: hidden;
        }
        .package-image {
            width: 4rem;
            height: 4rem;
        }
        .package-favourIcon {
            position: absolute;
            top: -0.15rem;
            left: -0.15rem;
            height: 1.05rem;
            padding: 0.18rem 0.25rem 0.33rem;
            background: url('https://static.caibeike.com/i/b847108ce3c93c286a296270ddd787ba-SoREnA-AbgwOehp1');
            background-size: 100% 100%;
            font-size: 0.55rem;
            font-weight: 500;
            line-height: 1;
            color: rgba(255, 255, 255, 1);
        }
    }
    .content-skuInfo {
        display: flex;
        flex-direction: column;
        flex-basis: 11.55rem;
        overflow: hidden;
        .skuInfo-title {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-top: 0.24rem;
            font-size: 0.8rem;
            font-weight: 600;
            color: rgba(0, 0, 0, 1);
            line-height: 1rem;
            .iconfont {
                font-size: 0.6rem;
                color: #444;
            }
        }
        .title-text {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .title-text--wrap {
            flex: 1;
            .text-overflow();
        }
        .skuInfo-detail {
            margin-top: 0.2rem;
            font-size: 0.6rem;
            font-weight: 400;
            color: rgba(68, 68, 68, 1);
            line-height: 0.8rem;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .skuInfo-state {
            display: flex;
            flex-wrap: wrap;
            overflow: hidden;
            flex-direction: row;
            height: 1rem;
            margin-top: 0.4rem;
            .skuInfo-state-label {
                color: #757575;
                margin-right: 0.3rem;
                .cbkfe-label::before {
                    content: '';
                    border-color: #C9C9C9;
                }
            }
        }
        .state-info {
            margin-top: 0.18rem;
            margin-right: 0.3rem;
            border-radius: 0.1rem;
            border: 1px solid rgba(201, 201, 201, 1);
            width: auto;
            font-size: 0.5rem;
            font-weight: 400;
            color: rgba(117, 117, 117, 1);
            line-height: 0.7rem;
            white-space: nowrap;
        }
        .state-detail {
            margin: 0 0.3rem;
            transform: translateY(0.5px);
        }
        .skuInfo-price {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            margin-top: 0.3rem;
        }
        .package-state {
            font-size: 0.6rem;
            font-weight: 400;
            color: rgba(201, 201, 201, 1);
            line-height: 0.6rem;
        }
        .price-info {
            display: flex;
            align-items: flex-end;
        }
        .price-icon {
            font-size: 0.6rem;
            font-weight: 600;
            color: rgba(255, 34, 68, 1);
            line-height: 0.6rem;
        }
        .price-nowPrice {
            font-size: 0.9rem;
            font-weight: 600;
            color: rgba(255, 34, 68, 1);
            line-height: 0.8rem;
        }
        .price-discount {
            display: inline-block;
            height: 0.8rem;
            padding: 0 0.3rem;
            background: rgba(255, 34, 68, 0.1);
            border-radius: 0.45rem;
            font-size: 0.5rem;
            font-weight: 500;
            color: rgba(255, 34, 68, 1);
            line-height: 0.8rem;
            transform: translateY(1px);
            margin-left: 0.2rem;
        }
        .price-before {
            font-size: 0.6rem;
            font-weight: 400;
            color: rgba(157, 157, 157, 1);
            line-height: 0.6rem;
            text-decoration: line-through;
            margin-left: 0.2rem;
        }
    } // .package-bottom-white {
    //     height: 0.5rem;
    // }
    .view-package-button {
        padding: 0 1rem 0;
        font-size: 0.6rem;
        font-weight: 400;
        color: rgba(117, 117, 117, 1);
        line-height: 0.8rem;
        .button-text {
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .button-icon {
            width: 0.55rem;
            height: 0.35rem;
            margin-left: 0.3rem;
        }
        .button-icon--closed {
            width: 0.55rem;
            height: 0.35rem;
            margin-left: 0.3rem;
            transform: rotate(180deg);
        }
    }
}