/* ============================================================
   RealNex Listings Pro — Single Property Page  (rnlp-single.css)
   ============================================================ */

/* ── Wrap ─────────────────────────────────────────────────────────────── */
.rnlp-sp-wrap {
    --sp-gold:    #d4af37;
    --sp-dark:    #0d1117;
    --sp-surface: #1a1f2e;
    --sp-border:  rgba(255,255,255,.08);
    --sp-text:    #e2e8f0;
    --sp-muted:   #94a3b8;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--sp-text);
    background: var(--sp-dark);
    min-height: 100vh;
    overflow-x: hidden;
    max-width: 100vw;
    box-sizing: border-box;
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.rnlp-sp-hero {
    position: relative;
    min-height: 60vh;
    background: var(--sp-surface) no-repeat center center / cover;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.rnlp-sp-hero--has-carousel {
    min-height: auto;
    background-image: none !important;
}
.rnlp-sp-hero--has-carousel .rnlp-sp-hero-overlay {
    display: none;
}
.rnlp-sp-hero--has-carousel .rnlp-sp-hero-content {
    max-width: 100%;
    padding: 28px 44px;
}
.rnlp-sp-hero--has-carousel .rnlp-sp-hero-title {
    text-shadow: none;
}
.rnlp-sp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.15) 0%, rgba(0,0,0,.75) 100%);
}
.rnlp-sp-hero-content {
    position: relative;
    z-index: 1;
    padding: 28px 80px 28px 24px;
    max-width: 70%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.rnlp-sp-hero-title {
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    word-break: break-word;
    margin: 0;
    line-height: 1.15;
    text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.rnlp-sp-hero-addr {
    font-size: 1rem;
    color: rgba(255,255,255,.8);
    margin: 0;
}
.rnlp-sp-badge {
    position: relative;
    align-self: flex-start;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    background: rgba(0,0,0,.55);
    color: #fff;
    border: 1px solid rgba(255,255,255,.15);
}
.rnlp-sp-badge--for-lease  { border-color: #22c55e; color: #86efac; }
.rnlp-sp-badge--for-sale   { border-color: #3b82f6; color: #93c5fd; }
.rnlp-sp-badge--sold       { border-color: #ef4444; color: #fca5a5; }
.rnlp-sp-price {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 2;
    background: rgba(0,0,0,.65);
    color: var(--sp-gold);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(212,175,55,.35);
}

/* ── Gallery ──────────────────────────────────────────────────────────── */
.rnlp-sp-gallery {
    background: var(--sp-surface);
    border-bottom: 1px solid var(--sp-border);
    padding: 16px 24px;
}
.rnlp-sp-gallery-main {
    cursor: zoom-in;
}
.rnlp-sp-gallery-slide img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}
.rnlp-sp-gallery-thumbs {
    margin-top: 10px;
}
.rnlp-sp-gallery-thumb {
    padding: 0 5px;
    cursor: pointer;
}
.rnlp-sp-gallery-thumb img {
    width: 100%;
    height: 82px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    opacity: .72;
}
.rnlp-sp-gallery-thumb:hover img,
.rnlp-sp-gallery-thumbs .slick-current img {
    opacity: 1;
}
@media (max-width: 768px) {
    .rnlp-sp-gallery {
        padding: 12px;
    }
    .rnlp-sp-gallery-slide img {
        max-height: 320px;
    }
}

/* ── Facts bar ────────────────────────────────────────────────────────── */
.rnlp-sp-facts-bar {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    background: var(--sp-surface);
    border-bottom: 1px solid var(--sp-border);
    margin-bottom: 32px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.rnlp-sp-facts-bar::-webkit-scrollbar { display: none; }
.rnlp-sp-fact {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 16px 24px;
    border-right: 1px solid var(--sp-border);
    min-width: 130px;
}
.rnlp-sp-fact-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--sp-muted);
}
.rnlp-sp-fact-val {
    font-size: 15px;
    font-weight: 700;
    color: var(--sp-gold);
    font-variant-numeric: tabular-nums;
}

/* ── Two-column body ──────────────────────────────────────────────────── */
.rnlp-sp-body {
    display: grid;
    grid-template-columns: 65fr 35fr;
    gap: 40px;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 48px 32px;
    align-items: start;
}
@media (max-width: 768px) {
    .rnlp-sp-body { grid-template-columns: 1fr; padding: 24px 16px; gap: 24px; }
    .rnlp-sp-hero-content { max-width: 100%; padding: 24px 20px; }
    .rnlp-sp-hero-title { font-size: 1.5rem; }
}

/* ── Sections ─────────────────────────────────────────────────────────── */
.rnlp-sp-section,
.rnlp-sp-body,
.rnlp-sp-body > * {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
}
.rnlp-sp-section {
    margin-bottom: 40px;
    padding-left: 40px !important;
    padding-right: 40px !important;
}
.rnlp-sp-section-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--sp-gold);
    margin: 0 0 16px;
    padding-bottom: 10px;
    padding-top: 10px;
    border-bottom: 1px solid var(--sp-border);
}
.rnlp-sp-desc {
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
    color: rgba(255,255,255,0.72) !important;
}
.rnlp-sp-contact-broker {
    color: var(--sp-muted);
    font-style: italic;
    font-size: .9rem;
}

/* ── Space table ──────────────────────────────────────────────────────── */
.rnlp-sp-table-wrap {
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid var(--sp-border);
}
.rnlp-sp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .875rem;
}
.rnlp-sp-table thead tr {
    background: rgba(212,175,55,.12);
}
.rnlp-sp-table thead th {
    padding: 12px 16px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--sp-gold);
    white-space: nowrap;
}
.rnlp-sp-table tbody tr {
    border-bottom: 1px solid var(--sp-border);
}
.rnlp-sp-table tbody tr:last-child { border-bottom: none; }
.rnlp-sp-table tbody tr:hover { background: rgba(255,255,255,.03); }
.rnlp-sp-table td {
    padding: 12px 16px;
    color: var(--sp-text);
    font-variant-numeric: tabular-nums;
    font-family: 'SF Mono','Fira Code',ui-monospace,monospace;
    font-size: .8rem;
}

