.digipopup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.digipopup-modal {
    background: #fff;
    border-radius: 0px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    /* overflow-y: auto; */
    overflow: hidden;

    @media all and (max-width: 767px) {
        overflow: auto;
    }
}

.digipopup-modal.has-image {
    max-width: 550px;
}

.digipopup-image-side {
    width: 100%;
    flex-shrink: 0;
}

.digipopup-image-side img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.digipopup-content {
    flex: 1;
    padding: 30px;
    background: #B4D6E2;

    @media all and (max-width: 510px) {
        padding: 15px;
    }
}

.digipopup-close {
    position: absolute;
    top: -4px;
    right: 5px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    z-index: 10;
}

.digipopup-close:hover {
    color: #000;
}

.digipopup-title {
    font-size: 1rem;
    margin-bottom: 20px;
    text-align: left;
    color: #333;
    width: 100%;
    display: block;

    @media all and (max-width: 510px) {
        font-size: .8rem;
    }

    b {
        font-size: 1.4rem;
        display: block;
        margin-bottom: 1.2rem;

        @media all and (max-width: 510px) {
            font-size: 1.1rem;
            margin-bottom: .8rem;
        }
    }

    /*
    ul {
        display: flex;
        flex-direction: row;
        gap: 20px;

        li {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            font-size: .8rem;
            width: 33%;
            position: relative;
            font-weight: 300;

            svg {
                margin-bottom: 5px;
            }

            &::after {
                content: "";
                width: 1px;
                height: 100%;
                background: #dedede;
                position: absolute;
                right: -10px;
            }

            &:last-child {
                &::after {
                    display: none;
                }
            }
        }
    }
    */
}

.digipopup-title ul {
    display: none;
}

.digipopup-form-group {
    margin-bottom: 15px;
}

.digipopup-form-group label {
    display: none;
}

.digipopup-form-group input[type="email"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #dedede;
    border-radius: 10px;
    border-color: #7E7E7E;
}

.digipopup-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.digipopup-checkbox-group input {
    margin-top: 0;
    border: 1px solid #7E7E7E;
    background: #FFF;
    appearance: none;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    border-radius: 5px;
}

.digipopup-checkbox-group input:checked {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='16' viewBox='0 0 20 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.66667 15.6667L0 9L2.33333 6.66667L6.66667 11L17.6667 0L20 2.33333L6.66667 15.6667Z' fill='%231D1B20'/%3E%3C/svg%3E%0A") !important;
    background-position: center !important;
    background-size: 10px !important;
    background-repeat: no-repeat !important;
}

.digipopup-checkbox-group label {
    font-weight: normal;
    font-size: 0.8rem;
    color: #000;
    line-height: 1.3;
    display: inline-block;
    font-weight: 300;
}

#digipopup-submit {
    width: 100%;
    padding: 12px;
    font-size: 1.2rem;
    background-color: #A3743E;
    color: #fff;
    border: unset;
    font-weight: 300;
    letter-spacing: 1.5px;
    max-width: 250px;
    border-radius: 10px;
    margin: auto;
    display: block;

    @media all and (max-width: 510px) {
        font-size: .8rem;
        padding: 9px;
    }
}

#digipopup-submit:disabled {
    cursor: not-allowed;
    opacity: 1;
}

#digipopup-message {
    font-weight: 400 !important;
    color: #333 !important;
    text-align: center;

    b {
        font-weight: 600 !important;
        display: block !important;
        text-align: center !important;
        font-size: 1.4rem !important;
        color: #333 !important;

        @media all and (max-width: 510px) {
            font-size: 1.1rem !important;
        }
    }
}


.popup-logo {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding-bottom: 15px;
}

.popup-separator {
    display: none;
}

/*
.popup-separator {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;

    &::before {
        display: block;
        content: "";
        width: 50px;
        height: 1px;
        background-color: #000;
    }

    &::after {
        display: block;
        content: "";
        width: 50px;
        height: 1px;
        background-color: #000;
    }

    span {
        background: #fff;
        padding: 0 15px;
        font-size: 1.5rem;
    }
}
*/

.popup-line-1 {
    text-align: center;
    margin-bottom: 20px;
    font-weight: 300;
    margin-top: 40px;
    color: #000;
}

.popup-line-2 {
    color: #000;
    text-align: center;
    font-size: 17px;
    font-style: normal;
    font-weight: 600;
    line-height: 44px;
    /* 146.667% */
    margin-bottom: -15px;
}

.popup-line-3 {
    text-align: center;
    font-weight: 500;
    font-size: 4rem;
    color: #A3743E;
    margin-bottom: -15px;

    @media all and (max-width: 510px) {
        font-size: 3rem;
    }
}

.popup-line-4 {
    display: none;
}

/*
.popup-line-4 {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 25px;
    text-transform: uppercase;
}
*/