.headerTop {
  background-color: #f5f5f5;
  height: 34px;
  & .item {
    padding-right: 10px;
    padding-left: 10px;
    font-size: 12px;
    color: #333;
    border-right: 1px solid #e0e0e0;
    height: 14px;
    line-height: 13px;
    cursor: pointer;
    &:nth-of-type(2) {
      padding-right: 32px;
    }
    &:last-child {
      border-right: none;
    }
    & .txt {
      color: #b2b2b2;
    }
    & .icon {
      color: #666;
      margin-left: 5px;
    }
    & .infobox {
      position: relative;
      & .infoNum {
        position: absolute;
        left: 50px;
        top: -2px;
        height: 15px;
        min-width: 15px;
        line-height: 15px;
        padding: 0 3px;
        border-radius: 5px;
        background: #e14c46;
        color: #fff;
        max-width: 20px;
        overflow: hidden;
        border-radius: 7px;
        text-align: center;
      }
    }
  }
  :global {
    & .header-top-content {
      max-width: 1200px;
      height: 34px;
      margin: 0 auto;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
    }
  }
  .switchCustomer{
    display: inline-block;
    font-size: 12px;
    color: #666;
    margin-left: 20px;
    margin-top: 6px;
  }
}
.logoImg {
  float: left;
  width: 160px;
  height: 60px;
  margin-top: -7px;
  margin-right: 40px;
  background-size: 160px;
  background-position-y: 5px;
}
.header {
  width: 1200px;
  height: 50px;
  line-height: 0;
  background-color: white;
  margin: 16px auto 0 auto;
  padding: 0;
  // border-bottom: 1px solid #e8e8e8;
  :global {
    & .ant-menu {
      height: 49px;
      border: 0;
      line-height: 50px;
      background-color: white;
      font-size: 16px;
      color: #333;
      float: left;
      & > li {
        list-style: none;
        display: inline-block; //使li对象显示为一行
        // margin-left: 15px;
        width: fit-content;
        /* padding: 0 15px; */      // 横排
        padding: 0;                 // 纵排
        & > .ant-menu-submenu-title {
         /*  padding: 0; */         // 横排
         padding: 0 15px;           // 纵排
        }
      }
    }
  }
}
.searchBar {
  float: right;
  display: flex;
  align-items: center;
  height: 50px;
  & .cartNum {
    color: #e14c46;
    padding: 0 4px;
  }
  & .cartBus{
    display: inline-block;
    vertical-align: top;
    margin-top: 8px;
  }
  // 为了闪烁效果
  & .cartNumHover {
    color: @primary-color;
    border-color: @primary-color;
    box-shadow: 0 0 8px @primary-color;
  }
  & .searchIcon {
    font-size: 20px !important;
  }
  :global {
    & .ant-input-search > input {
      border-radius: 0;
    }
    & .ant-input-search.ant-input-search-enter-button > .ant-input {
      padding-right: 55px;
    }
    & .ant-input-search.ant-input-search-enter-button > .ant-input-suffix {
      right: 1px;
    }
    & .header-search-input {
      height: 36px;
      width: 298px;
      margin-right: 10px;
      border-radius: 0;
      & .ant-btn-primary {
        background: none;
        color: #333;
      }
      & .ant-btn {
        height: 34px;
        border: none;
        border-left: 1px solid #d9d9d9;
        padding: 0 10px;
      }
      & .ant-input:hover {
        border-color: #d9d9d9;
      }
      & .ant-input:focus {
        border: 1px solid #e14c46;
        box-shadow: none;
        outline: none;
      }
    }
    & .header-btn-add-shopcart {
      height: 36px;
      width: 140px;
      margin-right: 10px;
      padding-left: 10px;
      font-size: 12px;
      color: #333;
      text-align: left;
      background:  #FBFBFB;
      border-radius: 0;
    }
    & .header-btn-order {
      height: 36px;
      width: 70px;
      font-size: 12px;
      color: #fff;
      line-height: 36px;
      border-radius: 0;
    }
  }
}
// 头部导航-》二级导航

/* :global(.ant-menu-submenu-popup) {
  width: 100%;
  left: 0;
  text-align: center;
  box-shadow: 0 2px 4px #aaa;
  :global(.ant-menu-sub) {
    border: 0;
    border-bottom: 1px solid #e8e8e8;
    box-shadow: none;
    line-height: 46px;
    width: 1200px;
    margin: auto;
    // padding-left: 100px;

    :global(.ant-menu-item) {
      position: relative;
      top: 1px;
      float: left;
      border-bottom: 2px solid transparent;
    }
  }
} */
.breadcrumbBox {
  width: 1200px;
  margin: 16px auto 0;
}
.contentTopBox {
  :global {
    .ant-input-search {
      &:hover {
        .ant-input {
          border-color: #d9d9d9;
        }
      }
      & > input {
        background: #fff;
        border: 1px solid #ebebeb;
        border-radius: 2px;
        &:focus {
          box-shadow: none;
        }
      }
      .ant-input-suffix > button {
        background: #f2f2f2;
        border-radius: 2px;
        border-color: #ebebeb;
        font-size: 12px;
        color: #333;
        height: 32px;
        line-height: 32px;
      }
    }
  }
}
.appCode {
  :global {
    .ant-card-body {
      padding: 5px;
    }
  }
  .tipTitle {
    text-align: center;
    padding-top: 8px;
  }
}
