@lritem-width: 172px;
@border-radius: 8px;
.main-box {
  height: 100%;
  width: 100%;
  overflow: hidden;
  .main-box-container {
    height: 100%;
    .content{
      .goods-card {
        margin: 0  @padding-sm;
        @{deep} .home-list-container {
          padding-top: 12px;
        }
      }
    }
  }
  &-bn {
    box-sizing: border-box;
    position: relative;
    &-swiper {
      height: 100%;
      position: relative;
      background-image: linear-gradient(@white, @gray-1);
      .hb-swiper-item {
        display: flex;
        justify-content: center;
        .hbs-item-img {
          width: calc(100% - @padding-sm * 2) !important;
          height: 100%;
          border-radius: @border-radius-md;
        }
      }
      .main-box-bn-dots {
        display: flex;
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);

        .hb-dots-item {
          width: 6px;
          height: 6px;
          border-radius: @border-radius-max;
          background: rgba(255, 255, 255, 0.5);
          margin-right: @padding-xs;
        }

        .hb-dots-item_selected {
          height: 6px;
          width: 6px;
          border-radius: @border-radius-sm;
          background: @white;
        }
      }
    }
  }
  &-container {
    height: calc(100% - 46px);
    &-body {
      padding: @padding-sm;
    }
  }
  &-nav {
    // background: @white;
    border-radius: @border-radius-md;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    align-content: flex-start;
    padding: @padding-sm/2 @padding-sm;
    // margin-bottom: @padding-sm;
    max-height: 180px;
    .my-nav-swipe {
      max-height: 180px;
      width: 100%;
      &-item {
        display: flex;
        flex-flow: row wrap;
        justify-content: flex-start;
        align-content: flex-start;
        flex-direction: column;
        flex-wrap: wrap;
        max-height: 180px;
      }
      .custom-indicator {
        position: relative;
        right: 0;
        left: 0;
        bottom:0px;
        text-align: center;
        font-size: 12px;
        background: #e5e5e5;
        max-width: 36px;
        margin: 0 auto;
        height:4px;
        border-radius: 25px;
        &-in{
          position: absolute;
          left: 0;
          top:0;
          background:linear-gradient(to right, rgba(255, 75, 0, 1), rgba(255, 119, 5, 1));
          width: 0px;
          min-height:4px;
          position: relative;
          border-radius: 25px;
        } 
      }
      
    }
    .hn-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding-bottom: @padding-sm;
      width: 20%;
      text-align: center;
      .text-size(12);
      line-height: 16px !important;
      color: @gray-5;
      white-space: nowrap;
      &-imgbox {
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content:center;
        img {
          display: block;
          max-width: 100%;
          max-height: 100%;
          border-radius: @gray-1;
        }
      }
      &-title {
        display: block;
        width: 100%;
        height: 16px;
        line-height: 16px;
        text-align: center;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: @font-color-dark;
        .text-size(10);
      }
    }
  }
  &-welfare {
    font-size: 0;
    display: flex;
    align-content: flex-start;
    padding: @padding-sm/2   @padding-sm ;
    box-sizing: border-box;
    &-item {
      flex: 1;
      img {
        height: 130px;
        width: 100%;
        display: block;
      }
    }
  }
  &-tonglans {
    margin: @padding-sm/2   @padding-sm ;
    img {
      border-radius: @border-radius-md;
      display: block;
      width: 100%;
    }
  }
  &-find {
    display: flex;
    justify-content: space-between;
    padding: @padding-sm/2 @padding-sm 0 @padding-sm;
    box-sizing: border-box;
    &-item {
      width: @lritem-width;
      height: 145px;
      img {
        display: block;
        width: 100%;
        height: 100%;
      }
    }
  }
  &-chip {
    display: flex;
    justify-content: space-between;
    padding: @padding-sm/2 @padding-sm;
    &-left {
      width: @lritem-width;
      border-radius: @border-radius;
      overflow: hidden;
      position: relative;
      z-index: 1;
      .my-swipes {
        height: 260px;
        width: @lritem-width;
        border-radius: @border-radius;
        overflow: hidden;
        img {
          height: 260px;
          width: @lritem-width;
          display: block;
        }
      }
    }
    &-right {
      display: flex;
      justify-content: space-between;
      flex-direction: column;
      img {
        width: @lritem-width;
        height: 82px;
        display: block;
        border-radius: @border-radius;
      }
    }
  }
  &-special-row{
    display: flex;
    flex-direction: column;
    padding: @padding-sm/2 @padding-sm;
    img {
      width: 100%;
      display: block;
    }
    .special-row-con {
      background: #fff;
      border-bottom-left-radius: 8px;
      border-bottom-right-radius: 8px;
      overflow: hidden;
      padding: 0 16px;
      .content{
        display: flex;
        overflow-x: scroll;
        overflow-y: hidden;
        &::-webkit-scrollbar {
          display: none;
          width: 0px;
        }
        &-wrapper {
          display: flex;
          flex-flow: row nowrap;
          height: 110px;
          &::-webkit-scrollbar { 
            width: 0 !important;
            display: none;
          }
        }
        &-wrapper-rushpurchase {
          overflow-x: scroll;
          overflow-y: hidden;
          display: flex;
          flex-flow: row nowrap;
          height: 120px;
          &::-webkit-scrollbar { 
            width: 0 !important;
            display: none;
          }
        }
        &-item {
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: center;
          margin-bottom: 6px;
          width: 25%;
          flex-shrink: 0;
          .special-row-img {
            width: 76px;
            height: 76px;
            border-radius: @border-radius;
          }
          .special-row-money {
            margin: 5px auto 0 auto;
            display: flex;
            align-items: flex-start;
            span {
              &:nth-child(1) {
                .text-size(10);
                color: @red-light;
                font-weight: bold;
              }
              &:nth-child(2) {
                .text-size(14);
                line-height: 16px;
                color: @red-light;
                font-weight: bold;
              }
            }
          }
          .special-row-saleprice {
            margin: 0 auto;
            display: flex;
            align-items: flex-start;
            .text-size(12);
            color: #999;
            overflow: hidden; 
            text-overflow: ellipsis;
            white-space: nowrap;  
            text-indent: -1px;
          }
        }
    }
    .rushpurchase-content {
      height: 116px;
    }
      .progress {
        margin:0 auto 10px auto;
        width:36px;
      }
    }
  }
  &-special-wrapper {
    border-radius: @border-radius;
    overflow: hidden;
    position: relative;
    .purchase-count-start {
      position:absolute;
      left: 90px;
      top: 14px;
      display: flex;
      flex-flow: row nowrap;
      align-items: center;
      background: #FEE8E2;
      border-radius: 25px;
      color: #FF1515;
      padding: 0 10px 0 3px;
      height: 20px;
      line-height: 20px;
      img {
        width: 16px;
        height: 15px;
        box-sizing: border-box;
        margin-right: 2px;
      }
      .purchase-text {
        .text-size(12);
        margin-right: 6px;
      }
    }
    .purchase-count-end {
      position:absolute;
      left: 90px;
      top: 14px;
      display: flex;
      flex-flow: row nowrap;
      align-items: center;
      background: linear-gradient(to right,#F58C00,#EC1500);
      border-radius: 25px;
      color: #FFFFFF;
      padding: 0 10px 0 3px;
      height: 20px;
      line-height: 20px;
      img {
        width: 16px;
        height: 15px;
        box-sizing: border-box;
        margin-right: 2px;
      }
      .purchase-text {
        font-size: #fff;
        .text-size(12);
        margin-right: 6px;
      }
    }
  }

  &-special-column {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    padding: @padding-sm/2 @padding-sm;
    .content {
      width: @lritem-width;
      display: flex;
      flex-direction: column;
      flex-shrink: 0;
      border-radius: @border-radius;
      overflow: hidden;
      .special-cover-img {
        width: @lritem-width;
        height: 58px;
        display: block;
      }
      .my-swipe {
        background: #fff;
        height: 220px;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
        overflow: hidden;
        &-item{
          display: flex;
          flex-flow: row wrap;
          justify-content: space-between;
          align-content: flex-start;
          padding: 0 @padding-xs;
          box-sizing: border-box;
          &-con {
            display: flex;
            flex-direction: column;
            position: relative;
            img {
              width: 76px;
              height: 76px;
              border-radius: 5px;
              display: block;
            }
          }
          &-money{
            margin: 5px auto;
            display: flex;
            align-items: flex-start;
            user-select: none;
            span {
              &:nth-child(1) {
                .text-size(10);
                color: @red-light;
                font-weight: bold;
              }
              &:nth-child(2) {
                .text-size(14);
                line-height: 16px;
                color: @red-light;
                font-weight: bold;
              }
            }
          }
         }
        .custom-indicator {
          position: relative;
          right: 0;
          left: 0;
          bottom: 12px;
          text-align: center;
          font-size: 12px;
          background: #e5e5e5;
          max-width: 36px;
          margin: 0 auto;
          height:4px;
          border-radius: 25px;
          &-in{
            position: absolute;
            left: 0;
            top:0;
            background:linear-gradient(to right, rgba(255, 75, 0, 1), rgba(255, 119, 5, 1));
            width: 0px;
            min-height:4px;
            position: relative;
            border-radius: 25px;
          } 
        }
      }
    }
  }
}
