* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: black;
}

li {
    list-style-type: none;
}

i {
    font-style: normal;
}

/* 强制一行显示 超出隐藏 */
.hide {
    /* 强制一行显示 */
    white-space: nowrap;
    /* 超出隐藏 */
    overflow: hidden;
    /* 省略号 */
    text-overflow: ellipsis;
}

/* 强制二行显示  超出隐藏 */
.hideTwo {
    /* 溢出内容隐藏 */
    overflow: hidden;
    /* 文本溢出部分用省略号表示 */
    text-overflow: ellipsis;
    /* 特别显示模式 */
    display: -webkit-box;
    /* 行数 */
    -webkit-line-clamp: 2;
    line-clamp: 2;
    /* 盒子中内容竖直排列 */
    -webkit-box-orient: vertical;
}

/* 版心 */
.main {
    width: 1080px;
    margin: 0 auto;
}

.settlement {
    padding: 35px 31px 55px;
    width: 900px;
    background: #FFFFFF;
    box-shadow: 0 10px 24px 0 rgba(0, 0, 0, 0.1);
    border-radius: 18px;
    border: 1px solid #F6F6F6;
    margin-top: 27px !important;
    margin-bottom: 75px;
}

/* 购物车名字 */
.settlement .box_title {
    height: 25px;
    font-size: 18px;
    font-weight: 500;
    color: #000000;
    line-height: 25px;
}

/* 按钮 */
.settlement .box_button {
    margin-top: 20px;
    height: 22px;
    display: flex;
    justify-content: space-between;
}

.settlement .box_button_check {
    margin-top: 5px;
    margin-left: 20px;
    display: flex;
    /* align-items: center; */
    height: 20px;
    font-size: 14px;
    color: #333333;
    line-height: 23px;
    user-select: none;
}

.settlement .box_button_check:hover {
    cursor: pointer;
}

.settlement .box_button_check_image {
    position: relative;
    margin-right: 9px;
    width: 22px;
    height: 22px;
}

/*.settlement .box_button_check_image input[type=checkbox] {*/
/*    width: 22px;*/
/*    height: 22px;*/
/*}*/

/* 右侧按钮 */
.settlement .box_button_right {
    display: flex;
    user-select: none;
}

.settlement .box_button_right_item {
    margin-left: 15px;
    width: 87px;
    height: 30px;
    border-radius: 15px;
    border: 1px solid #D3D3D3;
    font-size: 14px;
    text-align: center;
    line-height: 28px;
}

.settlement .box_button_right_item a {
    color: #333333;
}

.settlement .box_button_right_item:hover {
    cursor: pointer;
}

.settlement .box_button_right_del {
    width: 58px;
    height: 30px;
    color: #E91A56;
    border: 1px solid #E91A56;
}

/* 商品规格栏 */
.settlement .box_bar {
    padding-left: 52px;
    /*padding-right: 72px;*/
    margin-top: 25px;
    /*width: 838px;*/
    width: 100%;
    height: 30px;
    background: #F0F0F0;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666666;
    line-height: 30px;
}

.settlement .box_bar_right {
    display: flex;
    width: 480px;
    text-align: center;
}

/* 单价 */
.settlement .box_bar_right_priace {
    /*margin-right: 60px;*/
    width: 25%;
}

/* 数量 */
.settlement .box_bar_right_num {
    /*margin-right: 120px;*/
    width: 25%;
}

/* 金钱 */
.settlement .box_bar_right_money {
    /*margin-right: 65px;*/
    width: 25%;
}

/*操作*/
.settlement .box_bar_right_operate {
    width: 25%;
}

/* 商品 */
.settlement .box_goods {
    margin-top: 20px;
}

.settlement .box_goods_title_all {
    position: relative;
    /* overflow: hidden; */
}

.settlement .box_goods_title_all img {
    width: 22px;
    height: 22px;
    cursor: pointer;
}

.settlement .box_goods_title_all input[type=checkbox] {
    width: 22px;
    height: 22px;
}

/* 商户名称 */
.settlement .box_goods_title {
    margin-left: 20px;
    display: flex;
}

.settlement .box_goods_title_name {
    margin-left: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    line-height: 24px;
}

.settlement .box_goods_title .shop-icon {
    width: 20px;
    height: 20px;
    position: relative;
    top: 2px;
}

.settlement .box_goods_title_service {
    margin-left: 14px;
    width: 24px;
    height: 24px;
}

