@import "../../../../../style/CommonStyle.module.less";
@import "../../../../../style/utils.module.less";

.card {
  position: relative;
  .flex();
  overflow: hidden;
  border: 1px solid @COLOR_GRAY02;
  border-radius: 12px;
  background-color: @BG_COLOR_02;

  &.withProductList {
    .size(@w: 1006px, @h: 564px);

    > figure:nth-child(1) {
      left: 0;
    }
  }

  &.noProductList {
    .size(@w: 1680px, @h: 564px);
    margin-top: 22px;

    > figure:nth-child(1) {
      left: 337px;
    }
  }

  > figure:nth-child(1) {
    position: absolute;
    top: 0;
    .size(@w: 1006px, @h: inherit);

    > img:nth-child(1) {
      .size(@w: inherit, @h: inherit);
      object-fit: cover;
      opacity: 0.15;
    }
  }

  > div:nth-child(2) {
    position: absolute;
    z-index: 10;
    .flex(@direction: column, @justifyCenter: flex-start);
    .size(@w: 1006px, @h: inherit);
    padding: 88px 111px 84px;
    text-align: center;

    > img:nth-child(1) {
      .size(@w: 72px, @h: 72px);
      margin-bottom: 18px;
    }

    > time:nth-child(2) {
      margin-bottom: 16px;
      font-weight: bold;
      font-size: 30px;
      color: @PRIMARY_COLOR_RED;
    }

    > div:nth-child(3) {
      position: relative;
      margin-bottom: 8px;
      color: @COLOR_GRAY06;
      font-weight: bold;
      font-size: 36px;
      line-height: 1.11;
    }

    > p:nth-child(4) {
      font-size: 24px;
      color: @COLOR_GRAY03;
    }

    > div:nth-child(5) {
      .position(@position: absolute, @bottom: 84px, @left: 195px);
      .flex(@justifyCenter: center);
      width: 612px;

      .tButton {
        width: 300px;
        margin-right: 12px;
        font-weight: bold;
        font-size: 30px;
        color: @COLOR_WHITE;
        background-color: #7a808d;

        &:focus {
          background-color: @PRIMARY_COLOR_RED;
          .focusDropShadow();
        }
      }
    }
  }
}
