@import "../../style/var.less";
@import "../../style/mixins.less";
.goods-list {
  .cell-title-mixin();
  &-head {
    background-color: @white;
    padding: 15px 20px 0;
    :first-child {
      padding-top: 8px;
    }
    .svg-icon {
      width: 16px;
      height: 16px;
      vertical-align: -0.3em;
    }
  }
  &-children {
  background-color: @white;
    padding: 0 20px;
    margin-bottom: 10px;
  }
  &-item {
    padding: 16px 0 20px;
    flex-wrap: wrap;
    // overflow: hidden;
    .cr-divider {
      margin-bottom: 0;
    }
    &.hidden {
      display: none;
    }
    &.not-allow {
      border-radius: 14px;
      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 {
      position: relative;
      img {
        display: block;
        position: relative;
        z-index: 90;
        width: 72px;
        height: 72px;
        border-radius: 14px;
      }
    }
    &-glory {
      position: absolute;
      bottom: 0;
      left: 0;
      z-index: 98;
      width: 72px;
      height: 20px;
      line-height: 20px;
      font-size: 11px !important;
      text-align: center;
      color: #666666 !important;
      border-radius: 0px 0px 14px 14px !important;
      background-color: rgba(255, 255, 255, 0.6) !important;
      padding: 0;
    }
    &-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;
      }
    }
  }
}