/* 我的购物车样式表 */
@media only screen and (max-width: 768px) {
    .container-logo {
        width: 6rem !important;
        padding-top: 2.5rem !important;
    }

    .container-left {
        display: flex !important;
        justify-content: space-around !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
    }

    .container-logo,
    .container-cart,
    .container-prompt {
        float: none !important;
    }

    .container-logo img {
        width: 5rem !important;
        height: 5rem !important;
        border-radius: 2rem;
    }

    .container-cart h2 {
        font-size: 2rem !important;
    }

    .container-cart {
        margin-left: 0rem !important;
    }

    #closing {
        width: 13rem !important;
        margin-left: 2rem !important;
    }

    .container-right {
        display: none !important;
    }

    .count-box {
        width: 11rem !important;
    }

    .count-input {
        width: 3.4rem !important;
    }

    .shopname {
        padding-left: 0 !important;
        width: 21.4rem !important;
    }

    .fixed-table {
        padding-left: 0 !important;
    }

    thead th:nth-child(7) {
        width: 10rem !important;
        padding-right: 1rem !important;
        box-sizing: border-box;
    }

    .operation {
        padding-right: 1rem !important;
    }

    thead th:nth-child(1) {
        width: 25rem !important;
    }

    thead th:nth-child(2) {
        width: 8rem !important;
    }

    .check-all,
    .check-one {
        margin-left: 1rem !important;
    }

    .cartTable-p {
        margin-left: 0.5rem !important;
    }
    
     .overlay__div,.overlay__button,.overlay_buy_del {
        width: 43rem!important;
    }
    
    .recommend_list {
        display: grid !important;
        grid-template-columns: repeat(auto-fill, 48%) !important;
        grid-gap: 0rem !important;
        justify-content: space-around !important;
    }

    .recommend_item {
        width: 100% !important;
        margin-bottom: 1rem !important;
    }
    
    .page_main{
        padding-bottom: 0.8rem !important;
    }

    .recommend_item:nth-child(6),
    .recommend_item:nth-child(7),
    .recommend_item:nth-child(8),
    .recommend_item:nth-child(9),
    .recommend_item:nth-child(10) {
        margin: 0 0 1rem 0 !important;
    }

    .recommend-slide-a-box {
        width: 100% !important;
        text-align: center !important;
    }

    .goods_info {
        margin-left: 1rem !important;
    }

    .buy_succ_box {
        height: 16rem !important;
        padding-top: 0.5rem !important;
    }

    .recommend-slide-a-box {
        text-align: center !important;
    }
    
    .cart_null {
        background: url(../images/cart-empty.png) no-repeat center center !important;
        margin: 0 auto !important;
        padding-left: 0 !important;
        text-align: center !important;
    }
    
    .recommend_null span{
        width:100% !important;
        margin-left:-50% !important;
    }
    
    .catbox-con{
        padding:3.8rem 0 4.8rem !important;
    }
    
    .addSuccess,.buyGoods{
        display: block !important;
    }
    
    .buyGoods{
        bottom: -25rem !important;
        transform: none !important;
    }
    
    .addSuccess{
        width: 100% !important;
    }

    .container,
    .catbox,
    .cart_null,
    .catbox_item,
    #cartTable,
    .x,
    .x-tr,
    #foot {
        width: 100% !important;
    }
}




.site-mini-header{
    width: 100%;
    background-color: white;
    height: 10.2rem;
    border-bottom: 0.2rem solid #ff6700;
}

.site-mini-header .container{
    /* background-color: pink; */
    height: 10.2rem;
    box-sizing: border-box;
}

.container-logo{
    width: 9.3rem;
    height: 10.2rem;
    float: left;
    /* text-align: center; */
    padding-top: 2rem;
    box-sizing: border-box;
}

.container-logo img{
    width: 6rem;
    height: 6rem;
}

