@import "@styles/theme.scss";
@import "@styles/mixins.scss";

.item {
  position: relative;
  padding: 30px 0;
  border-bottom: 1px solid $border-color-light;

//&:last-child {
//  border-bottom: none;
//}

  .item__top {
    width: 100%;
    position: relative;
    .item__img {
      width: 100%;
      height:388px;
      border-radius: 12px;
    }
    .item__status{
      position: absolute;
      top:0 ;
      left:0;
      background:rgba(246,182,29,1);
      border-radius:18px 0px 12px 0px;
      padding: 10px 36px;
      color: #fff;
      font-size: 26px;
    }
    .sale{
      background:rgba(246,182,29,1);
    }
    .soldout{
      background:rgba(0,0,0,0.7);
    }
    .waitsale{
      background-color:$primary-color;
    }
    .item__right {
      display: flex;  
      justify-content: space-between;
      margin: 10px 0 16px 0;

      .row {
        margin-top: 10px;
        font-size: 28px;
        @include text-ellipsis;
      }

      &__title {
        font-size: 32px;
        font-weight: bold;
      }

      &__price {
        font-size: 30px;

        .price__txt {
          font-size: 28px;
          font-weight: bold;
          color: #FF2744;
        }
      }

    }
    .item__right__region {
      color: #666;
      display: flex;
      align-items: center;
      margin-bottom: 20px;
      font-size: 24px;
      .location-icon{
        color:#999;
        font-size: 16px;
        margin: 0 10px  0 0 ;
      }
    }
    .item__tags {
      display: flex;
      flex-wrap: wrap;

      .tag {
        padding: 8px 16px;
        background: #EDCA73;
        color: #fff;
        font-size: 24px;
        margin-right: 18px;
        margin-bottom: 8px;
        border-radius: 12px;
      }
    }
  }


  .item__bottom {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 36px;
    .dot-img{
      width: 40px;
      height: 30px;
    }

    &__left {
      width: 200px;
      display: flex;
      align-items: center;
    }

    &__share {
      background: none;
      padding: 0;
      margin: 0;
      line-height: 1;
    }

    .share-img {
      width: 34px;
      height: 30px;
      margin-right: 18px;
    }

    &__sharenum {
      color: rgba(0, 0, 0, 0.6);
      font-size: 24px;
    }

    &__right {
      width: 550px;
      display: flex;
      justify-content: flex-end;
      align-items: center;
    }

    &__seenum {
      color: #666;
      font-size: 24px;
    }

    .see__img {
      height: 56px;
      margin-left: 20px;
      display: flex;
      align-items: center;

      .userImg {
        width: 56px;
        height: 56px;
        border-radius: 50%;
      }
    }
  }
}