/* =========================================================
   PropNook Navigator — Property UX
   ========================================================= */

.pn-property-actions {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
    margin:14px 0;
}

.pn-share-property {
    appearance:none;
    border:1px solid rgba(100,116,139,.25);
    border-radius:10px;
    background:var(--card-bg,#fff);
    color:inherit;
    padding:10px 14px;
    font:inherit;
    font-size:13px;
    font-weight:700;
    cursor:pointer;
}

.pn-share-property:hover {
    transform:translateY(-1px);
}

.pn-share-property-success {
    font-size:12px;
    opacity:.72;
}


/* Clickable property photos */

.pn-enlargeable-photo {
    cursor:zoom-in !important;
}

.pn-photo-lightbox {
    position:fixed;
    inset:0;
    z-index:99999;
    display:none;
    align-items:center;
    justify-content:center;
    padding:28px;
    background:rgba(0,0,0,.88);
}

.pn-photo-lightbox.open {
    display:flex;
}

.pn-photo-lightbox-image {
    display:block;
    max-width:min(94vw,1400px);
    max-height:88vh;
    width:auto;
    height:auto;
    object-fit:contain;
    border-radius:12px;
    box-shadow:0 25px 80px rgba(0,0,0,.45);
}

.pn-photo-lightbox-close {
    position:absolute;
    top:18px;
    right:20px;
    width:44px;
    height:44px;
    display:grid;
    place-items:center;
    border:0;
    border-radius:50%;
    background:rgba(255,255,255,.14);
    color:#fff;
    font-size:26px;
    line-height:1;
    cursor:pointer;
}

.pn-photo-lightbox-caption {
    position:absolute;
    left:24px;
    right:24px;
    bottom:17px;
    color:#fff;
    text-align:center;
    font-size:12px;
    opacity:.82;
}

body.pn-lightbox-open {
    overflow:hidden;
}

@media(max-width:700px) {
    .pn-photo-lightbox {
        padding:14px;
    }

    .pn-photo-lightbox-image {
        max-width:96vw;
        max-height:84vh;
    }

    .pn-share-property {
        min-height:42px;
    }
}

/* =========================================================
   Navigator Pro — clean saved-property view
   2026-09-10
   ========================================================= */

body.pn-navigator-household-clean .pn-inline-add-listing-hidden {
    display:none !important;
}

body.pn-navigator-household-clean .pn-property-list-heading {
    margin-top:22px;
    margin-bottom:14px;
}

body.pn-navigator-household-clean .pn-property-list-heading h2 {
    margin:0;
    font-size:22px;
}

body.pn-navigator-household-clean .pn-property-list-heading p {
    margin:5px 0 0;
    opacity:.68;
    font-size:13px;
}

body.pn-navigator-household-clean .pn-property-preview-card {
    overflow:hidden;
}

body.pn-navigator-household-clean .pn-property-thumbnail {
    display:block;
    width:100%;
    height:170px;
    object-fit:cover;
    border-radius:12px;
    margin:0 0 12px;
    background:rgba(120,120,120,.08);
    cursor:pointer;
}

body.pn-navigator-household-clean .pn-property-thumbnail-placeholder {
    width:100%;
    height:145px;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 0 12px;
    background:rgba(120,120,120,.08);
    border:1px dashed rgba(120,120,120,.25);
    font-size:13px;
    opacity:.65;
}

body.pn-navigator-household-clean .pn-property-preview-link {
    text-decoration:none;
}

body.pn-navigator-household-clean .pn-property-preview-card:hover {
    transform:translateY(-1px);
}

@media(max-width:700px) {
    body.pn-navigator-household-clean .pn-property-thumbnail {
        height:190px;
    }
}

/* PropNook Logout */
.pn-logout-button {
    position: fixed;
    top: 18px;
    right: 22px;
    z-index: 9998;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid rgba(100,116,139,.25);
    border-radius: 10px;
    background: var(--card-bg,#fff);
    color: inherit;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
}

.pn-logout-button:hover {
    transform: translateY(-1px);
}

@media(max-width:700px) {
    .pn-logout-button {
        top: 10px;
        right: 12px;
        min-height: 36px;
        padding: 7px 11px;
    }
}

/* =========================================================
   PROPNOOK PROPERTY PREVIEWS v2
   Desktop = two photos
   Mobile  = one photo
   ========================================================= */

.pn-preview-gallery {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
    width:100%;
    margin:0 0 12px;
}

.pn-preview-photo {
    display:block;
    width:100%;
    height:145px;
    object-fit:cover;
    border-radius:12px;
    background:rgba(120,120,120,.08);
    cursor:zoom-in;
    transition:
        transform .15s ease,
        opacity .15s ease;
}

.pn-preview-photo:hover {
    transform:scale(1.015);
    opacity:.96;
}

.pn-preview-empty {
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:145px;
    grid-column:1 / -1;
    border-radius:12px;
    border:1px dashed rgba(120,120,120,.3);
    background:rgba(120,120,120,.06);
    font-size:13px;
    opacity:.65;
}

.pn-property-card-enhanced {
    overflow:hidden;
}

.pn-property-card-enhanced .pn-preview-gallery + * {
    margin-top:0;
}

@media(max-width:700px) {

    .pn-preview-gallery {
        grid-template-columns:1fr;
    }

    .pn-preview-photo {
        height:190px;
    }

    .pn-preview-photo:nth-child(n+2) {
        display:none;
    }
}

/* =========================================================
   NAVIGATOR PRO DASHBOARD — PROPERTY PHOTO PREVIEWS
   ========================================================= */

.pn-nav-property-previews {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
    margin:12px 0;
    width:100%;
}

.pn-nav-property-preview {
    position:relative;
    display:block;
    overflow:hidden;
    border-radius:11px;
    min-width:0;
}

.pn-nav-property-preview img {
    display:block;
    width:100%;
    height:105px;
    object-fit:cover;
    border-radius:11px;
}

.pn-nav-property-preview-name {
    position:absolute;
    left:7px;
    right:7px;
    bottom:7px;

    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;

    padding:5px 7px;
    border-radius:7px;

    background:rgba(0,0,0,.68);
    color:white;

    font-size:11px;
    font-weight:700;
}

.pn-nav-no-photo {
    height:105px;

    display:flex;
    align-items:center;
    justify-content:center;

    border:1px dashed rgba(100,116,139,.28);
    border-radius:11px;

    background:rgba(100,116,139,.06);

    font-size:11px;
    opacity:.65;
}

.pn-nav-preview-title {
    margin:12px 0 6px;
    font-size:11px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.04em;
    opacity:.58;
}

@media(max-width:700px) {

    .pn-nav-property-previews {
        grid-template-columns:1fr;
    }

    .pn-nav-property-preview img,
    .pn-nav-no-photo {
        height:145px;
    }

    .pn-nav-property-preview:nth-child(n+2) {
        display:none;
    }
}

/* =========================================================
   NAVIGATOR PRO DASHBOARD — PROPERTY PHOTO PREVIEWS
   ========================================================= */

.pn-nav-property-previews {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
    margin:12px 0;
    width:100%;
}

.pn-nav-property-preview {
    position:relative;
    display:block;
    overflow:hidden;
    border-radius:11px;
    min-width:0;
}

.pn-nav-property-preview img {
    display:block;
    width:100%;
    height:105px;
    object-fit:cover;
    border-radius:11px;
}

.pn-nav-property-preview-name {
    position:absolute;
    left:7px;
    right:7px;
    bottom:7px;

    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;

    padding:5px 7px;
    border-radius:7px;

    background:rgba(0,0,0,.68);
    color:white;

    font-size:11px;
    font-weight:700;
}

.pn-nav-no-photo {
    height:105px;

    display:flex;
    align-items:center;
    justify-content:center;

    border:1px dashed rgba(100,116,139,.28);
    border-radius:11px;

    background:rgba(100,116,139,.06);

    font-size:11px;
    opacity:.65;
}

.pn-nav-preview-title {
    margin:12px 0 6px;
    font-size:11px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.04em;
    opacity:.58;
}

@media(max-width:700px) {

    .pn-nav-property-previews {
        grid-template-columns:1fr;
    }

    .pn-nav-property-preview img,
    .pn-nav-no-photo {
        height:145px;
    }

    .pn-nav-property-preview:nth-child(n+2) {
        display:none;
    }
}

/* =========================================================
   Navigator saved-property dashboard correction
   ========================================================= */

.pn-nav-saved-properties {
    margin-top:22px;
}

.pn-nav-saved-properties-header {
    margin-bottom:14px;
}

.pn-nav-saved-properties-header h2 {
    margin:0;
    font-size:22px;
}

.pn-nav-saved-properties-header p {
    margin:5px 0 0;
    font-size:13px;
    opacity:.68;
}

.pn-nav-property-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
}

.pn-nav-property-card {
    padding:14px;
    border:1px solid rgba(120,120,120,.18);
    border-radius:14px;
    background:var(--card-bg,#fff);
}

.pn-nav-property-images {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
    margin-bottom:12px;
}

.pn-nav-property-image {
    display:block;
    width:100%;
    height:145px;
    object-fit:cover;
    border-radius:10px;
    cursor:zoom-in;
    background:rgba(120,120,120,.08);
}

.pn-nav-property-image-placeholder {
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:145px;
    grid-column:1/-1;
    border-radius:10px;
    border:1px dashed rgba(120,120,120,.25);
    background:rgba(120,120,120,.05);
    opacity:.65;
    font-size:13px;
}

.pn-nav-property-card h3 {
    margin:0 0 5px;
    font-size:17px;
}

.pn-nav-property-meta {
    font-size:13px;
    line-height:1.55;
    opacity:.76;
}

.pn-nav-property-open {
    display:inline-flex;
    margin-top:11px;
    padding:8px 12px;
    border-radius:9px;
    text-decoration:none;
    font-size:13px;
    font-weight:700;
}

.pn-hide-household-dashboard {
    display:none !important;
}

@media(max-width:700px) {
    .pn-nav-property-grid {
        grid-template-columns:1fr;
    }

    .pn-nav-property-images {
        grid-template-columns:1fr;
    }

    .pn-nav-property-image {
        height:190px;
    }

    .pn-nav-property-image:nth-child(n+2) {
        display:none;
    }
}

/*
 Prevent old generated galleries from appearing inside
 Navigator household cards on the main Navigator dashboard.
*/

body:has(.pn-nav-saved-properties)
.pn-hide-household-dashboard
.pn-preview-gallery,

body:has(.pn-nav-saved-properties)
.pn-hide-household-dashboard
.pn-property-thumbnail,

body:has(.pn-nav-saved-properties)
.pn-hide-household-dashboard
.pn-property-thumbnail-placeholder {
    display:none !important;
}

/* =========================================================
   Navigator dashboard — actual saved properties only
   ========================================================= */

/*
The existing Household Searches cards are management
containers, not properties. Once the actual Saved Properties
section is generated, hide those household cards here.

Clients & Households remains available from the sidebar.
*/

.pn-nav-saved-properties
    ~ .navigator-households,

.navigator-households.pn-hide-household-dashboard {
    display:none !important;
}


/* Real property card */

.pn-nav-saved-properties {
    margin-top:22px;
}

.pn-nav-saved-properties .pn-nav-property-grid {
    display:grid;
    grid-template-columns:
        repeat(auto-fill,minmax(275px,1fr));
    gap:18px;
}

.pn-nav-property-card {
    border:1px solid rgba(120,120,120,.2);
    border-radius:14px;
    padding:13px;
    overflow:hidden;
}

.pn-nav-property-images {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:7px;
    margin-bottom:12px;
}

.pn-nav-property-image {
    width:100%;
    height:150px;
    display:block;
    object-fit:cover;
    border-radius:10px;
    cursor:zoom-in;
}

.pn-nav-property-image-placeholder {
    grid-column:1 / -1;
    height:150px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    border:1px dashed rgba(120,120,120,.28);
    opacity:.65;
}

.pn-nav-property-card h3 {
    margin:7px 0 4px;
}

.pn-nav-property-meta {
    margin-top:4px;
    font-size:13px;
    opacity:.75;
}

.pn-nav-property-open {
    display:inline-flex;
    margin-top:11px;
}

@media(max-width:700px) {

    .pn-nav-property-images {
        grid-template-columns:1fr;
    }

    .pn-nav-property-image {
        height:190px;
    }

    .pn-nav-property-image:nth-child(n+2) {
        display:none;
    }
}

/* =========================================================
   Navigator saved-property dashboard correction
   ========================================================= */

.pn-nav-saved-properties {
    margin-top:22px;
}

.pn-nav-saved-properties-header {
    margin-bottom:14px;
}

.pn-nav-saved-properties-header h2 {
    margin:0;
    font-size:22px;
}

.pn-nav-saved-properties-header p {
    margin:5px 0 0;
    font-size:13px;
    opacity:.68;
}

.pn-nav-property-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
}

.pn-nav-property-card {
    padding:14px;
    border:1px solid rgba(120,120,120,.18);
    border-radius:14px;
    background:var(--card-bg,#fff);
}

.pn-nav-property-images {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
    margin-bottom:12px;
}

.pn-nav-property-image {
    display:block;
    width:100%;
    height:145px;
    object-fit:cover;
    border-radius:10px;
    cursor:zoom-in;
    background:rgba(120,120,120,.08);
}

.pn-nav-property-image-placeholder {
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:145px;
    grid-column:1/-1;
    border-radius:10px;
    border:1px dashed rgba(120,120,120,.25);
    background:rgba(120,120,120,.05);
    opacity:.65;
    font-size:13px;
}

.pn-nav-property-card h3 {
    margin:0 0 5px;
    font-size:17px;
}

.pn-nav-property-meta {
    font-size:13px;
    line-height:1.55;
    opacity:.76;
}

.pn-nav-property-open {
    display:inline-flex;
    margin-top:11px;
    padding:8px 12px;
    border-radius:9px;
    text-decoration:none;
    font-size:13px;
    font-weight:700;
}

.pn-hide-household-dashboard {
    display:none !important;
}

@media(max-width:700px) {
    .pn-nav-property-grid {
        grid-template-columns:1fr;
    }

    .pn-nav-property-images {
        grid-template-columns:1fr;
    }

    .pn-nav-property-image {
        height:190px;
    }

    .pn-nav-property-image:nth-child(n+2) {
        display:none;
    }
}

/*
 Prevent old generated galleries from appearing inside
 Navigator household cards on the main Navigator dashboard.
*/

body:has(.pn-nav-saved-properties)
.pn-hide-household-dashboard
.pn-preview-gallery,

body:has(.pn-nav-saved-properties)
.pn-hide-household-dashboard
.pn-property-thumbnail,

body:has(.pn-nav-saved-properties)
.pn-hide-household-dashboard
.pn-property-thumbnail-placeholder {
    display:none !important;
}
