
.discount-products-wrapper {
    padding: 0 12px 20px;
    border: 1px solid #e0e0e6;
  }
  
  .discount-products-title {
    font-size: 21px;
    color: #000;
    font-weight: 500;
    line-height: 44px;
  }
  
  .discount-products-title i {
    color: #ef4056;
    font-size: 16px;
  }
  
  .discount-products-items>* {
    max-width: 16.666667%;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
    -moz-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
  }
  
  .discount-products-items>*:not(:nth-child(6n)) {
    border-left: 1px solid #f1f2f4;
  }
  
  .discount-products-items>*:nth-child(n+7) {
    border-top: 1px solid #f1f2f4;
  }
  
  .discount-products-items .product-nineteen {
    padding: 12px 8px;
  }
  
  @media only screen and (max-width: 991px) {
    .discount-products-items>* {
        max-width: 25%;
    }
  
    .discount-products-items>*:not(:nth-child(6n)),
    .discount-products-items>*:nth-child(n+7) {
        border: none;
    }
  
    .discount-products-items>*:not(:nth-child(4n)) {
        border-left: 1px solid #f1f2f4;
    }
  
    .discount-products-items>*:nth-child(n+5) {
        border-top: 1px solid #f1f2f4;
    }
  }
  
  @media only screen and (max-width: 767px) {
    .discount-products-title {
        font-size: 18px;
        line-height: 32px;
    }
  
    .discount-products-items>* {
        max-width: 33.333333%;
    }
  
    .discount-products-items>*:not(:nth-child(4n)),
    .discount-products-items>*:nth-child(n+5) {
        border: none;
    }
  
    .discount-products-items>*:not(:nth-child(3n)) {
        border-left: 1px solid #f1f2f4;
    }
  
    .discount-products-items>*:nth-child(n+4) {
        border-top: 1px solid #f1f2f4;
    }
  }
  
  @media only screen and (max-width: 575px) {
    .discount-products-wrapper {
        -webkit-border-radius: 0 !important;
        -moz-border-radius: 0 !important;
        border-radius: 0 !important;
        margin: 0 -12px;
    }
  
    .discount-products-items>* {
        max-width: 50%;
    }
  
    .discount-products-items>*:not(:nth-child(3n)),
    .discount-products-items>*:nth-child(n+4) {
        border: none;
    }
  
    .discount-products-items>*:not(:nth-child(2n)) {
        border-left: 1px solid #f1f2f4;
    }
  
    .discount-products-items>*:nth-child(n+3) {
        border-top: 1px solid #f1f2f4;
    }
  }