.rel-container-11793212 {
    display: flex;
    flex-direction: row; /* Desktop: Map on Left, Sidebar on Right */
    width: 100%;
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Map takes dominant space on the left */
.rel-map-container-11793212 {
    flex-grow: 1;
    height: 100%;
    position: relative;
    border-right: 1px solid #e5e7eb;
}

.rel-map-element-11793212 {
    width: 100%;
    height: 100%;
    z-index: 1;
}

.rel-map-badge-11793212 {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 999;
    background: #111827;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Sidebar on the right - widened to support 2-column aesthetic */
.rel-sidebar-11793212 {
    width: 780px;
    min-width: 650px;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    height: 100%;
    z-index: 10;
}

.rel-search-container-11793212 {
    padding: 20px;
    border-bottom: 1px solid #f3f4f6;
    background: #ffffff;
}

.rel-search-wrapper-11793212 {
    position: relative;
    display: flex;
    align-items: center;
}

.rel-search-icon-11793212 {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    color: #9ca3af;
    pointer-events: none;
}

.rel-search-input-11793212 {
    width: 100%;
    padding: 12px 16px 12px 42px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    background-color: #f9fafb;
    color: #111827;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.rel-search-input-11793212:focus {
    border-color: #1a56db;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(26, 86, 219, 0.1);
}

/* 2-Column Grid on Desktop */
.rel-list-11793212 {
    flex-grow: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px;
    background-color: #f9fafb;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    align-content: start;
}

/* High-Aesthetic listing cards matching image */
.rel-list-item-11793212 {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
}

.rel-list-item-11793212:hover,
.rel-list-item-11793212.rel-active-item {
    transform: translateY(-4px);
    border-color: #1a56db;
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.08), 0 8px 8px -6px rgba(0, 0, 0, 0.08);
}

/* Fix cropped images - use contain on beautiful soft bg to maintain ratio */
.rel-thumbnail-container-11793212 {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f3f4f6; /* Beautiful light background fallback */
    display: flex;
    align-items: center;
    justify-content: center;
}

.rel-thumbnail-11793212 {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Prevents raw image cropping while keeping aspect ratio */
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.rel-list-item-11793212:hover .rel-thumbnail-11793212 {
    transform: scale(1.05);
}

.rel-tag-11793212 {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: #111827;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    z-index: 2;
}

.rel-favorite-btn-11793212 {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #111827;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    z-index: 2;
}

.rel-favorite-btn-11793212 svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    transition: all 0.2s ease;
}

.rel-favorite-btn-11793212:hover {
    background: #ffffff;
    transform: scale(1.1);
}

.rel-favorite-btn-11793212.active svg {
    fill: #1a56db;
    stroke: #1a56db;
}

.rel-details-11793212 {
    padding: 16px;
}

.rel-price-row-11793212 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.rel-price-11793212 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #111827; /* PURE BLACK as requested */
    letter-spacing: -0.5px;
}

.rel-dots-btn-11793212 {
    color: #9ca3af;
    font-size: 14px;
    cursor: pointer;
}

.rel-specs-11793212 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 8px;
}

.rel-spec-item-11793212 strong {
    color: #111827;
    font-weight: 700;
}

.rel-spec-divider-11793212 {
    color: #e5e7eb;
}

/* Small, Aesthetic, Premium titles */
.rel-title-11793212 {
    margin: 0 0 6px 0;
    font-size: 12px; /* Small refined typography */
    font-weight: 600;
    line-height: 1.4;
    color: #4b5563; /* Elegant graphite charcoal */
    letter-spacing: -0.1px;
}

.rel-meta-11793212 {
    font-size: 11px;
    color: #9ca3af;
}

/* Beautiful Pagination Area */
.rel-pagination-container-11793212 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    border-top: 1px solid #f3f4f6;
    background: #ffffff;
}

.rel-page-btn-11793212 {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.rel-page-btn-11793212:hover {
    border-color: #1a56db;
    color: #1a56db;
    background-color: rgba(26, 86, 219, 0.02);
}

.rel-page-btn-11793212.active {
    background-color: #1a56db;
    border-color: #1a56db;
    color: #ffffff;
}

/* Leaflet Custom circular map marker styling */
.rel-map-pin-11793212 {
    width: 24px !important;
    height: 24px !important;
    background: #dc2626;
    border: 3px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.25);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.rel-map-pin-active-11793212 {
    background: #1a56db;
    transform: scale(1.2);
    box-shadow: 0 0 0 8px rgba(26, 86, 219, 0.25);
}

/* Elegant Custom Leaflet Popups */
.leaflet-popup-content-wrapper {
    padding: 0;
    overflow: hidden;
    border-radius: 16px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.leaflet-popup-content {
    margin: 0 !important;
    width: 260px !important;
}

.rel-popup-content-11793212 {
    display: flex;
    flex-direction: column;
    width: 260px;
}

.rel-popup-image-11793212 {
    width: 100%;
    height: 140px;
    object-fit: contain; /* aspect-ratio compliance inside map popup */
    background: #f3f4f6;
}

.rel-popup-details-11793212 {
    padding: 14px;
}

.rel-popup-title-11793212 {
    font-size: 12px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #111827;
    line-height: 1.4;
}

.rel-popup-price-11793212 {
    font-size: 14px;
    font-weight: 800;
    color: #1a56db;
    margin: 0;
}

.rel-no-properties-11793212 {
    text-align: center;
    padding: 50px 20px;
    color: #9ca3af;
}

.rel-no-properties-11793212 svg {
    margin-bottom: 12px;
    color: #d1d5db;
}

.rel-list-11793212::-webkit-scrollbar {
    width: 6px;
}
.rel-list-11793212::-webkit-scrollbar-track {
    background: transparent;
}
.rel-list-11793212::-webkit-scrollbar-thumb {
    background: #e5e7eb;
    border-radius: 4px;
}
.rel-list-11793212::-webkit-scrollbar-thumb:hover {
    background: #d1d5db;
}

/* Responsive side-by-side / stacked */
@media (max-width: 1199px) {
    .rel-sidebar-11793212 {
        width: 600px;
        min-width: 500px;
    }
}

@media (max-width: 991px) {
    .rel-sidebar-11793212 {
        width: 440px;
        min-width: 440px;
    }
    .rel-list-11793212 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .rel-container-11793212 {
        flex-direction: column; /* Stacked: Map on Top, Sidebar at bottom */
        height: auto !important;
        border-radius: 12px;
    }
    .rel-sidebar-11793212 {
        width: 100%;
        min-width: 100%;
        border-left: none;
        border-top: 1px solid #f3f4f6;
        height: 600px; /* Comfort height to avoid page collision on touch scroll */
    }
    .rel-list-11793212 {
        grid-template-columns: 1fr; /* 1 column on mobile */
        overflow-y: auto;
        -webkit-overflow-scrolling: touch; /* Smooth Touch scrolling */
        padding: 15px;
    }
    .rel-map-container-11793212 {
        width: 100%;
        height: 350px;
        border-right: none;
    }
}
