#placement {

    /* ── MAIN: full height split ── */
    &.page-wrap {
        flex: 1;
        display: flex;
        flex-direction: column;
        max-width: 1200px;
        width: 100%;
        margin: 0 auto;
    }

    /* TOP ROW */
    .row-top {
        display: grid;
        grid-template-columns: 1fr 380px;
        flex: 1;
        border-bottom: 1px solid var(--border);
    }

    /* ── PHOTOS (LEFT) ── */
    .photo-col {
        position: relative;
        overflow: hidden;
        background: var(--photo-bg);
        border-right: 1px solid var(--border);
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 300px;
    }
    .photo-slider {
        width: 100%;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .photo-img {
        width: 100%;
        height: auto;
        display: block;
        /*max-height: 520px;*/
        object-fit: contain;
        cursor: zoom-in;
    }
    .no-photo {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: .875rem;
        width: 100%;
        min-height: 360px;
        color: #8a97a8;
        background: repeating-linear-gradient(45deg, #eef1f6, #eef1f6 12px, #e9edf3 12px, #e9edf3 24px);
        & svg {
            width: 96px;
            height: 72px;
        }
    }
    /* side badge */
    .side-badge {
        position: absolute;
        top: 1.125rem;
        left: 1.125rem;
        background: rgba(15,27,45,.72);
        backdrop-filter: blur(6px);
        color: #fff;
        font-family: 'Geologica', sans-serif;
        font-size: 1.125rem;
        font-weight: 600;
        width: 40px;
        height: 40px;
        border-radius: 9px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255,255,255,.18);
        z-index: 2;
    }
    .click-zone {
        position: absolute;
        top: 0;
        bottom: 80px;
        width: 10%;
        z-index: 2;
        cursor: pointer;
        display: flex;
        align-items: center;
        opacity: 0;
        transition: opacity .2s;
        &.left {
            left: 0;
            justify-content: flex-start;
            padding-left: .75rem;
        }
        &.right {
            right: 0;
            justify-content: flex-end;
            padding-right: .75rem;
        }
        .photo-col:hover &.visible {
            opacity: 1;
        }
        & .cz-arrow {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: rgba(15,27,45,.55);
            backdrop-filter: blur(4px);
            border: 1px solid rgba(255,255,255,.15);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background .15s;
            svg {
                width: 18px;
                height: 18px;
            }
        }
    }

    /* THUMBS STRIP — mode A: mini thumbnails */
    .thumbs-strip {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        gap: 2px;
        z-index: 2;
        background: rgba(15,27,45,.5);
        backdrop-filter: blur(3px);
    }
    .thumb {
        flex: 1;
        height: 72px;
        overflow: hidden;
        cursor: pointer;
        opacity: .6;
        transition: opacity .15s;
        border-top: 3px solid transparent;
        &:hover {
            opacity: .9;
        }
        &.active {
            opacity: 1;
            border-top-color: var(--accent);
        }
        & img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
    }

    .photo-dots {
        position: absolute;
        bottom: 1rem;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: .5rem;
        z-index: 3;
        & .dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: rgba(255,255,255,.55);
            border: 1.5px solid rgba(15,27,45,.35);
            cursor: pointer;
            transition: all .18s;
            box-shadow: 0 1px 3px rgba(0,0,0,.3);
            &.active {
                background: var(--accent);
                border-color: #fff;
                width: 24px;
                border-radius: 5px;
            }
        }
    }

    /* photo counter (single photo) */
    .single-photo-badge {
        position: absolute;
        bottom: .875rem;
        right: .875rem;
        z-index: 3;
        background: rgba(15,27,45,.6);
        backdrop-filter: blur(4px);
        color: rgba(255,255,255,.8);
        font-size: .75rem;
        padding: .2rem .625rem;
        border-radius: 20px;
        display: flex;
        align-items: center;
        gap: 5px;
        & svg {
            width: 12px;
            height: 12px;
        }
    }

    /* ── INFO PANEL (RIGHT) ── */
    .info-col {
        background: var(--surface);
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .info-title-block {
        padding: 1.375rem 1.375rem 1.125rem;
        border-bottom: 1px solid var(--border-light);
        flex-shrink: 0;
    }
    .info-title {
        font-family: 'Geologica', sans-serif;
        font-size: 1.25rem;
        font-weight: 500;
        color: var(--ink);
        line-height: 1.25;
        margin-bottom: .5rem;
        letter-spacing: -.02em;
    }
    .price-row {
        display: flex;
        align-items: baseline;
        gap: .5rem;
        flex-wrap: wrap;
    }
    .info-price {
        font-family: 'Geologica', sans-serif;
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--accent);
    }
    .info-price-per {
        font-size: .8rem;
        color: var(--ink-soft);
    }
    .status-pill {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-size: .72rem;
        font-weight: 600;
        padding: 2px 9px;
        border-radius: 20px;
        margin-left: auto;
    }
    .status-pill::before {
        content:'';
        width: 5px;
        height: 5px;
        border-radius: 50%;
    }
    .sp-free {
        background: var(--green-light);
        color: var(--green);
    }
    .sp-free::before {
        background: var(--green);
    }
    .sp-res {
        background: var(--amber-light);
        color: var(--amber);
    }
    .sp-res::before {
        background: var(--amber);
    }
    .sp-sold {
        background: var(--gray-light);
        color: var(--gray);
    }
    .sp-sold::before {
        background: var(--gray);
    }
    .sp-unav {
        background: var(--bg);
        color: var(--ink);
    }
    .sp-unav::before {
        background: var(--ink);
    }

    /* specs — scrollable when many */
    .specs-block {
        flex: 1;
        overflow-y: auto;
        padding: 0;
        /* custom scrollbar */
        scrollbar-width: thin;
        scrollbar-color: var(--border) transparent;
    }
    .specs-block::-webkit-scrollbar {
        width: 4px;
    }
    .specs-block::-webkit-scrollbar-thumb {
        background: var(--border);
        border-radius: 4px;
    }

    .spec-row {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        padding: .5rem 1.375rem;
        border-bottom: 1px solid var(--border-light);
        gap: .75rem;
    }
    .spec-row:last-child {
        border-bottom: none;
    }
    .sk {
        font-size: .8125rem;
        color: var(--ink-soft);
        white-space: nowrap;
        flex-shrink: 0;
    }
    .sv {
        font-size: .875rem;
        font-weight: 500;
        color: var(--ink);
        text-align: right;
    }
    .param-link {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        color: var(--accent);
        text-decoration: none;
        font-weight: 500;
        border-bottom: 1px solid rgb(from var(--accent) r g b / .35);
        transition: border-color .15s;
    }
    .gid-code {
        font-family: 'Courier New', monospace;
        font-size: .8rem;
        background: var(--bg);
        border: 1px solid var(--border);
        padding: 1px 7px;
        border-radius: 4px;
        color: var(--ink-mid);
    }

    /* description field — full width below specs */
    .desc-block {
        border-top: 1px solid var(--border-light);
        padding: 1rem 1.375rem;
        flex-shrink: 0;
    }
    .desc-label {
        font-size: .72rem;
        font-weight: 600;
        letter-spacing: .06em;
        text-transform: uppercase;
        color: var(--ink-soft);
        margin-bottom: .5rem;
    }
    .desc-text {
        font-size: .875rem;
        color: var(--ink-mid);
        line-height: 1.6;
    }

    /* scroll hint — shows when specs overflow */
    .scroll-hint {
        display: none;
        padding: .375rem 1.375rem;
        background: linear-gradient(to bottom, rgba(255,255,255,0), var(--surface));
        font-size: .75rem;
        color: var(--ink-soft);
        text-align: center;
        pointer-events: none;
        flex-shrink: 0;
    }
    .scroll-hint.show {
        display: block;
    }

    /* share */
    .share-block {
        padding: 1rem 1.375rem;
        border-top: 1px solid var(--border-light);
        flex-shrink: 0;
    }
    .btn-share {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        width: 100%;
        padding: .575rem;
        font-family: inherit;
        font-size: .875rem;
        font-weight: 500;
        color: var(--ink-soft);
        background: none;
        border: 1.5px solid var(--border);
        border-radius: 8px;
        cursor: pointer;
        transition: all .15s;
    }
    .btn-share:hover {
        border-color: #b5cef5;
        color: var(--accent);
    }
    .btn-share svg {
        width: 14px;
        height: 14px;
    }

    /* ── BOTTOM ROW: MAP + CALENDAR ── */
    .row-bottom {
        display: grid;
        grid-template-columns: 1fr 380px;
        border-top: 1px solid var(--border);
        min-height: 280px;
    }
    .row-bottom.no-cal {
        grid-template-columns: 1fr;
    }

    /* MAP */
    .map-block {
        position: relative;
        overflow: hidden;
        background: #e8ecf0;
        border-right: 1px solid var(--border);
        min-height: 280px;
        .row-bottom.no-cal & {
            border-right: none;
        }
        & .map {
            height: 100%;
        }
        & .geo__btn-streetview {
            position: absolute;
            background: url(images/streetview.png) center no-repeat;
            background-size: 30px auto;
            width: 42px;
            height: 42px;
            top: 10px;
            right: 10px;
            background-color: white;
            cursor: pointer;
            &.disabled {
                background-color: #ebebeb;
                cursor: not-allowed;
            }
        }
        & .map-view-toggle {
            position: absolute;
            top: 1rem;
            right: 1rem;
            z-index: 5;
            display: flex;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 3px;
            gap: 2px;
            box-shadow: var(--sh);
            & .mv-btn {
                display: flex;
                align-items: center;
                gap: 5px;
                padding: .35rem .75rem;
                font-family: inherit;
                font-size: .8rem;
                font-weight: 500;
                color: var(--ink-soft);
                background: none;
                border: none;
                border-radius: 5px;
                cursor: pointer;
                transition: all .15s;
                white-space: nowrap;
                &:hover {
                    color: var(--ink);
                }
                &.disabled {
                    color: var(--gray);
                    cursor: not-allowed;
                }
                & svg {
                    width: 14px;
                    height: 14px;
                }
            }
        }
    }

    /* CALENDAR */
    .cal-block {
        background: var(--surface);
        padding: 1.375rem 1.5rem;
        display: flex;
        flex-direction: column;
        gap: 1.125rem;
        border-left: 1px solid var(--border);
        height: 360px;
        overflow-y: auto;
    }
    .row-bottom.no-cal .cal-block {
        display: none;
    }
    .cal-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .5rem;
        flex-wrap: wrap;
    }
    .cal-title {
        font-family: 'Geologica', sans-serif;
        font-size: .9375rem;
        font-weight: 500;
        color: var(--ink);
    }
    .cal-legend {
        display: flex;
        gap: .2rem .75rem;
        flex-wrap: wrap;
    }
    .leg {
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: .775rem;
        color: var(--ink-soft);
    }
    .ld {
        width: 10px;
        height: 10px;
        border-radius: 3px;
        flex-shrink: 0;
    }
    .ld-free {
        background: var(--free-legend);
    }
    .ld-res  {
        background: var(--reserved-legend);
    }
    .ld-sold {
        background: var(--sold-legend);
    }
    .ld-cart {
        background: transparent;
        border: 2px solid var(--accent);
    }
    .cal-years {
        display: flex;
        justify-content: center;
        gap: 2rem;
        flex-wrap: wrap;
        flex: 1;
        align-content: flex-start;
    }
    .cal-year {
        flex: 1;
        max-width: 320px;
        min-width: 240px;
    }
    .cal-year-num {
        font-family: 'Geologica', sans-serif;
        font-size: 1.0625rem;
        font-weight: 500;
        letter-spacing: -.01em;
        color: var(--ink);
        margin-bottom: .625rem;
    }
    .cal-months {
        display: grid;
        grid-template-columns: repeat(3,1fr);
        gap: .45rem;
    }
    .cal-m {
        padding: .55rem .25rem;
        border-radius: 8px;
        font-size: .875rem;
        font-weight: 500;
        text-align: center;
        cursor: pointer;
        user-select: none;
        transition: transform .1s, box-shadow .1s, filter .1s;
        border: 2px solid transparent;
        color: var(--ink);
    }
    .cal-m:hover:not(.past):not(.sold) {
        transform: translateY(-1px);
        box-shadow: 0 2px 6px rgba(0,0,0,.1);
    }
    .cal-m.free     {
        background: var(--free-bg);
        color: var(--free-color);
        &:hover {
            background: var(--free-bg-hover);
        }
    }
    .cal-m.reserved {
        background: var(--reserved-bg);
        color: var(--reserved-color);
        &:hover {
            background: var(--reserved-bg-hover);
        }
    }
    .cal-m.sold     {
        background: var(--sold-bg);
        color: var(--sold-color);
        cursor: default;
    }
    .cal-m.past     {
        background: repeating-linear-gradient(45deg, #f7f9fb, #f7f9fb 6px, #eff2f6 6px, #eff2f6 12px);
        color: #b4bcc7;
        cursor: default;
        font-weight: 400;
    }
    .cal-m.sel      {
        border-color: var(--accent);
        box-shadow: 0 0 0 1px var(--accent);
    }
    .cal-summary {
        padding: .75rem 1rem;
        background: var(--accent-light);
        border: 1px solid rgba(26,107,204,.2);
        border-radius: 9px;
        display: none;
        align-items: flex-start;
        justify-content: space-between;
        gap: .75rem;
    }
    .cal-summary.show {
        display: flex;
    }
    .sum-info {
        flex: 1;
        min-width: 0;
    }
    .sum-head {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: .8125rem;
        font-weight: 600;
        color: var(--accent);
        margin-bottom: .25rem;
        & svg {
            width: 15px;
            height: 15px;
        }
    }
    .sum-text {
        font-size: .8125rem;
        color: var(--ink-mid);
        line-height: 1.5;
    }
    .sum-text strong {
        color: var(--accent);
        font-weight: 600;
    }
    .sum-clear {
        flex-shrink: 0;
        width: 30px;
        height: 30px;
        border-radius: 7px;
        border: none;
        background: rgba(255, 255, 255, .6);
        color: var(--ink-soft);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all .15s;
        &:hover {
            background: var(--red-light);
            color: var(--red);
        }
        & svg {
            width: 15px;
            height: 15px;
        }
    }

    /* FOOTER */
    .site-footer {
        background: var(--surface);
        border-top: 1px solid var(--border);
        padding: .875rem 1.5rem;
        text-align: center;
        font-size: .8rem;
        color: var(--ink-soft);
    }
    .site-footer a {
        color: var(--accent);
        text-decoration: none;
    }
    .site-footer a:hover {
        text-decoration: underline;
    }

    /* RESPONSIVE */
    @media (max-width: 860px) {
        .row-top {
            grid-template-columns: 1fr;
        }
        .photo-col {
            border-right: none;
            border-bottom: 1px solid var(--border);
            min-height: 260px;
        }
        .info-col {
            max-height: none;
        }
        .row-bottom {
            grid-template-columns: 1fr;
        }
        .map-block {
            border-right: none;
            border-bottom: 1px solid var(--border);
        }
        .cal-block {
            border-left: none;
        }
        .lb-nav {
            display: none;
        }
    }
}
