.unlimited-map-wrapper-3d0de627 {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 550px; /* Fallback default height */
    min-height: 400px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    font-family: inherit;
}

.unlimited-map-container-3d0de627 {
    flex-grow: 1;
    height: 550px; /* Force fallback height directly on container */
    min-height: 400px;
    background: #f1f5f9;
    z-index: 1; /* Essential for Leaflet map elements layering */
}

.unlimited-map-sidebar-3d0de627 {
    background: #f8fafc;
    border-right: 1px solid #cbd5e1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

.sidebar-scroller {
    overflow-y: auto;
    height: 100%;
}

.sidebar-accordion-item {
    border-bottom: 1px solid #e2e8f0;
}

.accordion-header {
    padding: 14px 18px;
    background: #e2e8f0;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
    user-select: none;
}

.accordion-header:hover {
    background: #cbd5e1;
}

.accordion-header .chevron-icon {
    transition: transform 0.2s ease;
}

.sidebar-accordion-item.is-active .accordion-header .chevron-icon {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    background: #ffffff;
}

/* Removed display: block override to allow smooth jQuery slides without double-trigger bug */

.sidebar-location-item {
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: background 0.2s;
}

.sidebar-location-item:hover {
    background: #f1f5f9;
}

.sidebar-location-item.is-selected {
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
}

.sidebar-location-item .loc-title {
    font-weight: 700;
    color: #1e293b;
    font-size: 13.5px;
    line-height: 1.4;
}

.sidebar-location-item .loc-address {
    font-size: 11.5px;
    color: #475569;
    margin-top: 5px;
    line-height: 1.4;
}

.sidebar-location-item .loc-desc {
    font-size: 11px;
    color: #64748b;
    margin-top: 3px;
    font-style: italic;
}

/* Styled Info Window card matches Reference */
.gmap-infowindow-3d0de627 {
    font-family: inherit;
    font-size: 13px;
    line-height: 1.5;
    color: #1e293b;
    width: 240px;
    padding: 6px;
    box-sizing: border-box;
}

.gmap-infowindow-3d0de627 h3.iw-title {
    margin: 0 0 10px 0;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.gmap-infowindow-3d0de627 .iw-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 6px;
}

.gmap-infowindow-3d0de627 .iw-row:last-child {
    margin-bottom: 0;
}

.gmap-infowindow-3d0de627 .iw-icon {
    flex-shrink: 0;
    color: #64748b;
    margin-top: 2px;
}

.gmap-infowindow-3d0de627 .iw-text {
    font-size: 12px;
    color: #475569;
}

.gmap-infowindow-3d0de627 .iw-phone .iw-text a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 768px) {
    .unlimited-map-wrapper-3d0de627.has-sidebar {
        flex-direction: column-reverse;
    }
    .unlimited-map-sidebar-3d0de627 {
        width: 100% !important;
        flex: none !important;
        height: 250px;
        border-right: none;
        border-top: 1px solid #cbd5e1;
    }
}
