 <style>


        * {
            /*box-sizing: border-box;*/
        }


        #map-wrapper {
            position: relative;
            border-radius: 0px;
            overflow: hidden;
            /*box-shadow:
                0 20px 60px rgba(107, 45, 62, 0.15),
                0 0 0 1px rgba(107, 45, 62, 0.1);*/
            animation: fadeInUp 0.8s ease-out 0.2s backwards;
        }

        #mapfull-wrapper {
            position: relative;
            border-radius: 0px;
            overflow: hidden;
            box-shadow:
                0 20px 60px rgba(107, 45, 62, 0.15),
                0 0 0 1px rgba(107, 45, 62, 0.1);
            animation: fadeInUp 0.8s ease-out 0.2s backwards;
        }

        #map {
            width: 100%;
            min-height: 500px;
            background-color: #f5f1e8;
        }

        .map-container,
        #map-wrapper,
        #map {
          flex: 1;
          display: flex;
          flex-direction: column;
          height: 100%;
        }

        #mapfull {
            width: 100%;
            min-height: 100vh;
            background-color: #f5f1e8;
        }

        /* Custom controls */
        .map-controls {
            position: absolute;
            top: 20px;
            right: 20px;
            z-index: 1000;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .control-btn {
            width: 44px;
            height: 44px;
            background: rgba(255, 255, 255, 0.95);
            border: none;
            border-radius: 8px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            color: #6b2d3e;
            transition: all 0.3s ease;
            backdrop-filter: blur(8px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .control-btn:hover {
            background: none;
            color: black;
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(107, 45, 62, 0.25);
        }

        .control-btn:active {
            transform: translateY(0);
        }

        /* Custom marker styles */
        .custom-marker {
            background: #f8c327;
            width: 32px;
            height: 32px;
            border-radius: 50% 50% 50% 0;
            transform: rotate(-45deg);
            border: 3px solid white;
            box-shadow: 0 4px 12px rgba(107, 45, 62, 0.4);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .custom-marker:hover {
            transform: rotate(-45deg) scale(1.2);
            box-shadow: 0 6px 20px rgba(107, 45, 62, 0.6);
        }

        .custom-marker::after {
            content: '';
            position: absolute;
            width: 8px;
            height: 8px;
            background: white;
            border-radius: 50%;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(45deg);
        }

        /* Custom popup/tooltip styles */
        .leaflet-popup-content-wrapper {
            background: white;
            border-radius: 12px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
            padding: 0;
            overflow: hidden;
        }

        .leaflet-popup-content {
            margin: 0;
            width: 360px !important;
            max-width: 90vw;
        }

        .popup-content {
            font-family: 'Montserrat', sans-serif;
            text-align: center;
        }

        .popup-image {
            width: 100%;
            /*height: 180px;*/
            object-fit: cover;
            display: block;
        }

        .popup-body {
            padding: 1.5rem;
        }

        h4.popup-title a {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.5rem;
            font-weight: 300;
            text-transform: uppercase;
            color: #6b2d3e;
            margin-bottom: 0.75rem;
            text-align: center;
            margin-top: 0;
        }

        h4.popup-title a:hover {
            color: #333;
            /*text-decoration: none;*/
        }

        .popup-label {
            display: inline-block;
            background: #f5f1e8;
            color: #000;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 1rem;
        }

        .popup-description {
            line-height: 1.6;
            font-size: 0.95rem;
            margin-bottom: 1rem;
        }

        .popup-details {
            display: flex;
            gap: 1rem;
            padding-top: 1rem;
            margin-top: 30px;
            border-top: 1px solid rgba(0, 0, 0, 0.1);
        }

        .detail-item {
            flex: 1;
            text-align: center;
        }

        .detail-label {
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: rgba(0, 0, 0, 0.5);
            margin-bottom: 0.25rem;
        }

        .detail-value {
            font-weight: 500;
            color: #6b2d3e;
            font-size: 1rem;
        }

        .leaflet-popup-tip {
            background: white;
        }

        .leaflet-popup-close-button {
            color: #6b2d3e !important;
            font-size: 24px !important;
            padding: 8px 12px !important;
        }

        .leaflet-popup-close-button:hover {
            color: var(--dark) !important;
        }

        /* Legend */
        .map-legend {
            position: absolute;
            bottom: 20px;
            left: 20px;
            background: rgba(255, 255, 255, 0.95);
            padding: 0.7rem 1.25rem;
            border-radius: 8px;
            /*border: 2px solid var(--burgundy);*/
            z-index: 1000;
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .legend-title {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.1rem;
            font-weight: 600;
            color: #6b2d3e;
            margin-bottom: 0.75rem;
        }

        .legend-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 0.7rem;
            margin-top: 0.7rem;
            font-size: 0.85rem;
        }

        .legend-color {
            width: 20px;
            height: 20px;
            border-radius: 4px;
            /*border: 2px solid white;*/
            /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);*/
        }

        /* Loading state */
        .loading {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 2000;
            background: rgba(255, 255, 255, 0.95);
            padding: 2rem;
            border-radius: 12px;
            text-align: center;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        }

        .spinner {
            width: 40px;
            height: 40px;
            border: 4px solid #f5f1e8;
            border-top-color: #6b2d3e;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 1rem;
        }

        /* Animations */
        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* Responsive */
        @media (max-width: 768px) {
            .container {
                padding: 1rem;
            }

            #map {
                height: 60vh;
                min-height: 400px;
            }

            .map-controls {
                top: 10px;
                right: 10px;
                gap: 6px;
            }

            .control-btn {
                width: 38px;
                height: 38px;
                font-size: 1rem;
            }

            .map-legend {
                bottom: 10px;
                left: 10px;
                padding: 0.75rem 1rem;
                font-size: 0.85rem;
            }

            .leaflet-popup-content {
                width: 280px !important;
            }

            .popup-body {
                padding: 1rem;
            }
        }
    </style>
