.coupon-cards {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    grid-gap: 1rem;
}

.coupon-cards a.coupon-card:nth-child(1) {
    grid-column: 1/3;
}
.coupon-cards a.coupon-card:nth-child(2) {
    grid-column: 3 / 5;
}
.coupon-cards a.coupon-card:nth-child(3) {
    grid-column: 5 / 7;
}
.coupon-box {
    cursor: pointer;
}

.trending-pill {
  background: #E9C0EA;
  border: 1px solid #E9C0EA;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  box-shadow: none;
}

.trending-label {
  font-weight: 700;
  color: #2b2b2b;
  white-space: nowrap;
  margin-right: 0.75rem;
  font-size: 0.95rem;
}

.trending-pill a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #161616;
  font-size: 0.9rem;
  margin-right: 0.8rem;
  white-space: nowrap;
  font-weight: 600;
}
.coup-store-title {
    font-size: 1.375rem;
    color: var(--secondary_col);
}

.trending-links {
  gap: .5rem;
}
.featured-stores {
    column-count: 5;
    background: #F1E9F1;
}
.featured-stores a {
    color: #1D232F;
    font-weight: 600;
    display: block;
    width: 100%;
}
.accordion_title_wrap {
    cursor: pointer;
}
.accordion_title_wrap.active .fa {
    transform: rotate(180deg);
}

.section-heading h3 {
    font-size: 2.25rem;
    color: var(--secondary_col);
    font-weight: bold;
}

.featured-categories .categories-lists .feat_store a {
    border: 2px solid #DDD;
    width: 50px;
    height: 50px;
}
.featured-categories .categories-lists .featured_text {
    color: #4E6500;
}
.featured-categories .feat_cat_coupons_wrap .discount-logo {
    aspect-ratio: 1;    
}
.featured-categories .discount-description {
    -webkit-line-clamp: 3;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

.newsletter-sec {
    margin-top: 3rem;
}

.coupon-box .discount_percentage {
    color: #4E6500;
}
.spinner-border {
    width: 20px;
    height: 20px;
    border-width: 2px;
}
.coupon-box .coupon-link-btn .coupon-btn {
    background: #FFBC54;
    transition: all 0.3s;
    min-width: 120px;
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700 !important;
    letter-spacing: 1px;
    color: #47008C;
}
.coupon-box:hover .coupon-link-btn .coupon-btn {
    color: var(--primary_col);
    background: #000;
    transition: all 0.3s;
}
.coupon-store {
    background: #D7D2FF;
}
.feat-cat-coupons-wrap {
    position: relative;
}

.feat-cat-coupons-wrap::before {
    position: absolute;
    content: "";
    background-image: url(../images/cat.svg);
    top: -65px;
    background-position: top;
    right: 31px;
    width: 127px;
    height: 110px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

@media (max-width: 991px) {
 .coupon-cards {
    grid-template-columns: repeat(4, 1fr);
 }
 .coupon-cards a.coupon-card:nth-child(1) {
    grid-column: 1 / 3;
 }
 .coupon-cards a.coupon-card:nth-child(2){
    grid-column: 3 / 5; 
 }
 .coupon-cards a.coupon-card:nth-child(3) {
    grid-column: auto;
 }
 .coupon-cards a.coupon-card .card-image img {
    height: 40px;
    object-fit: contain;
  }
 .coupon-cards a.coupon-card:nth-child(-n+2) .card-image img {
    height: 140px;
 }
    
}

@media (max-width: 767px) {
    .section-heading h3 {
        font-size: 1.25rem;
        margin-bottom: 0;
        font-weight: 700;
    }
    .coupon-box .coup-hidden {
        display: block !important;
    }
    .coupon-box .coupon-link-btn .coupon-btn {
        font-size: 1rem;
    }
    .coupon-store {
        background: none;
        margin-block: 1rem;
    }
    .featured-categories .feat_cat_coupons_wrap .discount-logo {
        aspect-ratio: auto;
    }
    .featured-categories .feat_cat_coupons_wrap .discount-logo img {
        height: 42px;
        object-fit: contain;
    }
    .categories-lists .row {
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
    }
    .categories-lists .col-md-3 {
        width: auto;
    }
    .featured-stores {
        column-count: 3;
    }
    .feat-cat-coupons-wrap::before {
      display:none;
    }
}


@media (max-width: 576px) {
 
 .coupon-cards {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 0.8rem;
 }
 .coupon-cards a.coupon-card:nth-child(-n+3) {
    grid-column: 1 / 3;
 }
 .coupon-cards a.coupon-card .card-image img {
        height: 40px;
        object-fit: contain;
  }
 .coupon-cards a.coupon-card:nth-child(-n+3) .card-image img {
    height: 100px;
 }
 h5.accordion_title {
    font-size: 1rem;
    font-weight: 600;
 }
 .accordion_body p {
    margin-bottom: 0px;
 }
 .featured-stores {
    column-count: 2;
 }

}