//css for PackagesPurchaseMask
@import 'cbkfe-assets/dist/css/control.less';

.cbkfe-template-packagespurchasemask {
    background: rgba(255, 255, 255, 1);
    border-radius: 0.5rem 0.5rem 0rem 0rem;

    .packagesmask-icon {
        position: relative;
        left: 50%;
        margin-left: -0.625rme;
        width: 1.25rem;
        height: 0.2rem;
        margin-top: 0.43rem;
        margin-bottom: 0.13rem;
        background: rgba(233, 233, 233, 1);
        border-radius: 0.1rem;
    }

    .packageMask-container-text {
        max-height: 17.5rem;
        overflow: auto;
        padding: 0 1rem;
    }

    .purchasemask-content {
        padding: 0.65rem 0 0;
        display: flex;
        justify-content: space-between;
    }

    .detail-button {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: 1.5rem;
    }

    .button-content {
        width: 3.2rem;
        height: 1.5rem;
        background: rgba(255, 34, 68, 1);
        border-radius: 1.1rem;
        text-align: center;
        font-size: 0.7rem;
        font-weight: 500;
        color: rgba(255, 255, 255, 1);
        line-height: 1.5rem;
    }

    .button-content--close {
        width: 3.2rem;
        height: 1.5rem;
        background: rgba(201, 201, 201, 1);
        border-radius: 1.1rem;
        text-align: center;
        font-size: 0.7rem;
        font-weight: 500;
        color: rgba(255, 255, 255, 1);
        line-height: 1.5rem;
    }

    .purchasemask-container {
        overflow: hidden;
    }

    .purchasemask-title {
        font-size: 0.8rem;
        font-weight: 600;
        color: rgba(0, 0, 0, 1);
        line-height: 1rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .text-description {
        margin-top: 0.3rem;
        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;
    }

    .text-status {
        display: flex;
        flex-wrap: wrap;
        overflow: hidden;
        flex-direction: row;
        height: 1rem;
    }

    .status-info {
        margin-top: 0.18rem;
        margin-right: 0.3rem;
        border-radius: 0.1rem;
        border: 1px solid #f5f5f5;
        width: auto;
        font-size: 0.5rem;
        font-weight: 400;
        color: rgba(117, 117, 117, 1);
        line-height: 0.7rem;
        white-space: nowrap;
    }

    .status-detail {
        margin: 0 0.3rem;
        transform: translateY(0.5px);
    }

    .skuinfo-price {
        margin-top: 0.5rem;
    }

    .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;
        margin: 0 0 0.1rem 0.2rem;
        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.7rem;
        transform: translateY(1px);
    }

    .price-before {
        font-size: 0.6rem;
        font-weight: 400;
        color: rgba(157, 157, 157, 1);
        line-height: 0.8rem;
        text-decoration: line-through;
        margin-left: 0.2rem;
    }

    .purchasemask-line {
        width: 100%;
        height: 0.05rem;
        margin-top: 0.75rem;
        background-color: rgba(249, 249, 249, 1);
        border-radius: 0.2rem;
    }

    .closebutton-content {
        position: relative;
        z-index: 100;
    }

    .close-button {
        display: flex;
        justify-content: center;
        height: 2.35rem;
        background: rgba(255, 255, 255, 1);
        box-shadow: 0rem -0.4rem 0.4rem 0rem rgba(0, 0, 0, 0.04);

        .closebutton-container {
            display: flex;
            align-items: center;
            padding: 0.75rem 0 1rem;
            font-size: 0.6rem;
            font-weight: 400;
            color: rgba(117, 117, 117, 1);
            line-height: 0.6rem;
        }

        .closebutton-img {
            width: 0.55rem;
            height: 0.35rem;
            margin-left: 0.3rem;
        }
    }
}