.settlement .box_goods_title_service img {
    width: 100%;
}

.settlement .box_goods_title_service:hover {
    cursor: pointer;
}

/* 领券按钮 */
.settlement .box_goods_title_button1 {
    position: relative;
}
.settlement .box_goods_title_button1 .card_right_card_box{
    display: none;
}
.settlement .box_goods_title_button1:hover .card_right_card_box{
    display: block;
}

.settlement .box_goods_title_button {
    position: relative;
    margin-left: 14px;
    width: 58px;
    height: 20px;
    background: #FFF3F3;
    border-radius: 4px;
    border: 1px solid #E91A56;
    font-size: 14px;
    color: #E91A56;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.settlement .box_goods_title_button:hover {
    cursor: pointer;
}

.settlement .rotate {
    transform: rotate(180deg);
}

/* 移入显示出方框 */
.settlement .card_right_card_box {
    position: absolute;
    top: 20px;
    left: 0px;
    padding: 20px;
    width: 274px;
    max-height: 500px;
    overflow-y: auto;
    background: #FFFFFF;
    box-shadow: 0px 10px 24px 0px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    border: 1px solid #F6F6F6;
    z-index: 111;
    /* position: relative; */
}

/* 叉号图标 */
.settlement .card_right_card_box_close {
    width: 12px;
    height: 12px;
    /* background: #BCBCBC; */
    /* overflow: hidden; */
    position: absolute;
    top: 12px;
    right: 12px;
    /* background: url('../image/colse.png'); */
    /* background-size: 12px 12px; */
}

.settlement .card_right_card_box_close:hover {
    cursor: pointer;
}

.settlement .card_right_card_box_close img {
    width: 100%;
    height: 100%;
}

/* 标题 */
.settlement .right_top_title {
    /* margin-left: 3px; */
    font-size: 12px;
    font-weight: 500;
    color: #000000;
}

/* 优惠券 */
.settlement .right_top_main_item {
    position: relative;
    width: 234px;
    height: 74px;
    background: #FFFFFF;
    border-radius: 12px;
    margin-top: 10px;
    padding-top: 6px;
    padding-left: 15px;
    border: 1px solid #EDEDED;
}

/* 优惠金额 */
.settlement .right_top_main_item_money {
    width: 180px;
    font-size: 19px;
    font-weight: bold;
    color: #E91A56;
    line-height: 23px;
}

/* 满多少可用 */
.settlement .right_top_main_item_sum {
    margin-top: 2px;
    width: 180px;
    font-size: 12px;
    color: #333333;
    line-height: 17px;
}

/* 日期 */
.settlement .right_top_main_item_date {
    width: 180px;
    margin-top: 2px;
    font-size: 12px;
    color: #333333;
    line-height: 17px;
}

/* 按钮立即领取 */
.settlement .right_top_main_item_button {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 30px;
    height: 74px;
    background: #E91A56;
    border-radius: 0px 12px 12px 0px;
}
/* 已领取 */
.settlement .right_top_main_item_button.right_top_main_item_received {
    padding-top: 5px;
    background: #aaa;
}
.settlement .right_top_main_item_button a {
    display: block;
    margin-top: 9px;
    margin-left: 6px;
    width: 18px;
    height: 67px;
    font-size: 12px;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 14px;
    text-align: center;
}

/* 立即使用 */
.settlement .right_top_main_item_buttonPronto {
    background: #E9761A;
}

/* 商品盒子 */
.settlement .box_goods_info {
    margin-top: 15px;
}

/* 商品栏 */
.settlement .box_goods_info_item {
    display: flex;
    padding: 20px 0 20px 20px;
    /*width: 838px;*/
    width: 100%;
    height: 130px;
    background: #FAFAFA;
    border-radius: 4px;
}

.settlement .box_goods_info_item_check {
    height: 90px;
    line-height: 90px;

}

.settlement .box_goods_info_item_check img {
    width: 22px;
    height: 22px;
    cursor: pointer;
}

/*.settlement .box_goods_info_item_check input[type=checkbox] {*/
/*    width: 22px;*/
/*    height: 22px;*/
/*}*/

.settlement .box_goods_info_text {
    display: flex;
    margin-right: 45px;
    flex: 1;
}

.settlement .box_goods_info_text_image {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 5px;
    overflow: hidden;
    margin-left: 20px;
}