.rnlp-sp-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.rnlp-sp-detail-item {
    padding: 14px 16px;
    border: 1px solid var(--sp-border);
    border-radius: 10px;
    background: rgba(255,255,255,.03);
}
.rnlp-sp-detail-label {
    display: block;
    margin-bottom: 5px;
    color: var(--sp-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.rnlp-sp-detail-value {
    color: var(--sp-text);
    font-weight: 700;
}

.rnlp-section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--rnlp-accent, var(--sp-gold));
    margin-bottom: .75rem;
}

.rnlp-highlights-list {
    list-style: none;
    padding: 0;
    margin: .75rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.rnlp-highlights-list li {
    padding-left: 1.25rem;
    position: relative;
    font-size: 14px;
    color: var(--rnlp-text-secondary, var(--sp-muted));
    line-height: 1.5;
}
.rnlp-highlights-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--rnlp-accent, var(--sp-gold));
    font-weight: 600;
}
.rnlp-attachments-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: .75rem;
}
.rnlp-attachment-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: var(--rnlp-text, var(--sp-text));
    text-decoration: none;
    transition: all .15s;
    font-size: 13px;
}
.rnlp-attachment-item:hover {
    background: rgba(201,168,76,0.08);
    border-color: rgba(201,168,76,0.3);
}
.rnlp-att-icon {
    font-size: 16px;
    flex-shrink: 0;
}
.rnlp-att-name {
    flex: 1;
}
.rnlp-att-dl {
    color: var(--rnlp-accent, var(--sp-gold));
    font-weight: 600;
}
.rnlp-price-table {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    overflow: hidden;
    margin: 1rem 0;
}
.rnlp-price-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 16px;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.rnlp-price-row:last-child {
    border-bottom: none;
}
.rnlp-price-row span:first-child {
    color: var(--rnlp-muted, var(--sp-muted));
}
.rnlp-price-row span:last-child {
    font-weight: 500;
    color: var(--rnlp-text, var(--sp-text));
    text-align: right;
}

/* ── Map ──────────────────────────────────────────────────────────────── */
.rnlp-sp-map-container {
    width: 100%;
    max-width: 100%;
    height: 440px;
    min-height: 440px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(212,175,55,.42);
    box-shadow: 0 18px 44px rgba(0,0,0,.28), 0 0 0 1px rgba(255,255,255,.03) inset;
    background: #07111f;
    box-sizing: border-box;
}
.rnlp-sp-map {
    width: 100%;
    max-width: 100%;
    height: 440px;
    min-height: 440px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(212,175,55,.42);
    background: #07111f;
    box-sizing: border-box;
}
.rnlp-sp-inline-map {
    width: 100% !important;
    height: 420px !important;
    min-height: 420px !important;
    flex-shrink: 0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    border: 1px solid rgba(212,175,55,.3);
    background: #07111f;
}
.rnlp-sp-map-container .leaflet-container,
.rnlp-sp-map-container.leaflet-container {
    background: #07111f;
    color: var(--sp-text);
    font-family: inherit;
}
.rnlp-sp-map-container .leaflet-control-zoom {
    border: 1px solid rgba(212,175,55,.35);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0,0,0,.28);
}
.rnlp-sp-map-container .leaflet-control-zoom a {
    width: 34px;
    height: 34px;
    line-height: 34px;
    background: rgba(11,23,40,.94);
    border-bottom-color: rgba(255,255,255,.08);
    color: #e8edf5;
    transition: background .15s, color .15s;
}
.rnlp-sp-map-container .leaflet-control-zoom a:hover {
    background: rgba(212,175,55,.16);
    color: var(--sp-gold);
}
.rnlp-sp-map-container .leaflet-control-attribution {
    background: rgba(11,23,40,.84);
    color: #94a3b8;
    border-radius: 8px 0 0 0;
    font-size: 10px;
}
.rnlp-sp-map-container .leaflet-control-attribution a,
.rnlp-sp-map-container.leaflet-container a {
    color: #22c7ff;
}
.rnlp-sp-map-container .leaflet-popup {
    margin-bottom: 18px;
}
.rnlp-sp-map-container .leaflet-popup-content-wrapper {
    background: #0b1728;
    color: #e8edf5;
    border: 1px solid rgba(212,175,55,.42);
    border-radius: 12px;
    box-shadow: 0 20px 44px rgba(0,0,0,.42);
    padding: 0;
    overflow: hidden;
}
.rnlp-sp-map-container .leaflet-popup-content {
    margin: 0;
    width: auto !important;
    min-width: 220px;
    max-width: 300px;
    color: #e8edf5;
    font-family: inherit;
    line-height: 1.45;
}
.rnlp-sp-map-container .leaflet-popup-tip {
    background: #0b1728;
    border: 1px solid rgba(212,175,55,.32);
    box-shadow: 6px 6px 18px rgba(0,0,0,.22);
}
.rnlp-sp-map-container .leaflet-popup-close-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 999px;
    color: #e8edf5 !important;
    background: rgba(255,255,255,.08);
    font-size: 20px;
    line-height: 26px;
    text-align: center;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.rnlp-sp-map-container .leaflet-popup-close-button:hover {
    background: rgba(212,175,55,.16);
    color: var(--sp-gold) !important;
}
.rnlp-map-popup {
    padding: 16px 18px 18px;
    color: #e8edf5;
    overflow-wrap: anywhere;
}
.rnlp-map-popup-kicker {
    margin: 0 34px 7px 0;
    color: var(--sp-gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.rnlp-map-popup-title {
    margin: 0 26px 6px 0;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
    word-break: break-word;
}
.rnlp-map-popup-address {
    margin: 0 0 12px;
    color: #a8b5c7;
    font-size: 12px;
    line-height: 1.45;
}
.rnlp-map-popup-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid rgba(34,199,255,.38);
    border-radius: 7px;
    color: #22c7ff !important;
    background: rgba(34,199,255,.08);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-decoration: none;
    text-transform: uppercase;
}
.rnlp-map-popup-link:hover {
    border-color: rgba(212,175,55,.72);
    color: var(--sp-gold) !important;
    background: rgba(212,175,55,.12);
}
.rnlp-map-popup--amenity {
    min-width: 180px;
}
@media (max-width: 640px) {
    .rnlp-sp-map-container,
    .rnlp-sp-map {
        height: 360px;
        min-height: 360px;
    }
    .rnlp-sp-map-container .leaflet-popup-content {
        min-width: 190px;
        max-width: 260px;
    }
}

.rnlp-map-property-pin {
    background: transparent;
    border: none;
}
.rnlp-map-property-pin span {
    position: relative;
    display: block;
    width: 28px;
    height: 28px;
    background: #c9a84c;
    border: 3px solid #fff;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 4px 12px rgba(0,0,0,.35);
}
.rnlp-map-property-pin span::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    left: 7px;
    top: 7px;
    background: #111827;
    border-radius: 50%;
}
.rnlp-map-amenity-icon {
    background: transparent;
    border: none;
}
.rnlp-map-amenity-icon span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0,0,0,.3);
    font-size: 14px;
}
.rnlp-map-traffic-label {
    background: rgba(10,12,16,0.9);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 8px 12px;
    color: #e8eaf0;
    font-size: 12px;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
}
.rnlp-drive-legend {
    background: rgba(10,12,16,0.9);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 10px 14px;
    color: #e8eaf0;
    font-size: 12px;
    font-family: 'DM Sans', sans-serif;
}
.rnlp-legend-title {
    font-weight: 600;
    color: #c9a84c;
    margin-bottom: 6px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.rnlp-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0;
}
.rnlp-legend-item span {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    display: inline-block;
    opacity: 0.8;
}
.rnlp-map-tooltip {
    background: rgba(10,12,16,0.9);
    border: 1px solid rgba(255,255,255,0.1);
    color: #e8eaf0;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
}

