/* Canonical public plot card. */
.plot-object-page,
.plot-object-page.plot-detail-page {
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    background: transparent;
}

.plot-detail-page .public-container,
.plot-object-page .public-container {
    max-width: none;
    min-height: 100vh;
    padding: 0;
}

.plot-detail-page .public-topbar {
    z-index: 1200;
}

.plot-detail-page .public-contacts,
.plot-detail-page .public-contact-toggle {
    display: none;
}

.plot-kicker {
    color: #5d7469;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.plot-object-shell {
    min-height: 690px;
    margin: 108px auto 34px;
    padding: 30px 32px 36px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
    gap: clamp(30px, 4vw, 58px);
    overflow: visible;
}

.plot-object-left {
    min-width: 0;
    min-height: 0;
    padding: 0;
    display: block;
    overflow: visible;
}

.plot-object-heading {
    position: relative;
    z-index: 3;
    padding: 2px 0 8px;
    border-bottom: 0;
}

.plot-object-heading h1 {
    max-width: 100%;
    margin: 7px 0 12px;
    font-family: var(--zf-font-display);
    font-size: clamp(27px, 3vw, 39px);
    line-height: 1.08;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.plot-type-status-row {
    min-height: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plot-type-status-row .plot-kicker {
    margin: 0;
    color: rgba(16,59,45,.68);
}

.plot-type-status-row .map-status-chip,
.plot-meta-line .map-status-chip {
    min-height: 27px;
    padding: 5px 10px;
    font-size: 11px;
}

.plot-meta-line {
    min-height: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.plot-meta-line > span {
    color: rgba(23,35,27,.72);
    font-size: 15px;
    font-weight: 700;
}

.plot-object-scroll {
    min-height: 0;
    overflow: visible;
    padding: 8px 0;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(16,59,45,.25) transparent;
}

.plot-description {
    max-width: none;
    margin: 0 0 24px;
    padding-top: 0;
    border-top: 0;
    color: rgba(23,35,27,.78);
    font-size: 15px;
    line-height: 1.65;
}

.plot-features {
    margin: 0;
}

.plot-features h2 {
    margin: 0 0 8px;
    font-family: var(--zf-font-display);
    font-size: 23px;
    letter-spacing: -.02em;
}

.plot-feature-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.plot-feature {
    position: relative;
    min-height: 45px;
    padding: 10px 2px;
    display: grid;
    grid-template-columns: 30px minmax(130px, .68fr) minmax(0, 1.32fr);
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(33,69,51,.12);
    background: transparent;
}

.plot-feature > span {
    color: rgba(23,35,27,.60);
    font-size: 13px;
}

.plot-feature > strong {
    min-width: 0;
    color: #17231b;
    font-size: 14px;
    font-weight: 720;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.plot-feature strong:empty,
.plot-feature strong:empty + * {
    display: none;
}

.plot-feature-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: rgba(16,59,45,.08);
    color: #15543d;
}

.plot-feature-icon svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.plot-feature[data-feature-note] {
    cursor: help;
}

.plot-feature[data-feature-note]::after {
    content: attr(data-feature-note);
    position: absolute;
    z-index: 40;
    left: 142px;
    bottom: calc(100% - 4px);
    width: min(330px, calc(100% - 150px));
    padding: 9px 11px;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 10px;
    background: rgba(18,49,36,.94);
    box-shadow: 0 12px 30px rgba(10,32,23,.18);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.45;
    opacity: 0;
    transform: translateY(5px);
    pointer-events: none;
    transition: opacity .14s ease, transform .14s ease;
}

.plot-feature[data-feature-note]:hover::after,
.plot-feature[data-feature-note]:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
}

.plot-object-right {
    position: sticky;
    top: 106px;
    align-self: start;
    min-width: 0;
    min-height: 0;
    height: auto;
    display: grid;
    grid-template-rows: auto auto;
    gap: 16px;
    overflow: visible;
}

.plot-price-panel {
    width: 100%;
    min-height: 76px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    text-align: right;
}

.plot-price-actions-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.plot-price-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.plot-price-copy small {
    margin-bottom: 3px;
    color: rgba(23,35,27,.58);
    font-size: 12px;
    font-weight: 700;
}

.plot-price-copy strong {
    color: var(--zf-price-red, #8b1f27);
    font-family: var(--zf-font-display);
    font-size: clamp(30px,3.2vw,42px);
    line-height: 1;
    letter-spacing: -.04em;
}

.plot-price-copy.is-price-on-request strong {
    font-size: clamp(15px, 2.2vw, 24px);
    letter-spacing: -.02em;
    white-space: nowrap;
}

.plot-price-copy span {
    margin-top: 6px;
    color: var(--zf-price-red-dark, #6f141c);
    font-size: 13px;
    font-weight: 650;
}


.plot-price-unit-row {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 6px;
    white-space: nowrap;
}
.plot-price-copy .plot-price-unit-separator {
    color: rgba(23,35,27,.45);
    font-weight: 400;
}
.plot-price-copy .plot-commission-info {
    color: #1265ff;
    font-size: 13px;
    font-weight: 750;
}
@media (max-width: 767px) {
    .plot-price-unit-row { justify-content: flex-start; gap: 4px; }
    .plot-price-copy .plot-commission-info { font-size: 12px; }
}


.plot-price-options {
    width: 100%;
    margin-top: 14px;
    padding-top: 12px;
    display: grid;
    grid-template-columns: 20% minmax(0,1fr);
    column-gap: 16px;
    row-gap: 0;
    border-top: 1px solid rgba(33,69,51,.12);
    text-align: left;
}

.plot-price-option {
    grid-column: 2;
    min-height: 34px;
    padding: 3px 4px;
    display: grid;
    grid-template-columns: 19px minmax(0,1fr) auto;
    gap: 10px;
    align-items: center;
    border-radius: 9px;
    transition: background .14s ease, box-shadow .14s ease;
}

.plot-price-option > input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--zf-forest);
    cursor: pointer;
}

.plot-price-option > label {
    min-width: 0;
    margin: 0;
    color: rgba(23,35,27,.82);
    font-size: 14px;
    font-weight: 720;
    line-height: 1.35;
    cursor: pointer;
}

.plot-price-option > label a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(16,59,45,.30);
    text-underline-offset: 3px;
}

.plot-price-option > label em {
    margin-left: 3px;
    color: var(--zf-price-red, #8b1f27);
    font-style: normal;
}

.plot-price-option > strong {
    color: var(--zf-price-red-dark, #6f141c);
    font-size: 14px;
    font-weight: 850;
    white-space: nowrap;
}

.plot-price-option.is-required-missing {
    background: rgba(156,47,53,.07);
    box-shadow: inset 0 0 0 1px rgba(156,47,53,.20);
}

.plot-price-options-error {
    grid-column: 2;
    margin: 7px 0 0;
    color: var(--zf-price-red-dark, #6f141c);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
}

.plot-price-options-error[hidden] {
    display: none;
}

.plot-price-cta {
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(16,59,45,.14);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.plot-price-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(16,59,45,.18);
    filter: brightness(1.04);
}

.plot-price-cta--request {
    background: #9c2f35;
}

.plot-price-cta--consultation {
    background: var(--zf-forest);
}

.price-request-btn {
    border: 0;
    background: none;
    color: #0b6841;
    font: inherit;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    padding: 0;
}

.plot-price-panel .price-request-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 17px;
    border: 1px solid var(--zf-price-red-dark, #6f141c);
    border-radius: 999px;
    background: var(--zf-price-red, #8b1f27);
    color: #fff;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(111,20,28,.20);
}

.plot-price-panel .price-request-btn:hover {
    background: var(--zf-price-red-dark, #6f141c);
}

.plot-location-map {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: block;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    text-decoration: none;
}

.plot-location-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(26,49,37,.12);
    pointer-events: none;
    user-select: none;
}

.plot-map-empty {
    min-height: 320px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: rgba(255,255,255,.58);
    color: rgba(23,35,27,.58);
    text-align: center;
}

@media (min-width: 981px) {
    .plot-object-page .plot-object-shell {
        grid-template-columns: minmax(0, 1fr) minmax(460px, 540px);
        gap: clamp(30px, 3.3vw, 52px);
    }
}

@media (max-width: 980px) {
    .plot-detail-page {
        overflow: auto;
    }

    .plot-object-shell {
        min-height: 0;
        margin-top: 98px;
        padding: 20px 18px 26px;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .plot-object-left {
        display: contents;
    }

    .plot-object-heading {
        order: 1;
    }

    .plot-object-scroll {
        order: 3;
        overflow: visible;
        padding-top: 0;
        display: flex;
        flex-direction: column;
    }

    .plot-object-scroll > .plot-features {
        order: -1;
    }

    .plot-object-right {
        order: 2;
        position: static;
        align-self: stretch;
        width: 100%;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .plot-feature[data-feature-note] {
        cursor: default;
    }

    .plot-feature[data-feature-note]::after {
        display: none;
    }

    .plot-price-options {
        grid-template-columns: 1fr;
        column-gap: 0;
    }

    .plot-price-option,
    .plot-price-options-error {
        grid-column: 1;
    }

    .plot-location-map {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 720px) {
    .plot-feature {
        grid-template-columns: 28px minmax(0, 2fr) minmax(0, 3fr);
        align-items: start;
    }

    .plot-feature > span {
        min-width: 0;
        white-space: normal;
        overflow-wrap: anywhere;
        line-height: 1.35;
    }

    .plot-feature > strong {
        min-width: 0;
    }

    .plot-price-actions-row {
        align-items: center;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .plot-price-copy {
        flex: 1 1 auto;
        align-items: flex-start;
        text-align: left;
    }

    .plot-price-copy strong {
        font-size: clamp(22px, 6.2vw, 28px);
    }

    .plot-price-copy span {
        margin-top: 4px;
        font-size: 12px;
    }

    .plot-price-actions-row.has-price .plot-price-cta {
        flex: 0 0 auto;
        min-height: 40px;
        padding: 0 13px;
        font-size: 12px;
    }

    .plot-price-actions-row.is-price-on-request {
        flex-wrap: wrap;
    }

    .plot-price-actions-row.is-price-on-request .plot-price-copy {
        flex: 1 1 100%;
    }

    .plot-price-actions-row.no-price {
        flex-wrap: wrap;
    }

    .plot-price-actions-row.no-price .plot-price-cta {
        flex: 1 1 190px;
    }
}

@media (max-width: 640px) {
    .plot-object-heading h1 {
        font-size: 28px;
    }
}

@media (max-width: 620px) {
    .plot-location-map iframe {
        border-radius: 14px;
    }
}

/* The map is the first slide; the thumbnail rail overlays the square stage. */
.plot-gallery {
    position: relative;
    width: 100%;
    min-width: 0;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 14px 38px rgba(26,49,37,.12);
}
.plot-gallery > .plot-location-map,
.plot-gallery > .plot-gallery-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.plot-gallery > .plot-gallery-image { display:block; object-fit:cover; }
.plot-gallery > .plot-gallery-video {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    background:#141414;
}
.plot-gallery.is-video { background:#141414; }
/* Native video controls stay at the bottom, with thumbnails above them. */
.plot-gallery.is-video .plot-gallery-strip { bottom:48px; }
.plot-gallery-video:fullscreen { width:100%; height:100%; object-fit:contain; background:#000; }
.plot-gallery-video:-webkit-full-screen { width:100%; height:100%; object-fit:contain; background:#000; }
.plot-gallery-expand {
    position:absolute; top:10px; right:10px; z-index:3;
    width:36px; height:36px; display:grid; place-items:center;
    border:1px solid #ffffff9c; border-radius:50%; padding:0;
    background:#0009; color:#fff; cursor:pointer;
}
.plot-gallery-expand svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.plot-gallery-video-dialog {
    position:fixed; inset:0; margin:0; padding:0; border:0; border-radius:0;
    width:100%; height:100%; max-width:none; max-height:none;
    background:#000; overflow:hidden;
}
.plot-gallery-video-dialog::backdrop { background:#000; }
.plot-gallery-video-dialog > .plot-gallery-video { display:block; width:100%; height:100%; object-fit:contain; }
.plot-gallery-video-close {
    position:absolute; top:max(10px,env(safe-area-inset-top)); right:max(10px,env(safe-area-inset-right)); z-index:2;
    display:grid; place-items:center; padding:0; width:44px; height:44px;
    border:1px solid #fff8; border-radius:50%; background:#000b; color:#fff; font-size:28px; line-height:1; cursor:pointer;
}
.plot-gallery-video-badge {
    position:absolute;
    bottom:3px;
    left:3px;
    right:3px;
    padding:3px 2px;
    border-radius:4px;
    background:#000a;
    color:#fff;
    font-size:10px;
    line-height:1.2;
    text-align:center;
    pointer-events:none;
}
.plot-gallery [hidden] { display:none; }
.plot-gallery-strip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 9px;
    left: 12px;
    right: 12px;
    bottom: 14px;
    padding: 3px 3px 6px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
    justify-content: safe center;
    z-index: 2;
}
.plot-gallery-tile {
    position: relative;
    flex: 0 0 clamp(56px, 12vw, 82px);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 2px solid #fff;
    padding: 0;
    border-radius: 10px;
    background: #e8efdd;
    box-shadow: 0 2px 8px #0003;
    cursor: pointer;
    scroll-snap-align: start;
}
.plot-gallery-tile[aria-pressed="true"] {
    border-color: #174b36;
    box-shadow: 0 0 0 2px #fff, 0 2px 8px #0003;
}
.plot-gallery-tile:focus-visible { outline: 2px solid #174b36; outline-offset: 2px; }
.plot-gallery-tile>img,.plot-gallery-map-icon,.plot-gallery-map-icon>svg {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.plot-gallery-map-icon { position: relative; }
.plot-gallery-map-icon>span {
    position: absolute;
    bottom: 3px;
    left: 3px;
    right: 3px;
    color: #fff;
    background: #153e2dce;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 750;
    padding: 2px;
    text-align: center;
}
@media (max-width:620px) {
    .plot-gallery { border-radius:14px; }
    .plot-gallery-strip { left:8px;right:8px;bottom:8px;gap:6px; }
    .plot-gallery.is-video .plot-gallery-strip { bottom:48px; }
}
