body.page-re-property .gallery-nav-btn {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 32px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: var(--radius-control);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}
body.page-re-property .property-header {
    padding: 14px 24px 0;
    max-width: 1200px;
    margin: 0 auto;
}
body.page-re-property .property-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    gap: 12px;
}
body.page-re-property .property-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
    font-size: 14px;
    color: var(--gray-text);
}
body.page-re-property .property-nav a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.2s ease;
}
body.page-re-property .property-nav a:hover {
    color: var(--mira-gold);
}
body.page-re-property .property-nav .icon-svg {
    width: 16px;
    height: 16px;
}
body.page-re-property .property-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 8px;
    gap: 16px;
}
body.page-re-property .property-top-row .property-badge {
    position: static;
    flex: 0 0 auto;
    display: inline-block;
    padding: 6px 14px;
    background: var(--mira-gold-light);
    color: var(--black);
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
body.page-re-property .property-name {
    font-size: 28px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 4px;
    line-height: 1.15;
}
body.page-re-property .property-price-section {
    text-align: right;
}
body.page-re-property .property-price-section > .property-price {
    font-size: 34px;
    font-weight: 600;
    color: var(--mira-gold);
}
body.page-re-property .property-price-label {
    font-size: 14px;
    color: var(--gray-text);
}
body.page-re-property .image-lightbox.floorplan-mode .lightbox-meta,
body.page-re-property .image-lightbox.floorplan-mode .lightbox-counter {
    display: none;
}
body.page-re-property .lightbox-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    justify-content: center;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}
body.page-re-property .lightbox-thumbs::-webkit-scrollbar {
    height: 4px;
}
body.page-re-property .lightbox-thumbs::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}
body.page-re-property .lightbox-thumb {
    width: 76px;
    height: 52px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    background: transparent;
    padding: 0;
    flex: 0 0 auto;
    cursor: pointer;
    opacity: 0.55;
    overflow: hidden;
    transition:
        border-color 0.2s ease,
        opacity 0.2s ease;
}
body.page-re-property .lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
body.page-re-property .property-map-fallback {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    background: var(--gray-light);
}
body.page-re-property .property-map-fallback-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border: 1px solid var(--mira-gold);
    border-radius: var(--radius-control);
    background: var(--white);
    color: var(--black);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.2s ease;
}
body.page-re-property .image-lightbox.floorplan-mode .lightbox-arrow {
    display: none;
}
@media (max-width: 768px) {
    body.page-re-property .property-gallery {
        width: calc(100% - 32px);
        margin-top: 72px;
        grid-template-columns: 1fr;
        grid-template-rows: 300px;
        height: auto;
    }
    body.page-re-property .property-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    body.page-re-property .property-bottom-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    body.page-re-property .property-top-row {
        flex-wrap: wrap;
        gap: 8px;
    }
    body.page-re-property .property-price-section {
        text-align: left;
    }
    body.page-re-property .features-bar {
        flex-wrap: wrap;
        gap: 16px;
    }
    body.page-re-property .feature-item {
        min-width: calc(50% - 8px);
    }
}

/* Mira Group Real Estate Property Detail Page */

/* Property detail styles */
body.page-re-property {
    --mira-gold: #d9a963;
    --mira-gold-light: #fbf6ef;
    --mira-gold-rgb: 217, 169, 99;
    --white: #ffffff;
    --black: #1a1a1a;
    --gray-light: #f8f8f8;
    --gray-medium: #e0e0e0;
    --gray-text: #666666;
    --gray-dark: #333333;
}

body.page-re-property {
    font-family:
        "Montserrat",
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;
    background-color: var(--white);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Property detail nav refinements */
body.page-re-property .navbar {
    background: rgba(255, 255, 255, 0.95);
}

body.page-re-property .logo-mg {
    height: 36px;
}

body.page-re-property .nav-contact {
    font-weight: 500;
}

/* Property Gallery */
body.page-re-property .property-gallery {
    width: min(1152px, calc(100% - 48px));
    max-width: 1152px;
    margin: 78px auto 0;
    padding-top: 0;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 216px);
    gap: 6px;
    height: 438px;
}

