/* Property Detail Page Styles - Luxury Edition */

:root {
    --primary-color: #1a1a1a;
    --accent-color: #DC2626;
    --accent-secondary: #B91C1C;
    --accent-light: #EF4444;
    --accent-dark: #991B1B;
    --text-color: #1a1a1a;
    --text-light: #6b6b6b;
    --bg-color: #ffffff;
    --bg-dark: #0a0a0a;
    --bg-card: #f8f9fa;
    --border-color: #e5e7eb;
    --luxury-gradient: linear-gradient(135deg, #DC2626 0%, #B91C1C 50%, #991B1B 100%);
    --primary-dark: #1a1a1a;
    --primary-light: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #6b6b6b;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --accent-hover: #B91C1C;
}

.property-page {
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 50%, #ffffff 100%);
    position: relative;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.property-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.01) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.008) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.property-main-container {
    position: relative;
    z-index: 1;
}

.property-banner {
    margin-bottom: 0;
    position: relative;
}

.property-banner .focus-banner-image {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
    height: 450px !important;
    width: 100% !important;
    min-height: 450px !important;
    z-index: 1;
    overflow: hidden;
}

.property-banner .focus-content {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
    max-width: min(1200px, 100%);
    text-align: center;
    padding: 0 20px;
    margin: 0 auto;
    box-sizing: border-box;
}

.property-banner .focus-content-inner {
    width: 100%;
    text-align: center;
}

.property-banner .focus-brand {
    margin-bottom: 12px;
    text-align: center;
}

.property-banner .focus-cta-group {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 20px;
    width: 100%;
    max-width: min(1200px, 100%);
    box-sizing: border-box;
}

/* Desktop/laptop: keep property hero CTAs side-by-side like listings */
@media (min-width: 769px) {
    .focus-banner.property-banner .focus-cta-group {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
        top: auto;
        bottom: var(--spacing-xl, 32px);
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        max-width: min(1200px, calc(100% - 40px));
        margin-top: 0;
        padding: 0 20px;
        z-index: 4;
        justify-content: center;
        align-items: center;
    }

    .focus-banner.property-banner .focus-cta-primary,
    .focus-banner.property-banner .focus-cta-secondary {
        width: auto;
        min-width: auto;
        padding: 10px 32px;
        font-size: 1rem;
        min-height: auto;
        border-radius: 8px;
    }
}

.property-banner .focus-badge {
    position: absolute;
    top: 30px;
    left: 50px;
    z-index: 3;
    background: rgba(45, 43, 43, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.property-banner .focus-content h3 {
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 2px 8px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.2;
    font-family: 'Inter', sans-serif;
    text-align: center;
}

.property-banner .focus-brand-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 18px;
    margin: 0 0 12px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    font-weight: 400;
    text-align: center;
}

.property-banner .focus-details {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-top: 8px;
    text-align: center;
}

.property-banner .focus-details span {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.property-banner .focus-cta-primary {
    background: #000000;
    color: #ffffff;
    border: 2px solid #000000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.property-banner .focus-cta-primary:hover {
    background: #1a1a1a;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.property-banner .focus-cta-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

.property-banner .focus-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.2);
}


/* Property Hero Banner Styles */
.property-hero-banner {
    background-size: cover !important;
    background-position: center !important;
    padding: 100px 0;
    color: white;
    text-align: center;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
}


.property-hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.property-hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: #ffffff !important;
    text-shadow: 4px 4px 12px rgba(0,0,0,1), 2px 2px 6px rgba(0,0,0,0.9), 0 0 30px rgba(0,0,0,0.7), 0 0 60px rgba(0,0,0,0.4);
    line-height: 1.2;
    letter-spacing: -0.02em;
    -webkit-text-stroke: 0.5px rgba(0,0,0,0.5);
}

.property-hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff !important;
    text-shadow: 3px 3px 10px rgba(0,0,0,1), 2px 2px 6px rgba(0,0,0,0.9), 0 0 25px rgba(0,0,0,0.7);
    font-weight: 400;
    line-height: 1.4;
}

.property-hero-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: #ffffff !important;
    text-shadow: 3px 3px 10px rgba(0,0,0,1), 2px 2px 6px rgba(0,0,0,0.9), 0 0 25px rgba(0,0,0,0.7);
    line-height: 1.6;
}

.property-hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.property-hero-btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.property-hero-btn-primary {
    background: #3b82f6;
    color: white;
    border: none;
}

.property-hero-btn-primary:hover {
    background: #2563eb;
    box-shadow: 0 6px 12px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

.property-hero-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.property-hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 6px 12px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.property-main-container {
    padding: 0px 0;
    background: transparent;
    position: relative;
    z-index: 2;
}

.property-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
    align-items: start;
    padding: 15px;
}

/* Property Content Column */
.property-content-column {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.property-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(74, 74, 74, 0.08);
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin: 0 0 24px 0;
}

.property-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.02) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.property-section:hover::after {
    opacity: 1;
}

.property-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #4a4a4a;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.property-section:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 16px 48px rgba(0, 0, 0, 0.06);
}

.property-section:hover::before {
    transform: scaleX(1);
}

.section-header {
    margin: 0 0 24px 0;
    padding: 0 0 16px 0;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #4a4a4a;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
    position: relative;
    margin: 0;
    line-height: 1.2;
}

.section-header h2::first-letter {
    color: #DC2626;
}

/* Property Overview */
.property-overview {
    margin: 0 0 20px 0;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    align-items: stretch;
}

