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

.itemContainer {
  .size(@w: 100%, @h: 120px);
  border-radius: 12px;
  border: 1px solid @COLOR_GRAY02;
  background-color: @COLOR_WHITE;
  display: flex;
  align-items: center;
  padding: 0 38px;
  margin-bottom: 10px;
  position: relative;

  .cpnDctrt {
    display: inline-block;
    .font(@fontFamily : @baseFont , @fontSize: 30px);
    .size(@w: 5% , @h: auto);
    font-weight: 700;
    color: @PRIMARY_COLOR_RED;
  }
  .cpnTtl {
    display: inline-block;
    .size(@w: 30%, @h:auto);
    .elip(@clamp: 1);
    .font(@fontFamily: @baseFont, @fontSize: 30px);
    font-weight: bold;
    color: @COLOR_GRAY07;
    line-height: 1.2;
  }

  .cpnDesc {
    display: inline-block;
    .font(@fontFamily: @baseFont, @fontSize: 22px);
    .size(@w: 30%, @h:auto);
    .elip(@clamp: 1);
    margin-left: 20px;
    color: @COLOR_GRAY03;
    line-height: 1.2;
  }

  .cpnDate {
    display: inline-block;
    .font(@fontFamily: @baseFont, @fontSize: 22px);
    .size(@w: 20%, @h:auto);
    .elip(@clamp: 1);
    margin-left: 20px;
    color: @COLOR_GRAY03;
    line-height: 1.2;
  }

  .orderBox {
    display: inline-block;
    .size(@w: 15%, @h:auto);

    .orderNum {
      margin-left: 20px;
      .size(@w:200px, @h: 40px);
      padding: 10px 8px;
      border: 2px solid #606060;
      border-radius: 4px;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 16px;
      color: #606060;
    }
  }

  &:focus {
    &::after {
      .focused(@boxShadow: 22px, @borderRadius: 12px);
    }
  }
}
