    #nexdirectory-map-default-wrapper #nexdirectory-map-apply,
    #nexdirectory-map-default-wrapper #nexdirectory-map-filters-apply,
    #nexdirectory-map-default-wrapper #nexdirectory-map-apply:hover,
    #nexdirectory-map-default-wrapper #nexdirectory-map-filters-apply:hover,
    #nexdirectory-map-default-wrapper #nexdirectory-map-apply:focus,
    #nexdirectory-map-default-wrapper #nexdirectory-map-filters-apply:focus {
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }
    #nexdirectory-map-default-wrapper #nexdirectory-map-apply *,
    #nexdirectory-map-default-wrapper #nexdirectory-map-filters-apply * {
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }
    #nexdirectory-map-default-wrapper .nexdirectory-map-sidebar label {
        font-size: 11px !important;
    }
    #nexdirectory-map-default-wrapper .nexdirectory-map-sidebar :is(input[type="text"], input[type="date"], select, button) {
        font-size: 13px !important;
    }
    #nexdirectory-map-default-wrapper #nexdirectory-map-apply,
    #nexdirectory-map-default-wrapper #nexdirectory-map-filters-apply {
        font-size: 13px !important;
        font-weight: 600 !important;
        letter-spacing: 0 !important;
    }
    #nexdirectory-map-default-wrapper #nexdirectory-map-use-location,
    #nexdirectory-map-default-wrapper #nexdirectory-map-search-area {
        font-size: 11px !important;
        font-weight: 600 !important;
    }
    #nexdirectory-map-default-wrapper #nexdirectory-map-sort {
        font-size: 13px !important;
        font-weight: 500 !important;
    }
    @media (min-width: 1024px) {
        #nexdirectory-map-default-wrapper [data-nexdirectory-map-sidebar-shell="1"] {
            align-self: flex-start;
        }
        #nexdirectory-map-default-wrapper .nexdirectory-map-content-row {
            overflow: visible !important;
        }
        #nexdirectory-map-default-wrapper .nexdirectory-map-sidebar {
            position: static !important;
            top: auto !important;
            height: auto !important;
            max-height: none !important;
            overflow: visible !important;
        }
        #nexdirectory-map-default-wrapper .nexdirectory-map-sidebar-scroll {
            min-height: auto;
            max-height: none !important;
            overflow: visible !important;
        }
    }
    .nexdirectory-map-popup-theme .leaflet-popup-content-wrapper {
        padding: 0 !important;
        overflow: hidden !important;
        border-radius: 18px !important;
        border: 1px solid #e5e7eb !important;
        box-shadow: 0 18px 38px rgba(15, 23, 42, 0.18) !important;
    }
    .leaflet-popup.nexdirectory-map-popup-frame .leaflet-popup-content-wrapper {
        padding: 0 !important;
        overflow: hidden !important;
        border-radius: 18px !important;
        border: 1px solid #e5e7eb !important;
        box-shadow: 0 18px 38px rgba(15, 23, 42, 0.18) !important;
    }
    .nexdirectory-map-popup-theme .leaflet-popup-content {
        margin: 0 !important;
        width: min(360px, calc(100vw - 36px)) !important;
        min-width: 260px;
        font-family: Inter, sans-serif;
    }
    .leaflet-popup.nexdirectory-map-popup-frame .leaflet-popup-content {
        margin: 0 !important;
        width: min(360px, calc(100vw - 36px)) !important;
        min-width: 260px;
        font-family: Inter, sans-serif;
    }
    .nexdirectory-map-popup-theme .leaflet-popup-tip {
        background: #fff;
    }
    .nexdirectory-map-popup-theme .leaflet-popup-close-button {
        top: 8px;
        right: 8px;
        width: 28px;
        height: 28px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.92);
        color: #334155;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.14);
        border: 1px solid rgba(203, 213, 225, 0.8);
        line-height: 26px;
        text-align: center;
        font-size: 20px;
        font-weight: 500;
    }
    .nexdirectory-map-popup-card {
        display: flex;
        flex-direction: column;
        width: 100%;
        background: #fff;
    }
    .nexdirectory-map-popup-image-link {
        display: block;
        width: 100%;
        margin: 0 !important;
        line-height: 0;
        text-decoration: none;
        background: #e2e8f0;
    }
    .nexdirectory-map-popup-image {
        display: block;
        width: 100%;
        height: 170px;
        object-fit: cover;
        margin: 0 !important;
    }
    .nexdirectory-map-popup-body {
        padding: 14px 16px 16px !important;
    }
    .nexdirectory-map-popup-title {
        margin: 0;
        font-size: 20px;
        line-height: 1.25;
        font-weight: 700;
        color: #0f172a;
    }
    .nexdirectory-map-popup-title a {
        color: inherit;
        text-decoration: none;
    }
    .nexdirectory-map-popup-title a:hover {
        color: var(--nexdirectory-primary-hover);
    }
    .nexdirectory-map-popup-meta {
        margin: 10px 0 0;
        color: #64748b;
        font-size: 13px;
        line-height: 1.5;
    }
    .nexdirectory-map-popup-meta-row {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }
    .nexdirectory-map-popup-meta-chip {
        display: inline-flex;
        align-items: center;
        padding: 2px 8px;
        border-radius: 999px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        font-size: 12px;
        color: #64748b;
    }
    .nexdirectory-map-popup-cta {
        margin-top: 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 36px;
        border-radius: 10px;
        border: 1px solid var(--nexdirectory-primary);
        background: var(--nexdirectory-primary);
        color: var(--nexdirectory-on-primary, #fff);
        text-decoration: none;
        font-size: 13px;
        font-weight: 600;
        padding: 0 14px;
        transition: background-color .18s ease, border-color .18s ease;
    }
    .nexdirectory-map-popup-cta,
    .nexdirectory-map-popup-cta:visited,
    .nexdirectory-map-popup-cta:active {
        color: #fff !important;
    }
    .nexdirectory-map-popup-cta:hover {
        border-color: var(--nexdirectory-primary-hover);
        background: var(--nexdirectory-primary-hover);
        color: var(--nexdirectory-on-primary, #fff) !important;
    }