.overview-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 80px;
    width: 100%;
}

.overview-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: #4a4a4a;
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.overview-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(74, 74, 74, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
    border-color: rgba(74, 74, 74, 0.3);
}

.overview-item:hover::before {
    transform: scaleY(1);
}

.overview-item i {
    font-size: 24px;
    color: #4a4a4a;
    width: 56px;
    height: 56px;
    min-width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 74, 74, 0.08);
    border-radius: 14px;
    border: 1px solid rgba(74, 74, 74, 0.15);
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.overview-item:hover i {
    background: #4a4a4a;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(74, 74, 74, 0.25);
    border-color: #4a4a4a;
}

.overview-item div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
    justify-content: center;
}

.overview-label {
    font-size: 11px;
    color: #6b6b6b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.overview-value {
    font-size: 15px;
    color: #1a1a1a;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.01em;
    margin: 0;
    line-height: 1.3;
    word-break: break-word;
    overflow-wrap: break-word;
}

.property-description {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.property-description {
    background: rgba(74, 74, 74, 0.02);
    padding: 20px;
    border-radius: 12px;
    border-left: 3px solid #4a4a4a;
    margin: 20px 0 0 0;
    text-align: left;
}

.section-header .section-subtitle,
.section-header .section-subtitle * {
    text-align: left !important;
}

.property-description * {
    text-align: left !important;
}

.property-description p {
    font-size: 14px;
    color: #2c2c2c;
    line-height: 1.75;
    font-family: 'Inter', sans-serif;
    margin: 0;
    font-weight: 400;
}

/* HTML Content Rendering Styles */
.property-description h1,
.property-description h2,
.property-description h3,
.property-description h4,
.property-description h5,
.property-description h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #1a1a1a;
    margin: 20px 0 12px 0;
    line-height: 1.4;
}

.property-description h1 {
    font-size: 28px;
}

.property-description h2 {
    font-size: 24px;
    border-bottom: 2px solid #DC2626;
    padding-bottom: 8px;
}

.property-description h3 {
    font-size: 20px;
}

.property-description h4 {
    font-size: 18px;
}

.property-description h5 {
    font-size: 16px;
}

.property-description h6 {
    font-size: 14px;
}

.property-description p {
    font-size: 16px;
    color: #374151;
    line-height: 1.8;
    margin: 12px 0;
    font-family: 'Inter', sans-serif;
}

.property-description strong,
.property-description b {
    font-weight: 700;
    color: #1a1a1a;
}

.property-description em,
.property-description i {
    font-style: italic;
}

.property-description ul,
.property-description ol {
    margin: 16px 0;
    padding-left: 24px;
}

.property-description li {
    font-size: 16px;
    color: #374151;
    line-height: 1.8;
    margin: 8px 0;
}

.property-description a {
    color: #DC2626;
    text-decoration: underline;
    transition: color 0.2s;
}

.property-description a:hover {
    color: #B91C1C;
}

.property-description img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
}

/* Location description styles */
.location-details div[dangerouslySetInnerHTML] {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
}

.location-details h1,
.location-details h2,
.location-details h3,
.location-details h4,
.location-details h5,
.location-details h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #1a1a1a;
    margin: 16px 0 10px 0;
}

.location-details p {
    font-size: 16px;
    line-height: 1.8;
    margin: 10px 0;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 60px;
}

.feature-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: rgba(0, 0, 0, 0.02);
    transition: width 0.4s ease;
    z-index: 0;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(74, 74, 74, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
    border-color: rgba(74, 74, 74, 0.3);
}

.feature-item:hover::after {
    width: 100%;
}

.feature-item i {
    font-size: 18px;
    color: #4a4a4a;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
    min-width: 24px;
}

.feature-item:hover i {
    transform: scale(1.15);
    color: #4a4a4a;
}

.feature-item span {
    font-size: 13px;
    color: #1a1a1a;
    font-weight: 600;
    position: relative;
    z-index: 1;
    letter-spacing: 0.2px;
    line-height: 1.4;
    margin: 0;
    flex: 1;
}

/* Amenities */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 0;
}

.amenity-category {
    padding: 24px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin: 0;
    min-height: 180px;
}

.amenity-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #4a4a4a;
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.amenity-category:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(74, 74, 74, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(74, 74, 74, 0.3);
}

.amenity-category:hover::before {
    transform: scaleY(1);
}

.amenity-category h3 i,
.amenity-category h4 i {
    color: #4a4a4a;
}

.amenity-category h3,
.amenity-category h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 14px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.01em;
}

.amenity-category h3 i,
.amenity-category h4 i {
    color: #4a4a4a;
    font-size: 16px;
}

.amenity-category ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.amenity-category ul li {
    font-size: 13px;
    color: #4a4a4a;
    padding-left: 20px;
    position: relative;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}

.amenity-category ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4a4a4a;
    font-weight: 700;
    font-size: 14px;
}

/* Location & Connectivity */
.location-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
}

.location-details h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.01em;
}

.location-details h3 i {
    color: #4a4a4a;
    font-size: 18px;
}

.location-details p {
    font-size: 14px;
    color: #4a4a4a;
    line-height: 1.75;
    font-weight: 400;
    margin: 0;
}

.connectivity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin: 0;
}

.connectivity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    margin: 0;
    transition: all 0.3s ease;
    min-height: 70px;
}

.connectivity-item i {
    font-size: 18px;
    color: #4a4a4a;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 74, 74, 0.08);
    border-radius: 10px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    border: 1px solid rgba(74, 74, 74, 0.15);
}