body.page-re-property .property-gallery.gallery-has-single,
body.page-re-property .property-gallery.gallery-has-no-images {
    grid-template-columns: 1fr;
}

body.page-re-property .property-gallery.gallery-has-single .gallery-main,
body.page-re-property .property-gallery.gallery-has-no-images .gallery-main {
    grid-column: 1 / -1;
}

body.page-re-property .property-gallery.gallery-has-single .gallery-thumb,
body.page-re-property .property-gallery.gallery-has-no-images .gallery-thumb {
    display: none !important;
}

body.page-re-property .property-gallery[hidden],
body.page-re-property .property-header[hidden],
body.page-re-property .similar-section[hidden] {
    display: none !important;
}

body.page-re-property .gallery-main,
body.page-re-property .gallery-thumb,
body.page-re-property .property-card-image {
    --image-src: none;
    grid-row: 1 / -1;
    position: relative;
    overflow: hidden;
    background: #f3f0eb;
}

body.page-re-property .gallery-thumb,
body.page-re-property .property-card-image {
    grid-row: auto;
}

body.page-re-property .gallery-main::before,
body.page-re-property .gallery-thumb::before,
body.page-re-property .property-card-image::before {
    content: "";
    position: absolute;
    inset: -18px;
    background-image: var(--image-src);
    background-size: cover;
    background-position: center;
    filter: blur(24px) saturate(1.05);
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 0.2s ease;
}

body.page-re-property .gallery-main.is-wide::before,
body.page-re-property .gallery-thumb.is-wide::before,
body.page-re-property .property-card-image.is-wide::before {
    opacity: 0.5;
}

body.page-re-property .gallery-main img,
body.page-re-property .gallery-thumb img,
body.page-re-property .property-card-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

body.page-re-property .gallery-main.is-wide img,
body.page-re-property .gallery-thumb.is-wide img,
body.page-re-property .property-card-image.is-wide img {
    object-fit: contain;
}

body.page-re-property .gallery-main,
body.page-re-property .gallery-thumb {
    cursor: pointer;
}

body.page-re-property .gallery-main::after {
    content: "";
    position: absolute;
    left: calc(var(--watermark-image-left, 0px) + var(--gallery-watermark-left, 12px));
    top: calc(var(--watermark-image-top, 0px) + var(--watermark-image-height, 100%) - var(--gallery-watermark-size, 44px) - 12px);
    z-index: 2;
    width: var(--gallery-watermark-size, 44px);
    height: var(--gallery-watermark-size, 44px);
    background: url("../resources/brand/logos/MG_gold.svg") center / contain no-repeat;
    opacity: 0.4;
    pointer-events: none;
    user-select: none;
}

body.page-re-property .gallery-main img {
    transform: scale(1);
}

body.page-re-property .gallery-main:hover img,
body.page-re-property .gallery-thumb:hover img {
    transform: scale(1.03);
}

body.page-re-property .gallery-main.is-wide:hover img,
body.page-re-property .gallery-thumb.is-wide:hover img {
    transform: scale(1);
}

body.page-re-property .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.34);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    z-index: 2;
}

body.page-re-property .gallery-count-badge {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--radius-control);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--black);
    cursor: pointer;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

body.page-re-property .gallery-count-badge:hover {
    background: var(--white);
    border-color: var(--mira-gold);
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.14);
}

body.page-re-property .gallery-nav-btn {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 32px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: var(--radius-control);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    transition:
        opacity 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

body.page-re-property .property-gallery.gallery-has-multiple .gallery-main:hover .gallery-nav-btn,
body.page-re-property .property-gallery.gallery-has-multiple .gallery-main:focus-within .gallery-nav-btn {
    opacity: 1;
    pointer-events: auto;
}

body.page-re-property .gallery-nav-btn:hover {
    background: var(--white);
    border-color: var(--mira-gold);
    transform: translateY(-50%) scale(1.04);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.14);
}

body.page-re-property .gallery-nav-btn[hidden] {
    display: none !important;
}

