body.popup {
    overflow: hidden;
}
#popup {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 88888888;
    background-color: rgba(0, 0, 0, .4);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
    overflow: auto;
}
    #popup .popup-close {
        position: absolute;
        top: 0;
        right: 0;
        transform: translate(10px, -10px);
        display: flex;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        background-color: #fff;
        box-shadow: 0 0 8px rgba(0, 0, 0, .4);
        border-radius: 100%;
        cursor: pointer;
        font-size: 20px;
        font-weight: 700;
    }
    #popup .popup-inner {
        position: relative;
        width: 80%;
        max-width: 480px;
        background-color: #ffe8bf;
        border-radius: 8px;
        padding: 26px;
        box-shadow: 0 0 8px rgba(0, 0, 0, .4);
        margin-top: auto;
        margin-bottom: auto;
    }
        #popup header {
            margin-bottom: 48px;
        }
            #popup .mask_popup-header {
                text-align: center;
                font-size: 24px;
                line-height: 33px;
                text-transform: uppercase;
                color: #8e8d8d;
                font-weight: 400;
                background-image: url(../images/bg_h1_kh.png);
                background-position: center top;
                background-repeat: no-repeat;
                padding-top: 33px;
            }
            #popup .schmuck {
                margin-bottom: unset;
            }
            #popup .mask_popup-buttons {
                list-style: none;
                display: flex;
                justify-content: space-between;
                align-items: center;
                flex-wrap: wrap;
                column-gap: 24px;
                row-gap: 16px;
                margin: 48px 0 0 0;
                padding: 0;
            }
                #popup .mask_popup-buttons li {
                    margin: unset;
                    flex: 1;
                }
                    #popup .mask_popup-buttons a,
                    #popup .mask_popup-buttons a:link,
                    #popup .mask_popup-buttons a:hover,
                    #popup .mask_popup-buttons a:active,
                    #popup .mask_popup-buttons a:visited,
                    #popup .mask_popup-buttons a:focus {
                        display: inline-block;
                        width: 100%;
                        text-align: center;
                        line-height: 24px;
                        padding: 8px 16px;
                        background-color: #fec540;
                        text-transform: uppercase;
                        text-decoration: none;
                    }

@media (max-width: 800px) {
    #popup .mask_popup-buttons {
        flex-direction: column;
    }
        #popup .mask_popup-buttons li {
            width: 100%;
        }
}