* {
    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 {
    text-overflow: -o-ellipsis-lastline;
    /* 溢出内容隐藏 */
    overflow: hidden;
    /* 文本溢出部分用省略号表示 */
    text-overflow: ellipsis;
    /* 特别显示模式 */
    display: -webkit-box;
    /* 行数 */
    -webkit-line-clamp: 2;
    line-clamp: 2;
    /* 盒子中内容竖直排列 */
    -webkit-box-orient: vertical;
}

/* 版心 */
.main {
    width: 1080px;
    margin: 20px auto;
}

/* 顶部卡片 */
.card {
    display: flex;
}

/* 左侧 */
/* 图片 */
.card_left {
    width: 350px;
    height: 429px;
    border-radius: 10px;
}

.card_left_img {
    width: 350px;
    height: 349px;
    overflow: hidden;
}

.card_left_img img {
    width: 100%;
    height: 100%;
}

/* 底部 */
.card_left_bottom {
    margin-top: 10px;
    height: 70px;
}

/* 左右箭头 */
.card_left_bottom_arrow {
    position: relative;
}

.card_left_bottom_arrow_l {
    position: absolute;
    top: 27px;
    left: 0;
    width: 8px;
    height: 12px;
    background-image: url("../images/icon_geryArrowL.png");
    z-index: 555;
}

.card_left_bottom_arrow_r {
    position: absolute;
    top: 27px;
    right: 0;
    width: 8px;
    height: 12px;
    background-image: url("../images/icon_greyArrowR.png");
    z-index: 555;
}

.disable {
    color: #666666;
}

/* 底部图片 */
.card_left_bottom_img {
    position: relative;
    margin: 0 17px;
    height: 70px;
    /*width: 70px;*/
    width: 100%;
    overflow: hidden;
}

.card_left_bottom_img ul {
    position: absolute;
    left: 0;
    width: 500px;
    height: 70px;
}

.card_left_bottom_img ul li {
    display: inline-block;
    margin-right: 12px;
    width: 70px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
}

/* .main .details .items:nth-child(2) {
  margin-top: 0px;
} */
.card_left_bottom_img ul li:nth-child(2),
.card_left_bottom_img ul li:nth-child(3),
.card_left_bottom_img ul li:nth-child(4) {
    opacity: .5;
}

.card_left_bottom_img ul li:nth-child(4) {
    /* filter: brightness(0.4); */
    /* filter: grayscale(100%); */
    margin-right: 0;
}

.card_left_bottom_img li img {
    width: 100%;
    height: 70px;
    cursor: pointer;
}

/* 右侧 */
.card_right {
    margin-left: 20px;
    position: relative;
}

/* 标题 */
.card_right_title {
    position: relative;
    width: 683px;
    font-size: 20px;
    font-weight: bold;
    text-overflow: -o-ellipsis-lastline;
    /* 溢出内容隐藏 */
    overflow: hidden;
    /* 文本溢出部分用省略号表示 */
    text-overflow: ellipsis;
    /* 特别显示模式 */
    display: -webkit-box;
    /* 行数 */
    -webkit-line-clamp: 2;
    line-clamp: 2;
    /* 盒子中内容竖直排列 */
    -webkit-box-orient: vertical;
    /* height: 68px; */
}

/* 热卖促销 */
.card_right_hot {
    margin-top: 20px;
    font-weight: bold;
    color: #E91A56;
    line-height: 24px;
}

.card_right_hot_priace {
    margin-left: 10px;
    font-size: 24px;
    line-height: 36px;
}

.card_right_hot .card_right_hot_qi {
    font-weight: 400;
    font-size: 14px;
}

/* 销量 */
.card_right_hot_sales {
    margin-left: 27px;
    height: 24px;
    font-size: 14px;
    font-weight: 400;
    color: #666666;
    line-height: 24px;
}

/* 优惠券 配送 */
.card_right_card {
    padding-top: 13px;
    padding-left: 15px;
    margin-top: 18px;
    width: 500px;
    height: 81px;
    background: #FAFAFA;
    border-radius: 8px;
    position: relative;
}

/* 优惠券 */
.card_right_card_coupon {
    align-items: center;
    display: flex;
    height: 20px;
    font-size: 14px;
    color: #333333;
    line-height: 20px;
}

/* 满减 */
.card_right_card_coupon_full {
    margin-right: 6px;
    /*width: 70px;*/
    padding: 0 5px;
    height: 20px;
    background: #FFF3F3;
    border-radius: 4px;
    border: 1px solid #E91A56;
    font-size: 12px;
    color: #E91A56;
    text-align: center;
    line-height: 20px;
}

.card_right_card_coupon_full:first-child {
    margin-left: 16px;
}

/* 领劵 */
.card_right_card_coupon_neck {
    display: flex;
    align-items: center;
    height: 20px;
    margin-left: 17px;
    font-size: 14px;
    color: #E91A56;
    position: relative;
}

.card_right_card_coupon_neck:hover {
    cursor: pointer;
}

.card_right_card_coupon_neck_image {
    margin-top: 1px;
}

/* 配送 */
.card_right_card_delivery {
    display: flex;
    align-items: center;
    margin-top: 13px;
    height: 20px;
    font-size: 14px;
    color: #333333;
}

.card_right_card_delivery_address {
    height: 20px;
    font-size: 14px;
    color: #666666;
}

/* 评价 */
.card_right_card_delivery_reat {
    display: flex;
    margin-left: 30px;
    color: #333333;
}

/* 星 */
.card_right_card_delivery_reat_star {
    margin-left: 10px;
}

/* 成交数量 评价数量 */
.card_right_card_delivery_reat_num {
    color: #666666;
    margin-left: 8px;
}

.card_right_card_delivery_reat_num i {
    color: #7048D9;
}

/* 移入显示出方框 */
.card_right_card_box {
    position: absolute;
    top: 16px;
    left: 0px;
    z-index: 555;
    padding-top: 20px;
    padding-left: 20px;
    width: 274px;
    /*height: 318px;*/
    padding-bottom: 20px;
    background: #FFFFFF;
    box-shadow: 0px 10px 24px 0px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    border: 1px solid #F6F6F6;
    /* position: relative; */
}

/* 叉号图标 */
.card_right_card_box_close {
    width: 15px;
    height: 15px;
    /* background: #BCBCBC; */
    /*overflow: hidden;*/
    position: absolute;
    top: 20px;
    right: 20px;
}

.card_right_card_box_close:hover {
    cursor: pointer;
}

.card_right_card_box_close img {
    width: 100%;
    height: 100%;
}

/* 标题 */
.right_top_title {
    margin-left: 3px;
    font-size: 14px;
    font-weight: 500;
    color: #000000;
}

/* 优惠券 */
.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;
}

