/*
  电商-独有样式
*/
@import './shopmall.rewrite.element.less';
.middle_width1190 {
  max-width: 1250px;
  // padding: 0 35px;
  margin: 0 auto;
}
// logo、搜索、购物车
.logo_wrap {
  padding: 10px 0 18px;
  .title_guoxin {
    width: 30%;
    h2 {
      height: 22px;
      font-size: 21px;
      font-family: Microsoft YaHei;
      font-weight: 400;
      color: #333;
      line-height: 21px;
      padding-left: 20px;
      margin-left: 20px;
      display: inline-block;
      border-left: 1px solid #ccc;
    }
  }
  .shopcar_box {
    width: 111px;
    text-align: center;
    cursor: pointer;
    position: relative;
    border: 1px solid #eeeeee;
    margin-top: 20px;
    .cart_btn_wrap {
      color: @orange;
      padding: 6px 0;
      .iconfont {
        margin-right: 9px;
        font-size: 16px;
      }
      .ci-count {
        position: absolute;
        width: auto;
        height: 18px;
        top: -2px;
        left: 21px;
        padding: 0 4px;
        color: #ffffff;
        border-radius: 10px;
        background: @orange;
        text-align: center;
        line-height: 18px;
        font-size: 12px;
        transform: scale(0.8);
      }
      .cart{
        font-size: 12px;
      }
    }
    .new_goods {
      z-index: 1002;
      position: absolute;
      background: #ffffff;
      width: 400px;
      right: -1px;
      border: 1px solid #eeeeee;
      color: #666;
      border-radius: 5px 0 5px 5px;
      .new_title {
        text-align: left;
        text-indent: 20px;
        padding: 10px 0;
        border-bottom: 1px solid #eeeeee;
      }
      .item_goods {
        display: flex;
        padding: 8px 10px;
        justify-content: space-between;
        &:hover {
          background-color: #f2f2f2;
          .del_goods {
            color: @orange;
          }
        }
        img {
          width: 48px;
          height: 48px;
          border: 1px solid #eee;
        }
        &:last-of-type {
          padding-bottom: 15px;
        }
        .goods_name {
          width: 60%;
          text-align: left;
          margin: 0 8px;
          height: 40px;
        }
        .action_goods {
          position: relative;
          .price {
            color: @orange;
            white-space: nowrap;
            span {
              color: #666;
            }
          }
          .del_goods {
            cursor: pointer;
            position: absolute;
            bottom: 5px;
            right: 0;
          }
        }
      }
    }
  }
}
.nav {
  position: relative;
  .navitems_group {
    width: calc(100% - 228px);
    padding-left: 50px;
    font-size: 15px;
    font-weight: 400;
    li {
      display: inline-block;
      margin: 0 20px 3px;
      line-height: 36px;
      width: 136px;
      height: 36px;
      border: 1px solid #eee;
      text-align: center;
      box-sizing: border-box;
      &.actives{
        border: 2px solid #FB6B2B !important;
      }
      img{
        height: 100%;
        vertical-align: initial !important;
      }
    }
  }
  .dorpdown {
    width: 230px;
    height: 40px;
    line-height: 40px;
    position: absolute;
    left: 0;
    top: 0;
    &.fixed {
      position: fixed;
      z-index: 2002;
      top: 0;
      background-color: @white;
    }
    // 全部商品分类title
    .title {
      width: 228px;
      text-align: center;
      color: @white;
      font-weight: 400;
      font-size: 15px;
      background: @orange;
    }
  }
  // 全部商品分类
  .grid_c1 {
    display: none;
    width: 1190px;
    position: absolute;
    top: 40px;
    left: 0;
    &.active {
      display: block;
    }
    .nav_li {
      width: 230px;
      background: @white;
      height: 400px;
      position: absolute;
      z-index: 1000;
      left: 0;
      .cate_menu {
        height: 360px;
        overflow-y: auto;
        padding: 22px 0;
        box-sizing: border-box;
        li {
          padding: 0 22px 0 50px;
          line-height: 44px;
          border-bottom: 1px dashed #e0e0e0;
          position: relative;
          /*   &.cate_menu_active{
               color: @orange;
               font-size: 16px;
               background-color: #eee;
             }*/
          i[class^="icon_"] {
            font-style: normal;
            font-weight: normal;
            &:before {
              font-family: iconfont;
              width: 0;
              height: 0;
              font-size: 16px;
              position: absolute;
              left: 22px;
              top: 0px;
              //color: #88cdda;
            }
          }
          .icon_0 {
            &:before {
              content: '\e652';
            }
          }
          .icon_1 {
            &:before {
              content: '\e653';
            }
          }
          .icon_2 {
            &:before {
              content: '\e64e';
            }
          }
          .icon_3 {
            &:before {
              content: '\e651';
            }
          }
          .icon_4 {
            &:before {
              content: '\e654';
            }
          }
          .icon_5 {
            &:before {
              content: '\e64f';
            }
          }
          .icon_6 {
            &:before {
              content: '\e65c';
            }
          }
          &:after {
            content: '\e700';
            font-family: iconfont;
            width: 0;
            height: 0;
            font-size: 9px;
            position: absolute;
            right: 22px;
            top: 0px;
            color: #999;
          }
          &.hover_active {
            font-weight: bold;
            color: @orange;
            background-color: #eee;
            i[class^="icon_"] {
              &:before {
                color: @orange;
              }
            }
          }
        }
        li:nth-of-type(n+8) i[class^="icon_"] {
          &:before {
            content: '\e651';
          }
        }
      }
      .hover_box {
        height: 400px;
        &.active {
          visibility: visible;
        }
        visibility: hidden;
        position: absolute;
        left: 230px;
        top: 0;
        width: 972px;
        min-height: 400px;
        border: 1px solid #eee;
        background-color: #fff;
        -webkit-transition: 0.25s ease;
        transition: 0.25s ease;
        -webkit-box-shadow: 2px 0 5px rgba(0,0,0,.3);
        box-shadow: 2px 0 5px rgba(0,0,0,.3);
        -webkit-transition: top .25s ease;
        transition: top .25s ease;
        .itema {
          padding: 18px 23px 0px;
          .item_atitle {
            padding-bottom: 13px;
            border-bottom: 1px solid #eee;
            .cate_detail_tit {
              font-size: 14px;
              font-weight: bold;
              color: #333;
            }
            .cate_detail_more {
              font-size: 14px;
              color: #999;
              position: relative;
              &:after {
                content: '\e700';
                font-family: iconfont;
                width: 0;
                height: 0;
                font-size: 9px;
                position: absolute;
                right: 0;
                top: 1px;
                color: #ccc;
              }
            }
          }
          .item_acontent {
            padding-top: 10px;
            li {
              border-right: 2px solid #eee;
              font-weight: 400;
              float: left;
              padding: 0 16px;
              font-size: 14px;
              line-height: 14px;
              margin-bottom: 10px;
              &:last-child {
                border: none;
              }
              &:first-child {
                padding-left: 0;
              }
              &:hover {
                color: @orange;
              }
            }
          }
        }
      }
    }
  }
}
.search_inline {
  width: 540px;
  background: rgba(255, 255, 255, 1);
  height: auto;
  border: 2px solid @orange;
  display: flex;
  justify-content: center;
  margin-top: 15px;
  .el-input-group {
    input {
      border: none!important;

    }
    .el-input-group__append {
      padding: 0px 28px;
      background-color: @orange;
      color: #fff;
      border: 1px solid @orange;
      border-radius: inherit;
      text-align: center;
    }
  }
}
// 当前位置
.crumbs_nav_main {
  padding: 10px 0;
  font-size: 14px;
  .pos_title {
    display: inline-block;
    vertical-align: middle;
    color: #666;
    .iconfont {
      margin-right: 8px;
      color: @orange;
    }
  }
  .el-breadcrumb {
    vertical-align: middle;
    display: inline-block;
  }
}



