.fancybox__container[role='dialog'] {
    --fancybox-bg: rgba(0,0,0,0.3);
}
#promocode {
    display: flex;
    flex-wrap: wrap;
    background: #FFF;
    width: 800px;
    max-height: 400px;
    padding: 0;
    border-radius: 10px;
    position: relative;
}
#promocode .promo-image {
    width: 50%;
    max-height: 100%;
}
#promocode .promo-image img {
    display: block;
    object-fit: cover;
    object-position: top center;
    width: 100%;
    height: 100%;
    max-height: 100%;
}
#promocode .promo-text {
    width: 50%;
    padding: 25px 15px;
    color: #000;
    font-size: 1.1em;
    text-align: center;
}

#promocode .promo-notice {
    margin-top: -10px;
    display: block;
    margin-bottom: 25px;
    font-size: 14px;
}

#promocode .promo-form input {
    border: 1px solid #666;
    border-radius: 5px;
    padding: 10px 15px;
    width: 80%;
    margin-top: 25px;
    outline: none;
}

#promocode .promo-ico {
    display: block;
    position: absolute;
    top: -30px;
    right: 46%;
    width: 60px;
    height: 60px;
    transform: rotate(-20deg);
}

#promocode .promo-form .btn {
    padding: 15px 15px;
    width: 80%;
    margin-top: 25px;
}

#promocode .fancybox__content>.carousel__button.is-close {
    background: #FFF;
}

#promocode #signin-modal-code {
    width: 80%;
}

.promo-hello {
    display: block;
    width: 50%;
    margin: 15px auto;
    padding: 10px 15px;
    border: 1px dashed #666;
}

.success-result .btn {
    padding: 10px 15px;
}

#promocode .js--error {
    font-size: 10px;
    color: #FF0000;
    position: relative;
    top: 20px;
}

#promocode .carousel__button.is-close {
    background: #FFF;
}

@media (max-width: 800px) {
    #promocode {
        width: 95%;
        max-width: 400px;
    }
    #promocode .promo-image {
        display: none;
    }
    #promocode .promo-text {
        width: 100%;
    }

    #promocode .promo-ico {
        top: -30px;
        right: 96%;
        width: 60px;
        height: 60px;
        transform: rotate(-20deg);
    }
}