﻿[v-cloak] {
    display: none;
}

/* 购物车web端 */
.good-web {
    width: 100%;
    height: auto;
    background: #e8e2e0;
}

/* 购物车移动端 */
.good-phone {
    width: 100%;
    min-height: calc(100vh - 80px);
    background: #e8e2e0;
}

.good-wrap{
    width: 100%;
    height: calc(100vh - 80px);
    overflow-y:auto;
}

/* 购物车头部 */
.good-header {
    width: 100%;
    height: 58px;
    padding: 11px 0;
    background-color: #fff;
    display: flex;
    justify-content: center;
}

.good-header .good-header-contain {
    width: 95%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 购物车标题 */
.good-header .good-header-contain .good-title {
    font-size: 18px;
    font-weight: 500;
}

.good-header .good-header-contain .cart-icon {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid orange;
    border-radius: 50%;
    background: orange;
    color: #fff !important;
    font-size: 17px;
    cursor: pointer;
}

.good-header .good-header-contain .cart-icon a {
    color: #fff !important;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.good-contain {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px 0;
}

.good-table-container {
    width: 80%;
    border-radius: 25px;
    padding: 10px 30px;
    background: #fff;
    min-height: calc(100vh - 140px);
    position: relative;
}

.good-filter-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.good-filter-bar .switch-good {
    overflow: hidden;
    color: #000;
    font-size: 18px;
    font-weight: 600;
    height: 72px;
    line-height: 72px;
}

.good-filter-bar .good-sum {
    font-size: 14px;
    display: flex;
    align-items: center;
}

.good-sum .total-symbol {
    font-weight: 400;
    margin-right: 12px;
    font-size: 24px;
    color: #ff5000;
}

/* 激活状态的支付按钮 */
.good-sum .pay-btn-active {
    width: 74px;
    height: 42px;
    line-height: 42px;
    color: #fff;
    background: #ff5000;
    border-radius: 21px;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 16px;
}

/* 未激活状态的支付按钮 */
.good-sum .pay-btn-inactive {
    width: 74px;
    height: 42px;
    line-height: 42px;
    color: #fff;
    background: #a3a3a3;
    border-radius: 21px;
    text-align: center;
    cursor: not-allowed;
    text-decoration: none;
    font-size: 16px;
}

.inactive-btn {
    background: #aaa !important;
    color: #fff;
    cursor: not-allowed !important;
}

.good-list-content {
    height: calc(100vh - 300px);
    overflow-y: auto;
}

.good-tooltip {
    max-height: 150px;
    overflow-y: auto;
    padding-right: 10px;
}

.good-item-cover {
    width: 130px;
    height: 195px;
    position: relative;
}

.good-item-cover .cover-no-1 {
    width: 120px;
    height: 180px;
    z-index: 100;
    position: absolute;
    left: 0;
    top: 8px;
    background: #898383;
}

.good-item-cover .cover-no-2 {
    width: 120px;
    height: 180px;
    z-index: 99;
    position: absolute;
    left: 5px;
    top: 13px;
    background: #898383;
}

.good-item-cover .cover-no-3 {
    width: 120px;
    height: 180px;
    z-index: 98;
    position: absolute;
    left: 10px;
    top: 18px;
    background: #898383;
}

.course-book-img-cover {
    width: 120px;
    height: 180px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size:cover;
    
}

.course-book-color-cover {
    width: 120px;
    height: 180px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
    cursor: pointer;
}

.course-book-title {
    font-size: 18px;
    text-align: center;
    line-height: 25px;
}

.course-book-sub-title {
    font-size: 11px;
    margin-top: 5px;
}

/* 购物车底部栏 */
.good-filter-bar-bottom {
    width: 95%;
    display: flex;
    justify-content: space-between;
    position: absolute;
    bottom: 8px;
    background: #fff;
    z-index: 999;
}

.good-filter-bar-bottom .bar-bottom-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 全选 */
.good-filter-bar-bottom .all-check {
    overflow: hidden;
    color: #000;
    height: 72px;
    line-height: 72px;
    font-size: 12px;
}

.good-filter-bar-bottom .all-check .all-check-checkbox {
    margin-right: 10px;
}

/* 全部删除 */
.good-filter-bar-bottom .all-del {
    margin-left: 20px;
}

.good-filter-bar-bottom .good-sum {
    font-size: 14px;
    display: flex;
    align-items: center;
}

.good-sum .pay-text {
    margin: 0 12px;
}

.good-sum .total-text {
    margin: 0 0 0 12px;
}


.good-box {
    padding: 10px 0;
    width: 90%;
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    align-content: flex-start;
}

.good-list-item {
    position: relative;
    border-radius: 8px;
    /* overflow: hidden; */
    border: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 15px;
    background-color: #fff;
    padding: 8px 0;
    width: 200px;
    height: fit-content;
}

.add-product-contain-no-good {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5% 0;
    padding: 8px 0;
    width: 100px;
    height: 70px;
}

.add-product-contain {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px;
    padding: 8px 0;
    width: 100px;
    height: 270px;
}

.market-product-contain{
    position: absolute;
    right: 20px;
    top: 10px;
}

.market-product-link{
    color: #69aa46;
    border: none;
    font-size: 18px;
}

.market-product-link-txt{
    /*color: #000;*/
    font-size: 16px;
}

.market-product-code{
    margin-left: 10px;
    color: #69aa46;
    border: none;
    font-size: 18px;
}

.market-product-code-txt{
    /*color: #000;*/
    font-size: 16px;
}

.remove-product-btn {
    position: absolute;
    right: 10px;
    top: 5px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 50%;
    background: #776e6ead;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    color: #fff;
}

.close-intro-btn {
    position: absolute;
    right: -15px;
    top: -10px;
    font-size: 19px;
    font-weight: 500;
    cursor: pointer;
}

.category-title{
    font-size: 20px;
    font-weight: 500;
    padding: 20px 0 0 30px;
}

.good-list-item .good-item-info {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 0 0 0 15px;
}

.good-list-item .good-item-top {
    /*width: 180px; */
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
}

.good-list-item .left-check {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 8%;
}

/* 单个选择按钮 */
.good-list-item .left-check .checkbox {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #b9b9b9;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 单个选择按钮选中 */
.good-list-item .left-check .checkbox .selected-check {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: red;
}


.good-item-bottom {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 10px 18px 10px;
    width: 85%;
    /*margin-top: 10px;*/
}

.good-item-opera {
    display: flex;
    align-items: center;
}

/* 添加到购物车按钮 */
.good-list-item .cart-btn {
    position: absolute;
    right: 20px;
    bottom: 10px;
    font-size: 17px;
    cursor: pointer;
}

.good-list-item .cart-btn .added-icon {
    color: green;
}

.good-list-item .cart-btn .cart-icon {
    color: red;
}

.good-item-bottom .good-item-info-content {
    width: 100%;
}

.good-item-bottom .goods-name {
    width: 80%;
    font-size: 15px;
    color: #333333;
    text-align: left;
    /*line-height: 25px;*/
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 1px 0;
    font-weight: 500;
}

.good-item-bottom .numbers {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 1px 0;
}

.good-item-bottom .numbers .price {
    font-size: 14px;
    line-height: 25px;
    color: #ff0000;
}

.good-item-bottom .numbers .price span{
    font-size: 18px;
}

.good-item-bottom .unit {
    width: 100%;
    font-size: 14px;
    padding: 1px 0;
}


.bottom-all {
    height: 50px;
    width: 100%;
    padding: 0 2%;
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: #fdfdfd;
    z-index: 11;
    border-top: 1px solid #f8f8f8;
}

.bottom-all .left {
    float: left;
    width: 28vw;
    font-size: 14px;
    position: relative;
}


.bottom-all .left .text {
    position: absolute;
    left: 35px;
    top: 50%;
    transform: translateY(-52%);
    color: #333333;
}

.bottom-all .del-text {
    color: red;
    position: absolute;
    left: 100px;
    top: 47%;
    transform: translateY(-52%);
    white-space: nowrap;
}

.bottom-all .left-check {
    padding-left: 8px;
    flex-shrink: 0;
    height: 50px;
    margin-right: 8px;
    align-items: center;
    position: relative;
    display: flex;
}


.bottom-all .rights {
    width: 40vw;
    line-height: 50px;
    font-size: 16px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}


.bottom-all .settlement-inactive {
    padding: 0 4px;
    border-radius: 16px;
    width: 18vw;
    height: 35px;
    line-height: 35px;
    color: #ffffff;
    font-size: 17px;
    text-align: center;
    margin-right: 20px;
    cursor: not-allowed;
    background-color: #a3a3a3;
}

.bottom-all .settlement-active {
    padding: 0 4px;
    border-radius: 16px;
    width: 18vw;
    height: 35px;
    line-height: 35px;
    color: #ffffff;
    font-size: 17px;
    text-align: center;
    margin-right: 20px;
    background-color: #ff5000;
}

/* 购物车为空的样式 */
.good-no-data {
    margin-top: 10px;
    text-align: center;
    font-size: 16px;
}

.total-pay-count {
    font-size: 24px;
    color: #ff5000;
}

.book-item-info-contain {
    display: flex;
    align-items: center;
    justify-content: flex-start;

}

.book-item-info {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-start;
    height: 160px;
    margin-left: 10px;
}

.book-item-info-line {
    display: flex;
    justify-content: flex-start;
}

.book-item-info-left {
    min-width: 110px;
    line-height: 22px;
    text-align: right;
}

.book-dialog {
    overflow: hidden;
    margin-top: 13vh !important;
    padding: 20px;
    border-radius: 12px;
}

.book-dialog .el-dialog__header {
    display: none !important;
}

/*弹出窗正文内容*/
.book-dialog .el-dialog__body {
    width: auto;
    /*height: 500px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 10px !important;
    /*padding: 0!important;*/
}


.book-dialog .el-dialog__body .dialog-content {
    /*text-align:center;*/
    font-size: 16px;
    line-height: 0.95em;
    /*color: rgb(237,88,41);*/
    letter-spacing: 1px;
    z-index: 999;
    /*max-width: 450px;*/
    word-break: break-word;
    width: 100%;
    height: 100%;
    background: #fff;
    position: relative;
    /*padding: 10px 20px!important;*/
}

.book-dialog .el-dialog__body .dialog-content .dialog-top {
    width: 100%;
    height: 360px;

}

.book-dialog .el-dialog__body .dialog-content .dialog-top .top-img-contain {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.book-dialog .el-dialog__body .dialog-content .dialog-top .top-img-contain .pq-logo {
    width: 73px;
    height: auto;
    position: absolute;
    left: 0;
    top: 6px;
}

.book-dialog .el-dialog__body .dialog-content .dialog-top .top-img-contain .top-img {
    width: 230px;
    height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.book-dialog .el-dialog__body .dialog-content .dialog-top .top-img-contain .top-img .dna-title {
    font-weight: bold;
    color: #fff;
    margin-bottom: 15px;
    font-size: 20px;
    line-height: 25px;
}

.book-dialog .el-dialog__body .dialog-content .dialog-bottom {
    /*width: 100%;*/
    /*height: 250px;*/
    color: #494949;
    text-align: left;
    font-size: 16px;
    padding: 15px 12px 15px 10px;
    overflow-y: auto;
    /* overflow-x: hidden; */
    line-height: 25px;
    font-weight: bold;
}

.book-item-bottom {
    border-top: 1px solid #dbd5d5;
    padding: 25px 10px 0 10px;
    width: 100%;
    margin-top: 20px;
}

.book-item-bottom .book-item-info-content {
    width: 100%;
    display: flex;
    align-items: center;
}

.book-item-bottom .books-name {
    width: 80%;
    color: #333333;
    text-align: left;
    line-height: 25px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.book-item-bottom .numbers {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.book-item-bottom .numbers .price {
    line-height: 25px;
    color: #ff0000;
}

.book-item-bottom .unit {
    width: 100%;
}


.book-item-bottom .cart-btn {
    cursor: pointer;
    padding: 0 15px;
    height: 30px;
    background: red;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.book-item-bottom .cart-btn .added-icon {
    color: #fff;
}

.book-item-bottom .cart-btn .cart-icon {
    color: #fff;
}

.book-intro-item {
    margin: 15px 0;
}

.book-item-info-line .book-item-info-right {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 22px;
    width: 320px;
}

.book-item-info-line .book-item-des {
    line-height: 22px;
    width: 320px;
    overflow: hidden;             /*超出内容隐藏*/
    text-overflow: ellipsis;      /*超出内容为省略号*/
    display: -webkit-box;         /*内容不换行*/
    -webkit-line-clamp: 3;        /*超出几行*/
    -webkit-box-orient: vertical;
}

.book-item-cover {
    width: auto;
    height: 180px;
    margin-right: 12px;
    background: #898383;
}

@media (max-width: 700px) {
    .book-dialog {
        margin-top: 5vh !important;
    }

    .book-item-info {
        margin-left: 10px;
    }

    .book-item-info-line .book-item-info-right {
        width: 150px;
    }

    .book-item-info-line .book-item-des{
        width: 150px;
    }

    .book-item-bottom .cart-btn-contain {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .book-item-bottom .book-item-info-content {
        flex-direction: column;
    }

    .book-item-bottom .books-name {
        width: 100%;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .book-item-bottom .unit {
        margin: 5px 0;
    }


    .book-intro-item {
        font-size: 16px;
        margin: 15px 0;
    }

    .good-box {
        padding: 10px;
        width: calc(100% - 20px);
        height: 100%;
        overflow-y: auto;
        display: flex;
        flex-wrap: wrap;
        align-content: flex-start;
        justify-content: space-between;
    }


    .good-list-item {
        position: relative;
        border-radius: 8px;
        /* overflow: hidden; */
        border: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin: 10px 5px;
        background-color: #fff;
        padding: 8px 0;
        width: 45%;
        height: fit-content;
    }

    /* 弹窗 */
    .el-message-box {
        width: 300px !important;
    }

    /* el-input-number样式 */
    .el-input-number {
        width: 100px !important;
        line-height: 28px !important;
    }

    .el-input-number .el-input__inner {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .el-input__inner {
        height: 30px !important;
    }

    .el-input-number__decrease,
    .el-input-number__increase {
        width: 20px !important;
    }

    .loginPane {
        width: 88vw !important;
    }

    .good-tooltip {
        max-height: 150px;
        overflow-y: auto;
        padding-right: 10px;
    }

    .good-item-cover {
        width: 120px;
        height: 180px;
        position: relative;
    }

    .good-item-cover .cover-no-1 {
        width: 100px;
        height: 150px;
        z-index: 100;
        position: absolute;
        left: 0;
        top: 8px;
        background: #898383;
    }

    .good-item-cover .cover-no-2 {
        width: 100px;
        height: 100px;
        z-index: 99;
        position: absolute;
        left: 5px;
        top: 13px;
        background: #898383;
    }

    .good-item-cover .cover-no-3 {
        width: 100px;
        height: 100px;
        z-index: 98;
        position: absolute;
        left: 10px;
        top: 18px;
        background: #898383;
    }

    .course-book-img-cover {
        width: 100px;
        height: 140px;
        background-repeat: no-repeat;
        background-position: center center;
        background-size:cover;
    }

    .course-book-color-cover {
        width: 100px;
        height: 150px;
        color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .course-book-title {
        font-size: 18px;
        text-align: center;
        line-height: 25px;
    }

    .course-book-sub-title {
        font-size: 11px;
        margin-top: 5px;
    }

    

    .book-item-info-contain{
        flex-direction: column;
    }
    .book-item-info {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: flex-start;
        height: auto;
    }

    .book-item-cover {
        margin-right: 0;
        margin-bottom: 5px;
        background: #898383;
    }

}

.waiting-container {
    /* visibility: visible; */
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999400;
    background-color: #353535;
    opacity: 0.7;
}

.el-tooltip__popper{ 
    max-width:30% 
}


/*@media (max-width: 350px) {*/

/*    .book-item-info-contain{*/
/*        flex-direction: column;*/
/*    }*/
/*    .book-item-info {*/
/*        display: flex;*/
/*        flex-direction: column;*/
/*        justify-content: space-evenly;*/
/*        align-items: flex-start;*/
/*        height: auto;*/
/*    }*/

/*    .book-item-cover {*/
/*        margin-right: 0;*/
/*        margin-bottom: 5px;*/
/*    }*/
/*}*/

