.alf-home-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, .62);
}

.alf-home-popup[hidden] {
    display: none;
}

.alf-home-popup__box {
    position: relative;
    width: min(700px, 100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    background: #fff;
    color: #111;
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .25);
}

.alf-home-popup__box::-webkit-scrollbar {
    display: none;
}

.alf-home-popup__image {
    display: block;
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 8px;
    margin: -50px 0 18px;
}

.alf-home-popup__close {
    position: sticky;
    top: 0;
    left: calc(100% - 44px);
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: #e5253f;
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    margin-left: auto;
}

.alf-home-popup__box p,
.alf-home-popup__box div p,
.alf-home-popup__box > div p {
    font-size: 16px;
    line-height: 1.25;
    font-weight: 500;
}

.alf-home-popup__cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    min-height: 58px;
    box-sizing: border-box;
    background: linear-gradient(to right, #111 0 50%, var(--alf-red, #de3e48) 50% 100%);
    background-size: 200% 100%;
    background-position: 100% 0;
    color: #fff !important;
    border: 1px solid #111;
    border-radius: 8px;
    padding: 15px 35px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0;
    transition: color .28s ease, border-color .28s ease, background-position .32s ease;
}

.alf-home-popup__cta:hover,
.alf-home-popup__cta:focus-visible {
    background-position: 0 0;
    color: #fff !important;
}
