/* "Scan to get the app" popup. homepage-new/popup.js shows the overlay (inline display) and toggles .pop-up--show */
.popup-homepage-new--overlay.zps-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999999999;
    background: rgba(0, 0, 0, .6);
}

/* centred horizontally by a whole-pixel `left` (a -50% translate of the odd width blurs the text), vertically with
   `translate`; the global .pop-up--show fade-in animates both axes, so it gets its own */
#sitePopup.zps {
    display: none;
    position: fixed;
    top: 50%;
    left: calc(50% - 205px);
    width: 409px;
    translate: 0 -50%;
    font-family: Nunito, sans-serif;
}

#sitePopup.zps.pop-up--show {
    display: block;
    animation-name: zps-in;
}

@keyframes zps-in {
    0%   { opacity: 0; translate: 0 -48%; }
    100% { opacity: 1; translate: 0 -50%; }
}

#sitePopup .zps__card {
    box-sizing: border-box;
    min-height: 470px;
    padding: 76px 27px 86px 26px;
    border-radius: 24px;
    background: #fff;
    text-align: center;
}

#sitePopup .zps__kicker,
#sitePopup .zps__title,
#sitePopup .zps__text {
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

#sitePopup .zps__kicker {
    margin: 0;
    color: #1AC137;
    font-size: 14px;
    font-style: italic;
    font-weight: 900;
    line-height: .95;
    letter-spacing: -.02em;
    text-transform: uppercase;
}

#sitePopup .zps__tile {
    position: relative;
    box-sizing: border-box;
    width: 160px;
    height: 160px;
    margin: 10px auto 0;
    padding: 9px;
    border: 1px solid #1AC137;
    border-radius: 12px;
}

#sitePopup .zps__qr {
    display: block;
    width: 140px;
    height: 140px;
    max-width: none;
}

/* offsets from the tile's padding box */
#sitePopup .zps__arrow {
    position: absolute;
    top: calc(100% + 5.95px);
    left: calc(100% + 17.89px);
    display: block;
    width: 14px;
    height: 28px;
}

#sitePopup .zps__title {
    max-width: 248px;
    margin: 54px auto 0;
    color: #000;
    font-size: 28px;
    font-style: italic;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

#sitePopup .zps__text {
    margin: 16px 0 0;
    color: #888;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

#sitePopup .zps__close {
    position: absolute;
    top: 0;
    left: calc(100% + 24px);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #FAFAF7;
    -webkit-backdrop-filter: blur(2.4px);
    backdrop-filter: blur(2.4px);
    color: #222;
    cursor: pointer;
}

#sitePopup .zps__close svg {
    display: block;
    width: 24.774px;
    height: 24.774px;
}