.middle_width1200{
  max-width: 1200px;
  margin: 0 auto;
}
.content-title{
  margin: 12px 0;
  font-weight: 700;
}
.shopmall-p16{
  padding: 16px 0;
}
.shopmall—page-bottom-btn{
  text-align: center;
}
.shopmall-btn-fixed{
  text-align: center;
  position: fixed;
  z-index: 2000;
  bottom: 0;
  left: 53%;
  /*  transform: translateX(-50%);
    background-color: #fff;
    padding: 12px 0;
    width: calc(1366px - 7.6%);*/
}
/*------------列表样式start---------------*/
.shopmall-page-title{
  font-size:14px;
  font-weight:bold;
  color:#333333;
  line-height:41px;
  height: 41px;
  padding-left: 12px;
  font-family: "MicrosoftYaHei-Bold";
  border-bottom:1px solid rgba(238, 238, 238, 1);
}
.search-content{
  border-bottom:1px solid rgba(238, 238, 238, 1);
  padding: 12px 12px 0;
}
.add-wrap{
  margin-bottom: 12px;
}
.shopmall-view{
  position: relative;
  padding: 12px;
}
/*------------列表样式end---------------*/

/*------------邮寄地址、发票样式start---------------*/
.invoiceManageList{
  .children{
    min-height: 144px;
    box-sizing: border-box;
    margin-bottom: 16px;
    position: relative;
    border-radius: 5px;
    font-size: 12px;
    .invoiceManageInfo{
      padding: 12px 18px;
      & p{
        color: #999;
        line-height: 30px;
        height: 30px;
        overflow: hidden;
      }
      & span{
        margin-left: 6px;
        color: #333;
      }
    }
    .mailingaddress{
      & .iconfont{
        color: #ccc;
      }
    }
    .edit-modify{
      padding: 5px 18px;
      border-top: 1px solid #F2F2F2;
      text-align: right;
      font-size: 16px;
      position: absolute;
      bottom: 0;
      .iconfont{
        color: #666;
        cursor: pointer;
        margin-right: 8px;
        &:hover{
          color: @hyacinthine;
        }
      }
    }
    &.acitve{
      border: 1px dashed #dcdcdc;
      position: relative;
      &:before{
        content: "";
        width: 50px;
        height: 50px;
        top: -7px;
        right: -7px;
        display: inline-block;
        position: absolute;
        background: url(~@assets/img/shopmall/default.png) no-repeat center/100%;
      }
      &:hover{
        border: 1px dashed @hyacinthine;
      }
    }
    &.selected{
      border: 1px dashed @hyacinthine !important;
    }
    &.gray{
      border: 1px dashed #dcdcdc;
      &:hover{
        border: 1px dashed @hyacinthine;
      }
    }
  }
  .add_invoiceManage_info{
    min-height: 144px;
    line-height: 44px;
    border: 1px dashed #DCDCDC;
    text-align: center;
    color: #666666;
    border-radius: 5px;
    font-size: 12px;
    &.flex{
      display: flex;
      justify-content: center;
      align-items: center;
    }
    i.iconfont{
      font-size: 40px;
      margin-right: 18px;
      color: #DCDCDC;
      vertical-align: middle;
      font-weight: 600;
    }
    &:hover{
      border: 1px dashed @hyacinthine;
    }
  }
}
/*------------邮寄地址、发票样式end---------------*/
// 导航
.nav_w {
  border-bottom: 2px solid @orange;
}

// 文字超出两行隐藏
.goods_item_title_two{
  overflow: hidden;
  white-space: normal;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
// 采购项目
.procurement-wrap{
  margin-top: 10px;
  width: 100%;
  // border-top: 1px solid #ccc;
  padding: 10px 0;
  // &:nth-of-type(2){
  //   // border-bottom: 1px solid #ccc;
  // }
  .add_address{
    font-size: 12px;
    color: #1F88D4;
  }
}
.content-wrap-list{
  display: flex;
  flex-wrap: wrap;
  li{
    margin-right: 20px;
  }
}
.shop_info_wrap{
  // border-top: 1px solid #ccc;
}
// 品牌筛选
.item-class-select{
  .el-checkbox{
    margin-right: 5px;
  }
}
