#csl-map {
    height: 500px;
    margin-bottom: 1rem;
}

/* Search block */
#csl-search {
    margin-bottom: 1rem;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

#csl-location-input,
#csl-radius-input {
    padding: 6px;
    margin-right: 10px;
}

#csl-radius-input {
    width: 150px;
}

#csl-search-btn,
#csl-reset-btn,
#csl-use-my-location {
    margin-right: 5px;
    cursor: pointer;
    border: 1px solid transparent;
    padding: 12px 40px;
    background-color: #000;
    color: #fff;
}

#csl-use-my-location {
    width: 250px;
}

#csl-search-btn:hover,
#csl-reset-btn:hover,
#csl-use-my-location:hover {
    background-color: #eee;
    border-color: #000;
    color: #000;
}

#csl-error-msg {
    color: red;
    margin-top: 10px;
    display: none;
}

.foraddressflex {
    display: flex;
}

.rangeopt {
    flex: 1 1 calc(50% - 10px);
}

.rangeopt-full {
    flex-basis: 100%;
}

.rangecolumnone {
    flex: 0 0 49%;
}

.rangecolumntwo {
    flex: 0 0 50%;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
}

/* Range slider styling */
#csl-radius-input {
    -webkit-appearance: none;
    height: 6px;
    background: #444;
    border-radius: 3px;
    outline: none;
    margin: 10px 0;
    cursor: pointer;
}

/* WebKit (Chrome, Safari) */
#csl-radius-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #00aaff;
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -6px;
}

/* Firefox */
#csl-radius-input::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #00aaff;
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
}

#csl-radius-input::-moz-range-track {
    background: #444;
    height: 6px;
    border-radius: 3px;
}

/* IE */
#csl-radius-input::-ms-thumb {
    width: 18px;
    height: 18px;
    background: #00aaff;
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
}

#csl-radius-input::-ms-track {
    background: transparent;
    border-color: transparent;
    color: transparent;
    height: 6px;
}

.range-wrapper {
    transform: translateY(10px);
}

/* Container layout */
.csl-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 20px;
}

/* Store list */
#csl-store-list-wrapper {
    width: 30%;
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 10px;
    box-sizing: border-box;
}

#csl-store-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#csl-store-list li {
    margin-bottom: 10px;
    padding: 8px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

#csl-store-list li:hover {
    background-color: #f0f0f0;
}

/* Map column */
#csl-map {
    width: 70%;
    height: 500px;
    border: 1px solid #ccc;
}

/* Custom marker icon override (uses external PNG) */
.leaflet-marker-icon.custom-black-marker {
    background: none;
    border: none;
}

/* Wrapper */
#store-locator {
    max-width: 1425px;
    font-family: "Helvetica Neue Cyr Medium", sans-serif;
    margin: 70px auto 70px auto;
    padding: 0 20px;
    width: 100%;
}