/* Krispy Kreme Promo Popup - frontend overlay */
.kk-promo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    animation: kk-promo-fadeIn 0.25s ease-out;
}

.kk-promo-overlay.kk-promo-closing {
    animation: kk-promo-fadeOut 0.3s ease-out forwards;
}

@keyframes kk-promo-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes kk-promo-fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.kk-promo-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    cursor: pointer;
}

.kk-promo-modal {
    position: relative;
    width: 100%;
    max-width: 600px;
    overflow: auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    min-height: 400px;
}

.kk-promo-close-wrap {
    position: absolute;
    right:0px;
    top: 0px;
    z-index: 2;
}

.kk-promo-close {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 2px solid #cd0d2c;
    background: #FFF;
    font-size: 38px;
    line-height: 1;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
    box-shadow: none;
    font-weight: normal;
    
}

.kk-promo-close:hover {
    background: #006938;
    color: #FFF;
}

.kk-promo-content {
    position: relative;
    z-index: 1;
    /* Clear the close button (12px + 36px + 8px gap) */
    padding-top: 56px;
    
}

.kk-promo-content img {
    max-width: 100%;
    height: auto;
}

.kk-promo-content [data-content-type=row]  {
    display:block;
}
.kk-promo-content [loading="lazy"],
.kk-promo-content img {
    opacity: 1 !important;
    width: 100%;
    object-fit: cover;
    margin-top: -57px;
    margin-left: 0;
    margin-right: 0;
}

.kk-promo-content {
 text-align:center;
}

 
.kk-promo-content h2,
.kk-promo-content h4,
.kk-promo-content h5,
.kk-promo-content h3{
        color:#006938;
        font-size:24px;        
        border-bottom:1px solid;
        padding-bottom:5px;
        margin: 15px  20px;
    }
.kk-promo-content p{
        font-size:16px;
        color:#181919;       
        margin: 0 20px 15px;
    }
.kk-promo-content div.pagebuilder-button-primary,
.kk-promo-content  a{
border-radius: 5px;
 background:#006938;
 color:#FFF;
 padding:8px 15px;
 line-height: 27px;
text-transform: capitalize;
font-weight: 500;
margin-bottom: 20px;
} 

@media (max-width: 590px) {  
    .kk-promo-modal {
        min-height: auto;
    }
}