.acfw-coupons-list-block .acfw-coupons-grid {
  display: grid;
  grid-gap: 0.7em;
  grid-auto-rows: 150px;
  margin-bottom: 0.7em;
}

.acfw-single-coupon-block {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 300px;
  padding: 1em 1em 1.7em;
  border: 1px solid #ccc;
  font-size: 1em;
}
.acfw-single-coupon-block .acfw-coupon-usage-limit {
  position: absolute;
  top: 0.5em;
  right: 0.5em;
  display:block;
  font-size: 0.7em;
  line-height: 1em;
}
.acfw-single-coupon-block .acfw-coupon-content {
  width: 100%;
  text-align: center;
}
.acfw-single-coupon-block .acfw-coupon-content.has-description {
  text-align: left;
}

.acfw-single-coupon-block .acfw-coupon-content .acfw-coupon-code {
  display: block;
  margin-top: 0.2em;
  font-size: 1.4em;
  font-weight: bold;
  line-height: 1.3em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.acfw-single-coupon-block .acfw-coupon-content .acfw-coupon-discount-info {
  display: block;
  font-size: 0.9em;
}
.acfw-single-coupon-block .acfw-coupon-content .acfw-coupon-description {
  display: -webkit-box;
  font-size: 0.8em;
  line-height: 1.3em;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.acfw-single-coupon-block .acfw-coupon-schedule {
  position: absolute;
  bottom: 0.5em;
  right: 0.5em;
  text-align: right;
  font-size: 0.7em;
  line-height: 1.0em;
}

/* Regular Cart & Checkout: This style is required to style button and link inside notification. */
.wc-block-components-notice-banner {
  display: flex;
  align-items: center;
  height: 100%;
  justify-content: space-between;
}

/* Mobile View */
@media screen and (max-width: 479px) {
  .acfw-coupons-list-block .acfw-coupons-grid {
     grid-template-columns: 1fr !important;
   }
}