.connectivity-item div {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 0;
}

.connectivity-label {
    font-size: 10px;
    color: #6b6b6b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.connectivity-value {
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    margin: 0;
    line-height: 1.3;
}

.map-container {
    margin: 20px 0 0 0;
}


.map-placeholder i {
    font-size: 48px;
    color: #4a4a4a;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.map-placeholder p {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.map-placeholder span {
    font-size: 12px;
    color: #6b6b6b;
    margin: 0;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 200px);
    gap: var(--spacing-md);
}

.gallery-item {
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e5e7eb;
}

.gallery-item:hover {
    transform: scale(1.05);
    border-color: #DC2626;
    box-shadow: 0 12px 40px rgba(220, 38, 38, 0.15), 0 8px 24px rgba(0, 0, 0, 0.08);
}

.gallery-item.main-gallery-item {
    grid-row: 1 / 3;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(44, 44, 44, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(4px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 48px;
    color: var(--bg-color);
    transform: scale(0.8);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Gallery Lightbox */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(8px);
}

.lightbox-content {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.lightbox-image-container {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: lightboxFadeIn 0.3s ease;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    background: rgba(220, 38, 38, 0.9);
    border-color: #DC2626;
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(220, 38, 38, 0.9);
    border-color: #DC2626;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev:active,
.lightbox-next:active {
    transform: translateY(-50%) scale(0.95);
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-current {
    color: #DC2626;
    font-weight: 700;
}

/* Mobile Responsive for Lightbox */
@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-close {
        width: 45px;
        height: 45px;
        font-size: 20px;
        top: 10px;
        right: 10px;
    }
    
    .lightbox-counter {
        bottom: 20px;
        font-size: 12px;
        padding: 8px 16px;
    }
}

/* Property Sidebar */
.property-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    overflow-x: visible;
    padding-right: 0;
    z-index: 10;
    visibility: visible;
    opacity: 1;
    /* Hide scrollbar for Chrome, Safari and Opera */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.property-sidebar::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
    width: 0;
    background: transparent;
}

.property-sidebar::-webkit-scrollbar-track {
    display: none;
    background: transparent;
}

.property-sidebar::-webkit-scrollbar-thumb {
    display: none;
    background: transparent;
}

.sidebar-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0;
    visibility: visible;
    opacity: 1;
    z-index: 1;
}

.sidebar-card::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.02) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.sidebar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #DC2626;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: 2;
}

.sidebar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
    border-color: #e0e0e0;
}

.sidebar-card:hover::before {
    transform: scaleX(1);
}

.sidebar-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #000000 !important;
    margin: 0 0 20px 0;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
    position: relative;
    padding: 0 0 16px 0;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.4;
    z-index: 1;
    visibility: visible;
    opacity: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-card h3::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--luxury-gradient);
    z-index: 1;
    border-radius: 2px;
}

.sidebar-card h3 i {
    color: var(--accent-color);
    font-size: 16px;
    visibility: visible;
    opacity: 1;
    width: 20px;
    text-align: center;
}

/* Merged Price Card with Urgency Banner */
.price-card-merged {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: visible;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.04);
    visibility: visible;
    opacity: 1;
    z-index: 1;
    padding: 0;
}

.price-card-merged::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #DC2626 0%, #B91C1C 100%);
    z-index: 2;
    border-radius: 16px 16px 0 0;
}

.price-card-merged::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.02) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

/* Urgency Alert Section */
.urgency-alert,
.price-card-merged .urgency-alert,
.sidebar-card .urgency-alert {
    background:rgb(112 112 112) !important;
    padding: 18px 28px;
    margin: 0 0 28px 0;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: visible;
    z-index: 3;
    visibility: visible;
    opacity: 1;
    border-radius: 16px 16px 0 0;
}

.urgency-alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.urgency-icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
}

.urgency-icon-wrapper i {
    font-size: 20px;
    color: #dc2626;
    animation: shake 2s ease-in-out infinite;
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-8deg); }
    75% { transform: rotate(8deg); }
}

.urgency-text-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.urgency-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.urgency-message {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

/* Price Section */
.price-section {
    margin: 0;
    padding: 0 28px;
}

.price-main-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin: 0 0 24px 0;
    padding: 0 0 24px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    z-index: 1;
    visibility: visible;
    opacity: 1;
}

.price-display {
    flex: 1;
    position: relative;
    z-index: 1;
    visibility: visible;
    opacity: 1;
}

.price-display h3,
.price-card-merged .price-display h3,
.sidebar-card .price-display h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px 0;
    font-family: 'Inter', sans-serif;
    color: #000000 !important;
    letter-spacing: -0.03em;
    line-height: 1.2;
    visibility: visible;
    opacity: 1;
}

.price-per-unit,
.price-card-merged .price-per-unit,
.sidebar-card .price-per-unit {
    font-size: 14px;
    color: #000000 !important;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.1px;
    line-height: 1.4;
}

.return-badge-enhanced {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #f0f9f0;
    color: #28a745;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid rgba(40, 167, 69, 0.15);
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: -0.01em;
}

.return-badge-enhanced i {
    font-size: 14px;
}

/* Property Details Compact */
.property-details-compact {
    margin: 0;
    padding: 0 0px 20px 0px;
}

.detail-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    align-items: start;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
    transition: none;
    position: relative;
    z-index: 1;
    visibility: visible;
    opacity: 1;
    width: 100%;
}

