.tpgb-coupon-code .tpgb-ccd-closebtn{
    position: absolute;
    width: 30px;
    height: 30px;
    background: #000;
    color: #fff;
    cursor: pointer;
    border: 0;
    padding: 5px 10px;
    top: 0;
    right: 0;
    outline: none;
    z-index: 999;
}
.copy-code-wrappar{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #34495ecc;
    z-index: 50;
    visibility: hidden;
    opacity: 0;
    transition: 0.7s;
}
.ccd-main-modal{
    position: fixed;
    top: 50%;
    left: 50%;
    width:100%;
    max-width: 500px;
    height:100%;
    max-height: 300px;
    background: #f6f6f6;
    z-index: 100;
    visibility: hidden;
    opacity: 0;
    transition: 0.5s ease-out; 
    transform: translateY(-50%) translateX(-50%) scale(1.2);
    overflow: hidden;
}
.popup-code-modal {
	display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}
.tpgb-coupon-code .popup-content {  
    position: relative;
    display: flex;
    width: 100%;
    font-size: 15px;
    color: #000;
    flex-direction: column;
    align-items: center;
}
.tpgb-coupon-code .popup-content .content-title {
    font-weight: 700;
    font-size: 20px;
}
.tpgb-coupon-code .popup-content .content-desc {
    margin-top: 10px;
}
.tpgb-coupon-code .popup-content .content-title,.tpgb-coupon-code .popup-content .content-desc {
    position: relative;
    padding: 3px 5px;
    color: #000;
}
.tpgb-coupon-code .coupon-code-outer {
    position: relative;
    display: flex;
    width: 100%;
    height: auto;
	justify-content: center;
}
.tpgb-coupon-code .coupon-code-outer .full-code-text{
	display: inline-flex;
	position: relative;
	width: max-content;
    max-width: 50%;
}
.tpgb-coupon-code .popup-code-modal .coupon-store-visit {
    position: relative;
    display: flex;
    width: 100%;
    height: auto;
    align-items: center;
    flex-direction: column;
}
.tpgb-coupon-code .store-visit-link a {
    color: white;
}
.tpgb-coupon-code .coupon-store-visit .store-visit-link {
    font-size: 16px;
    color: #FFF;
    background-color: #ff844a;
    border: none;
    padding: 5px 15px;
    border-radius: 4px;
    text-decoration: none;
}
.copy-code-wrappar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}
.copy-code-wrappar.active{
  visibility: visible;
  opacity: 1;
}
.copy-code-wrappar.active + .ccd-main-modal{
  visibility: visible;
  opacity: 1;
  transform: translateY(-50%) translateX(-50%) scale(1);
}