body.page-re-property .gallery-nav-btn.prev {
    left: 10px;
}

body.page-re-property .gallery-nav-btn.next {
    right: 10px;
}

body.page-re-property .gallery-nav-btn .icon-svg {
    width: 14px;
    height: 14px;
    filter: brightness(0) invert(0.12);
}

body.page-re-property .gallery-main > img,
body.page-re-property .gallery-thumb > img,
body.page-re-property .property-card-image > img,
body.page-re-property .lightbox-image {
    opacity: 0;
    transition:
        opacity 0.22s ease,
        transform 0.3s ease;
}

body.page-re-property .gallery-main > img.is-loaded,
body.page-re-property .gallery-thumb > img.is-loaded,
body.page-re-property .property-card-image > img.is-loaded,
body.page-re-property .lightbox-image.is-loaded {
    opacity: 1;
}

body.page-re-property.property-is-loaded .property-title-left,
body.page-re-property.property-is-loaded .property-price-section,
body.page-re-property.property-is-loaded .features-bar,
body.page-re-property.property-is-loaded .property-main,
body.page-re-property.property-is-loaded .property-sidebar,
body.page-re-property.property-is-loaded .similar-grid .property-card {
    animation: propertyDetailIn 0.28s ease both;
}

body.page-re-property.property-is-loaded .property-price-section,
body.page-re-property.property-is-loaded .property-sidebar {
    animation-delay: 0.04s;
}

body.page-re-property.property-is-loaded .features-bar,
body.page-re-property.property-is-loaded .similar-grid .property-card {
    animation-delay: 0.08s;
}

@keyframes propertyDetailIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Property Header */
body.page-re-property .property-header {
    padding: 10px 24px 0;
    max-width: 1200px;
    margin: 0 auto;
}

body.page-re-property .property-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 28px;
    margin-bottom: 8px;
    gap: 12px;
}

body.page-re-property .property-title-section {
    margin-bottom: 0;
}

body.page-re-property .property-mobile-meta {
    display: none;
}

body.page-re-property .property-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    gap: 16px;
}

body.page-re-property .property-title-left {
    flex: 1;
}