.detail-item:hover {
    background: transparent;
    border-color: transparent;
    transform: none;
    box-shadow: none;
}

.detail-item i,
.price-card-merged .detail-item i,
.sidebar-card .detail-item i,
.property-details-compact .detail-item i {
    font-size: 14px;
    color: #000000 !important;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 0;
    flex-shrink: 0;
    visibility: visible;
    opacity: 1;
    border: none;
    box-shadow: none;
    margin-top: 2px;
}

.detail-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    align-items: flex-start;
}

.detail-label,
.price-card-merged .detail-label,
.sidebar-card .detail-label,
.property-details-compact .detail-label {
    font-size: 10px !important;
    color: #000000 !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1.2;
    display: block;
    width: 100%;
    text-align: left;
}

.detail-value,
.price-card-merged .detail-value,
.sidebar-card .detail-value,
.property-details-compact .detail-value {
    font-size: 12px;
    color: #000000 !important;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    margin: 0;
    line-height: 1.4;
    word-break: break-word;
    display: block;
    width: 100%;
    text-align: left;
}

/* Action Buttons */
.price-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0;
    padding: 28px;
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
}

.price-card-actions .btn {
    margin: 0;
    padding: 14px 18px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.price-card-actions .btn-urgency-action {
    grid-column: 1 / -1;
    width: 100%;
}

.btn-primary-action {
    background: #DC2626;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.15);
    visibility: visible;
    opacity: 1;
}

.btn-primary-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.25);
    background: #B91C1C;
}

.btn-secondary-action {
    background: #ffffff;
    color: #1a1a1a;
    border: 1.5px solid #DC2626;
    box-shadow: 0 1px 3px rgba(220, 38, 38, 0.08);
    visibility: visible;
    opacity: 1;
}

.btn-secondary-action:hover {
    background: #fafafa;
    border-color: #B91C1C;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.12);
}

.btn-urgency-action {
    background: #DC2626;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.15);
    visibility: visible;
    opacity: 1;
}

.btn-urgency-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.25);
    background: #B91C1C;
}

.price-card-actions .btn i {
    font-size: 16px;
}

/* Legacy Price Card Styles (for backward compatibility) */
.price-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.price-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 0 16px 0;
    padding: 0 0 16px 0;
    border-bottom: 1px solid #e5e7eb;
}

.price-header h3 {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #000000;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.return-badge {
    padding: 4px 10px;
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.price-details {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0 0 20px 0;
}

.price-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    margin: 0;
}

.price-detail-item:last-child {
    border-bottom: none;
}

.price-detail-item span {
    font-size: 12px;
    color: #6b6b6b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin: 0;
}

.price-detail-item strong {
    font-size: 15px;
    color: #1a1a1a;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    margin: 0;
}

.price-card .btn {
    margin: 12px 0 0 0;
}

/* Inquiry Card */
.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0 0 24px 0;
}

.inquiry-form .form-group {
    margin: 0;
}

.inquiry-form .form-group label {
    font-size: 11px;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 6px 0;
    display: block;
}

.inquiry-form .form-group input,
.inquiry-form .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.5;
    visibility: visible;
    opacity: 1;
}

.inquiry-form .form-group input::placeholder,
.inquiry-form .form-group textarea::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.inquiry-form .form-group input::placeholder,
.inquiry-form .form-group textarea::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.inquiry-form .form-group input:focus,
.inquiry-form .form-group textarea:focus {
    outline: none;
    border-color: #DC2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
    background: #ffffff;
}

.inquiry-form .form-group textarea {
    resize: vertical;
    min-height: 80px;
    line-height: 1.6;
}

.inquiry-form .btn {
    width: 100%;
    margin: 0;
}

.inquiry-card {
    margin: 0;
}

.inquiry-card h3 {
    margin: 0 0 12px 0;
}

.inquiry-card > p {
    margin: 0 0 24px 0;
    font-size: 13px;
    color: #6b6b6b;
    line-height: 1.6;
    padding: 0;
}

/* Contact Card */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0 0 24px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--bg-card);
    border-radius: 10px;
    margin: 0;
    border: 1px solid var(--border-color);
    visibility: visible;
    opacity: 1;
    position: relative;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-item:hover {
    background: var(--bg-color);
    border-color: var(--accent-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.12);
}

.contact-item i {
    font-size: 16px;
    color: var(--accent-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--luxury-gradient-subtle);
    border-radius: 10px;
    flex-shrink: 0;
    visibility: visible;
    opacity: 1;
    border: 1px solid rgba(220, 38, 38, 0.15);
    box-shadow: 0 1px 3px rgba(220, 38, 38, 0.08);
    transition: all 0.3s ease;
}

.contact-item:hover i {
    background: var(--luxury-gradient);
    color: var(--bg-color);
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.contact-item a,
.contact-item span {
    font-size: 14px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
    flex: 1;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-color);
}

.social-contact {
    display: flex;
    gap: 12px;
    margin: 0;
}

.social-btn {
    flex: 1;
    padding: 14px 18px;
    background: var(--bg-color);
    border: 1.5px solid var(--accent-color);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0;
    visibility: visible;
    opacity: 1;
    position: relative;
    z-index: 1;
    letter-spacing: -0.01em;
}

.social-btn:hover {
    background: var(--luxury-gradient);
    color: var(--bg-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.social-btn i {
    font-size: 16px;
}

/* Related Properties */
.related-properties-section {
    padding: 0px 0;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    margin: 0;
}

.related-properties-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.02) 0%, transparent 70%);
    pointer-events: none;
}