.container-cart{
    float: left;
    /* width: 20rem; */
    margin-left: 1rem;
    height: 10.2rem;
    text-align: center;
    line-height: 10.2rem;
}

.container-cart h2{
    color: #424242;
    font-size: 2.8rem;
    font-weight: 400;
}

.container-prompt{
    float: left;
    color: #757575;
    font-size: 1.2rem;
    margin-top: 5.2rem;
    margin-left: 1.5rem;
}

.container-right{
    width: 20rem;
    height: 5rem;
    float: right;
    margin-top: 5rem;
}

.container-right p{
    white-space: normal;
    color: #757575;
    font-size: 1.2rem;
}

.catbox-con{
    width: 100%;
    height: auto;
    background-color: #f5f5f5;
    padding: 3.8rem 0 6.8rem;
}

#cartTable thead{
    height: 7rem;
    padding: 0 2.6rem 0 0;
    background-color: white;
}

#cartTable{
    border-collapse: collapse;
    width: 100%;
}

/* 去除默认样式 */
input[type='checkbox'] {
    -webkit-appearance: none;
    appearance: none;
    width: 2rem;
    height: 2rem;
    background-color: #ffffff;
    border: 0.1rem solid #e0e0e0;
}

input{
    padding: 0;
    float: left;
    margin-left: 2.4rem;
}

.cartTable-p{
    float: left;
    margin-left: 1.5rem;
    color: #424242;
    font-size: 1.4rem;
    font-weight: 400;
    /* margin-top: 3.4rem; */
}

/* 当选中时改变背景颜色或其他属性 */
input[type='checkbox']:checked {
    background-color: #ff6700;
    border-color: #e0e0e0;
    border: 0;
}

/* 添加勾选标记 */
input[type='checkbox']:checked::after {
    content: '✓';
    color: white;
    font-size: 1.6rem;
    font-weight: 600;
    display: inline-block;
    text-align: center;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
}

.check-all{
    width: 2rem;
    height: 2rem;
    vertical-align: -0.5rem;
    border: 0.1rem solid #e0e0e0 !important;
}


thead th:nth-child(1){
    width: 11rem;
    height: 7rem;
    box-sizing: border-box;
    color: #424242;
    font-size: 1.4rem;
    font-weight: 400;
    /* background-color: #ff6700; */
}

thead th:nth-child(2){
    width: 12rem;
    height: 7rem;
    color: #424242;
    font-size: 1.4rem;
    font-weight: 400;
    /* background-color: seagreen; */
}

thead th:nth-child(3){
    width: 35.4rem;
    height: 7rem;
    box-sizing: border-box;
    padding-left: 2rem;
    margin-left: 12rem;
    /* background-color: violet; */
    text-align: left;
    color: #424242;
    font-size: 1.4rem;
    font-weight: 400;
}

thead th:nth-child(4){
    text-align: left;
    box-sizing: border-box;
    width: 15.8rem;
    height: 7rem;
    color: #424242;
    font-size: 1.4rem;
    font-weight: 400;
    /* background-color: brown; */
}

thead th:nth-child(5){
    width: 15rem;
    height: 7rem;
    color: #424242;
    font-size: 1.4rem;
    font-weight: 400;
    /* background-color: mediumslateblue; */
}

thead th:nth-child(6){
    width: 20.1rem;
    height: 7rem;
    color: #424242;
    font-size: 1.4rem;
    font-weight: 400;
    /* background-color: pink; */
}

thead th:nth-child(7){
    width: 8rem;
    height: 7rem;
    color: #424242;
    font-size: 1.4rem;
    font-weight: 400;
    /* background-color: forestgreen; */
}

#x tr{
    width: 100%;
    height: 11.7rem;
    border-top: 0.1rem solid #e0e0e0;
    background-color: white;
}

#x tr td img{
    width: 8rem;
    height: 8rem;
}


.fixed-table {
    color: #424242;
    font-size: 1.6rem;
    font-weight: 400;
    padding-left: 2rem;
    box-sizing: border-box;
}