body.page-re-property .property-detail-type {
    min-height: 0;
    margin-bottom: 0;
    color: var(--mira-gold);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

body.page-re-property .property-top-row .property-badge {
    position: static;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 14px;
    background: var(--mira-gold-light);
    color: var(--black);
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

body.page-re-property .property-top-row .property-badge.rent {
    background: #e8f5e9;
    color: var(--black);
}

body.page-re-property .property-top-row .property-badge.sold {
    background: #f5f5f5;
    color: var(--black);
}

body.page-re-property .property-top-row .property-badge.short-stay {
    background: #e3f2fd;
    color: var(--black);
}

body.page-re-property .property-name {
    font-size: 28px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
    line-height: 1.15;
}

body.page-re-property .property-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

body.page-re-property .property-address {
    font-size: 16px;
    color: var(--gray-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

body.page-re-property .property-address .icon-svg {
    width: 18px;
    height: 18px;
}

body.page-re-property .property-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

body.page-re-property .action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border: 1px solid var(--gray-medium);
    background: var(--white);
    border-radius: var(--radius-control);
    font-size: 13px;
    font-weight: 500;
    color: var(--black);
    cursor: pointer;
    transition: all 0.2s ease;
}

body.page-re-property .action-btn:hover {
    border-color: var(--mira-gold);
    color: var(--mira-gold);
}

body.page-re-property .action-btn .icon-svg {
    width: 18px;
    height: 18px;
}

body.page-re-property .action-btn.primary {
    background: var(--mira-gold);
    border-color: var(--mira-gold);
    color: var(--white);
}

body.page-re-property .action-btn.primary:hover {
    background: var(--mira-gold-hover);
}

body.page-re-property .property-price-section {
    text-align: right;
    padding-top: 0;
}

body.page-re-property .property-price-section > .property-price {
    font-size: 34px;
    font-weight: 600;
    line-height: 1.15;
    color: var(--black);
}

body.page-re-property .property-price-label {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.35;
    color: var(--gray-text);
}

/* Property Content */
body.page-re-property .property-content {
    padding: 28px 24px 72px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Features Bar */
body.page-re-property .features-bar {
    display: flex;
    gap: 16px;
    padding: 8px 14px;
    background: var(--gray-light);
    border-radius: var(--radius-control);
    margin-bottom: 0;
    flex-wrap: wrap;
    width: auto;
}

body.page-re-property .feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

body.page-re-property .feature-icon {
    width: 40px;
    height: 40px;
    background: var(--mira-gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-re-property .feature-icon .icon-svg {
    width: 24px;
    height: 24px;
    filter: invert(58%) sepia(23%) saturate(1005%) hue-rotate(353deg) brightness(90%) contrast(86%);
}

body.page-re-property .feature-info {
    display: flex;
    flex-direction: column;
}

body.page-re-property .feature-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
}

body.page-re-property .feature-label {
    font-size: 12px;
    color: var(--gray-text);
}

body.page-re-property .feature-label-short {
    display: none;
    font-size: 12px;
    color: var(--gray-text);
}

/* Content Sections */
body.page-re-property .content-section {
    margin-bottom: 40px;
}

body.page-re-property .section-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 16px;
}

body.page-re-property .section-text {
    font-size: 15px;
    color: var(--gray-text);
    line-height: 1.8;
}

/* Sidebar */
body.page-re-property .property-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

body.page-re-property .sidebar-card {
    background: var(--white);
    border: 1px solid var(--gray-medium);
    border-radius: var(--radius-card);
    padding: 24px;
}

body.page-re-property .sidebar-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 20px;
}

/* Agent Card */
body.page-re-property .agent-card {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

body.page-re-property .agent-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-re-property .agent-avatar svg {
    width: 32px;
    height: 32px;
    color: var(--gray-text);
}

body.page-re-property .agent-info {
    flex: 1;
}

body.page-re-property .agent-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 4px;
}

body.page-re-property .agent-role {
    font-size: 13px;
    color: var(--gray-text);
}

body.page-re-property .agent-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

body.page-re-property .agent-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--black);
    text-decoration: none;
    transition: color 0.2s ease;
}

body.page-re-property .agent-contact a:hover {
    color: var(--mira-gold);
}

body.page-re-property .agent-contact svg {
    width: 18px;
    height: 18px;
    color: var(--mira-gold);
}

/* Enquiry Form */
body.page-re-property .form-group {
    margin-bottom: 16px;
}

body.page-re-property .form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 6px;
}

body.page-re-property .form-input,
body.page-re-property .form-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--gray-medium);
    border-radius: var(--radius-control);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s ease;
}

body.page-re-property .form-input:focus,
body.page-re-property .form-textarea:focus {
    outline: none;
    border-color: var(--mira-gold);
    box-shadow: 0 0 0 3px var(--mira-gold-light);
}

body.page-re-property .form-textarea {
    min-height: 100px;
    resize: vertical;
}

body.page-re-property .form-submit {
    width: 100%;
    padding: 14px;
    background: var(--mira-gold);
    color: var(--white);
    border: none;
    border-radius: var(--radius-control);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

body.page-re-property .form-submit:hover {
    background: var(--mira-gold-hover);
}

body.page-re-property .form-submit:disabled {
    cursor: wait;
    opacity: 0.68;
}

/* Property ID */
body.page-re-property .property-id {
    font-size: 13px;
    color: var(--gray-text);
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid var(--gray-medium);
}

/* Similar Properties */
body.page-re-property .similar-section {
    padding: 60px 24px;
    background: var(--gray-light);
}

body.page-re-property .similar-grid .property-badge.rent {
    color: var(--white);
}

body.page-re-property .similar-container {
    max-width: 1200px;
    margin: 0 auto;
}

body.page-re-property .similar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

body.page-re-property .similar-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--black);
}

body.page-re-property .similar-title span {
    color: var(--mira-gold);
}

body.page-re-property .similar-title span:first-child {
    color: var(--black);
}

