/* HNNP member purchase gate. */
.hnnp-member-gate,
.hnnp-member-gate * {
    box-sizing: border-box;
}

.hnnp-member-gate[hidden] {
    display: none !important;
}

.hnnp-member-gate {
    display: flex;
    position: fixed;
    z-index: 100000;
    inset: 0;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity .16s ease;
}

.hnnp-member-gate.is-open {
    opacity: 1;
}

.hnnp-member-gate__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, .68);
}

.hnnp-member-gate__dialog {
    position: relative;
    width: min(100%, 390px);
    padding: 28px 28px 26px;
    border-radius: 16px;
    outline: 0;
    background: #fff;
    text-align: center;
    transform: translateY(8px);
    transition: transform .16s ease;
}

.hnnp-member-gate.is-open .hnnp-member-gate__dialog {
    transform: translateY(0);
}

.hnnp-member-gate__close {
    display: inline-flex !important;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #eef0f3 !important;
    color: #667085 !important;
    box-shadow: none !important;
    cursor: pointer;
}

.hnnp-member-gate__close svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.hnnp-member-gate__brand {
    display: flex;
    width: 96px;
    height: 58px;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    overflow: hidden;
}

.hnnp-member-gate__brand img {
    display: block !important;
    width: 96px !important;
    max-width: none !important;
    height: 96px !important;
    margin: 0 !important;
    object-fit: cover;
    transform: scale(1.12);
}

.hnnp-member-gate__dialog h2 {
    margin: 0 0 10px !important;
    color: #101828 !important;
    font-size: 23px !important;
    font-weight: 750 !important;
    line-height: 1.3 !important;
    text-transform: none !important;
}

.hnnp-member-gate__dialog p {
    margin: 0 auto 22px !important;
    color: #475467 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

.hnnp-member-gate__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.hnnp-member-gate__actions a {
    display: inline-flex !important;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 14px !important;
    border: 1px solid #2b5acd;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none !important;
}

.hnnp-member-gate__register {
    background: #fff;
    color: #2b5acd !important;
}

.hnnp-member-gate__login {
    background: #2b5acd;
    color: #fff !important;
}

.hnnp-member-gate__register:hover {
    background: #f5f8ff;
}

.hnnp-member-gate__login:hover {
    border-color: #244eb5;
    background: #244eb5;
}

html.hnnp-member-gate-open,
html.hnnp-member-gate-open body {
    overflow: hidden !important;
}

@media (max-width: 480px) {
    .hnnp-member-gate {
        align-items: flex-end;
        padding: 10px;
    }

    .hnnp-member-gate__dialog {
        width: 100%;
        padding: 25px 18px 18px;
        border-radius: 16px;
    }

    .hnnp-member-gate__brand {
        width: 88px;
        height: 54px;
        margin-bottom: 13px;
    }

    .hnnp-member-gate__dialog h2 {
        font-size: 21px !important;
    }
}
