#coupon-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1200;
}

.coupon-popup-content {
    background: #fff;
    padding: 40px 40px 50px;
    border-radius: 5px;
    max-width: 1000px;
    min-height: 491px;
    width: 100%;
    overflow: auto;
    max-height: 80%;
    position: relative;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}
.coupon-popup-content h2{
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 1.5rem;
    font-size: 35px;
    text-transform: uppercase;
}
.coupon-cards {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2,1fr);
}



.coupon-header {
    display: flex;
    justify-content: center;
    align-items: center;
    order: 9;
    margin-top: 1rem;

}

.coupon-title {
    font-size: 16px;
    font-weight: 400;
    display: inline-block;
    padding: 0.7rem 1.5rem;
    border: 1px dashed #00796b;
    background-color: #fff;
    color: #333;
}

.coupon-status {
    font-size: 18px;
    color: #666;
    position: absolute;
    text-transform: uppercase;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.coupon-body {
    margin-top: 15px;
    text-align: center;
}

.coupon-benefit {
    font-size: 60px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
}
.coupon-benefit span{
    font-size: 30px;
    font-weight: 500;
    text-transform: uppercase;
}

.coupon-conditions {
    font-size: 22px;
    font-weight: 300;
    color: #fff;
}
.excluded-coupon .coupon-conditions{
    color: #666;
}
.coupon-description {
    margin-top: 10px;
    font-size: 14px;
    color: #fff;

}

.coupon-footer {
    margin-top: 15px;
    text-align: center;
}

.apply-coupon {
    background: #ffc702;
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 0;
    cursor: pointer;
    font-size: 13px;
    font-weight: 400;
    transition: all 0.3s;
    text-transform: uppercase;
    margin: 1rem 0;
}
.apply-coupon:hover{
    filter: brightness(110%);
}
.apply-coupon:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Style for already applied coupons */
.applied-coupon {
    background: #e0f7fa; /* Light cyan background */
    border: 1px solid #4db6ac; /* Teal border */
}

.applied-coupon .coupon-benefit {
    color: #00796b; /* Dark teal text */
}

.applied-coupon .apply-coupon {
    background: #00796b; /* Dark teal button */
    cursor: not-allowed;
}

/* Style for coupons that cannot be added */
.excluded-coupon {
    background: #fff3e0; /* Light orange background */
}

.excluded-coupon .coupon-benefit {
    color: #666; /* Dark orange text */
}

.excluded-coupon .apply-coupon {
    background: #ccc; /* Dark orange button */
    cursor: not-allowed;
}

.invalid-coupon {
    filter: grayscale(0);
    background: #e2e3e5;
    border: 1px solid #d6d8db;
}

.invalid-coupon .coupon-benefit {
    color: #6c757d;
}

.invalid-coupon .apply-coupon {
    background: #6c757d;
    cursor: not-allowed;
}

#close-coupon-popup {
    
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    display: block;
    
    width: 30px;
    height: 30px;
    transition: all 0.5s;
    text-indent: -9999px;
    background: url('../svg/close-2.svg') no-repeat center/contain;
    opacity: 0.8;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3rem;
    /* position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%); */

}
#close-coupon-popup:hover{
    transform: rotate(180deg);
}
.coupon-card {
    background: #00796b;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 0;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.coupon-card {
    background: rgb(0,192,160);
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-size: cover; /* Add this to ensure the background image covers the card */
    background-position: center; /* Center the background image */
}

.coupon-card.excluded-coupon{
    background-color: #eee;
    filter: grayscale(1);
}






#available-coupons ul li {
    min-height: 242px;
    color: #fff;
    background: url(../coupon-bg.html) no-repeat center / cover #21242b;
    clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%, 0 20px);
    display: grid;
    align-items: center;
    grid-template-columns: 46.4716% 1fr;
    position: relative;
    word-break: break-word;
  }
  #available-coupons ul li.excluded-coupon{
    filter: grayscale(1);
  }
  #available-coupons ul li .amount {
    text-align: center;
    color: white;
    font-size: min(129px, 6.71875vw);
    font-weight: 700;
    padding: 20px;
    line-height: 1;
  }
  #available-coupons.coupon-popup-content ul li .amount{
    font-size: min(100px, 6.71875vw);
  }
  #available-coupons ul li .amount i {
    font-size: 50px;
  }
  #available-coupons ul li .info {
    padding-right: 20px;
  }
  #available-coupons ul li .info .title span {
    display: block;
    font-size: 24px;
  }
  #available-coupons ul li .info .title strong {
    margin-top: -6px;
    display: block;
    font-size: 35px;
    font-weight: 700;
    text-transform: uppercase;
  }
  #available-coupons ul li .info .desc {
    font-weight: 300;
    line-height: 27px;
    opacity: 0.9;
  }
  #available-coupons ul li .info .countdown {
    position: absolute;
    left: 46.4716%;
    bottom: 0;
    gap: 4px;
    display: none;
  }
  #available-coupons ul li .info .countdown .item {
    min-width: 53px;
    border-radius: 6px 6px 0 0;
    padding: 6px;
  }
  #available-coupons ul li .info .countdown strong {
    color: #fff;
    font-size: 2.04125rem;
    font-weight: 700;
  }
  #available-coupons ul li .info .countdown span {
    margin-top: -5px;
    color: #fff;
    font-size: 0.47375rem;
    font-weight: 700;
  }
  #available-coupons ul li.deadline .info {
    padding: 60px 20px 60px 0;
  }
  #available-coupons ul li.deadline .info .countdown {
    display: flex;
  }






  #available-coupons.coupon-popup-content ul{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 30px;
    position: relative;
  }

  .pop_loader {
    position: absolute;
    left: 50%;
    top: 0%;
    margin-top: -25px;
    margin-top: 5rem;
    margin-left: -25px;
    width: 50px;
    --b: 8px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--theme_color);
    -webkit-mask:
      repeating-conic-gradient(#0000 0deg,#000 1deg 70deg,#0000 71deg 90deg),
      radial-gradient(farthest-side,#0000 calc(100% - var(--b) - 1px),#000 calc(100% - var(--b)));
    -webkit-mask-composite: destination-in;
            mask-composite: intersect;
    animation: l5 1s infinite;
  }
  @keyframes l5 {to{transform: rotate(.5turn)}}