body.page-re-property .view-all-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
    text-decoration: none;
    transition: color 0.2s ease;
}

body.page-re-property .view-all-link:hover {
    color: var(--mira-gold);
}

body.page-re-property .view-all-link .icon-svg {
    width: 16px;
    height: 16px;
}

body.page-re-property .image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(18, 18, 18, 0.96);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: none;
}

body.page-re-property .image-lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.page-re-property .lightbox-panel {
    width: min(1440px, 100%);
    max-height: 96vh;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body.page-re-property .lightbox-stage {
    position: relative;
    min-height: 0;
    height: min(calc(100vh - 116px), 860px);
    background: #1a1a1a;
    border-radius: 2px;
    overflow: hidden;
}

body.page-re-property .lightbox-stage::before {
    content: "";
    position: absolute;
    inset: -24px;
    background-image: var(--lightbox-src);
    background-size: cover;
    background-position: center;
    filter: blur(20px) saturate(1.05);
    opacity: 0.18;
    transform: scale(1.06);
    pointer-events: none;
}

body.page-re-property .lightbox-stage::after {
    content: "";
    position: absolute;
    left: calc(var(--watermark-image-left, 0px) + var(--lightbox-watermark-left, 12px));
    top: calc(var(--watermark-image-top, 0px) + var(--watermark-image-height, 100%) - var(--lightbox-watermark-size, 44px) - 12px);
    z-index: 2;
    width: var(--lightbox-watermark-size, 44px);
    height: var(--lightbox-watermark-size, 44px);
    background: url("../resources/brand/logos/MG_gold.svg") center / contain no-repeat;
    opacity: 0.4;
    pointer-events: none;
    user-select: none;
}

body.page-re-property .lightbox-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

body.page-re-property .lightbox-close,
body.page-re-property .lightbox-arrow {
    position: absolute;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: var(--radius-control);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.14);
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

body.page-re-property .lightbox-arrow {
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

body.page-re-property .image-lightbox.active .lightbox-close,
body.page-re-property .image-lightbox.active .lightbox-arrow {
    visibility: visible;
}

body.page-re-property .lightbox-close:hover,
body.page-re-property .lightbox-arrow:hover {
    background: var(--white);
    border-color: var(--mira-gold);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2);
}

body.page-re-property .lightbox-arrow:hover {
    background: rgba(255, 255, 255, 0.48);
    border-color: rgba(217, 169, 99, 0.82);
}

body.page-re-property .lightbox-close {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    transform: none;
}

body.page-re-property .lightbox-close:hover {
    transform: scale(1.04);
}

body.page-re-property .lightbox-arrow {
    top: 50%;
    width: 34px;
    height: 52px;
    transform: translateY(-50%);
}

body.page-re-property .lightbox-arrow:hover {
    transform: translateY(-50%) scale(1.04);
}

body.page-re-property .lightbox-arrow:focus-visible {
    outline: 2px solid rgba(217, 169, 99, 0.82);
    outline-offset: 2px;
}

body.page-re-property .lightbox-arrow.prev {
    left: 10px;
}

body.page-re-property .lightbox-arrow.next {
    right: 10px;
}

body.page-re-property .lightbox-arrow[hidden] {
    display: none !important;
}

body.page-re-property .lightbox-close .icon-svg,
body.page-re-property .lightbox-arrow .icon-svg {
    width: 14px;
    height: 14px;
    filter: brightness(0) invert(0.12);
}

body.page-re-property .lightbox-meta {
    display: flex;
    justify-content: center;
    padding: 0;
}

body.page-re-property .lightbox-counter {
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

body.page-re-property .lightbox-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 2px 6px;
    justify-content: center;
    cursor: grab;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
    touch-action: pan-x;
    user-select: none;
}

body.page-re-property .lightbox-thumbs[hidden] {
    display: none !important;
}

body.page-re-property .lightbox-thumbs.is-overflowing {
    justify-content: flex-start;
}

body.page-re-property .lightbox-thumbs.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

body.page-re-property .lightbox-thumbs::-webkit-scrollbar {
    height: 6px;
}

body.page-re-property .lightbox-thumbs::-webkit-scrollbar-track {
    background: transparent;
}

body.page-re-property .lightbox-thumbs::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.32);
    border-radius: 3px;
}