/* ── Sidebar ──────────────────────────────────────────────────────────── */
.rnlp-sp-sidebar {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ── Broker card ──────────────────────────────────────────────────────── */
.rnlp-sp-broker-card {
    background: var(--sp-surface);
    border: 1px solid var(--sp-border);
    border-top: 3px solid var(--sp-gold);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.rnlp-agent-grid {
    gap: 16px;
}
.rnlp-agent-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 12px;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--sp-border);
}
.rnlp-agent-card:last-child {
    padding-bottom: 0;
    border-bottom: none;
}
.rnlp-agent-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--sp-gold);
    color: #0d1117;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
}
.rnlp-agent-info {
    min-width: 0;
}
.rnlp-agent-name {
    display: block;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}
a.rnlp-agent-name:hover {
    text-decoration: underline;
}
.rnlp-agent-email {
    display: block;
    color: var(--sp-muted);
    font-size: .82rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rnlp-agent-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.rnlp-agent-btn {
    display: block;
    padding: 9px 10px;
    border: 1px solid var(--sp-border);
    border-radius: 8px;
    color: var(--sp-text);
    text-align: center;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
}
.rnlp-agent-btn:hover {
    border-color: rgba(201,168,76,.4);
    color: var(--sp-gold);
}
.rnlp-sp-broker-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--sp-gold);
    color: #0d1117;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    flex-shrink: 0;
}
.rnlp-sp-broker-name {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}
a.rnlp-sp-broker-name--link {
    display: block;
    text-decoration: none;
    color: #fff;
}
a.rnlp-sp-broker-name--link:hover {
    text-decoration: underline;
    opacity: .85;
}
/* ── Split ── */
.rnlp-sp-split {
    display: grid;
    grid-template-columns: 58% 42%;
    min-height: 540px;
    background: #050b14;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    align-items: flex-start !important;
}

/* ── Left: Photos ── */
.rnlp-sp-left {
    display: flex;
    flex-direction: column;
    background: #040c10;
    overflow: hidden;
}

.rnlp-sp-main-photo {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    background: #081018;
}

.rnlp-sp-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: opacity 0.25s ease;
    cursor: zoom-in;
}

.rnlp-hero-counter {
    position: absolute;
    top: 14px;
    right: 16px;
    background: rgba(0,0,0,0.55);
    color: rgba(255,255,255,0.85);
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    pointer-events: none;
}

/* Thumbnail strip */
.rnlp-sp-thumbs {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: #030810;
    overflow-x: auto;
    flex-shrink: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(201,168,76,0.3) transparent;
}

.rnlp-sp-thumb {
    flex: 0 0 88px;
    height: 62px;
    overflow: hidden;
    border-radius: 3px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.15s, opacity 0.15s;
    opacity: 0.65;
}

.rnlp-sp-thumb:hover { opacity: 0.9; }

.rnlp-sp-thumb.rnlp-thumb-active {
    border-color: #c9a84c;
    opacity: 1;
}

