/* PropertyClient.jsx — styles moved from inline (keep UI identical; dynamic bg URLs use CSS variables where noted) */

.property-page .property-not-found-inner {
    padding: 2rem;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Project video (above hero) */
.property-page .project-video-section {
    width: 100%;
    position: relative;
    background-color: #000;
    padding: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.property-page .project-video-frame {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    height: 450px;
    min-height: 450px;
    overflow: hidden;
    background-color: #000;
}

.property-page .project-video-embed-root {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.property-page .project-video-load-btn {
    width: 100%;
    height: 100%;
    border: none;
    background: #111827;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.property-page .project-video-embed-root iframe,
.property-page .project-video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.property-page .project-video-native {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    object-fit: cover;
    background-color: #000;
}

video-stream html5-main-video{
    width: 100%;
    height: 450px;
    left: 0px;
    top: 0px;

}
@media (max-width: 768px) {
    .property-page .project-video-frame {
        height: auto;
        min-height: 210px;
        aspect-ratio: 16 / 9;
    }
}

.property-page .project-video-title-bar {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    background-color: #1f2937;
    color: #fff;
    text-align: center;
    box-sizing: border-box;
}

.property-page .project-video-title {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
}

/* Dead / fallback banner block (false && …) */
.property-page .focus-brand-type--legacy {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.property-page .focus-brand-title--legacy {
    margin: 0;
    line-height: 1.2;
}

/* SEO outline */
.property-page .seo-heading-structure {
    margin-bottom: 1.5rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.property-page .seo-outline-heading {
    margin: 0.35rem 0;
    font-weight: 600;
}

.property-page .seo-outline-h1 { font-size: 1.25rem; }
.property-page .seo-outline-h2 { font-size: 1.15rem; }
.property-page .seo-outline-h3 { font-size: 1.05rem; }
.property-page .seo-outline-h4 { font-size: 1rem; }
.property-page .seo-outline-h5 { font-size: 0.95rem; }
.property-page .seo-outline-h6 { font-size: 0.9rem; }

/* Section subtitles */
.property-main-container .section-subtitle {
    margin-top: 8px;
    color: #6b7280;
    font-size: 16px;
}

.property-main-container .section-subtitle--left {
    text-align: left;
}

/* Overview / floor-plan rich text */
.property-page .property-description--overview {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
    margin-top: 20px;
}

.property-page .property-description-html {
    word-wrap: break-word;
    text-align: left;
}

.property-page .overview-project-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
}

.property-page .property-description--floor-plans {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 20px;
}

.property-page .floor-plan-img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-page .floor-plan-img-cover--rounded {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.property-page .plan-placeholder.is-hidden {
    display: none;
}

.property-page .plan-placeholder.is-flex {
    display: flex;
}

/* Map embed */
.property-page .property-map-embed-wrap {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.property-page .property-map-iframe {
    border: 0;
    border-radius: 8px;
    width: 100%;
    min-height: 400px;
    display: block;
}

.property-page .property-map-embed-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.property-page img.floor-plan-img-cover--rounded.is-hidden {
    display: none !important;
}

.property-page .new-launch-img.is-hidden {
    display: none !important;
}

/* Replaces inline JS button press feedback */
.property-page .btn-luxury:active {
    transform: scale(0.98);
}

/* Gallery grid item — use with style={{ backgroundImage }} only */
.property-page .gallery-item--interactive {
    cursor: pointer;
    position: relative;
    pointer-events: auto;
}

.property-page .gallery-overlay--pass-through {
    pointer-events: none;
}

/* Location advantages — Font Awesome (replaces injected <style>) */
.property-page .location-advantages-grid .advantage-icon i::before {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands" !important;
    font-weight: 900 !important;
}

.property-page .advantage-icon--center {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    min-height: 56px;
}

.property-page .advantage-icon-fa {
    display: inline-block;
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", sans-serif;
    font-weight: 900;
    font-size: 20px;
    color: #DC2626;
}

.property-page .property-empty-hint {
    padding: 20px;
    text-align: center;
    color: #6b7280;
}

/* New launch cards */
.property-page .new-project-card.pc-card-lift {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-page .new-project-card.pc-card-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.15);
}

.property-page .new-project-card .project-image img.new-launch-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.property-page .project-placeholder.is-hidden {
    display: none;
}

.property-page .project-placeholder.is-flex {
    display: flex;
}

/* Price sidebar actions */
.property-page .price-card-actions--row {
    display: flex;
    flex-direction: row;
    gap: 12px;
    width: 100%;
    margin-top: 16px;
    justify-content: space-between;
    align-items: center;
}

.property-page .btn-price-sidebar-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #3b82f6;
    color: white;
    white-space: nowrap;
}

.property-page .btn-price-sidebar-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #10b981;
    color: white;
    white-space: nowrap;
}

.property-page .inquiry-card-note {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

/* Related properties carousel */
.property-page .related-properties-slider--clip {
    position: relative;
    overflow: hidden;
    padding: 0px 0px;
}

.property-page .related-properties-track--scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0;
    position: relative;
}

.property-page .related-properties-track--scroll::-webkit-scrollbar {
    display: none;
}

.property-page .related-property-card--click {
    cursor: pointer;
    position: relative;
}

.property-page .related-property-link--block {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.property-page .related-property-image--bg {
    cursor: pointer;
    pointer-events: auto;
}

.property-page .related-property-content--no-pointer {
    pointer-events: none;
}

.property-page .related-property-price--row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.property-page .related-view-details-btn {
    padding: 8px 16px;
    background: #DC2626;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease;
    pointer-events: auto;
}

.property-page .related-view-details-btn:hover {
    background: #B91C1C;
    transform: translateY(-1px);
}

.property-page .related-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #f9fafb;
    border-radius: 12px;
    border: 2px dashed #d1d5db;
}

.property-page .related-empty-state__icon {
    font-size: 48px;
    margin-bottom: 16px;
    color: #9ca3af;
}

.property-page .related-empty-state__title {
    font-size: 20px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.property-page .related-empty-state__text {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 20px;
}

.property-page .related-empty-state__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #3b82f6;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.property-page .related-empty-state__link:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

/* Contact modal */
.property-page .modal-form-group--mb {
    margin-bottom: 16px;
}

.property-page .modal-project-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    background-color: white;
    cursor: pointer;
}

/* Lead CTA section — set --pc-lead-bg on element, e.g. url("...") */
.lead-gen-cta-section.pc-lead-cta-bg {
    background-image: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(10, 10, 10, 0.85) 100%), var(--pc-lead-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Gallery lightbox */
.property-page .gallery-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.property-page .gallery-modal-inner {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.property-page .gallery-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    pointer-events: auto;
}

.property-page .gallery-modal-image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    pointer-events: auto;
    user-select: none;
}

.property-page .gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    pointer-events: auto;
}

.property-page .gallery-modal-nav--prev {
    left: -60px;
}

.property-page .gallery-modal-nav--next {
    right: -60px;
}

.property-page .gallery-modal-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 20px;
    pointer-events: none;
    user-select: none;
}


@media (max-width: 768px) {
    .property-main-container .section-subtitle{
        font-size: 12px;
    }
    .related-properties-section {
        padding: 0px 0px;
    }
    .related-properties-section .section-header{
        padding: 0px 0px;
    }
}