body.page-re-property .lightbox-thumb {
    width: 76px;
    height: 52px;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    background: transparent;
    padding: 0;
    flex: 0 0 auto;
    cursor: pointer;
    opacity: 0.55;
    overflow: hidden;
    transition:
        border-color 0.2s ease,
        opacity 0.2s ease;
}

body.page-re-property .lightbox-thumb.lightbox-thumb-fallback {
    background: rgba(255, 255, 255, 0.08);
}

body.page-re-property .lightbox-thumb:hover {
    border-color: rgba(255, 255, 255, 0.4);
    opacity: 0.85;
}

body.page-re-property .lightbox-thumb.active {
    border-color: var(--mira-gold);
    opacity: 1;
}

body.page-re-property .lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    transition: opacity 0.24s ease;
}

body.page-re-property .lightbox-thumb img.is-loaded {
    opacity: 1;
}

body.page-re-property .lightbox-thumb-number {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
}

body.page-re-property .lightbox-thumb.floorplan-thumb {
    position: relative;
}

body.page-re-property .lightbox-thumb.floorplan-thumb img {
    object-fit: cover;
}

body.page-re-property .lightbox-thumb-floorplan-label {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    background: rgba(0, 0, 0, 0.42);
    color: var(--white);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    text-align: center;
}

body.page-re-property .property-map {
    margin-top: 24px;
    min-height: 300px;
    border: 1px solid var(--gray-medium);
    border-radius: 2px;
    overflow: hidden;
    background: var(--gray-light);
}

body.page-re-property .property-map-wrapper {
    display: flex;
    flex-direction: column;
}

body.page-re-property .property-map-frame {
    width: 100%;
    height: 300px;
    border: 0;
    display: block;
}

body.page-re-property .property-map-link {
    display: block;
    padding: 10px 16px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--black);
    background: var(--gray-light);
    text-decoration: none;
    border-top: 1px solid var(--gray-medium);
    transition: color 0.2s ease, background 0.2s ease;
}

body.page-re-property .property-map-link:hover {
    background: var(--mira-gold);
    color: var(--white);
}

body.page-re-property .property-map-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 300px;
    padding: 32px 24px;
    text-align: center;
    background: var(--gray-light);
}

body.page-re-property .property-map-fallback-icon {
    width: 40px;
    height: 40px;
    opacity: 0.4;
}

body.page-re-property .property-map-fallback-address {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--black);
    max-width: 320px;
}

body.page-re-property .property-map-fallback-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: 1px solid var(--mira-gold);
    border-radius: var(--radius-control);
    background: var(--white);
    color: var(--black);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

body.page-re-property .property-map-fallback-action:hover {
    background: var(--mira-gold);
    color: var(--white);
}

