html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #081a2f;
}

.store-shell {
    display: grid;
    grid-template-columns: 365px minmax(0, 1fr);
    height: calc(100vh - 72px);
    min-height: 620px;
    background: #fff;
}

body.embedded .store-shell {
    height: 100vh;
}

.store-sidebar {
    display: grid;
    grid-template-rows: auto auto auto minmax(0, 1fr);
    gap: 8px;
    border-right: 1px solid #d9e0e7;
    padding: 16px;
    overflow: hidden;
}

.store-search {
    display: grid;
    grid-template-columns: 1fr 48px;
    gap: 8px;
}

.store-search input,
.store-search button,
.location-button {
    border: 1px solid #cbd5df;
    border-radius: 6px;
    font: inherit;
    min-height: 44px;
}

.store-search input {
    padding: 0 14px;
}

.store-search button {
    background: #00799a;
    color: #fff;
    cursor: pointer;
    font-size: 22px;
    font-weight: 800;
}

.location-button {
    background: #fff;
    cursor: pointer;
    font-weight: 700;
}

.store-message {
    color: #8b6129;
    font-size: 13px;
    min-height: 18px;
}

.store-message:empty {
    display: none;
}

.store-count {
    color: #607086;
    font-size: 13px;
    padding: 10px 2px 4px;
}

.store-list {
    overflow: auto;
    border-top: 1px solid #edf0f4;
}

.store-item {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 12px;
    width: 100%;
    border: 0;
    border-bottom: 1px solid #edf0f4;
    background: #fff;
    cursor: pointer;
    padding: 18px 4px;
    text-align: left;
}

.store-item strong {
    display: block;
    color: #00799a;
    font-size: 15px;
    margin-bottom: 4px;
}

.store-item small,
.store-item em,
.store-item span span {
    display: block;
    color: #111;
    font-size: 14px;
    font-style: normal;
    line-height: 1.35;
}

.store-item em {
    margin-top: 10px;
}

.store-pin {
    width: 16px;
    height: 16px;
    border-radius: 50% 50% 50% 0;
    background: #00799a;
    transform: rotate(-45deg);
    margin: 4px auto 0;
}

.store-map {
    min-height: 520px;
}

.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
    background-color: rgba(0, 121, 154, .28);
}

.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
    background-color: #00799a;
    color: #fff;
    font-weight: 800;
}

.map-error {
    display: grid;
    place-items: center;
    height: 100%;
    color: #607086;
}

@media (max-width: 760px) {
    .store-shell {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(340px, 52vh) minmax(260px, 1fr);
        height: auto;
        min-height: 100vh;
    }

    .store-sidebar {
        order: 2;
        border-right: 0;
        border-top: 1px solid #d9e0e7;
    }
}
