@import "/assets/css/_lib";

.detail_item {
  padding: 82px 16px 80px;
    @include pc {
      overflow: hidden;
      position: relative;
      max-width: 1480px;
      height: 100%;
      padding: 82px 20px 10px;
      margin: 0 auto;
      box-sizing: border-box;
    }
}
.detail_wrap {
  overflow: hidden;
  position: relative;
  height: 100%;
}
.thumb_group {
  overflow: hidden;
  @include pc {
    position: relative;
    float: left;
    width: 60%;
    height: 100%;
    text-align: center;
  }
  .thumb {
    width: 100%;
    height: auto;
    border-radius: 10px;
    @include pc {
      position: absolute;
      left: 50%;
      max-width: 633px;
      transform: translateX(-50%);
    }
  }
}
.info_group {
  padding-top: 17px;
  @include pc {
    overflow-x: hidden;
    overflow-y: auto;
    float: left;
    width: 40%;
    height: 100%;
    padding: 0 0 20px;
    box-sizing: border-box;
  }
}
.detail_info {
  word-break: break-word;
  .title_area {
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
  }
  .info_area {
    font-size: 18px;
    line-height: 1.5;
  & + .info_area {
    padding-top: 15px;
  }
  .info_box {
    display: flex;
    padding-top: 7px;
    align-items: center;
  }
  .info {
    flex: 1 1 auto;
  }
  .like {
    flex: 0 0 auto;
    margin-left: auto;
  }
  .type {
    margin-left: 6px;
    color: #888;
  }
  .price_box {
    padding-top: 6px;
    color: #f948a0;
    letter-spacing: -0.4px;
  }
  .title {
    color: #888;
    font-size: 16px;
    line-height: 1.5;
  }
  .thumb {
    flex: 0 0 auto;
    margin-right: 8px;
  }
  .name {
    @include ellipsis;
    flex: 1 1 auto;
    color: #000;
    font-size: 18px;
    line-height: 1.5;
  }
  }
  .description_area {
    position: relative;
    padding-top: 38px;
  }
}
.header_box{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 20px;
  & > .name{
    @include ellipsis;
    color: #005abc;
    font-size: 18px;
    line-height: 1.5;
  }
  & > .group{
    display: flex;
    align-items: center;
    justify-content: flex-end; 
    gap: 10px;
    & > .views{
      color: #888;
      font-size: 18px;
      line-height: 1.5;
    }
    & > .share{
      cursor: pointer;
      display: none;
      align-items: center;
      justify-content: center;
      gap: 5px;
      color: #888;
      font-size: 13px;
      line-height: 1.5;
      padding: 5px 10px;
      background-color: #eaeaea;
      border-radius: 5px;
      @include pc{
        display: flex;
      }
      &:hover{
        background-color: #d8d8d8;
      }
      & > svg{
        width: 18px;
        height: 18px;
        fill: #888;
      }
    }
  }
}
.btn_group {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  box-shadow: 0 -1px 6px rgba(0, 0, 0, 0.16);
  text-align: center;
  @include pc {
    position: absolute;
    left: auto;
    right: 0;
    bottom: 0;
    width: 40%;
    box-shadow: none;
  }
  .price_area {
    padding: 12px 0;
    margin: 0 16px;
    border-bottom: 1px solid #ddd;
    color: #888;
    font-size: 13px;
    line-height: 20px;
    .price {
      color: #000;
      font-size: 16px;
      margin-left: 20px;
      &.final {
        color: #16dccf;
      }
    }
  }
  .time_area {
    padding-top: 16px;
    margin: 0 16px;
    color: #888;
    font-size: 13px;
    line-height: 24px;
    .time {
      margin-left: 10px;
      color: #000;
      font-size: 20px;
      line-height: 24px;
      & + .time {
        margin-left: 18px;
      }
    }
    .end {
      color: #888;
    }
  }
}
.buy_wrap {
  padding: 18px 0 19px;
  font-size: 13px;
  line-height: 17px;
  .buy_area {
    & + .buy_area {
      padding-top: 15px;
    }
    .title {
      color: #888;
    }
    .info {
      padding-top: 4px;
    }
  }
  .price_area {
    padding-top: 20px;
  }
  .input_box {
    padding-bottom: 14px;
  }
  .detail_box {
    .detail {
      & + .detail {
        padding-top: 9px;
      }
      &::after {
        @include clear;
      }
      .title {
        float: left;
        margin-right: 10px;
        color: #888;
      }
      .info {
        @include ellipsis;
        font-weight: 600;
        text-align: right;
        letter-spacing: -0.4px;
      }
    }
  }
}