/* Property detail responsive */
@media (max-width: 1024px) {
    body.page-re-property .property-gallery {
        width: calc(100% - 48px);
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 260px 160px;
        height: auto;
    }

    body.page-re-property .gallery-main {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    body.page-re-property .gallery-thumb {
        grid-row: 2;
    }

    body.page-re-property .property-content {
        grid-template-columns: 1fr;
    }

    body.page-re-property .similar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body.page-re-property .property-gallery {
        width: calc(100% - 32px);
        margin-top: 72px;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        aspect-ratio: 16 / 9;
        height: auto;
    }

    body.page-re-property .gallery-main,
    body.page-re-property .gallery-main.is-wide {
        min-height: 0;
    }

    body.page-re-property .gallery-main.is-wide img,
    body.page-re-property .gallery-thumb.is-wide img {
        object-fit: cover;
    }

    body.page-re-property .gallery-main.is-wide::before,
    body.page-re-property .gallery-thumb.is-wide::before {
        opacity: 0;
    }

    body.page-re-property .gallery-count-badge {
        right: 8px;
        bottom: 8px;
        min-height: 28px;
        padding: 0 9px;
        font-size: 10px;
    }

    body.page-re-property .gallery-thumb {
        display: none;
    }

    body.page-re-property .property-header {
        padding: 12px 16px 0;
    }

    body.page-re-property .property-top-row {
        display: none;
    }

    body.page-re-property .property-top-row .property-badge,
    body.page-re-property .property-detail-type {
        display: none;
    }

    body.page-re-property .property-mobile-meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        width: 100%;
        min-height: 28px;
        margin-bottom: 6px;
    }

    body.page-re-property .property-mobile-badge,
    body.page-re-property .property-mobile-type {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 28px;
        padding: 0 10px;
        border-radius: 4px;
        background: var(--mira-gold-light);
        color: var(--black);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.07em;
        line-height: 1;
        text-transform: uppercase;
        white-space: nowrap;
    }

    body.page-re-property .property-mobile-type {
        color: var(--mira-gold);
        background: transparent;
        padding-left: 0;
        margin-right: auto;
    }

    body.page-re-property .property-mobile-badge {
        margin-left: auto;
    }

    body.page-re-property .property-mobile-badge.rent {
        background: #e8f5e9;
    }

    body.page-re-property .property-mobile-badge.sold {
        background: #f5f5f5;
    }

    body.page-re-property .property-mobile-type[hidden] {
        display: none;
    }

    body.page-re-property .property-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        width: 100%;
    }

    body.page-re-property .property-name {
        margin-bottom: 7px;
        font-size: 21px;
        line-height: 1.18;
    }

    body.page-re-property.property-is-loaded .property-title-left,
    body.page-re-property.property-is-loaded .property-price-section,
    body.page-re-property.property-is-loaded .features-bar {
        opacity: 1;
        transform: none;
        animation: none;
    }

    body.page-re-property .property-title-left,
    body.page-re-property .property-price-section {
        width: 100%;
    }

    body.page-re-property .property-bottom-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        width: 100%;
    }

    body.page-re-property .property-address {
        align-items: flex-start;
        gap: 6px;
        font-size: 13.5px;
        line-height: 1.45;
    }

    body.page-re-property .property-address .icon-svg {
        width: 15px;
        height: 15px;
        margin-top: 2px;
        flex: 0 0 auto;
    }

    body.page-re-property .property-price-section {
        text-align: left;
        padding-top: 0;
    }

    body.page-re-property .property-price-section > .property-price {
        font-size: 22px;
        line-height: 1.18;
    }

    body.page-re-property .property-price-label {
        margin-top: 0;
        font-size: 13px;
    }

    body.page-re-property .features-bar {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
        gap: 4px;
        width: 100%;
        padding: 5px;
    }

    body.page-re-property .feature-item {
        min-width: 0;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        min-height: 66px;
        padding: 6px 2px;
        text-align: center;
    }

    body.page-re-property .feature-icon {
        width: 28px;
        height: 28px;
        flex: 0 0 auto;
    }

    body.page-re-property .feature-icon .icon-svg {
        width: 17px;
        height: 17px;
    }

    body.page-re-property .feature-info {
        min-width: 0;
        align-items: center;
        width: 100%;
    }

    body.page-re-property .feature-value {
        max-width: 100%;
        overflow: hidden;
        font-size: 13.5px;
        line-height: 1.1;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.page-re-property .feature-label-full {
        display: none;
    }

    body.page-re-property .feature-label-short {
        display: block;
        overflow: hidden;
        max-width: 100%;
        font-size: 10.5px;
        line-height: 1.15;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.page-re-property .property-actions {
        gap: 8px;
    }

    body.page-re-property .action-btn {
        gap: 7px;
        padding: 8px 12px;
        font-size: 12.5px;
    }

    body.page-re-property .action-btn .icon-svg {
        width: 16px;
        height: 16px;
    }

    body.page-re-property .image-lightbox {
        padding: 10px;
    }

    body.page-re-property .lightbox-stage {
        height: min(calc(100vh - 92px), 76vh);
    }

    body.page-re-property .lightbox-arrow {
        width: 32px;
        height: 48px;
    }

    body.page-re-property .lightbox-arrow.prev {
        left: 8px;
    }

    body.page-re-property .lightbox-arrow.next {
        right: 8px;
    }

    body.page-re-property .lightbox-close {
        top: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
    }

    body.page-re-property .lightbox-thumb {
        width: 62px;
        height: 44px;
    }

    body.page-re-property .similar-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 380px) {
    body.page-re-property .property-name {
        font-size: 20px;
    }

    body.page-re-property .property-price-section > .property-price {
        font-size: 21px;
    }

    body.page-re-property .feature-value {
        font-size: 13px;
    }
}

@media (hover: none), (pointer: coarse) {
    body.page-re-property .gallery-nav-btn {
        display: none !important;
    }

    body.page-re-property .lightbox-arrow,
    body.page-re-property .lightbox-arrow:hover,
    body.page-re-property .lightbox-arrow:focus,
    body.page-re-property .lightbox-arrow:active {
        border-color: rgba(255, 255, 255, 0.34);
        background: rgba(255, 255, 255, 0.28);
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.14);
        transform: translateY(-50%);
    }
}

