.toros-store-locator {
    --toros-red: #d71920;
    --toros-black: #0b0b0c;
    --toros-text: #444247;
    --toros-line: #eceff1;
    --toros-panel-width: clamp(320px, 35vw, 710px);
    display: grid;
    grid-template-columns: var(--toros-panel-width) minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    min-height: 520px;
    height: var(--toros-locator-height, min(760px, 78vh));
    overflow: hidden;
    background: #f7f8f8;
    border: 1px solid var(--toros-line);
    font-family: Poppins, Montserrat, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    box-sizing: border-box;
}

.toros-store-locator *,
.toros-store-locator *::before,
.toros-store-locator *::after {
    box-sizing: border-box;
}

.toros-store-locator__panel {
    min-width: 0;
    background: #fff;
    border-right: 1px solid var(--toros-line);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.toros-store-locator__search {
    position: sticky;
    top: 0;
    z-index: 10;
    min-height: 68px;
    padding: 0 16px 0 24px;
    border-bottom: 1px solid var(--toros-line);
    background: #fff;
    display: flex;
    align-items: center;
    gap: 14px;
}

.toros-store-locator__search-icon {
    flex: 0 0 auto;
    width: 25px;
    height: 25px;
    color: #d8d8dc;
}

.toros-store-locator__search input {
    min-width: 0;
    flex: 1 1 auto;
    width: auto;
    height: 48px;
    border: 0;
    border-radius: 0;
    padding: 0;
    color: var(--toros-black);
    font: 400 clamp(16px, 1.15vw, 24px)/1.2 inherit;
    outline: none;
    background: #fff;
    letter-spacing: 0;
}

.toros-store-locator__search input::placeholder {
    color: #a9a9ad;
    opacity: 1;
}

.toros-store-locator__list {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.toros-store-locator__store {
    display: block;
    width: 100%;
    min-height: 120px;
    padding: 22px 24px 21px;
    border: 0;
    border-bottom: 1px solid var(--toros-line);
    background: #fff;
    text-align: left;
    cursor: pointer;
    color: inherit;
    transition: background-color 160ms ease, box-shadow 160ms ease;
}

.toros-store-locator__store:hover,
.toros-store-locator__store:focus-visible {
    background: #fafafa;
}

.toros-store-locator__store:focus-visible {
    outline: 3px solid rgba(215, 25, 32, 0.22);
    outline-offset: -3px;
}

.toros-store-locator__store.is-active {
    background: #fff8f8;
    box-shadow: inset 5px 0 0 var(--toros-red);
}

.toros-store-locator__store-name {
    display: block;
    margin: 0 0 4px;
    color: var(--toros-black);
    font-size: clamp(18px, 1.4vw, 27px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: 0;
}

.toros-store-locator__store-address {
    display: block;
    color: var(--toros-text);
    font-size: clamp(11px, 0.825vw, 17px);
    font-weight: 400;
    line-height: 1.18;
    letter-spacing: 0;
}

.toros-store-locator__empty {
    padding: 26px 24px;
    color: var(--toros-text);
    font-size: 17px;
}

.toros-store-locator__map-wrap {
    position: relative;
    min-width: 0;
}

.toros-store-locator__map {
    width: 100%;
    height: 100%;
    min-height: 520px;
    background: #cfd8dc;
}

.toros-store-locator__map-error {
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: grid;
    place-items: center;
    color: var(--toros-text);
    background: #eef2f3;
    font-size: 18px;
    font-weight: 700;
}

.toros-store-locator__locate {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    color: #292d32;
    cursor: pointer;
    display: grid;
    place-items: center;
    padding: 0;
}

.toros-store-locator__locate svg {
    width: 22px;
    height: 22px;
    display: block;
}

.toros-store-locator__popup {
    min-width: 260px;
    max-width: 330px;
}

.toros-store-locator__popup strong {
    display: block;
    margin-bottom: 4px;
    color: var(--toros-black);
    font-size: 16px;
    line-height: 1.2;
}

.toros-store-locator__popup span {
    display: block;
    color: var(--toros-text);
    font-size: 14px;
    line-height: 1.35;
}

.toros-store-locator__popup a {
    display: inline-block;
    margin-top: 8px;
    color: var(--toros-red);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.toros-store-locator__hours {
    margin-top: 12px;
    padding: 10px 12px;
    border: 1px solid #edf0f1;
    border-radius: 6px;
    background: #fafafa;
}

.toros-store-locator__hours-title {
    display: block;
    margin: 0 0 7px;
    color: var(--toros-black);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 0;
}

.toros-store-locator__popup .toros-store-locator__hours-row {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: baseline;
    column-gap: 8px;
    color: var(--toros-text);
    font-size: 14px;
    line-height: 1.38;
    letter-spacing: 0;
}

.toros-store-locator__popup .toros-store-locator__hours-row b {
    color: var(--toros-black);
    font-weight: 800;
    min-width: 0;
}

.toros-store-locator__popup .toros-store-locator__hours-row em {
    font-style: normal;
    font-weight: 400;
    color: #414047;
}

.toros-store-locator .leaflet-container {
    font-family: inherit;
}

.toros-store-locator .leaflet-control-zoom a {
    color: #222;
    font-weight: 700;
}

.toros-store-locator .leaflet-popup-content-wrapper {
    border-radius: 6px;
}

.toros-store-locator .leaflet-popup-content {
    margin: 14px 16px;
}

.toros-store-locator .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 860px) {
    .toros-store-locator {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(300px, 42vh) minmax(320px, 1fr);
        height: auto;
        min-height: 0;
    }

    .toros-store-locator__panel {
        grid-row: 2;
        border-right: 0;
        border-top: 1px solid var(--toros-line);
        max-height: 480px;
    }

    .toros-store-locator__map-wrap {
        grid-row: 1;
        min-height: 300px;
    }

    .toros-store-locator__map {
        min-height: 300px;
    }

    .toros-store-locator__store {
        min-height: 94px;
        padding: 17px 20px;
    }

    .toros-store-locator__store-name {
        font-size: 19px;
    }

    .toros-store-locator__store-address {
        font-size: 11px;
        line-height: 1.25;
    }
}