/* 优惠金额 */
.right_top_main_item_money {
    width: 180px;
    font-size: 19px;
    font-weight: bold;
    color: #E91A56;
    line-height: 23px;
}

/* 满多少可用 */
.right_top_main_item_sum {
    margin-top: 2px;
    width: 180px;
    font-size: 12px;
    color: #333333;
    line-height: 17px;
}

/* 日期 */
.right_top_main_item_date {
    width: 180px;
    margin-top: 2px;
    font-size: 12px;
    color: #333333;
    line-height: 17px;
}

/* 按钮立即领取 */
.right_top_main_item_button {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 30px;
    height: 74px;
    background: #E91A56;
    border-radius: 0px 12px 12px 0px;
}

.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;
}

/* 立即使用 */
.right_top_main_item_buttonPronto {
    background: #E9761A;
}

/* 已领取 */
.right_top_main_item_received {
    padding-top: 5px;
    background: #aaa;
}

/* 分类 */
.card_right_classify {
    margin-top: 20px;
    display: flex;
}

.card_right_classify_left {
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    margin-right: 15px;
    line-height: 40px;
    max-width: 150px;
}

/* 规格 */
.card_right_classify_right {
    display: flex;
    flex-wrap: wrap;
    width: 560px;
}

.card_right_classify_right_norms {
    margin-right: 10px;
    max-width: 300px;
    padding: 0 20px;
    height: 40px;
    border-radius: 4px;
    border: 1px solid #999999;
    text-align: center;
    /* list-style: none; */
    line-height: 40px;
    font-size: 14px;
    font-weight: 400;
    color: #333333;
    user-select: none;
}
.card_right_classify_right_norms:hover {
    cursor: pointer;
}

.card_right_classify_right_norms:nth-child(5n) {
    margin-right: 0px;
}

/* 选中第五元素以后的 */
.card_right_classify_right_norms:nth-child(n + 6) {
    margin-top: 10px;
}

/* 选中红色 */
.card_right_classify_right_norms.active {
    border: 1px solid #E91A56;
    color: #E91A56;
    background: #FFF7FA;
}

/* 选择数量 */
.card_right_select {
    margin-top: 20px;
    display: flex;
    align-items: center;
}

.card_right_select_box {
    display: flex;
    align-items: center;
    margin-left: 15px;
    margin-right: 10px;
    width: 139px;
    height: 40px;
    border-radius: 4px;
    border: 1px solid #C8C8C8;
}

/* 减 */
.card_right_select_box_cut {

}

.card_right_select_box_cut, .card_right_select_box_add {
    height: 40px;
    width: 40px;
    /*line-height: 35px;*/
    /*text-align: center;*/
    /*font-size:30px;*/
}

