/* ListingPro single-listing sharing; scoped so the native trigger keeps its style. */
html.pno-share-ready .sbutton > ul.social-icons.post-socials,
html.pno-share-ready .sbutton > .md-overlay {
    display: none !important;
}

#pno-listing-share[hidden],
#pno-listing-share [hidden] {
    display: none !important;
}

#pno-listing-share {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: block;
    pointer-events: none;
    color: #253038;
    font-family: inherit;
    font-size: 16px;
    line-height: 24px;
    text-align: left;
}

#pno-listing-share,
#pno-listing-share *,
#pno-listing-share *::before,
#pno-listing-share *::after {
    box-sizing: border-box;
}

#pno-listing-share .pno-share__backdrop {
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: auto;
}

#pno-listing-share .pno-share__panel {
    position: fixed;
    width: 320px;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 32px);
    padding: 16px;
    overflow: auto;
    overscroll-behavior: contain;
    background: #fff;
    color: #253038;
    border: 1px solid #dfe5e5;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(28, 39, 43, .15);
    pointer-events: auto;
    -webkit-overflow-scrolling: touch;
    outline: none;
}

#pno-listing-share .pno-share__header {
    position: relative;
    min-height: 48px;
    margin: 0 0 8px;
    padding: 0 40px 0 0;
    border: 0;
    background: transparent;
}

#pno-listing-share #pno-share-title {
    margin: 0 0 4px !important;
    padding: 0;
    color: #253038;
    font-family: inherit;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    text-align: left;
    text-transform: none;
    letter-spacing: normal;
}

#pno-listing-share #pno-share-name {
    margin: 0;
    padding: 0;
    color: #737c83;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
    text-transform: none;
    overflow-wrap: anywhere;
}

#pno-listing-share .pno-share__close,
#pno-listing-share .pno-share__close:hover,
#pno-listing-share .pno-share__close:focus,
#pno-listing-share .pno-share__close:active {
    position: absolute;
    top: -8px;
    right: -8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0;
    background: transparent !important;
    color: #687378;
    border: 0;
    border-radius: 5px;
    box-shadow: none !important;
    -webkit-appearance: none;
    appearance: none;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

#pno-listing-share .pno-share__close i {
    margin: 0;
    color: inherit;
    font-size: 18px;
    line-height: 1;
}

#pno-listing-share .pno-share__close:focus {
    outline: none;
}

#pno-listing-share .pno-share__close:focus-visible {
    outline: 2px solid #687378;
    outline-offset: -4px;
}

#pno-listing-share .pno-share__kit {
    display: block;
    float: none;
    margin: 0;
    padding: 0;
    clear: both;
    line-height: 24px;
}

#pno-listing-share .pno-share__kit > a,
#pno-listing-share .pno-share__copy {
    display: flex !important;
    float: none !important;
    align-items: center;
    gap: 16px;
    width: 100%;
    min-height: 48px;
    margin: 0 !important;
    padding: 10px 8px !important;
    color: #253038 !important;
    background: transparent !important;
    border: 0;
    border-radius: 5px;
    box-shadow: none !important;
    -webkit-appearance: none;
    appearance: none;
    opacity: 1 !important;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    text-decoration: none !important;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 128, 128, .1);
}

#pno-listing-share .pno-share__kit > a:hover,
#pno-listing-share .pno-share__copy:hover {
    color: #253038 !important;
    background: #f0f8f8 !important;
}

#pno-listing-share .pno-share__kit > a:focus-visible,
#pno-listing-share .pno-share__copy:focus-visible,
#pno-listing-share .pno-share__fallback input:focus-visible {
    outline: 2px solid #007f7a;
    outline-offset: -2px;
}

#pno-listing-share .pno-share__icon {
    display: flex !important;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    width: 28px !important;
    height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #007f7a;
    border: 0;
    background: transparent !important;
    line-height: 28px !important;
}

#pno-listing-share .pno-share__icon img {
    display: block;
    width: 28px !important;
    height: 28px !important;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    object-fit: contain;
}

#pno-listing-share .pno-share__icon--whatsapp {
    background: #25d366 !important;
    border-radius: 50%;
}

#pno-listing-share .pno-share__icon--facebook {
    background: #1877f2 !important;
    border-radius: 50%;
}

#pno-listing-share .pno-share__icon--email {
    background: #007f7a !important;
    border-radius: 4px;
}

#pno-listing-share .pno-share__icon--x img {
    filter: brightness(0);
}

#pno-listing-share .pno-share__icon i {
    color: inherit;
    font-size: 27px;
    line-height: 28px;
}

#pno-listing-share .pno-share__label {
    display: block;
    float: none;
    padding: 0;
    margin: 0;
    color: inherit;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    text-transform: none;
}

#pno-listing-share .pno-share__kit .a2a_svg {
    display: none !important;
}

#pno-listing-share .pno-share__copy {
    margin-top: 4px !important;
    padding-top: 14px !important;
    min-height: 53px;
    border-top: 1px solid #e2e7e7;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

#pno-listing-share .pno-share__fallback {
    margin-top: 8px;
}

#pno-listing-share .pno-share__fallback input {
    display: block;
    width: 100%;
    height: 44px;
    margin: 0;
    padding: 8px;
    border: 1px solid #dfe5e5;
    border-radius: 5px;
    background: #fff;
    color: #253038;
    font: inherit;
    font-size: 16px;
}

#pno-listing-share .pno-share__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 767px) {
    html.pno-share-open-mobile {
        overflow: hidden !important;
    }

    html.pno-share-open-mobile body {
        position: fixed !important;
        top: var(--pno-share-scroll-top, 0) !important;
        left: var(--pno-share-scroll-left, 0) !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    #pno-listing-share .pno-share__backdrop {
        background: rgba(0, 0, 0, .1);
    }

    #pno-listing-share .pno-share__panel {
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        width: 100%;
        max-width: 100%;
        max-height: calc(100vh - 24px);
        max-height: calc(100dvh - 24px);
        padding: 20px 20px calc(20px + env(safe-area-inset-bottom, 0px));
        border: 1px solid #dfe5e5;
        border-bottom: 0;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -6px 30px rgba(28, 39, 43, .13);
    }
}
