/* All selectors are scoped to the WebVue Triathlon Pink popup to avoid Woodmart conflicts. */
#wv-tp-overlay[hidden] {
    display: none !important;
}

body.wv-tp-scroll-lock {
    overflow: hidden !important;
}

#wv-tp-overlay,
#wv-tp-overlay *,
#wv-tp-overlay *::before,
#wv-tp-overlay *::after {
    box-sizing: border-box;
}

#wv-tp-overlay.wv-tp-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 20px;
    background: rgba(205, 212, 213, 0.80);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

#wv-tp-overlay .wv-tp-modal {
    position: relative;
    flex: none;
    width: 100%;
    max-width: 975px;
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    overflow-x: hidden;
    overflow-y: auto;
    padding: 42px 46px 52px;
    border: 0;
    border-radius: 42px;
    background: #ffffff;
    color: #1b1b1b;
    box-shadow: none;
    outline: none;
    text-align: center;
    font-family: 'Poppins', 'Montserrat', 'Century Gothic', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.35;
    -webkit-font-smoothing: antialiased;
    margin: auto;
}

#wv-tp-overlay .wv-tp-close {
    position: absolute;
    top: 12px;
    right: 13px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f3f3f3;
    color: #141414;
    box-shadow: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: background .15s ease;
}

#wv-tp-overlay .wv-tp-close:hover,
#wv-tp-overlay .wv-tp-close:focus-visible {
    background: #ebebeb;
}

#wv-tp-overlay .wv-tp-close:focus-visible {
    outline: 3px solid #d4155e;
    outline-offset: 2px;
}

#wv-tp-overlay .wv-tp-close svg {
    display: block;
    width: 25px;
    height: 25px;
    flex: none;
}

#wv-tp-overlay .wv-tp-logo {
    display: block;
    width: 300px;
    max-width: 75%;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    border: 0;
    box-shadow: none;
}

#wv-tp-overlay .wv-tp-heading {
    margin: 57px 0 31px;
    padding: 0;
    border: 0;
    color: #1b1b1b;
    font-family: inherit;
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.19;
    text-transform: none;
    text-align: center;
}

#wv-tp-overlay .wv-tp-message,
#wv-tp-overlay .wv-tp-message p {
    color: #252525;
    font-family: inherit;
    font-weight: 400;
    text-align: center;
    text-transform: none;
    letter-spacing: -0.018em;
}

#wv-tp-overlay .wv-tp-intro {
    margin: 0 0 33px;
    font-size: 33px;
    line-height: 1.25;
}

#wv-tp-overlay .wv-tp-offer {
    max-width: 890px;
    margin: 0 auto;
    font-size: 32px;
    line-height: 1.23;
}

#wv-tp-overlay .wv-tp-offer strong {
    color: inherit;
    font-weight: 750;
    letter-spacing: -0.025em;
}

@media (max-width: 720px) {
    #wv-tp-overlay.wv-tp-overlay {
        padding: 14px;
    }

    #wv-tp-overlay .wv-tp-modal {
        max-width: 510px;
        max-height: calc(100vh - 28px);
        max-height: calc(100dvh - 28px);
        padding: 38px 22px 51px;
        border-radius: 41px;
    }

    #wv-tp-overlay .wv-tp-close {
        top: 12px;
        right: 12px;
    }

    #wv-tp-overlay .wv-tp-logo {
        width: min(296px, 75vw);
        max-width: 86%;
    }

    #wv-tp-overlay .wv-tp-heading {
        max-width: 385px;
        margin: 57px auto 33px;
        font-size: clamp(28px, 8.2vw, 42px);
        line-height: 1.23;
    }

    #wv-tp-overlay .wv-tp-intro {
        max-width: 375px;
        margin: 0 auto 36px;
        font-size: clamp(22px, 6.65vw, 34px);
        line-height: 1.22;
    }

    #wv-tp-overlay .wv-tp-offer {
        max-width: 340px;
        font-size: clamp(22px, 6.45vw, 33px);
        line-height: 1.19;
    }
}

@media (max-width: 420px) {
    #wv-tp-overlay .wv-tp-modal {
        padding: 39px 20px 42px;
        border-radius: 32px;
    }
    #wv-tp-overlay .wv-tp-logo {
        width: min(270px, 74vw);
    }
    #wv-tp-overlay .wv-tp-heading {
        max-width: 80vw;
        margin-top: 39px;
        margin-bottom: 27px;
        font-size: clamp(30px, 8vw, 34px);
    }
    #wv-tp-overlay .wv-tp-intro {
        margin-bottom: 27px;
        font-size: clamp(24px, 6.85vw, 28px);
    }
    #wv-tp-overlay .wv-tp-offer {
        max-width: 72vw;
        font-size: clamp(24px, 6.6vw, 27px);
    }
}

@media (max-height: 640px) and (min-width: 721px) {
    #wv-tp-overlay .wv-tp-modal { padding-top: 27px; padding-bottom: 28px; }
    #wv-tp-overlay .wv-tp-logo { width: 220px; }
    #wv-tp-overlay .wv-tp-heading { margin-top: 22px; margin-bottom: 16px; font-size: 32px; }
    #wv-tp-overlay .wv-tp-intro { margin-bottom: 18px; font-size: 25px; }
    #wv-tp-overlay .wv-tp-offer { font-size: 25px; }
}

@media (prefers-reduced-motion: no-preference) {
    #wv-tp-overlay .wv-tp-modal {
        animation: wv-tp-appear 180ms ease-out both;
    }
    @keyframes wv-tp-appear {
        from { opacity: .65; transform: translateY(8px); }
        to { opacity: 1; transform: translateY(0); }
    }
}