.related-properties-section .container {
    position: relative;
    z-index: 1;
}

.related-properties-section .section-header {
    text-align: center;
    margin: 0 0 0px 0;
}

.related-properties-section .section-header h2 {
    font-size: 26px;
    margin: 0 0 10px 0;
    color: #1a1a1a;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    position: relative;
    display: inline-block;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.related-properties-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #DC2626;
    border-radius: 2px;
}

.related-properties-section .section-header p {
    font-size: 14px;
    color: var(--text-light);
    margin-top: var(--spacing-md);
}

/* Carousel Container */
.related-properties-carousel {
    position: relative;
    margin: 0;
}

/* Slider Track */
.related-properties-slider {
    overflow: hidden;
    position: relative;
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-md) 0;
}

.related-properties-track {
    display: flex;
    gap: var(--spacing-lg);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    padding: var(--spacing-sm) 0;
    align-items: stretch;
}

.related-property-card {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 320px;
    background: var(--bg-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: linear-gradient(180deg, var(--bg-color) 0%, #fafafa 100%);
    margin: var(--spacing-sm) 0;
}

.related-property-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(220, 38, 38, 0.15), 0 6px 20px rgba(0, 0, 0, 0.08);
    border-color: #DC2626;
}

.related-property-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.related-property-image {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease;
}

.related-property-card:hover .related-property-image {
    transform: scale(1.1);
}

.related-property-overlay {
    display: none !important;
}

.view-details-text {
    display: none !important;
}

.property-tag {
    position: absolute;
    top: 5px;
    left: 5px;
    padding: 4px 10px;
    background: #159945;
    color: #ffffff;
    border-radius: 25px;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    z-index: 2;
    backdrop-filter: blur(10px);
}

.related-property-content {
    padding: var(--spacing-lg);
}

.related-property-content h3,
.related-property-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
    transition: color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.related-property-card:hover .related-property-content h3,
.related-property-card:hover .related-property-content h4 {
    color: #DC2626;
}

.related-property-location {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.related-property-location i {
    color: #DC2626;
    font-size: 14px;
}

.related-property-specs {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    font-size: 13px;
    color: var(--text-light);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.related-property-specs span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.related-property-specs i {
    color: #DC2626;
    font-size: 14px;
}

.related-property-price {
    margin-bottom: 0;
    padding-top: var(--spacing-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.related-property-price strong {
    font-size: 22px;
    color: #DC2626;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
    flex: 1;
    min-width: 0;
}

.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: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.related-view-details-btn:hover {
    background: #B91C1C;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.related-view-details-btn i {
    font-size: 11px;
}

@media (max-width: 480px) {
    .related-property-price {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .related-view-details-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Navigation Buttons */
.related-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-color);
    border: 2px solid #DC2626;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #DC2626;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
}

.related-carousel-btn:hover {
    background: #DC2626;
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3);
}

.related-carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.related-carousel-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: translateY(-50%);
}

.related-carousel-btn:disabled:hover {
    background: var(--bg-color);
    color: #6b6b6b;
    transform: translateY(-50%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.related-carousel-prev {
    left: 0;
}

.related-carousel-next {
    right: 0;
}

/* Dots Navigation */
.related-properties-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: var(--spacing-lg);
    flex-wrap: wrap;
}

.related-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #DC2626;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    position: relative;
}

.related-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #DC2626;
    transition: transform 0.3s ease;
}

.related-dot.active::after,
.related-dot:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.related-dot.active {
    border-color: #DC2626;
    background: #DC2626;
}

.related-dot:hover {
    transform: scale(1.2);
}

.btn-small {
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 10px;
    margin: 0;
}

/* Responsive Design for Related Properties */
@media (max-width: 1200px) {
    .related-property-card {
        flex: 0 0 calc(50% - 12px);
        min-width: 300px;
    }
}

@media (max-width: 768px) {
    .related-properties-carousel {
        padding: 0 50px;
    }
    
    .related-property-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .related-carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .related-properties-section .section-header h2 {
        font-size: 24px;
    }
    
    .price-card-actions {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .price-card-actions .btn-urgency-action {
        grid-column: 1;
    }
}

@media (max-width: 480px) {
    .related-properties-carousel {
        padding: 0 40px;
    }
    
    .related-carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .property-layout {
        grid-template-columns: 1fr;
    }

    .property-sidebar {
        position: static;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 200px);
    }

    .gallery-item.main-gallery-item {
        grid-row: 1 / 2;
    }
}

@media (max-width: 768px) {
    .property-main-container {
        padding: 24px 0;
    }

    .property-section {
        padding: 20px;
    }

    .overview-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .overview-item {
        padding: 16px;
        min-height: 70px;
        gap: 12px;
    }
    
    .overview-item i {
        width: 48px;
        height: 48px;
        min-width: 48px;
        font-size: 20px;
    }
    
    .overview-label {
        font-size: 10px;
    }
    
    .overview-value {
        font-size: 14px;
    }

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

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

    .connectivity-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 200px);
    }

    .gallery-item.main-gallery-item {
        grid-row: 1 / 2;
    }

    .related-properties-grid {
        grid-template-columns: 1fr;
    }

    .price-display h3 {
        font-size: 28px;
    }

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

    .urgency-alert {
        padding: 14px 18px;
        margin: -24px -24px 20px -24px;
    }

    .urgency-icon-wrapper {
        width: 40px;
        height: 40px;
    }

    .urgency-icon-wrapper i {
        font-size: 18px;
    }

    .urgency-message {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .connectivity-grid {
        grid-template-columns: 1fr;
    }

    .price-header {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .price-main-header {
        flex-direction: column;
        gap: 12px;
    }

    .price-display h3 {
        font-size: 24px;
    }

    .price-per-unit {
        font-size: 12px;
    }

    .return-badge-enhanced {
        padding: 8px 14px;
        font-size: 12px;
        width: 100%;
        justify-content: center;
    }

    .urgency-alert {
        padding: 12px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .urgency-icon-wrapper {
        width: 36px;
        height: 36px;
    }

    .urgency-icon-wrapper i {
        font-size: 16px;
    }

    .urgency-label {
        font-size: 9px;
    }

    .urgency-message {
        font-size: 12px;
    }

    .detail-item {
        padding: 12px;
        gap: 10px;
    }

    .detail-item i {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .detail-label {
        font-size: 9px;
    }

    .detail-value {
        font-size: 14px;
    }

    .price-card-actions {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .price-card-actions .btn {
        padding: 14px 18px;
        font-size: 13px;
    }
    
    .price-card-actions .btn-urgency-action {
        grid-column: 1;
    }
}

/* Floating Lead Generation Buttons */
.property-floating-buttons {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.floating-lead-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid #d0d0d0;
    background: #DC2626;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.floating-lead-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.floating-lead-btn:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2), 0 8px 16px rgba(0, 0, 0, 0.15);
}

.floating-lead-btn:hover::before {
    width: 300px;
    height: 300px;
}

.floating-lead-btn:active {
    transform: scale(0.95);
}

.floating-lead-btn.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    animation: pulse-whatsapp 2s ease-in-out infinite;
}

.floating-lead-btn.call {
    background: #DC2626;
    animation: pulse-call 3s ease-in-out infinite;
}

.floating-lead-btn.inquiry {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

@keyframes pulse-whatsapp {
    0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(0, 0, 0, 0.2); }
    50% { box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6), 0 4px 16px rgba(0, 0, 0, 0.3); }
}

@keyframes pulse-call {
    0%, 100% { box-shadow: 0 8px 24px rgba(220, 38, 38, 0.3), 0 4px 12px rgba(0, 0, 0, 0.08); }
    50% { box-shadow: 0 8px 32px rgba(220, 38, 38, 0.4), 0 4px 16px rgba(0, 0, 0, 0.1); }
}

.floating-lead-btn .btn-label {
    position: absolute;
    right: 70px;
    background: #DC2626;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
    pointer-events: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    border: 1px solid #d0d0d0;
}

.floating-lead-btn .btn-label::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid #DC2626;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.floating-lead-btn:hover .btn-label {
    opacity: 1;
    transform: translateX(0);
}

/* Trust Badges */
.trust-badges-section {
    display: flex;
    gap: 12px;
    padding: 18px;
    background: #fafafa;
    border-radius: 10px;
    border: 1px solid #f0f0f0;
    margin: 0;
    visibility: visible;
    opacity: 1;
    position: relative;
    z-index: 1;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    margin: 0;
    visibility: visible;
    opacity: 1;
}

.trust-badge-item i {
    font-size: 16px;
    color: #1a1a1a;
    flex-shrink: 0;
    visibility: visible;
    opacity: 1;
}

.trust-badge-item span {
    font-size: 11px;
    color: #1a1a1a;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    visibility: visible;
    opacity: 1;
}

/* Legacy Urgency Banner (for backward compatibility) */
.urgency-banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    color: #ffffff;
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border: 1px solid #d0d0d0;
}

.urgency-banner .urgency-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.urgency-banner .urgency-content i {
    font-size: 20px;
    animation: shake 2s ease-in-out infinite;
}

.urgency-banner .urgency-text {
    font-size: 13px;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}

.urgency-banner .urgency-cta {
    background: #DC2626;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin: 0;
}

.urgency-banner .urgency-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3);
    background: #B91C1C;
}