.rnlp-sp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

/* ── Right: Details ── */
.rnlp-sp-right {
    padding: 2.2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.9rem;
    background: #080f1e;
    border-left: 1px solid rgba(255,255,255,0.05);
    overflow-y: auto;
    height: auto !important;
    align-self: flex-start !important;
    min-height: unset !important;
}

.rnlp-sp-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(201,168,76,0.1);
    color: #c9a84c;
    border: 1px solid rgba(201,168,76,0.35);
    width: fit-content;
}

.rnlp-sp-name {
    font-size: clamp(1.2rem, 2vw, 1.75rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin: 0;
}

.rnlp-sp-addr {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.4;
}

.rnlp-sp-right .rnlp-sp-price {
    position: static;
    background: none;
    border: none;
    padding: 0;
    backdrop-filter: none;
    font-size: 1.35rem;
    font-weight: 700;
    color: #c9a84c;
}

.rnlp-sp-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 1rem;
    padding: 1rem;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}

.rnlp-sp-cta {
    margin-top: 1.5rem !important;
    padding: 0.85rem 1.5rem;
    background: #c9a84c;
    color: #050b14;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 0.2s;
    width: 100%;
}
.rnlp-sp-cta:hover { background: #deba5e; }

.rnlp-sp-brochure {
    display: block;
    text-align: center;
    color: rgba(255,255,255,0.45);
    font-size: 0.8rem;
    text-decoration: none;
    padding: 0.5rem;
    transition: color 0.2s;
}
.rnlp-sp-brochure:hover { color: #c9a84c; }

/* ── Lightbox ── */
.rnlp-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rnlp-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.93);
}
.rnlp-lightbox-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 92vw;
    max-height: 90vh;
}
.rnlp-lightbox-img {
    max-width: 84vw;
    max-height: 86vh;
    object-fit: contain;
    border-radius: 6px;
}
.rnlp-lightbox-close {
    position: absolute;
    top: -48px;
    right: 0;
    background: rgba(255,255,255,0.08);
    border: none;
    color: #fff;
    font-size: 1.3rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rnlp-lightbox-prev,
.rnlp-lightbox-next {
    background: rgba(255,255,255,0.08);
    border: none;
    color: #fff;
    font-size: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}
.rnlp-lightbox-prev:hover,
.rnlp-lightbox-next:hover,
.rnlp-lightbox-close:hover { background: rgba(201,168,76,0.3); }

/* ── Responsive ── */
@media (max-width: 768px) {
    .rnlp-sp-split { grid-template-columns: 1fr; min-height: auto; }
    .rnlp-sp-main-photo { min-height: 260px; }
    .rnlp-sp-right { padding: 1.5rem 1.2rem; }
}
/* Description placeholder */
.rnlp-sp-desc-placeholder { color: var(--sp-muted, #94a3b8); font-style: italic; }
.rnlp-sp-broker-phone a,
.rnlp-sp-broker-email a {
    font-size: .875rem;
    color: var(--sp-muted);
    text-decoration: none;
}
.rnlp-sp-broker-phone a:hover,
.rnlp-sp-broker-email a:hover {
    color: var(--sp-gold);
}
.rnlp-sp-broker-actions {
    display: flex;
    gap: 10px;
}

/* ── Buttons ──────────────────────────────────────────────────────────── */
.rnlp-sp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    padding: 0 20px;
    border-radius: 8px;
    font-size: .875rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: opacity .15s, transform .12s;
    border: none;
    font-family: inherit;
    letter-spacing: .03em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
}
.rnlp-sp-btn:hover { opacity: .88; transform: translateY(-1px); }
.rnlp-sp-btn:active { transform: none; }

.rnlp-sp-btn--outline {
    background: transparent;
    border: 1.5px solid var(--sp-border);
    color: var(--sp-text);
}
.rnlp-sp-btn--outline:hover { border-color: var(--sp-gold); color: var(--sp-gold); }

.rnlp-sp-btn--inquire {
    background: var(--sp-surface);
    border: 1.5px solid var(--sp-gold);
    color: var(--sp-gold);
}
.rnlp-sp-btn--inquire:hover { background: rgba(212,175,55,.12); }

.rnlp-sp-btn--deal-room {
    background: var(--sp-gold);
    color: #0d1117;
    font-size: .9rem;
    letter-spacing: .06em;
}

.rnlp-sp-broker-actions .rnlp-sp-btn {
    width: auto;
    flex: 1;
    height: 38px;
    font-size: .8rem;
}

.rnlp-sp-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 16px;
}
.rnlp-sp-actions button,
.rnlp-sp-actions a {
    width: 100% !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* ── Master contact form ──────────────────────────────────────────────── */
.rnlp-sp-master-contact {
    margin-top: 0;
}
form.rnlp-master-contact-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
}
form.rnlp-master-contact-form .rnlp-form-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    width: 100% !important;
}
.rnlp-sp-sidebar form.rnlp-master-contact-form .rnlp-form-grid {
    grid-template-columns: 1fr !important;
}
form.rnlp-master-contact-form .rnlp-form-full {
    width: 100% !important;
    display: block !important;
}
form.rnlp-master-contact-form input,
form.rnlp-master-contact-form textarea {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 12px 14px !important;
    border: 1px solid rgba(212, 169, 58, 0.4) !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    color: #0d1729 !important;
    font-size: 14px !important;
    font-family: inherit !important;
    outline: none !important;
    transition: border-color .15s, box-shadow .15s !important;
}
form.rnlp-master-contact-form input:focus,
form.rnlp-master-contact-form textarea:focus {
    border-color: #d4a93a !important;
    box-shadow: 0 0 0 3px rgba(212, 169, 58, 0.2) !important;
}
form.rnlp-master-contact-form textarea {
    resize: vertical !important;
    min-height: 110px !important;
}
.rnlp-master-submit-btn {
    width: 100% !important;
    padding: 14px !important;
    background: transparent !important;
    border: 2px solid #d4a93a !important;
    color: #d4a93a !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-size: 13px !important;
    transition: all .2s !important;
    box-sizing: border-box !important;
}
.rnlp-master-submit-btn:hover {
    background: #d4a93a !important;
    color: #0d1729 !important;
}
.rnlp-form-status {
    font-size: 13px;
    min-height: 20px;
}
/* ── Toast notification ────────────────────────────────────────────────── */
.rnlp-toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #0a1729;
    color: #d4a93a;
    padding: 14px 24px;
    border-radius: 8px;
    border: 1px solid #d4a93a;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    font-weight: 600;
    font-size: 14px;
    z-index: 99999;
    opacity: 0;
    transition: opacity .3s, transform .3s;
    pointer-events: none;
}
.rnlp-toast-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Amenity tile CSS moved to rnlp-main.css for guaranteed enqueue on all pages */

