@import "../../style/var.less";
@import "../../style/mixins.less";
.goods-list {
  background-color: @white;
  padding: 18px 20px;
  .cell-title-mixin();
  &-head {
    margin-bottom: 15px;
    .svg-icon {
      width: 16px;
      height: 16px;
      vertical-align: -0.3em;
    }
  }
  // &-children {}
  &-item {
    margin: 16px 0 20px;
    border-radius: 14px;
    overflow: hidden;
    &.not-allow {
      position: relative;
      pointer-events: none;
      &::before,
      &::after {
        display: block;
        position: absolute;
        top: 0px;
        left: 0;
        z-index: 99;
        text-align: center;
        width: 100%;
        font-weight: bold;
      }
      &::before {
        content: "即将开放，敬请期待";
        background: rgba(227, 226, 226, 0.9);
        font-size: @font-size-16;
        color: @black;
        height: calc(100% - 20px);
        line-height: 20px;
        padding-top: 20px;
      }
      &::after {
        content: "COMING SOON";
        font-size: @font-size-12;
        font-family: "DIN-Bold";
        line-height: 10px;
        padding-top: 44px;
        height: calc(100% - 44px);
        letter-spacing: 6px;
        left: 3px;
        color: @white;
      }
    }
    &-img {
      img {
        display: block;
        position: relative;
        z-index: 90;
        width: 72px;
        height: 72px;
      }
    }
    &-glory {
      position: absolute;
      top: 0;
      left: 0;
      z-index: 98;
      background-color: #fcfe67 !important;
    }
    &-info {
      max-height: 72px;
      h5 {
        margin-bottom: 3px;
      }
      small {
        line-height: 20px;
      }
    }
    &-price {
      display: flex;
      align-items: baseline;
      margin-top: 4px;
      &-amount {
        font-size: @font-size-20;
        line-height: @line-height-md;
        color: @red;
        font-weight: 600;
        margin-right: 3px;
      }
      &-unit {
        font-size: @font-size-12;
        color: @gray-4;
        line-height: @line-height-sm;
      }
    }
  }
}