.return-badge {
    padding: 5px 12px;
    background: rgba(40, 167, 69, 0.12);
    color: #28a745;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid rgba(40, 167, 69, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1.2;
}


/* Lead Generation CTA Section */
.lead-gen-cta-section {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(10, 10, 10, 0.85) 100%);
    padding: 48px 0;
    border-radius: 0;
    text-align: center;
    color: #ffffff;
    margin: 0;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}



.lead-gen-cta-section .section-header {
    margin: 0 0 16px 0;
    padding: 0;
    position: relative;
    z-index: 1;
    border-bottom: none;
}

.lead-gen-cta-section .section-header::after {
    display: none;
}

.lead-gen-cta-section .section-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    position: relative;
    z-index: 1;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: #ffffff;
    display: inline-block;
}


.lead-gen-cta-section p {
    font-size: 15px;
    margin: 24px 0 24px 0;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

.lead-gen-cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin: 0;
    position: relative;
    z-index: 1;
}

.lead-gen-cta-btn {
    padding: 8px 28px;
    background: #DC2626;
    color: #ffffff;
    border: 2px solid #DC2626;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
}

.lead-gen-cta-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 32px rgba(220, 38, 38, 0.4);
    background: #B91C1C;
    border-color: #B91C1C;
}

.lead-gen-cta-btn.secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.lead-gen-cta-btn.secondary:hover {
    background: #DC2626;
    color: #ffffff;
    border-color: #DC2626;
}

/* Override btn-luxury for property page */
.property-page .btn-luxury {
    background: #DC2626;
    color: #ffffff;
    border: 1.5px solid #DC2626;
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0;
    text-transform: uppercase;
}