/* ── PropertyDetails new sections ─────────────────────────────────────── */
.rnlp-sp-highlights-body ul { list-style: none; padding: 0; margin: 16px 0; }
.rnlp-sp-highlights-body ul li { position: relative; padding: 8px 0 8px 24px; color: #cbd5e1; line-height: 1.5; }
.rnlp-sp-highlights-body ul li::before { content: "\25B8"; position: absolute; left: 0; color: #d4a93a; font-weight: 700; }
.rnlp-sp-highlights-body p { color: #cbd5e1; line-height: 1.6; }

.rnlp-pd-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 16px;
}
.rnlp-pd-stat {
    background: rgba(212,169,58,0.05);
    border: 1px solid rgba(212,169,58,0.2);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}
.rnlp-pd-stat-label {
    color: #94a3b8;
    font-size: 11px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.rnlp-pd-stat-value {
    color: #d4a93a;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}
.rnlp-pd-anchors {
    background: rgba(212,169,58,0.05);
    border: 1px solid rgba(212,169,58,0.2);
    border-radius: 10px;
    padding: 20px;
    grid-column: 1 / -1;
}
.rnlp-pd-anchor-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.rnlp-pd-anchor-pill { background: rgba(212,169,58,0.15); color: #d4a93a; padding: 6px 12px; border-radius: 999px; font-weight: 600; font-size: 13px; }

.rnlp-pd-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0 24px;
    margin-top: 16px;
    border-top: 1px solid rgba(212,169,58,0.15);
}
.rnlp-pd-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 16px 14px 0;
    border-bottom: 1px solid rgba(212,169,58,0.15);
}
.rnlp-pd-detail-label { color: #94a3b8; font-size: 12px; letter-spacing: 0.5px; font-weight: 600; }
.rnlp-pd-detail-value { color: #fff; font-weight: 600; font-size: 14px; }

.rnlp-pd-utilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
    margin-top: 16px;
}
.rnlp-pd-utility-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(212,169,58,0.04);
    border: 1px solid rgba(212,169,58,0.15);
    border-radius: 8px;
}
.rnlp-pd-utility-name { color: #cbd5e1; font-size: 14px; font-weight: 500; }
.rnlp-pd-utility-status { font-weight: 700; font-size: 18px; }
.rnlp-pd-util-yes { color: #22c55e; }
.rnlp-pd-util-no { color: #475569; }

.rnlp-sp-inquire-section {
    width: 100%;
    max-width: none;
    margin: 16px 0 0;
    padding: 18px;
    background: var(--sp-surface, #0a1729);
    border: 1px solid rgba(212,169,58,0.4);
    border-radius: 12px;
    box-sizing: border-box;
}
@media (max-width: 600px) {
    form.rnlp-master-contact-form .rnlp-form-grid {
        grid-template-columns: 1fr !important;
    }
}

.rnlp-demographics-dashboard {
    background: var(--rnlp-surface, #12151c);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 2rem 0;
}
.rnlp-demo-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rnlp-accent, #c9a84c);
    margin-bottom: 1.5rem;
}
.rnlp-demo-rings {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.rnlp-demo-ring-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    max-width: 140px;
    margin: 0 auto;
}
.rnlp-demo-ring {
    width: 120px !important;
    height: 120px !important;
    max-width: 120px !important;
    max-height: 120px !important;
    display: block !important;
    flex-shrink: 0;
}
svg.rnlp-demo-ring {
    width: 120px !important;
    height: 120px !important;
}
.rnlp-ring-arc { transition: stroke-dasharray 1s ease; }
.rnlp-demo-ring-label {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.rnlp-demo-bars {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.rnlp-demo-bar-row {
    display: grid;
    grid-template-columns: 160px 1fr 80px;
    align-items: center;
    gap: 12px;
}
.rnlp-demo-bar-label {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}
.rnlp-demo-bar-track {
    height: 6px;
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
    overflow: hidden;
}
.rnlp-demo-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1s ease;
}
.rnlp-demo-bar-value {
    font-size: 12px;
    font-weight: 600;
    color: #e8eaf0;
    text-align: right;
}

@media (max-width: 768px) {
    .rnlp-sp-detail-grid,
    .rnlp-demo-rings {
        grid-template-columns: repeat(2, 1fr);
    }
    .rnlp-demo-bar-row {
        grid-template-columns: 120px 1fr 60px;
    }
}

/* ── More from broker ─────────────────────────────────────────────────── */
.rnlp-sp-more {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px 64px;
}
@media (max-width: 768px) { .rnlp-sp-more { padding: 0 16px 40px; } }

.rnlp-sp-more-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 24px;
    padding-top: 8px;
    border-top: 1px solid var(--sp-border);
    padding-bottom: 16px;
}
.rnlp-sp-more-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 768px) {
    .rnlp-sp-more-grid { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .rnlp-sp-more-grid { grid-template-columns: repeat(2, 1fr); }
}
.rnlp-sp-more-card {
    display: block;
    background: var(--sp-surface);
    border: 1px solid var(--sp-border);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: border-color .2s, transform .2s;
}
.rnlp-sp-more-card:hover {
    border-color: rgba(212,175,55,.4);
    transform: translateY(-3px);
}
.rnlp-sp-more-img {
    height: 180px;
    background: var(--sp-dark) no-repeat center center / cover;
}
.rnlp-sp-more-body {
    padding: 16px;
}
.rnlp-sp-more-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--sp-gold);
    margin-bottom: 6px;
}
.rnlp-sp-more-name {
    font-size: .9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    line-height: 1.3;
}
.rnlp-sp-more-addr {
    font-size: .8rem;
    color: var(--sp-muted);
    margin-bottom: 6px;
}
.rnlp-sp-more-price {
    font-size: .875rem;
    font-weight: 700;
    color: var(--sp-gold);
}

/* ── Not found ────────────────────────────────────────────────────────── */
.rnlp-not-found {
    text-align: center;
    padding: 80px 20px;
    color: var(--sp-muted);
    font-size: 1rem;
}

/* ── Free API data sections ───────────────────────────────────────────── */
.rnlp-neighborhood-card,
.rnlp-neighborhood-pill,
#rnlp-neighborhood-section .rnlp-card,
#rnlp-neighborhood-section [class*="card"],
#rnlp-neighborhood-section [class*="pill"] {
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: rgba(255,255,255,0.75) !important;
    border-radius: 8px !important;
}
#rnlp-neighborhood-section [class*="icon"],
#rnlp-neighborhood-section svg {
    color: #c9a84c !important;
    fill: #c9a84c !important;
}
.rnlp-neighborhood-card {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    font-size: 13px;
}
.rnlp-nbhd-name {
    font-weight: 600;
    color: rgba(255,255,255,0.85);
}
.rnlp-nbhd-county {
    color: rgba(255,255,255,0.45);
    font-size: 12px;
}
.rnlp-amenities-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
/* JS-rendered amenities now use .rnlp-amenity-tile (see premium tiles above) */
.rnlp-env-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--rnlp-border, #e2e8f0);
    font-size: 12px;
}
.rnlp-env-label { color: var(--rnlp-meta-text, #64748b); }
.rnlp-env-val { font-weight: 600; color: var(--rnlp-accent, #013161); }
.rnlp-walk-scores {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.rnlp-walk-score-circle {
    width: 80px; height: 80px;
    border-radius: 50%;
    border: 3px solid var(--rnlp-accent, #013161);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.rnlp-walk-score-num {
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    color: var(--rnlp-accent, #013161);
}
.rnlp-walk-score-lbl {
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--rnlp-meta-text, #64748b);
    margin-top: 2px;
}
.rnlp-walk-loading {
    font-size: 12px;
    color: var(--rnlp-meta-text, #64748b);
    font-style: italic;
}

/* ── Compact Nearby Amenities ─────────────────────────────────────────── */
.rnlp-sp-wrap .rnlp-amenity-heading {
    gap: 2px;
    margin-bottom: 10px;
}
.rnlp-sp-wrap .rnlp-amenity-subtitle {
    font-size: 11px;
    letter-spacing: .04em;
}
.rnlp-sp-wrap .rnlp-amenity-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0;
}
.rnlp-sp-wrap .rnlp-amenity-tile {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: auto;
    min-width: 0;
    min-height: 0;
    padding: 8px 10px;
    background: rgba(10, 23, 40, .72);
    border: 1px solid rgba(212,175,55,.24);
    border-radius: 999px;
    box-shadow: none;
    text-align: left;
    transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
.rnlp-sp-wrap .rnlp-amenity-tile::after {
    display: none;
}
.rnlp-sp-wrap .rnlp-amenity-tile:hover {
    transform: translateY(-1px);
    background: rgba(12, 28, 48, .92);
    border-color: rgba(212,175,55,.5);
    box-shadow: 0 8px 18px rgba(0,0,0,.18);
}
.rnlp-sp-wrap .rnlp-amenity-icon,
.rnlp-sp-wrap .rnlp-amenity-note {
    display: none;
}
.rnlp-sp-wrap .rnlp-amenity-label {
    order: 1;
    color: #d7deea;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: none;
    white-space: nowrap;
}
.rnlp-sp-wrap .rnlp-amenity-label::after {
    content: ':';
}
.rnlp-sp-wrap .rnlp-amenity-count {
    order: 2;
    color: var(--sp-gold);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    margin: 0;
    font-variant-numeric: tabular-nums;
}

/* ── Photo carousel ───────────────────────────────────────────────────── */
.rnlp-sp-carousel {
    position: relative;
    overflow: hidden;
    height: clamp(380px, 42vw, 500px);
    max-height: 500px;
    background: #050b14;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.rnlp-carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.35s ease;
    will-change: transform;
}
.rnlp-carousel-track.slick-initialized {
    display: block;
}
.rnlp-carousel-track.slick-initialized,
.rnlp-carousel-track.slick-initialized .slick-list,
.rnlp-carousel-track.slick-initialized .slick-track {
    height: 100%;
    max-height: 500px;
}
.slick-initialized .rnlp-carousel-slide {
    display: block;
    float: left;
}
.rnlp-carousel-slide {
    min-width: 100%;
    height: 100%;
    max-height: 500px;
    flex: 0 0 100%;
    flex-shrink: 0;
    display: none;
    background: #050b14;
}
.rnlp-carousel-slide:first-child,
.rnlp-sp-carousel.rnlp-carousel-ready .rnlp-carousel-slide {
    display: block;
}
.rnlp-carousel-img {
    width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: contain;
    object-position: center;
    display: block;
    cursor: zoom-in;
    background-color: #050b14;
}
.slick-initialized .rnlp-carousel-img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    max-height: 500px;
}
.rnlp-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.rnlp-carousel-btn:hover { background: rgba(0,0,0,0.9); }
.rnlp-carousel-prev { left: 12px; }
.rnlp-carousel-next { right: 12px; }
.rnlp-photo-counter,
.rnlp-carousel-counter {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 10;
}
.rnlp-thumb-strip {
    display: flex;
    gap: 6px;
    padding: 8px 10px;
    margin-bottom: 28px;
    background: #050b14;
    border-bottom: 1px solid rgba(255,255,255,.08);
    overflow-x: auto;
}
.rnlp-thumb {
    width: 80px;
    height: 54px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    border: 2px solid transparent;
    border-radius: 3px;
    flex-shrink: 0;
    transition: all 0.2s;
}
.rnlp-thumb:hover,
.rnlp-thumb.active {
    opacity: 1;
    border-color: var(--rnlp-accent, #013161);
}
@media (max-width: 768px) {
    .rnlp-sp-carousel {
        height: clamp(260px, 58vw, 340px);
        max-height: 340px;
    }
    .rnlp-carousel-track,
    .rnlp-carousel-track.slick-initialized,
    .rnlp-carousel-track.slick-initialized .slick-list,
    .rnlp-carousel-track.slick-initialized .slick-track,
    .rnlp-carousel-slide,
    .rnlp-carousel-img,
    .slick-initialized .rnlp-carousel-img {
        max-height: 340px;
    }
    .rnlp-thumb {
        width: 64px;
        height: 44px;
    }
}
@media (max-width: 520px) {
    .rnlp-sp-wrap .rnlp-amenity-grid {
        gap: 6px;
    }
    .rnlp-sp-wrap .rnlp-amenity-tile {
        padding: 7px 9px;
    }
    .rnlp-sp-wrap .rnlp-amenity-label,
    .rnlp-sp-wrap .rnlp-amenity-count {
        font-size: 11px;
    }
}

/* ── Demographics empty state ────────────────────────────────────────── */
.rnlp-demo-empty {
    background: rgba(15, 25, 43, 0.6);
    border: 1px solid rgba(212, 169, 58, 0.15);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
}
.rnlp-demo-empty p {
    color: var(--sp-muted, #94a3b8);
    font-size: 14px;
    margin: 0;
}

/* ── Photo teardrop pin ── */
.rnlp-photo-pin {
    display: flex;
    flex-direction: column;
    align-items: center;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.5));
    cursor: pointer;
}
.rnlp-photo-pin__img {
    width: 52px;
    height: 52px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    overflow: hidden;
    border: 3px solid #c9a84c;
    background: #0d1f2d;
    transition: transform 0.2s;
}
.rnlp-photo-pin:hover .rnlp-photo-pin__img {
    transform: rotate(-45deg) scale(1.12);
}
.rnlp-photo-pin__img img {
    width: 130%;
    height: 130%;
    margin: -15% 0 0 -15%;
    object-fit: cover;
    transform: rotate(45deg);
    pointer-events: none;
}
.rnlp-photo-pin__fallback {
    width: 100%;
    height: 100%;
}
.rnlp-photo-pin__tip {
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 11px solid #c9a84c;
    margin-top: -1px;
}

/* ── Photo pin: listings map variant (68px, S/L label) ── */
.rnlp-photo-pin--map .rnlp-photo-pin__img {
    width: 68px;
    height: 68px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    overflow: hidden;
    border: 3px solid #c9a84c;
    background: #0d1f2d;
    position: relative;
    flex-shrink: 0;
}
.rnlp-photo-pin--map .rnlp-photo-pin__img img {
    width: 145%;
    height: 145%;
    margin: -22% 0 0 -22%;
    object-fit: cover;
    transform: rotate(45deg);
    pointer-events: none;
    display: block;
}
.rnlp-photo-pin__label {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0;
    z-index: 2;
    transform: rotate(45deg);
    border: 1.5px solid rgba(255,255,255,0.8);
}
.rnlp-photo-pin--map .rnlp-photo-pin__tip {
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 14px solid #c9a84c;
    margin-top: -1px;
}

/* ── Property pin pulse ── */
.rnlp-map-pulse {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.35);
    border: 2px solid rgba(201, 168, 76, 0.7);
    animation: rnlp-pulse 2s ease-out 3;
}
@keyframes rnlp-pulse {
    0%   { transform: scale(0.8); opacity: 1; }
    70%  { transform: scale(2.2); opacity: 0; }
    100% { transform: scale(0.8); opacity: 0; }
}

/* ── Satellite toggle button ── */
.rnlp-map-sat-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: rgba(255,255,255,0.92) !important;
    border-radius: 6px !important;
    padding: 6px 10px !important;
    font-size: 16px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
    transition: background 0.2s;
}
.rnlp-map-sat-btn:hover {
    background: #fff !important;
}

/* ── Mapbox dark popup ── */
.mapboxgl-popup-content {
    background: #0a1729 !important;
    border: 1px solid rgba(201,168,76,0.25) !important;
    border-radius: 10px !important;
    padding: 0 !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5) !important;
}
.mapboxgl-popup-tip {
    border-top-color: #0a1729 !important;
    border-bottom-color: #0a1729 !important;
}
.mapboxgl-popup-close-button {
    color: rgba(255,255,255,0.5) !important;
    font-size: 18px !important;
    padding: 6px 10px !important;
}
.mapboxgl-popup-close-button:hover {
    color: #c9a84c !important;
    background: transparent !important;
}
.rnlp-map-popup--property { padding: 16px 20px 18px; }
.rnlp-map-popup-kicker {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c9a84c;
    margin-bottom: 8px;
}
.rnlp-map-popup-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 6px;
}
.rnlp-map-popup-address {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    line-height: 1.4;
    margin-bottom: 12px;
}
.rnlp-map-popup-cta {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c9a84c;
    text-decoration: none;
    border-bottom: 1px solid rgba(201,168,76,0.3);
    padding-bottom: 1px;
    transition: border-color 0.2s;
}
.rnlp-map-popup-cta:hover { border-color: #c9a84c; color: #deba5e; }

/* ── Property detail photo teardrop pin ── */
.rnlp-sp-photo-pin {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.6)) !important;
    cursor: pointer !important;
}
.rnlp-sp-photo-pin__img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% 50% 50% 0 !important;
    transform: rotate(-45deg) !important;
    overflow: hidden !important;
    border: 3px solid #c9a84c !important;
    background: #0d1f2d !important;
    position: relative !important;
    flex-shrink: 0 !important;
}
.rnlp-sp-photo-pin__img img {
    width: 145% !important;
    height: 145% !important;
    margin: -22% 0 0 -22% !important;
    object-fit: cover !important;
    transform: rotate(45deg) !important;
    pointer-events: none !important;
    display: block !important;
}
.rnlp-sp-photo-pin__fallback { width: 100%; height: 100%; }
.rnlp-sp-photo-pin__tip {
    width: 0 !important;
    height: 0 !important;
    border-left: 8px solid transparent !important;
    border-right: 8px solid transparent !important;
    border-top: 12px solid #c9a84c !important;
    margin-top: -1px !important;
}

/* ── Hero prev/next arrows ── */
.rnlp-sp-main-photo {
    position: relative !important;
    overflow: hidden !important;
}
.rnlp-hero-prev,
.rnlp-hero-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: rgba(0,0,0,0.45) !important;
    border: none !important;
    color: #fff !important;
    font-size: 2.6rem !important;
    width: 52px !important;
    height: 80px !important;
    cursor: pointer !important;
    z-index: 20 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: background 0.2s !important;
}
.rnlp-hero-prev { left: 0 !important; border-radius: 0 4px 4px 0 !important; }
.rnlp-hero-next { right: 0 !important; border-radius: 4px 0 0 4px !important; }
.rnlp-hero-prev:hover,
.rnlp-hero-next:hover { background: rgba(201,168,76,0.6) !important; }

/* Walk Score bar display */
.rnlp-walkscore-section { padding: 24px 32px; }
.rnlp-ws-grid { display: flex; flex-direction: column; gap: 14px; }
.rnlp-ws-row {
    display: grid;
    grid-template-columns: 120px 1fr 40px;
    align-items: center;
    gap: 16px;
}
.rnlp-ws-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.4);
}
.rnlp-ws-bar-wrap {
    height: 3px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    overflow: hidden;
}
.rnlp-ws-bar {
    height: 100%;
    background: #c9a84c;
    border-radius: 2px;
    transition: width 0.8s ease;
}
.rnlp-ws-score {
    font-size: 13px;
    font-weight: 700;
    color: #c9a84c;
    text-align: right;
}

