.couponListWrap {
  display: flex;
  height: 120px;
  padding: 12px 16px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 16px;
  background-color: #F4F4F4;
  
  &::-webkit-scrollbar {
    display: none;
  }

  .couponItem {
    display: flex;
    position: relative;
    height: 96px;
    flex-shrink: 0;
    margin-right: 16px;

    &.shipping {
      .left {
        background-image: radial-gradient(circle at 0px 10px, transparent 5px, #0085ff 6px, #0085ff 6px);
      }
    }

    &.ranOut {
      .left {
        background-image: radial-gradient(circle at 0px 10px, transparent 5px, #c4c4c3 6px, #c4c4c3 6px);
      }
      .right {
        .discount, .desc {
          color: #C4C4C4;
        }
        .btn {
          display: none;
        }
      }
      &:after {
        content: '';
        position: absolute;
        right: 12px;
        bottom: 8px;
        height: 80px;
        width: 80px;
        background:url(./images/ranout.png);
        background-size: contain;
      }
    }

    .left {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      width: 64px;
      height: 96px;
      text-align: -webkit-auto;
      background-image: radial-gradient(circle at 0px 10px, transparent 5px, #FF1659 6px, #FF1659 6px);
      background-size: 100px 19px;
      background-repeat-x: no-repeat;

      img {
        width: 32px;
        height: 32px;
      }

      .text {
        font-family: var(--regular-font);
        font-size: 10px;
        line-height: 12px;
        color: #FFFFFF;
        margin-top: 5px;
      }
    }

    .right {
      width: 150px;
      background-color: #fff;
      padding: 8px;
      position: relative;

      .discount {
        font-family: var(--truenoSBd-family);
        font-size: 14px;
        font-weight: 700;
        line-height: 17px;
        color: #000000;
      }

      .desc {
        font-family: var(--regular-font);
        font-size: 9px;
        font-weight: 400;
        line-height: 11px;
        color: #000000;
        margin-top: 1px;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        white-space: normal;
        // word-break: break-all;
        // word-wrap: break-word;
        padding-right: 10px;
      }

      .btn {
        width: 133px;
        height: 24px;
        line-height: 22px;
        text-align: center;
        border: 1px solid #FF1659;
        font-family: var(--regular-font);
        font-weight: 600;
        font-size: 10px;
        text-transform: uppercase;
        color: #FF1659;
        position: absolute;
        left: 8px;
        bottom: 8px;
      }
    }
  }

  .couponNode {
    position: relative;
    scroll-snap-align: start;
    padding: 11px 12px;
    background: url(./images/couponback.png);
    background-size: contain;
    width: 157px;
    height: 110px;
    display: inline-block;
    margin-left: 5px;
    &:first-child {
      margin-left: 16px;
    }
    .discWrap {
      font-size: 14px;
      display: flex;
      align-items: center;
      .couponImg {
        height: 20px;
        width: 20px;
      }
      .discDesc {
        font-family: var(--truenoSBd-family);
        margin-left: 6px;
        height: 17px;
        line-height: 17px;
        color: #000;
      }
    }
    .couponName {
      margin-top: 9px;
      font-size: 10px;
      text-align: center;
      font-family: var(--regular-font);
      color: #000;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }
    .validDate{
      color: #000;
      margin-top: 4px;
      font-size: 8px;
      text-align: center;
      font-family: var(--light-font);
    } 
    .ranOut {
      position: absolute;
      right: 16px;
      bottom: 4px;
      height: 80px;
      width: 80px;
      background:url(./images/ranout.png);
      background-size: contain;
    }
    .useNowBtn {
      min-width: 110px;
      height: 24px;
      padding: 0 5px;
      line-height: 24px;
      margin: 8px auto 0 auto;
      text-align: center;
      background-color: #FF1659;
      color: #FFF;
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      font-family: var(--truenoSBd-family);
    }
    .collectBtn {
      min-width: 110px;
      height: 24px;
      padding: 0 5px;
      line-height: 24px;
      margin: 8px auto 0 auto;
      text-align: center;
      border: 1px solid #FF1659;
      color: #FF1659;
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      font-family: var(--truenoSBd-family);
    }
  }
  .ranOut {
    .discWrap {
      .discDesc {
        color: #D9D9D9 !important;
      }
    }
    .couponName {
      color: #D9D9D9 !important;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }
    .validDate {
      color: #D9D9D9 !important;
    }
  }
}