.property-page .btn-luxury:hover {
    background: #B91C1C;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.35);
    color: #ffffff;
    border-color: #B91C1C;
}

.property-page .btn-outline {
    border: 1.5px solid #DC2626;
    color: #DC2626;
    background: transparent;
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.property-page .btn-outline:hover {
    background: #DC2626;
    color: #ffffff;
    border-color: #DC2626;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.25);
}

/* Enhanced Typography */
.property-section h2,
.property-section h3,
.property-section h4 {
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.3;
}

.property-section p {
    font-family: 'Inter', sans-serif;
    line-height: 1.75;
    color: #4a4a4a;
    margin: 0;
    font-size: 14px;
}


/* Refined Shadows */
.property-section,
.sidebar-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 8px 32px rgba(0, 0, 0, 0.04);
}

.property-section:hover,
.sidebar-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 16px 48px rgba(0, 0, 0, 0.08);
}

/* Luxury Decorative Elements */
.property-section::before {
    content: '';
    position: absolute;
    top: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.property-section:hover::before {
    opacity: 1;
}

/* Premium Typography Enhancements */
.property-content-column h2,
.property-content-column h3 {
    position: relative;
}


/* Scroll-triggered Lead Form */
.scroll-lead-form {
    position: fixed;
    /* bottom: -400px; */
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
    border-top: 3px solid #000000;
    z-index: 9998;
    transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: var(--spacing-lg);
}

.scroll-lead-form.active {
    bottom: 0;
}

.scroll-lead-form-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}

.scroll-lead-form-text h3,
.scroll-lead-form-text h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px 0;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.scroll-lead-form-text p {
    font-size: 14px;
    color: #4a4a4a;
    margin: 0;
    line-height: 1.6;
}

.scroll-lead-form-form {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 0;
}

.scroll-lead-form-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #1a1a1a;
    margin: 0;
}

.scroll-lead-form-form input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.scroll-lead-form-form input:focus {
    outline: none;
    border-color: #DC2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.scroll-lead-form-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
}

.scroll-lead-form-close:hover {
    background: #DC2626;
    color: #ffffff;
    border-color: #DC2626;
    transform: rotate(90deg);
}


.connectivity-item:hover i {
    background: #DC2626;
    color: #ffffff;
    transform: scale(1.1);
    border-color: #DC2626;
}

/* Enhanced Map Placeholder */
.map-placeholder {
    width: 100%;
    height: 180px !important;
    background: rgba(0, 0, 0, 0.01);
    border-radius: 20px;
    border: 2px dashed #d0d0d0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    transition: all 0.4s ease;
    cursor: pointer;
}

.map-placeholder:hover {
    border-color: #b0b0b0;
    background: rgba(0, 0, 0, 0.02);
}

.map-placeholder i {
    font-size: 64px;
    color: #000000;
    opacity: 0.7;
    transition: all 0.4s ease;
}

.map-placeholder:hover i {
    opacity: 1;
    transform: scale(1.1);
}

/* Floor Plans and Pricing */
.floor-plans-container {
    margin: 0;
}

.floor-plan-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.floor-plan-tab {
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: #6b6b6b;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: -1px;
    position: relative;
}

.floor-plan-tab:hover {
    color: #DC2626;
    background: rgba(220, 38, 38, 0.05);
}

.floor-plan-tab.active {
    color: #DC2626;
    border-bottom-color: #DC2626;
    background: rgba(220, 38, 38, 0.08);
    font-weight: 700;
}

.floor-plan-content {
    margin: 0;
}

.floor-plan-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.floor-plan-image {
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.plan-placeholder {
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #6b6b6b;
}

.plan-placeholder i {
    font-size: 48px;
    color: #DC2626;
    opacity: 0.7;
}

.plan-placeholder p {
    margin: 0;
    font-size: 14px;
    color: #6b6b6b;
}

.floor-plan-specs {
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: opacity 0.3s ease;
}

.plan-spec-item {
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plan-spec-label {
    font-size: 13px;
    color: #6b6b6b;
    font-weight: 500;
}

.plan-spec-value {
    font-size: 16px;
    color: #DC2626;
    font-weight: 700;
}

/* Location Advantages */
.location-advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.advantage-item {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
    min-height: 120px;
    align-items: flex-start;
}

.advantage-item:hover {
    border-color: #DC2626;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.1);
    transform: translateY(-2px);
}

.advantage-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 38, 38, 0.08);
    border-radius: 12px;
    flex-shrink: 0;
    border: 1px solid rgba(220, 38, 38, 0.15);
}

.advantage-icon i {
    font-size: 20px;
    color: #DC2626;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.advantage-content {
    flex: 1;
}

.advantage-content h3,
.advantage-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.advantage-content p {
    font-size: 13px;
    color: #6b6b6b;
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.advantage-distance {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(220, 38, 38, 0.08);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #DC2626;
}

/* Newly Launched Projects */
.new-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.new-project-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.new-project-card:hover {
    border-color: #DC2626;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.1);
    transform: translateY(-4px);
}

.project-image {
    position: relative;
    height: 180px;
    background: #f8f9fa;
    overflow: hidden;
}

.project-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.project-placeholder i {
    font-size: 48px;
    color: #1a1a1a;
    opacity: 0.3;
}

.project-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    background: #DC2626;
    color: #ffffff;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-info {
    padding: 16px;
}