/* ── Listings map dark popup ── */
.rnlp-pp {
    width: 280px;
    overflow: hidden;
    border-radius: 10px;
}
.rnlp-pp-photo {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: #0a1729;
}
.rnlp-pp-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.rnlp-pp-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #fff;
    text-transform: uppercase;
}
.rnlp-pp-price {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-size: 15px;
    font-weight: 800;
    color: #c9a84c;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}
.rnlp-pp-body {
    padding: 14px 16px 16px;
    background: #0a1729;
}
.rnlp-pp-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 4px;
}
.rnlp-pp-addr {
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    line-height: 1.4;
    margin-bottom: 8px;
}
.rnlp-pp-meta {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 12px;
}
.rnlp-pp-cta {
    display: block;
    background: #c9a84c;
    color: #050b14;
    text-align: center;
    padding: 9px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: background 0.2s;
}
.rnlp-pp-cta:hover { background: #deba5e; color: #050b14; }

/* ── Right panel + section padding (v3.7.49) ───────────────────────── */
.rnlp-sp-right {
    padding-left: 28px !important;
    padding-right: 28px !important;
    padding-bottom: 28px !important;
}
.rnlp-sp-section {
    padding-left: 40px !important;
    padding-right: 40px !important;
}

/* ── Map control button (property detail satellite toggle) ───────────── */
.rnlp-ctrl-btn {
    width: 29px; height: 29px;
    display: flex !important; align-items: center; justify-content: center;
    border: none; background: #fff; cursor: pointer;
    transition: background 0.15s; padding: 0;
}
.rnlp-ctrl-btn:hover { background: #f0f0f0; }
.rnlp-ctrl-btn.rnlp-ctrl-active { background: #0a1729 !important; }
.rnlp-ctrl-btn.rnlp-ctrl-active .rnlp-ctrl-icon { filter: brightness(2); }
.rnlp-ctrl-icon { font-size: 14px; line-height: 1; pointer-events: none; }
