.sl-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    height: 600px;
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.sl-sidebar {
    width: 350px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #e2e8f0;
    background: #f8fafc;
    height: 100%;
    overflow: hidden;
}

.sl-search-box {
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
    flex-shrink: 0;
}

.sl-near-me-btn {
    width: 100%;
    padding: 10px;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
    font-size: 14px;
}

.sl-near-me-btn:hover {
    background: #059669;
}

.sl-search-box input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.sl-search-box input:focus {
    border-color: #3b82f6;
}

.sl-store-list {
    flex: 1;
    overflow-y: auto;
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0;
}

.sl-store-item {
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
    cursor: pointer;
    transition: background-color 0.2s;
    list-style: none !important;
    margin: 0 !important;
}

.sl-store-item:hover, .sl-store-item.active {
    background-color: #fff;
}

.sl-store-item h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #1e293b;
}

.sl-store-item p {
    margin: 5px 0;
    font-size: 13px;
    color: #475569;
    line-height: 1.4;
}

.sl-view-map-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 12px;
    font-size: 12px;
    color: #fff;
    background-color: #3b82f6;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.sl-view-map-btn:hover {
    background-color: #2563eb;
}

.sl-map-container {
    flex: 1;
    min-width: 300px;
    position: relative;
}

#sl-map {
    width: 100%;
    height: 100%;
    z-index: 1;
}

.sl-popup-content {
    min-width: 200px;
}

.sl-popup-content h4 {
    margin: 0 0 8px 0;
    font-size: 15px;
    color: #1e293b;
}

.sl-popup-content p {
    margin: 4px 0;
    font-size: 13px;
    color: #475569;
}

.sl-popup-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 8px;
}

.sl-popup-content a {
    display: inline-block;
    margin-top: 8px;
    color: #3b82f6;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .sl-container {
        flex-direction: column-reverse;
        height: auto;
        display: flex;
    }
    .sl-sidebar {
        width: 100%;
        height: 400px;
        border-right: none;
        border-top: 1px solid #e2e8f0;
        border-bottom: none;
        flex: none;
    }
    .sl-map-container {
        width: 100%;
        height: 400px;
        min-height: 400px;
        flex: none;
    }
}