.project-info h3,
.project-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.project-location {
    font-size: 13px;
    color: #6b6b6b;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-location i {
    font-size: 12px;
    color: #1a1a1a;
}

.project-specs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #1a1a1a;
    font-weight: 600;
}

/* Price Insights */
.price-insights-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.insight-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    min-height: 200px;
}

.insight-card:hover {
    border-color: #DC2626;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.1);
}

.insight-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.insight-header i {
    font-size: 20px;
    color: #1a1a1a;
}

.insight-header h3,
.insight-header h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.insight-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.trend-item,
.comparison-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.trend-item:last-child,
.comparison-item:last-child {
    border-bottom: none;
}

.trend-label,
.comparison-label {
    font-size: 13px;
    color: #6b6b6b;
    font-weight: 500;
}

.trend-value,
.comparison-value {
    font-size: 15px;
    color: #DC2626;
    font-weight: 700;
}

.trend-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.trend-indicator.positive {
    background: #f0f9f0;
    color: #28a745;
}

.trend-indicator i {
    font-size: 14px;
}

.comparison-note {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 12px;
    color: #6b6b6b;
}

.comparison-note i {
    font-size: 14px;
    color: #1a1a1a;
}

.investment-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px;
    background: #f8f9fa;
    border-radius: 6px;
}

.metric-label {
    font-size: 13px;
    color: #6b6b6b;
    font-weight: 500;
}

.metric-value {
    font-size: 16px;
    color: #1a1a1a;
    font-weight: 700;
}

/* Responsive Design for New Sections */
@media (max-width: 1024px) {
    .floor-plan-details {
        grid-template-columns: 1fr;
    }
    
    .location-advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .new-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .price-insights-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .property-main-container {
        width: 100%;
        padding: 0 0px;
        box-sizing: border-box;
    }
    .property-content-column{
        gap: 0px;
    }
    .property-section p {
        font-size: 12px;
    }

    /* Hero: class="focus-banner property-banner" (PropertyClient) — same mobile pattern as /listings */
    .focus-banner.property-banner .focus-banner-image {
        height: 230px !important;
        min-height: 230px !important;
    }

    .focus-banner.property-banner .focus-content {
        position: absolute !important;
        top: 25px !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        z-index: 3 !important;
        padding: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        text-align: center !important;
        margin: 0 auto !important;
    }

    .focus-banner.property-banner .focus-content-inner {
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    .focus-banner.property-banner .focus-brand {
        margin-bottom: 5px !important;
        text-align: center !important;
    }

    .focus-banner.property-banner .focus-content h3,
    .focus-banner.property-banner .focus-brand h3 {
        font-size: 18px !important;
        line-height: 1.25 !important;
        font-family: inherit !important;
        margin: 0 !important;
    }

    .focus-banner.property-banner .focus-brand-subtitle {
        font-size: 12px !important;
        margin-top: 3px !important;
        margin-bottom: 0 !important;
        line-height: 1.35 !important;
    }

    .focus-banner.property-banner .focus-details {
        flex-direction: column !important;
        gap: 2px !important;
        margin-top: 8px !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .focus-banner.property-banner .focus-details span {
        font-size: 11px !important;
    }

    .focus-banner.property-banner .focus-badge {
        top: 6px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        padding: 5px 10px !important;
        font-size: 11px !important;
    }

    .focus-banner.property-banner .focus-cta-group {
        flex-direction: column !important;
        gap: 0 !important;
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        bottom: var(--spacing-md) !important;
        top: 190px !important;
        margin-top: 0 !important;
        width: calc(100% - 32px) !important;
        max-width: 280px !important;
        z-index: 3 !important;
        padding: 0 !important;
    }

    .focus-banner.property-banner .focus-cta-primary,
    .focus-banner.property-banner .focus-cta-secondary {
        width: 40% !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        padding: 8px 0 !important;
        font-size: 12px !important;
        min-height: 30px !important;
        border-radius: 8px;
    }

    .new-projects-grid {
        grid-template-columns: 1fr;
    }
    
    .floor-plan-tabs {
        display: flex;
        /* gap: 12px; */
        gap: 8px;
        margin-bottom: 16px;
        border-bottom: 1px solid #e5e7eb;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        justify-content: space-around;
    }
    
    .floor-plan-tab {
        flex: 0 0 auto;
        min-width: max-content;
        white-space: nowrap;
        padding: 4px 12px;
        font-size: 12px;
    }

    .plan-spec-value {
        font-size: 12px;
        color: #DC2626;
        font-weight: 700;
    }
    
    .lead-gen-cta-section .section-header h2 {
        font-size: 24px;
    }
    
    .lead-gen-cta-section p {
        font-size: 14px;
        margin: 20px 0 24px 0;
    }
    
    .lead-gen-cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .lead-gen-cta-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Property hero — extra small phones (matches listings ≤479px) */
@media (max-width: 479px) {
    .focus-banner.property-banner .focus-banner-image {
        height: 200px !important;
        min-height: 200px !important;
    }

    .focus-banner.property-banner .focus-content {
        padding: 16px 14px !important;
        top: 20px !important;
    }

    .focus-banner.property-banner .focus-content h3,
    .focus-banner.property-banner .focus-brand h3 {
        font-size: 16px !important;
    }

    .focus-banner.property-banner .focus-brand-subtitle {
        font-size: 11px !important;
    }

    .focus-banner.property-banner .focus-details span {
        font-size: 10px !important;
    }

    .focus-banner.property-banner .focus-cta-group {
        top: 165px !important;
        /* max-width: 100% !important; */
    }
}