/* Contact CTA Section */
body.page-re-property .contact-cta-section {
    padding: 80px 24px;
    background: #1a1a1a;
    text-align: center;
}

body.page-re-property .contact-cta-container {
    max-width: 600px;
    margin: 0 auto;
}

body.page-re-property .contact-cta-icon {
    width: 80px;
    height: 80px;
    background: var(--mira-gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

body.page-re-property .contact-cta-icon .icon-svg {
    width: 36px;
    height: 36px;
}

body.page-re-property .contact-cta-title {
    font-size: 32px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
    font-family: "Montserrat", sans-serif;
}

body.page-re-property .contact-cta-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    line-height: 1.7;
    font-family: "Montserrat", sans-serif;
}

body.page-re-property .contact-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: var(--mira-gold);
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-control);
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

body.page-re-property .contact-cta-btn:hover {
    background: var(--mira-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(217, 169, 99, 0.3);
}

body.page-re-property .contact-cta-btn .icon-svg {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    body.page-re-property .contact-cta-section {
        padding: 60px 24px;
    }

    body.page-re-property .contact-cta-title {
        font-size: 24px;
    }

    body.page-re-property .contact-cta-icon {
        width: 64px;
        height: 64px;
    }

    body.page-re-property .contact-cta-icon .icon-svg {
        width: 28px;
        height: 28px;
    }
}

body.page-re-property .price-unit {
    font-size: 18px;
    color: var(--gray-text);
}

body.page-re-property .gallery-main > img,
body.page-re-property .gallery-thumb > img,
body.page-re-property .property-card-image > img,
body.page-re-property .lightbox-image {
    transition:
        opacity 0.22s ease,
        transform 0.3s ease;
}

body.page-re-property .gallery-main > img:not(.is-loaded),
body.page-re-property .gallery-thumb > img:not(.is-loaded),
body.page-re-property .property-card-image > img:not(.is-loaded),
body.page-re-property .lightbox-image:not(.is-loaded) {
    opacity: 0;
}

body.page-re-property .gallery-main > img.is-loaded,
body.page-re-property .gallery-thumb > img.is-loaded,
body.page-re-property .property-card-image > img.is-loaded,
body.page-re-property .lightbox-image.is-loaded {
    opacity: 1;
}

body.page-re-property .action-icon {
    width: 18px;
    height: 18px;
}

body.page-re-property .section-text-spaced {
    margin-top: 16px;
}

body.page-re-property .similar-grid {
    grid-template-columns: repeat(auto-fit,
            minmax(var(--re-property-card-min), var(--re-property-card-width)));
    justify-content: center;
}

@media (max-width: 1024px) {
    body.page-re-property .property-content {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.page-re-property .property-main,
    body.page-re-property .property-sidebar,
    body.page-re-property .sidebar-card {
        width: 100% !important;
        min-width: 0 !important;
    }
}

@media (max-width: 768px) {
    body.page-re-property .property-content {
        padding-right: 16px;
        padding-left: 16px;
    }

}