.card_right_select_box_cut img, .card_right_select_box_add img {
    width: 100%;
    height: 100%;
    padding: 30%;
}

.card_right_select_box_cut_1 {
    margin-top: 19px;
    margin-left: 12px;
    width: 17px;
    height: 2px;
    background: #D8D8D8;
}

.card_right_select_box_input {
    width: 54px;
    height: 22px;
    border-style: solid;
    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; */
}

.card_right_select_box_add_2 {
    margin-left: 12px;
    width: 17px;
    height: 17px;
    /* background: #333333; */
}

.card_right_select_box_add_2 img {
    width: 100%;
}

.card_right_select_box_add_2:hover,
.card_right_select_box_cut_1:hover,
.card_right_select_box:hover {
    cursor: pointer;
}
.card_right_select_selected{
    display: flex;
    align-items: center;
}
.card_right_select_selected i {
    color: #E91A56;
    max-width: 400px;
    display: inline-block;
}

/* 底部按钮 */
.card_right_button {
    margin-top: 32px;
    display: flex;
}

.card_right_button_buy {
    width: 130px;
    height: 50px;
    background: #7048D9;
    box-shadow: 0px 6px 10px 0px rgba(158, 133, 205, 0.46);
    border-radius: 25px;
    text-align: center;
    line-height: 50px;
    color: #FFFFFF;
    margin-right: 17px;
    cursor: pointer;
}

.card_right_button_add {
    width: 130px;
    height: 50px;
    border-radius: 25px;
    border: 1px solid #7048D9;
    text-align: center;
    line-height: 50px;
    color: #7048D9;
    cursor: pointer;
}

.card_right_button_star {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 32px;
    width: 34px;
    height: 51px;
    color: #666666;
    font-size: 12px;
    line-height: 25px;
    user-select: none;
}

.card_right_button_star:hover {
    cursor: pointer;
}

/* 上方店铺详情 */
.store {
    /* margin-top: 11px; */
    width: 807px;
    height: 130px;
    /* background: #FFFFFF; */
    background: #FAFAFA;
    /* box-shadow: 0px 10px 24px 0px rgba(0,0,0,0.1); */
    border-radius: 12px;
    /* opacity: 0.9; */
    border: 1px solid #F6F6F6;
    padding: 22px 40px 0px 25px;
    display: flex;
    justify-content: space-between;
}

.store_left {
    display: flex;
}