.price{
    color: #424242;
    font-size: 1.6rem;
    font-weight: 400;
}

.subtotal{
    text-align: center;
    color: #ff6700;
    font-size: 1.6rem;
    font-weight: 400;
}

.operation{
    text-align: center;
}

.operation .icon-shanchu1{
    cursor: pointer;
    font-size: 1.6rem;
    color: #757575;
    transition: all 0.2s linear;
}

.del{
    display: inline-block;
    width: 2.4rem;
    height: 2.4rem;
    text-align: center;
    line-height: 2.4rem;
    border-radius: 1.2rem;
    transition: all 0.2s linear;
}

.delete{
    display: inline-block;
    width: 2.4rem;
    height: 2.4rem;
    text-align: center;
    line-height: 2.4rem;
    border-radius: 1.2rem;
}

.del:hover{
    background-color: #e53935;
    transition: all 0.2s linear;
}

.del:hover .icon-shanchu1{
    color: white;
    transition: all 0.2s linear;
}

.count-box .icon-jianhao1{
    font-size: 2rem;
    color: #757575;
    transition: all .2s linear;
}

.count-box .icon-jianhao1:hover{
    color: white;
    transition: all .2s linear;
}

.count-box .icon-jiahao1:hover{
    color: white;
    transition: all .2s linear;
}

.count-box .icon-jiahao1{
    font-size: 2rem;
    color: #757575;
    transition: all .2s linear;
}

.count-box{
    width: 15rem;
    height: 3.8rem;
    border: 0.1rem solid #e0e0e0;
    /* background-color: pink; */
}

.reduce,.add{
    outline: none;
    border: 0;
    width: 3.8rem;
    height: 3.8rem;
    text-align: center;
    line-height: 3.8rem;
    background-color: white;
    float: left;
    transition: all .2s linear;
    cursor: pointer;
}

.reduce:hover{
    background-color: #e0e0e0;
    transition: all .2s linear;
}

.add:hover{
    background-color: #e0e0e0;
    transition: all .2s linear;
}

.count-input{
    width: 7.4rem;
    height: 3.8rem;
    /* background-color: skyblue; */
    margin: 0;
    text-align: center;
    color: #424242;
    font-size: 1.6rem;
}

/* 结算 */
.foot{
    background-color: white;
    height: 5rem;
    margin-top: 2rem;
    box-sizing: border-box;
}

.fl,.selected{
    float: left;
    /* line-height: 5rem; */
    color: #757575;
    font-size: 1.4rem;
    margin-top: 1.7rem;
}

.fl{
    margin-left: 1.8rem;
    color: #ff6700 !important;
}

.fl:hover{
    color: #ff6700;
    cursor: pointer;
}

.selected{
    margin-left: 1.6rem;
    padding-left: 1.6rem;
    border-left: 0.1rem solid #e0e0e0;
}

#selectedTotal{
    color: #ff6700;
}

#closing{
    float: right;
    width: 20rem;
    height: 5rem;
    background-color: #ff6700;
    color: white;
    font-size: 1.8rem;
    text-align: center;
    line-height: 5rem;
    margin-left: 5rem;
    cursor: pointer;
    transition: all .2s linear;
}

.closing:hover{
    opacity: .9;
    transition: all .2s linear;
}

.foot .total{
    float: right;
    color: #ff6700;
    margin-top: 0.5rem;
}

#priceTotal{
    font-size: 3rem;
}

.total-price{
    font-size: 1.4rem;
}

.total-yuan{
    font-size: 1.4rem;
}

.recommend-title{
    width: 100%;
    height: 5.1rem;
    background-color: #f5f5f5;
}

.recommend_null{
    background-color: #f5f5f5;
    border-top: 0.1rem solid #e0e0e0;
    position: relative;
}

