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

.callBox {
  display: none;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  .size(@w:350px,@h:220px);
  padding: 46px 15px;
  border-radius: 10px;
  border: solid 2px rgba(255, 255, 255, 0.7);
  background-color: #f4b800;
  position: absolute;
  box-shadow: 5px 8.7px 15px 0 rgba(6, 0, 1, 0.5);
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: auto;
  &.hsn {
    display: flex;
    bottom: 59px !important;
    left: 141px !important;
    width: 302px !important;
    .callNum {
      > span {
        font-size: 33px !important;
      }
    }
  }
  &.qvc {
    display: flex;
    bottom: 53px !important;
    left: 83px !important;
    width: 350px;
    height: 109px;
    padding: 10px 15px;
    .callNum {
      line-height: 40px;
      margin-top: 0px;
      > img {
        width: 41px;
        height: 42px;
      }
      > span {
        font-size: 33px !important;
      }
    }
  }
  &.ru {
    display: flex;
    width: 22%;
    height: 12%;
    bottom: 6.5% !important;
    left: 48% !important;
    padding: 18px 78px 18px 18px;
    .callToOrder {
      flex: none;
      margin-bottom: 0 !important;
    }
    .callNum {
      flex: none;
      > span {
        .font(@fontFamily: @baseFont, @fontSize: 36px);
        width: 273px;
        height: 26px;
        font-weight: 600;
        color: @COLOR_BLACK;
        letter-spacing: -0.9px;
      }
    }
  }
  &.widePanel {
    > div:first-child {
      font-size: 68% !important;
    }
    > div:last-child {
      > img {
        width: 16px;
        height: 16px;
      }
      > span {
        font-size: 68% !important;
      }
    }
  }
  .callToOrder {
    .flex();
    font-size: 22px;
    font-weight: 600;
    border-radius: 2px;
    background-color: @COLOR_BLACK;
    margin-bottom: 6px;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
    color: @COLOR_WHITE;
    padding: 0 10px;
    min-width: 0;
    max-width: 250px;
    text-align: left;
    max-height: 42px;
    flex: none;
  }

  .callNum {
    flex: none;

    > img {
      width: 34px;
      height: 34px;
      margin-right: 4px;
    }
    > span {
      .font(@fontFamily: @baseFont, @fontSize: 40px);
      width: 181px;
      height: 21px;
      font-weight: 600;
      color: @COLOR_BLACK;
      letter-spacing: -0.9px;
    }
  }
}
