    .hero {
        position: relative;
        min-height: 600px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        /* Generous bottom padding reserves room for the floating card that
           overlaps the hero by -95px, so a tall (multi-line) title can never
           push the location + buttons under it or out of view. */
        padding: 96px 0 150px;
        background: var(--hero-bg, #0b2f6b) center center/cover no-repeat;
    }

    /* The hero is a column flex container now, so restore the centered,
       width-capped container (a flex child would otherwise stretch full-bleed). */
    .hero > .container {
        width: min(var(--container), calc(100% - 32px));
        margin-inline: auto;
    }

    .hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.50);
    }

    .hero-content {
        position: relative;
        z-index: 5;
        padding-top: 0px;
        color: #fff;
    }

    views h2 {
        font-size: 48px;
        margin-top: 10px;
        color: #322c8d;
    }

    .hero h1 {
        /* Fluid size: shrinks on narrow viewports and for long titles so the
           whole line stays readable instead of blowing the hero height out. */
        font-size: clamp(28px, 2.2vw + 0.6rem, 52px);
        line-height: 1.14;
        font-weight: 800;
        margin-bottom: 16px;
        max-width: 900px;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .location {
        font-size: 18px;
        margin-bottom: 22px;
        overflow-wrap: anywhere;
    }

    .hero-img-disclaimer {
        display: inline-block;
        margin-top: 18px;
        font-size: 11px;
        color: rgba(255, 255, 255, 0.65);
        background: rgba(0, 0, 0, 0.35);
        padding: 4px 12px;
        border-radius: 4px;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .hero-btns {
        display: flex;
        gap: 18px;
    }

    .section-dark .section-header h2,
    .section-dark .section-header p {
        color: #f8fafc;
        text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
    }

    .btn {
        padding: 17px 32px;
        border-radius: 14px;
        font-weight: 600;
        display: inline-block;
        transition: .3s;
    }

    .btn-purple {
        background: linear-gradient(to right, #7c3aed, #9333ea);
        color: #fff;
    }

    .btn-dark {
        background: #241d1d;
        color: #fff;
    }

    .btn:hover {
        transform: translateY(-3px);
    }

    /* =========================
FLOATING CARD
========================= */

    .floating-wrapper {
        position: relative;
        margin-top: -95px;
        z-index: 10;
    }

    .floating-flex {
        display: flex;
        gap: 25px;
        align-items: stretch;
    }

    .info-card {
        flex: 1;
        min-width: 0;
        background: #fff;
        border-radius: 9px;
        padding: 16px;
        box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
    }

    .auction-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 28px;
    }

    .auction-title {
        font-size: 14px;
        font-weight: 700;
    }

    .auction-icons {
        display: flex;
        gap: 12px;
    }

    .circle {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: #dbdbdb;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 15px;
    }

    .auction-head .circle {
        background: #faf0f0;
    }

    .info-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .info-grid {
        min-width: 0;
    }

    .info-box {
        display: flex;
        gap: 14px;
        align-items: flex-start;
        min-width: 0;
    }

    .info-text {
        min-width: 0;
    }

    .icon-box {
        width: 52px;
        height: 52px;
        border-radius: 50%;
        background: #fff3ea;
        display: flex;
        align-items: center;
        justify-content: center;
        /* font-size: 20px; */
        font-size: 23px;
        flex-shrink: 0;
    }

    .info-text small {
        display: block;
        color: #6b7280;
        margin-bottom: 4px;
        font-size: 14px;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .info-text h4 {
        font-size: 12px;
        font-weight: 700;
        line-height: 1.3;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    /* =========================
PRICE CARD
========================= */

    .price-card {
        width: 360px;
        background: #07142f;
        border-radius: 9px;
        padding: 20px;
        color: #fff;
        box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
    }

    .price-status-subtitle {
        font-size: 11px;
        color: rgba(255, 255, 255, 0.65);
        margin-top: 5px;
        margin-bottom: 4px;
    }

    .price {
        font-size: 40px;
        font-weight: 800;
        margin-bottom: 0px;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .price-desc {
        color: #d1d5db;
        margin-bottom: 15px;
    }

    .schedule-btn {
        display: block;
        text-align: center;
        padding: 8px;
        border-radius: 6px;
        background: linear-gradient(to right, #7c3aed, #9333ea);
        color: #fff;
        font-weight: 700;
    }

    /* =========================
MAIN SECTION
========================= */

    .main {
        padding: 45px 0 80px;
    }

    .content-grid {
        display: grid;
        grid-template-columns: minmax(0, 2fr) 360px;
        gap: 28px;
    }

    .property-card {
        background: #fff;
        border-radius: 9px;
        padding: 20px;
        box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
        min-width: 0;
    }

    .property-header {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        margin-bottom: 0px;
    }

    .property-header h2 {
        font-size: 24px;
        font-weight: 800;
        min-width: 0;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .login-btn {
        background: #f3f4f6;
        border: 1px solid #ddd;
        padding: 12px 22px;
        border-radius: 8px;
        font-weight: 600;
    }

    .property-desc {
        color: #6b7280;
        line-height: 2;
        margin-bottom: 30px;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .detail-row {
        display: grid;
        grid-template-columns: 280px 1fr;
        margin-bottom: 12px;
        gap: 15px;
    }

    .left-cell,
    .right-cell {
        padding: 15px 18px;
        border-radius: 6px;
        font-size: 15px;
        min-width: 0;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .left-cell {
        background: #f2f2f2;
        font-weight: 500;
    }

    .right-cell {
        background: #eef5fb;
    }

    /* =========================
RELATED GOLD AUCTIONS
========================= */

    .related-gold-section {
        margin-top: 30px;
        padding-top: 24px;
        border-top: 1px solid #e5e7eb;
    }

    .related-gold-section h3 {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 16px;
        color: #07142f;
    }

    .related-gold-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .related-gold-card {
        display: block;
        text-decoration: none;
        color: inherit;
        background: #f8fafc;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        padding: 14px;
        transition: box-shadow .2s, transform .2s;
    }

    .related-gold-card:hover {
        box-shadow: 0 6px 20px rgba(0,0,0,.08);
        transform: translateY(-2px);
    }

    .related-gold-card h4 {
        font-size: 13px;
        font-weight: 700;
        color: #07142f;
        margin: 8px 0 6px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .related-gold-meta,
    .related-auction-meta {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .related-gold-meta {
        font-size: 12px;
        color: #6b7280;
        margin-bottom: 2px;
    }

    .related-gold-cta {
        margin-top: 10px;
        font-size: 12px;
        font-weight: 700;
        color: #7c3aed;
    }

    @media (max-width: 640px) {
        .related-gold-grid {
            grid-template-columns: 1fr;
        }
    }

    /* =========================
RELATED AUCTIONS (FULL WIDTH)
========================= */

    .related-auctions-section {
        padding: 50px 0;
        background: #f8fafc;
        border-top: 1px solid #e5e7eb;
    }

    .related-auctions-section .section-title {
        font-size: 22px;
        font-weight: 800;
        color: #07142f;
        margin-bottom: 20px;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .related-auctions-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }

    .related-auction-card {
        display: block;
        text-decoration: none;
        color: inherit;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 10px;
        padding: 16px;
        transition: box-shadow .2s, transform .2s;
    }

    .related-auction-card:hover {
        box-shadow: 0 8px 24px rgba(0,0,0,.09);
        transform: translateY(-3px);
    }

    .related-auction-card h4 {
        font-size: 14px;
        font-weight: 700;
        color: #07142f;
        margin: 10px 0 8px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .related-auction-meta {
        font-size: 12px;
        color: #6b7280;
        margin-bottom: 3px;
    }

    .related-auction-cta {
        margin-top: 12px;
        font-size: 13px;
        font-weight: 700;
        color: #7c3aed;
    }

    @media (max-width: 1024px) {
        .related-auctions-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 640px) {
        .related-auctions-grid {
            grid-template-columns: 1fr;
        }
    }

    /* =========================
SIDEBAR
========================= */

    .sidebar {
        display: flex;
        flex-direction: column;
        gap: 25px;
        min-width: 0;
    }

    .location-card {
        position: relative;
        overflow: hidden;
        border-radius: 9px;
    }

    /* ── Sidebar carousel ───────────────────────────────────── */

    .location-carousel {
        position: relative;
        overflow: hidden;
        border-radius: 9px;
        height: 340px;
    }

    .carousel-track {
        display: flex;
        height: 100%;
        transition: transform 0.5s ease;
        will-change: transform;
    }

    .carousel-slide {
        flex: 0 0 100%;
        width: 100%;
        height: 100%;
    }

    .carousel-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        filter: brightness(70%);
    }

    .carousel-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.45);
        color: #fff;
        border: none;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        cursor: pointer;
        font-size: 14px;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s;
    }

    .carousel-arrow:hover {
        background: rgba(0, 0, 0, 0.75);
    }

    .carousel-arrow.prev {
        left: 10px;
    }

    .carousel-arrow.next {
        right: 10px;
    }

    .carousel-dots {
        position: absolute;
        bottom: 40px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 6px;
        z-index: 10;
    }

    .carousel-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5);
        cursor: pointer;
        border: none;
        padding: 0;
        transition: background 0.2s;
    }

    .carousel-dot.active {
        background: #fff;
    }

    .carousel-disclaimer {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.55);
        color: rgba(255, 255, 255, 0.85);
        font-size: 11px;
        text-align: center;
        padding: 4px 8px;
        z-index: 10;
    }

    .location-overlay {
        position: absolute;
        left: 25px;
        right: 25px;
        bottom: 22px;
        color: #fff;
    }

    /* ── Dedicated video section (real property video, separate from photo carousel) ── */

    .property-video-section {
        display: flex;
        flex-direction: column;
        gap: 14px;
        background: #0f172a;
        border-radius: 9px;
        padding: 16px;
    }

    .property-video-heading {
        color: #fff;
        font-size: 16px;
        font-weight: 600;
        margin: 0;
    }

    .property-video-player {
        position: relative;
        border-radius: 8px;
        overflow: hidden;
        background: #000;
    }

    .property-video-label {
        position: absolute;
        top: 10px;
        left: 10px;
        background: rgba(0, 0, 0, 0.55);
        color: #fff;
        font-size: 11px;
        font-weight: 600;
        padding: 4px 10px;
        border-radius: 20px;
        z-index: 5;
    }

    .property-video-player video {
        width: 100%;
        aspect-ratio: 16 / 9;
        height: auto;
        display: block;
        background: #000;
    }

    @media (max-width: 640px) {
        .property-video-section {
            padding: 12px;
        }

        .property-video-heading {
            font-size: 15px;
        }
    }

    /* ── Sidebar carousel: real media additions (video slides, expand/counter) ── */

    .carousel-slide video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        background: #000;
    }

    .gallery-expand-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        background: rgba(0, 0, 0, 0.5);
        color: #fff;
        border: none;
        width: 32px;
        height: 32px;
        border-radius: 8px;
        cursor: pointer;
        font-size: 15px;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s;
    }

    .gallery-expand-btn:hover {
        background: rgba(0, 0, 0, 0.8);
    }

    .gallery-counter {
        position: absolute;
        bottom: 40px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.55);
        color: #fff;
        font-size: 11px;
        font-weight: 600;
        padding: 4px 11px;
        border-radius: 20px;
        z-index: 10;
    }

    /* ── Media lightbox (image/video, full size) ───────────────── */

    .media-lightbox {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.92);
        backdrop-filter: blur(8px);
        z-index: 10000;
        align-items: center;
        justify-content: center;
    }

    .media-lightbox.is-open {
        display: flex;
    }

    .media-lightbox-content {
        max-width: 90vw;
        max-height: 85vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .media-lightbox-content img,
    .media-lightbox-content video {
        max-width: 90vw;
        max-height: 85vh;
        object-fit: contain;
        border-radius: 8px;
    }

    .media-lightbox-close {
        position: absolute;
        top: 20px;
        right: 24px;
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
        border: none;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        cursor: pointer;
        font-size: 24px;
        line-height: 1;
        z-index: 10001;
    }

    .media-lightbox-close:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    .media-lightbox-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
        border: none;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        cursor: pointer;
        font-size: 22px;
        z-index: 10001;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s;
    }

    .media-lightbox-arrow:hover {
        background: rgba(255, 255, 255, 0.25);
    }

    .media-lightbox-arrow.prev {
        left: 20px;
    }

    .media-lightbox-arrow.next {
        right: 20px;
    }

    .location-overlay h3 {
        font-size: clamp(24px, 7vw, 40px);
        line-height: 1.05;
        margin: 0;
        font-weight: 800;
        overflow-wrap: anywhere;
        word-break: break-word;
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
    }

    .location-overlay p {
        font-size: 20px;
    }

    .documents {
        background: #fff;
        border-radius: 9px;
        padding: 15px;
        box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
    }

    .documents h2 {
        font-size: 22px;
        margin-bottom: 15px;
        font-weight: 800;
        text-align: center;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .doc-box {
        background: #f7f8fc;
        border-radius: 18px;
        padding: 14px 22px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        margin-bottom: 20px;
    }

    .doc-download {
        flex-shrink: 0;
    }

    .doc-left {
        display: flex;
        align-items: center;
        gap: 16px;
        min-width: 0;
    }

    .doc-text {
        min-width: 0;
    }

    .doc-icon {
        width: 60px;
        height: 60px;
        border-radius: 16px;
        background: #efe5ff;
        color: #7c3aed;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        flex-shrink: 0;
    }

    .doc-text h4 {
        margin-bottom: 5px;
        font-size: 18px;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .doc-text p {
        color: #6b7280;
        font-size: 14px;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    /* ── Views card ─────────────────────────────────────────── */

    .views-card {
        text-align: center;
    }

    .views-stat {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        padding: 12px 0 6px;
    }

    .views-icon {
        font-size: 28px;
        line-height: 1;
    }

    .views-count {
        font-size: 36px;
        font-weight: 800;
        color: #111827;
        line-height: 1.1;
    }

    .views-label {
        font-size: 12px;
        color: #6b7280;
        text-transform: uppercase;
        letter-spacing: .6px;
    }

    .section-header h2 {
        background: linear-gradient(135deg, #3b82f6, #14b8a6);
        background-clip: text;
    }


    /* =========================
RESPONSIVE
========================= */

    @media(max-width:1100px) {

        .floating-flex {
            flex-direction: column;
        }

        .price-card {
            width: 100%;
        }

        .content-grid {
            grid-template-columns: 1fr;
        }

    }

    @media(min-width:768px) {

        /* .hero {
            padding: 15px 0;
        } */
        #contactDetailsPopup .popup-content,
        #scheduleDetailsPopup .popup-content {
            max-width: 520px;
            width: 457px;
        }
    }

    @media(max-width:768px) {

        .hero {
            min-height: 0;
            padding: 40px 0 170px;
        }

        .info-grid {
            grid-template-columns: 1fr;
        }

        .property-header {
            flex-direction: column;
            align-items: flex-start;
            gap: 15px;
        }

        .property-header h2 {
            font-size: 38px;
        }

        .detail-row {
            grid-template-columns: 1fr;
        }

        .hero-btns {
            flex-wrap: wrap;
        }

        #contactDetailsPopup .popup-content,
        #scheduleDetailsPopup .popup-content {
            width: 100%;
        }

    }
                .popup {
                    display: none;
                    position: fixed;
                    inset: 0;
                    background: rgba(15, 23, 42, 0.72);
                    backdrop-filter: blur(8px);
                    z-index: 9999;
                    overflow-y: auto;
                    align-items: flex-start;
                    padding: 40px 16px 24px;
                    box-sizing: border-box;
                }

                #contactDetailsPopup .popup-content,
                #scheduleDetailsPopup .popup-content {
                    /* max-width: 520px;
                    width: 457px; */
                    margin: 4.5rem auto;
                    padding: 28px 26px;
                    background: #0f172a;
                    color: #e2e8f0;
                    border: 1px solid rgba(148, 163, 184, 0.18);
                    border-radius: 22px;
                    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.45);
                    position: relative;
                    max-width: calc(100% - 32px);
                    overflow: hidden;
                }

                .popup-header h3 {
                    margin: 0;
                    font-size: 1.4rem;
                    color: #ffffff;
                }

                .popup-subtitle {
                    margin: 0.5rem 0 1.5rem;
                    color: #94a3b8;
                    font-size: 0.95rem;
                }

                .popup-body {
                    display: grid;
                    gap: 0.9rem;
                }

                .popup-row {
                    display: flex;
                    flex-wrap: wrap;
                    justify-content: space-between;
                    align-items: center;
                    gap: 0.35rem 1rem;
                    padding: 0.95rem 1rem;
                    border-radius: 16px;
                    background: rgba(148, 163, 184, 0.08);
                    text-align: left;
                }

                .popup-row span {
                    color: #cbd5e1;
                    font-size: 0.96rem;
                    min-width: 0;
                    overflow-wrap: anywhere;
                    word-break: break-word;
                }

                .popup-row strong {
                    color: #ffffff;
                    font-size: 0.97rem;
                    font-weight: 600;
                    min-width: 0;
                    text-align: right;
                    overflow-wrap: anywhere;
                    word-break: break-word;
                }

                /* Contact-details rows can carry a long address or an
                   unparsed free-text blob — stack label above value instead
                   of forcing them onto one line like the fixed-width date
                   rows above. */
                .popup-row--stacked {
                    flex-direction: column;
                    align-items: flex-start;
                    gap: 0.35rem;
                }

                .popup-row--stacked strong {
                    text-align: left;
                    line-height: 1.45;
                }

                .popup-close-btn {
                    width: 100%;
                    margin-top: 1.5rem;
                    padding: 0.95rem 1rem;
                    border: none;
                    border-radius: 999px;
                    background: linear-gradient(135deg, #2563eb, #8b5cf6);
                    color: #ffffff;
                    font-size: 1rem;
                    font-weight: 600;
                    cursor: pointer;
                    transition: transform 0.2s ease, box-shadow 0.2s ease;
                }

                .popup-close-btn:hover {
                    transform: translateY(-2px);
                    box-shadow: 0 16px 35px rgba(59, 130, 246, 0.22);
                }

                .close {
                    position: absolute;
                    top: 18px;
                    right: 18px;
                    width: 36px;
                    height: 36px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    color: #94a3b8;
                    font-size: 1.2rem;
                    cursor: pointer;
                    background: rgba(148, 163, 184, 0.12);
                    border-radius: 999px;
                    transition: background 0.2s ease;
                    padding: 0px 0px 4px 3px;
                }

                .close:hover {
                    background: rgba(148, 163, 184, 0.2);
                }
