/* Structural styles only. Colors, fonts, sizes, and responsive breakpoints
   are generated dynamically from MultilocMap > Styling settings. */

.store-search-container {
    margin-bottom: 20px;
    position: relative;
}

.store-search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

#store-address-input {
    flex: 1;
    padding: 12px 15px;
    border-style: solid;
    border-width: 2px;
    transition: border-color 0.3s;
}

.store-search-button,
.store-reset-button {
    padding: 12px 30px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    white-space: nowrap;
}

.address-suggestions {
    position: absolute;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
}

.suggestion-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover { background-color: #f5f5f5; }

.search-status {
    padding: 10px;
    margin-top: 10px;
    display: none;
}
.search-status p { margin: 0; }

.map-store-item {
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.15s ease;
}

.sslocator-buttons a { text-decoration: none; }

.store-popup { min-width: 220px; }
.store-popup p {
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.store-popup svg { flex-shrink: 0; }
.store-popup a { text-decoration: none; }
.store-popup a:hover { text-decoration: underline; }

.popup-distance {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

#store-map {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 600px) {
    .store-search-bar { flex-direction: column; }
    .store-search-button, .store-reset-button { width: 100%; }
}