.settlement .box_goods_info_text_image_color {
    width: 100%;
    height: 100%;
    position: absolute;
    background: #000000;
    opacity: .5;
    z-index: 11;
    text-align: center;
    line-height: 90px;
    font-size: 14px;
    color: #FFFFFF;
}

.settlement .box_goods_info_text_image img {
    width: 100%;
    height: 100%;
}

.settlement .box_goods_info_text_text2 {
    margin-left: 10px;
    width: 320px;
}

.settlement .box_goods_info_text_text2 p {
    height: 48px;
    font-size: 14px;
    font-weight: bold;
    color: #333333;
    line-height: 24px;
}

.settlement .box_goods_info_text_text2_i {
    font-size: 14px;
    display: block;
    margin-top: 10px;
    color: #333333;
    line-height: 24px;
}

.settlement .box_goods_info_item_right {
    display: flex;
    width: 480px;
    text-align: center;
}

.settlement .box_goods_info_item_right_priace {
    /* height: 75px; */
    /*width: 70px;*/
    width: 25%;
    font-size: 14px;
    color: #333333;
    line-height: 99px;
}

/* 选择框 */
.settlement .box_goods_info_item_right_select {
    /*width: 123px;*/
    width: 25%;
    padding-top: 25px;
}

.settlement .card_right_select_box {
    display: flex;
    align-items: center;
    /*margin-left: 15px;*/
    /*margin-right: 10px;*/
    /*width: 100px;*/
    height: 40px;
    border-radius: 4px;
    border: 1px solid #C8C8C8;
    cursor: pointer;
}

/* 减 */
.settlement .card_right_select_box_cut {
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;

}

.settlement .card_right_select_box_cut img {
    width: 20px;
    height: 20px;
}

.settlement .card_right_select_box_cut_1 {
    margin-top: 19px;
    margin-left: 7px;
    width: 16px;
    height: 2px;
    background: #D8D8D8;
    cursor: pointer;
}

.settlement .card_right_select_box_input {
    width: 38px;
    height: 22px;
    border-style: solid;
    background: #FAFAFA;
    border-top-style: none;
    border-left-width: 2px;
    border-right-width: 2px;
    border-color: #C8C8C8;
    text-align: center;
    outline: none;
    /* border-right-style: 1px solid #C8C8C8; */
    border-bottom-style: none;
    /* border-left-style: 1px solid #C8C8C8; */
}

.settlement .card_right_select_box_add {
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.settlement .card_right_select_box_add img {
    width: 20px;
    height: 20px;
}

.settlement .card_right_select_box_add_2 {
    margin-left: 6px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.settlement .card_right_select_box_add_2 img {
    width: 100%;
}

.settlement .card_right_select_selected i {
    color: #E91A56;
}

/* 库存 */
.settlement .box_goods_info_item_right_select_stock {
    margin-top: 8px;
    text-align: center;
    font-size: 14px;
    color: #666666;
    line-height: 24px;
}

/* 金钱 */
.settlement .box_goods_info_item_right_money {
    margin-top: 37px;
    /*margin-left: 45px;*/
    width: 25%;
    font-size: 16px;
    font-weight: bold;
    color: #E91A56;
    line-height: 24px;
}

/* 按钮 */
.settlement .box_goods_info_item_right_button {
    padding-top: 25px;
    /*margin-left: 48px;*/
    width: 25%;
    font-size: 14px;
    color: #666666;
    user-select: none;
}

.settlement .box_goods_info_item_right_button_import:hover,
.settlement .box_goods_info_item_right_button_del:hover {
    cursor: pointer;
}

.settlement .box_goods_info_item_right_button_del {
    margin-top: 10px;
    color: #E91A56;
}

/* 底部 */
.settlement .box_bottom {
    display: flex;
    flex-direction: column;
    align-items: end;
    margin-top: 45px;
}

.settlement .box_bottom_top {
    display: flex;
    justify-content: flex-end;
    height: 25px;
    font-size: 18px;
    color: #333333;
    line-height: 25px;
}

.settlement .box_bottom_top i {
    color: #E91A56;
}

.settlement .box_bottom_top_total {
    margin-left: 25px;
}

.settlement .box_bottom_top_total i {
    font-weight: 500;
    font-size: 24px;
}

/* 结算 */
.settlement .box_bottom_foot {
    cursor: pointer;
    display: block;
    margin-top: 25px;
    width: 280px;
    height: 50px;
    background: #7048D9;
    border-radius: 25px;
    text-align: center;
    line-height: 50px;
    font-size: 14px;
    color: #FFFFFF;
}








