:root {
            --primary: #0F172A;
            --secondary: #915F78;
            --accent: #A66C8E;
            --luxe-bg: #FAF5FF;
        }

        html, body {
            height: 100%;
            margin: 0;
            padding: 0;
            font-family: 'Montserrat', sans-serif;
            overflow: hidden; /* Important for the full-screen map layout */
        }

        .back-nav {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 60px;
            background: white;
            border-bottom: 1px solid rgba(145, 95, 120, 0.1);
            display: flex;
            align-items: center;
            padding: 0 20px;
            z-index: 1000;
        }

        .btn-back {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            color: var(--primary);
            font-weight: 600;
            transition: var(--transition);
        }
        
        .btn-back:hover {
            color: var(--secondary);
            transform: translateX(-5px);
        }

        .neighborhood-discovery {
            box-sizing: border-box;
            position: absolute;
            top: 60px; /* Below back-nav */
            left: 0;
            bottom: 0;
            width: 100%;
        }

        .neighborhood-discovery a {
            color: var(--secondary);
            text-decoration: none;
        }

        .neighborhood-discovery button {
            background: none;
            border: none;
            color: inherit;
            cursor: pointer;
            font: inherit;
            font-size: inherit;
            padding: 0;
        }

        .neighborhood-discovery .info {
            color: #555;
            font-size: 0.9em;
            margin-top: 0.3em;
        }

        .neighborhood-discovery .panel {
            background: white;
            bottom: 0;
            box-sizing: border-box;
            left: 0;
            overflow-y: auto;
            position: absolute;
            top: 0;
            width: 22em;
            box-shadow: 10px 0 30px rgba(15, 23, 42, 0.05);
            z-index: 2;
        }

        .neighborhood-discovery .panel.no-scroll {
            overflow-y: hidden;
        }

        .neighborhood-discovery .photo {
            background-color: #f3f4f6;
            background-position: center;
            background-size: cover;
            border-radius: 12px;
            cursor: pointer;
        }

        .neighborhood-discovery .navbar {
            background: white;
            position: sticky;
            top: 0;
            z-index: 2;
            padding: 1.5rem 1rem;
            border-bottom: 1px solid #f1f5f9;
        }

        .neighborhood-discovery .right {
            float: right;
        }

        .neighborhood-discovery .star-icon {
            filter: invert(47%) sepia(35%) saturate(450%) hue-rotate(285deg) brightness(95%) contrast(90%);
            height: 1.1em;
            margin-right: -0.2em;
            margin-top: -0.05em;
            vertical-align: top;
            width: 1.1em;
        }

        .neighborhood-discovery .star-icon:last-child {
            margin-right: 0.2em;
        }

        .neighborhood-discovery .map {
            bottom: 0;
            left: 22em;
            position: absolute;
            right: 0;
            top: 0;
        }

        @media only screen and (max-width: 900px) {
            .neighborhood-discovery .panel {
                left: 0;
                right: 0;
                top: 50%;
                width: 100%;
                height: 50%;
            }

            .neighborhood-discovery .map {
                bottom: 50%;
                left: 0;
                right: 0;
                top: 0;
            }
        }

        /* --------------------------- PLACES PANEL --------------------------- */
        .neighborhood-discovery .places-panel header h1 {
            font-family: 'Prata', serif;
            font-size: 1.4rem;
            color: var(--primary);
            margin-bottom: 1rem;
        }

        .neighborhood-discovery .search-input input {
            border: 1px solid rgba(145, 95, 120, 0.2);
            border-radius: 12px;
            box-sizing: border-box;
            font-size: 0.95rem;
            height: 3rem;
            padding: 0 3rem 0 1.2rem;
            width: 100%;
            font-family: inherit;
        }
        
        .neighborhood-discovery .search-input input:focus {
            outline: none;
            border-color: var(--secondary);
            box-shadow: 0 0 0 3px rgba(145, 95, 120, 0.1);
        }

        .neighborhood-discovery .search-input button {
            position: absolute;
            right: 1.2rem;
            top: 1.1rem;
            color: var(--secondary);
        }

        .neighborhood-discovery .show-more-button {
            display: block;
            margin: 2rem auto;
            padding: 12px 24px;
            background: white;
            border: 1px solid var(--secondary);
            border-radius: 50px;
            color: var(--secondary);
            font-weight: 600;
            transition: var(--transition);
        }

        .neighborhood-discovery .show-more-button:hover:not(:disabled) {
            background: var(--secondary);
            color: white;
            box-shadow: 0 10px 20px rgba(145, 95, 120, 0.3);
        }

        .neighborhood-discovery .place-result {
            border-bottom: 1px dashed rgba(145, 95, 120, 0.1);
            cursor: pointer;
            display: flex;
            padding: 1.2rem 1rem;
            transition: background 0.3s;
        }
        
        .neighborhood-discovery .place-result:hover {
            background: var(--luxe-bg);
        }

        .neighborhood-discovery .place-result .name {
            font-family: 'Prata', serif;
            font-size: 1.1rem;
            font-weight: 400;
            text-align: left;
            color: var(--primary);
        }

        .neighborhood-discovery .place-result .photo {
            flex: 0 0 5em;
            height: 5em;
            margin-left: 1rem;
            border-radius: 12px;
        }

        /* -------------------------- DETAILS PANEL --------------------------- */
        .neighborhood-discovery .details-panel .back-button {
            color: var(--secondary);
            padding: 1.2rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .neighborhood-discovery .details-panel .back-button .icon {
            filter: invert(47%) sepia(35%) saturate(450%) hue-rotate(285deg) brightness(95%) contrast(90%);
        }

        .neighborhood-discovery .details-panel header {
            padding: 0 1.2rem 1.2rem;
        }

        .neighborhood-discovery .details-panel h2 {
            font-family: 'Prata', serif;
            font-size: 1.8rem;
            font-weight: 400;
            color: var(--primary);
            margin: 0 0 0.5rem;
        }

        .neighborhood-discovery .details-panel .section {
            border-top: 1px solid #f1f5f9;
            padding: 1.5rem 1.2rem;
        }

        .neighborhood-discovery .details-panel .contact {
            align-items: flex-start;
            display: flex;
            font-size: 0.95em;
            margin: 1rem 0;
        }

        .neighborhood-discovery .details-panel .contact .icon {
            width: 1.5em;
            height: 1.5em;
            color: var(--secondary);
        }

        .neighborhood-discovery .details-panel .contact .text {
            margin-left: 1rem;
            line-height: 1.5;
        }

        .neighborhood-discovery .details-panel .photos {
            text-align: center;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
        }

        .neighborhood-discovery .details-panel .photo {
            display: block;
            width: 100%;
            aspect-ratio: 1;
            border-radius: 8px;
        }
        
        /* Marker Pin */
        .marker-pin {
            display: none; /* Inlined in JS */
        }