/* 左边店铺头像 */
.store_left_image {
    margin-right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.store_left_image img {
    width: 100%;
    height: 100%;
}

/* 店铺名称 */
.store_left_text_name {
    height: 18px;
    font-size: 18px;
    color: #000000;
    line-height: 27px;
}

/* 商家地点 */
.store_left_text_address {
    height: 24px;
    margin-top: 15px;
    font-size: 14px;
    font-weight: 400;
    color: #999999;
    line-height: 24px;
}

/* 认证图标 */
.store_left_text_address_icont {
    display: inline-block;
    vertical-align: top;
    margin-right: 8px;
}

.store_left_text_address_icont_attestation {
    display: flex;
    /* margin-top: 6px; */
    /* width: 76px; */
    padding-right: 13px;
    height: 24px;
    background: #ECE0D3;
    border-radius: 12px;
}

.store_left_text_address_icont_attestation_img {
    width: 24px;
    height: 24px;
    background-image: url(../images/icon_V.png);
}

.store_left_text_address_icont_attestation span {
    margin-left: 5px;
    font-size: 12px;
    font-weight: 500;
    color: #A5735B;
    line-height: 24px;
}

/* 商家评分 */
.store_left_text_mark {
    margin-top: 9px;
    display: flex;
}

.store_left_text_mark_one {
    margin-right: 21px;
    height: 14px;
    font-size: 14px;
    line-height: 21px;
    color: #666666;
}

.store_left_text_mark_one span {
    height: 25px;
    font-size: 18px;
    font-weight: 500;
    color: #7048D9;
    line-height: 25px;
}

/* 右侧客服 */
.store_right {
    margin-top: 16px;
    display: flex;
    /* align-items: center; */
}

.store_right_service {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 56px;
    height: 58px;
    font-size: 14px;
    color: #666666;
    user-select: none;
}

.store_right_service:hover {
    cursor: pointer;
}

.store_right_service_image {
    width: 34px;
    height: 34px;
    margin-bottom: 4px;
}

.store_right_service_image img {
    width: 100%;
}

/* 线 */
.store_right_line {
    margin-top: 9px;
    margin-left: 39px;
    margin-right: 30px;
    width: 1px;
    height: 37px;
    border: 1px solid #D5D5D5;
}

/* 商品规格 */
.details_norms {
    display: flex;
    flex-wrap: wrap;
    width: 800px;
    height: 81px;
    background: #FAFAFA;
    border-radius: 12px;
    margin-top: 20px;
    padding-top: 17px;
    padding-left: 25px;
}
.details_norms .goods-params{
    width: 250px;
        height: 24px;
        font-size: 14px;
        color: #333333;
        line-height: 24px;
    display: inline-block;
}
/*.details_norms_info {*/
/*    margin-right: 101px;*/
/*}*/

/*.details_norms p {*/
/*    height: 24px;*/
/*    font-size: 14px;*/
/*    color: #333333;*/
/*    line-height: 24px;*/
/*}*/

.items {
    /* position: relative; */
    margin-top: 20px;
}

/* 右侧固定导航栏 */
.details_nav {
    position: absolute;
    top: 0px;
    left: 857px;
    width: 80px;
    height: 406px;
    background: #FFFFFF;
    box-shadow: 0px 10px 24px 0px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    border: 2px solid #F6F6F6;
    padding: 40px 18px 29px;
}

/* 手机买 */
.details_nav_code {
    /* display: block; */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    height: 14px;
    font-size: 13px;
    color: #666666;
    line-height: 21px;
    position: relative;
}

.details_nav_code .cart-num {
    width: 20px;
    height: 20px;
    display: inline-block;
    line-height: 20px;
    border-radius: 50%;
    text-align: center;
    background-color: red;
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 11px;
    color: #fff;
    display: none;
}

.details_nav_code:nth-child(n + 2) {
    margin-top: 56px;
}

.details_nav_code_image {
    /* margin-bottom: 3px; */
}

.details_nav_code_image img {
    width: 100%;
}

/* 导航栏固定定位 */
.details_navFixed {
    position: fixed;
    top: calc(50vh - 238px);
    left: calc(50vw + (540px - 223px));
}

.details_user {
    margin-bottom: 150px;
}

/* 用户详情 */
.user_box_ul {
    display: flex;
}

.user_box_ul li {
    width: 76px;
    height: 30px;
    background: #F6F6F6;
    border-radius: 15px;
    font-size: 14px;
    color: #666666;
    text-align: center;
    line-height: 30px;
    margin-right: 8px;
    border: 1px solid #F6F6F6;
    cursor: pointer;
}

.user_box_ul li.purple {
    background: #F5F1FF;
    border-radius: 15px;
    border: 1px solid #7048D9;
    color: #7048D9;

}

.user_goods_item {
    width: 800px;
    padding-top: 30px;
    border-top: 1px solid #ebebeb;
}

.user_goods_item:first-child {
    border-top: 0;
}

/* 上方头像 */
.user_goods_item_info {
    height: 48px;
    display: flex;
    /* align-items: center; */
}

.user_goods_item_info_image {
    margin-top: 2px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #FFFFFF;
    margin-right: 10px;
}

.user_goods_item_info_image img {
    width: 100%;
}

.user_goods_item_info_text {
    font-size: 14px;
    color: #333333;
    line-height: 24px;
}

.user_goods_item_info_text_time {
    font-size: 12px;
    color: #999999;
    line-height: 24px;
}

/* 商品评价 */
.user_goods_item_rate {
    margin-top: 13px;
    width: 730px;
    color: #333333;
    line-height: 24px;
    font-size: 14px;
}

/* 商品图片 */
.user_goods_item_box {
    width: 730px;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.user_goods_item_box_image {
    width: 171px;
    height: 170px;
    border-radius: 10px;
    overflow: hidden;
    margin-right: 15px;
    margin-top: 10px;
}

.user_goods_item_box_image:nth-child(4n) {
    margin-right: 0px;
}

.user_goods_item_box_image img {
    width: 100%;
}


/* 项目 */
.item {
    margin-top: 30px;
}

.item_title ul {
    display: flex;
    position: relative;
    user-select: none;
}

.item_title ul li {
    /* height: 16px; */
    font-size: 16px;
    color: #666666;
    line-height: 24px;
    margin-right: 28px;
}

.item_title ul li:hover {
    cursor: pointer;
}

.item .item_title ul .current {
    font-weight: 500;
    color: #000000;
}

.item .item_title .item_title_purple {
    position: absolute;
    top: 24px;
    left: 0px;
    margin-top: 6px;
    margin-left: 18px;
    display: block;
    width: 28px;
    height: 4px;
    background: #7048D9;
    border-radius: 2px;
}

/* 项目详情 */
.details {
    margin-top: 30px;
    position: relative;
    /* width: 1078px; */
}


/* 下方项目介绍 */
.details_left_intro {
    width: 800px;
     min-height: 300px;
    padding: 20px;
}

.details_left_intro img {
    max-width: 100%;
}

/*无优惠券*/
.no-coupon {
    color: red;
    font-size: 12px;
    padding-left: 10px;
}