.recommend_null span{
    width: 48.2rem;
    height: 4rem;
    position: absolute;
    left: 50%;
    margin-left: -24.1rem;
    color: #757575;
    font-size: 3rem;
    top: -2.3rem;
    background-color: #f5f5f5;
    text-align: center;
    line-height: 4rem;
}

.page_main{
    width: 100%;
    height: auto;
    background-color: #f5f5f5;
    padding-bottom: 3.8rem;
}

.page_main .container{
    height: auto;
    background-color: #f5f5f5;
}

.recommend_list{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.recommend_item{
    width: 22.8rem;
    height: 29.6rem;
    background-color: #ffffff;
    box-sizing: border-box;
    overflow: hidden;
}

.recommend_item:nth-child(6),
.recommend_item:nth-child(7),
.recommend_item:nth-child(8),
.recommend_item:nth-child(9),
.recommend_item:nth-child(10){
    margin: 1.6rem 0;
}

.recommend-slide-a-box{
    display: inline-block;
    width: 22.8rem;
    height: 29.6rem;
    position: relative;
}

.recommend-slide-a-box img{
    width: 14rem;
    height: 14rem;
    margin: 4rem 4.4rem 2rem;
}

.item{
    margin-top: 1.5rem;
}

.footerSwiperGoodsName,.footerSwiperGoodsPrice{
    width: 21.4rem;
    height: 1.8rem;
    margin: auto;
    text-align: center;
    font-size: 1.4rem;
    color: #333333;
    margin-bottom: 1rem;
}

.footerHeat{
    text-align: center;
    font-size: 1.4rem;
    color: #757575;
}

.buyGoods{
    width: 12rem;
    height: 2.5rem;
    border: 0.1rem solid #ff6700;
    margin: auto;
    text-align: center;
    line-height: 2.5rem;
    color: #ff6700;
    position: absolute;
    bottom: -33rem;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    cursor: pointer;
    font-size: 1.2rem;
}

.buyGoods:hover{
    background-color: #ff6700;
    color: #ffffff;
}

/* 您的购物车还是空的 */

.cart_null{
    width: 100%;
    height: 27.3rem;
    background-color: pink;
    margin: 6.5rem 0 9rem;
    background: url(../images/cart-empty.png) no-repeat 12.4rem 0;
    color: #b0b0b0;
    overflow: hidden;
    padding-left: 55.8rem;
    box-sizing: border-box;
}

.login-tip{
    font-size: 3.6rem;
    margin: 7rem 0 0 0;
}

.btn-shoping-yeslogin{
    width: 17rem;
    height: 4.8rem;
    line-height: 4.8rem;
    background-color: #ff6700;
    color: #ffffff;
    margin-top: 1.9rem;
    text-align: center;
    display: inline-block;
    font-size: 1.4rem;
    transition: all .4s;
}

.btn-shoping-yeslogin:hover{
    background-color: #f25807;
    transition: all .4s;
}

.active{
    background-color: #e0e0e0 !important;
    color: #b0b0b0 !important;
    pointer-events: none;
}

 .overlay__log{
    display: none;
  }

  .overlay__del{
    display: none;
  }

  /* 半透明 */
  #overlay {
    position: fixed;
    /* 固定定位 */
    top: 0;
    left: 0;
    width: 100%;
    /* 宽度覆盖整个屏幕 */
    height: 100%;
    /* 高度覆盖整个屏幕 */
    /* background-color: #000;
    opacity: .5; */
    /* 白色背景带50%透明 */
    background-color: rgba(0, 0, 0, 0.5); 
    /* 半透明背景颜色 */
    /* 确保遮罩层位于其他内容之上 */
    justify-content: center;
    align-items: center;
    z-index: 999;
  }

  /* 盒子白色 */
  .overlay__div{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    border-radius: 0.2rem;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
    width: 48rem;
    /* height: 27rem; */
    background-color: #fff;
  }

  

  .overlay__prompt{
    width: 48rem;
    height: 16rem;
    text-align: center;
    line-height: 16rem;
    font-size: 1.8rem;
    font-weight: 400;
    color: #424242;
  }

  .overlay_buy_del{
    width: 48rem;
    height: 16rem;
    text-align: center;
    line-height: 16rem;
    font-size: 1.8rem;
    font-weight: 400;
    color: #424242;
  }

  .overlay__button{
    position: relative;
    width: 48rem;
    height: 7rem;
    border-top: 0.1rem solid #e0e0e0;
    background-color: #f5f5f5;
    box-sizing: border-box;
  }

  .close__overlay{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    outline: none;
    width: 16rem;
    height: 4rem;
    background-color: #ff6700;
    border: 0;
    transition: all .4s;
    cursor: pointer;
    border-radius: 0.2rem;
    text-align: center;
    line-height: 4rem;
    color: white;
  }

  .overlay__delButton{
    position: relative;
    width: 48rem;
    height: 7rem;
    border-top: 0.1rem solid #e0e0e0;
    background-color: #f5f5f5;
    text-align: center;
    padding-top: 1.5rem;
    box-sizing: border-box;
  }

  .sure{
    outline: none;
    width: 16rem;
    height: 4rem;
    background-color: #ff6700;
    border: 0;
    transition: all .4s;
    cursor: pointer;
    border-radius: 0.2rem;
    text-align: center;
    line-height: 4rem;
    color: white;
    transition: all .4s;
  }

  .cancel{
    outline: none;
    width: 16rem;
    height: 4rem;
    background-color: #b0b0b0;
    border: 0;
    transition: all .4s;
    cursor: pointer;
    border-radius: 0.2rem;
    text-align: center;
    line-height: 4rem;
    color: white;
    margin-left: 1.4rem;
    transition: all .4s;
  }

  .sure:hover{
    background-color: #f25807;
    transition: all .4s;
  }

  .cancel:hover{
    background-color: #757575;
    transition: all .4s;
  }

  .close__overlay:hover{
    background-color: #f25807;
    transition: all .4s;
  }

  /* ×号 */
   
  .overlay__div .icon-shanchu1{
    width: 2.5rem;
    height: 2.5rem;
    color: #757575;
    font-weight: 600;
    font-size: 1.8rem;
    display: inline-block;
    position: absolute;
    right: 0.9rem;
    top: 0.9rem;
    cursor: pointer;
    text-align: center;
    line-height: 2.5rem;
    border-radius: 50%;
    transition: .2s;
  }

  .overlay__div .icon-shanchu1:hover{
    background-color: #e53935;
    transition: .2s;
  }

  .addSuccess{
    position: absolute;
    width: 22.8rem;
    height: 0rem;
    z-index: 9999;
    overflow: hidden;
    background-color: #83c44e;
    text-align: center;
    line-height: 3.5rem;
    top: 0;
    left: 0;
    color: white;
    font-size: 1.4rem;
}


.goods_img{
    display: inline-block;
    width: 8rem;
    height: 8rem;
    cursor: pointer;
}

.fixed-table a{
    cursor: pointer;
}

.fixed-bottom{
    transition: all .3s ease-in-out;
    box-shadow: 0 -0.3rem 0.6rem rgba(0, 0, 0, .1);
    position: fixed;
    bottom: 0;
    z-index: 999;
}

.fixed-foot {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120rem;
    z-index: 888;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.btn_line_gray{
    width: 17rem;
    height: 4.6rem;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    line-height: 4.6rem;
    transition: all .4s;
    font-size: 1.4rem;
    background-color: #f5f5f5;
    border: 0.1rem solid #b0b0b0;
    color: #b0b0b0;
    margin-left: 1.2rem;
    z-index: 10000;
}

.btn_line_gray:hover{
    background-color: #fff;
    border-color: #757575;
    color: #757575;
    transition: all .4s;
}