.store-locator-page {
    --store-locator-height: clamp(540px, 64vh, 640px);
    --store-locator-border: rgba(15, 23, 42, .09);
    --store-locator-muted: #6b7280;
}

.store-locator-shell {
    height: var(--store-locator-height);
    max-height: var(--store-locator-height);
    min-height: 0;
    border-color: var(--store-locator-border) !important;
}

.store-locator-shell > .row,
.store-locator-shell > .row > [class*="col-"] {
    height: 100%;
    min-height: 0;
}

.store-locator-map-wrap,
.store-locator-map {
    width: 100%;
    height: 100%;
    min-height: 0;
}

.store-locator-map {
    position: relative;
}

.store-locator-map .gm-style img,
.store-locator-map .gm-style svg {
    max-width: none;
}

.store-locator-map .gm-style img {
    height: auto;
}

.store-locator-map .gm-style .gm-style-iw-c {
    max-width: min(340px, calc(100vw - 48px)) !important;
    padding: 0 !important;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 18px !important;
    box-shadow: 0 22px 55px rgba(15, 23, 42, .2) !important;
    overflow: hidden !important;
}

.store-locator-map .gm-style .gm-style-iw-d {
    max-height: none !important;
    overflow: hidden !important;
}

.store-locator-map .gm-style .gm-style-iw-d > div {
    min-width: 0 !important;
}

.store-locator-infowindow-card {
    width: min(332px, calc(100vw - 48px));
    color: #111827;
    background: #fff;
}

.store-locator-infowindow-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    padding: 16px 54px 13px 16px;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.store-locator-infowindow-pin {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #fff;
    font-size: 14px;
    background: #212529;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .18);
}

.store-locator-infowindow-heading {
    min-width: 0;
}

.store-locator-infowindow-heading h3 {
    margin: 0;
    color: #111827;
    font-size: .86rem;
    font-weight: 800;
    letter-spacing: .01em;
    line-height: 1.18;
    text-transform: uppercase;
}

.store-locator-infowindow-distance {
    display: inline-flex;
    margin-top: 6px;
    color: var(--store-locator-muted);
    font-size: .73rem;
    font-weight: 700;
}

.store-locator-infowindow-body {
    padding: 14px 16px 15px;
}

.store-locator-infowindow-address {
    margin: 0;
    color: var(--store-locator-muted);
    font-size: .78rem;
    line-height: 1.35;
}

.store-locator-infowindow-details {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.store-locator-infowindow-detail {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    color: #374151;
    font-size: .76rem;
    line-height: 1.25;
    text-decoration: none;
}

.store-locator-infowindow-detail:hover {
    color: #111827;
    text-decoration: underline;
}

.store-locator-infowindow-detail i {
    width: 16px;
    color: #6b7280;
    text-align: center;
}

.store-locator-infowindow-detail span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.store-locator-infowindow-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 12px 16px 14px;
    border-top: 1px solid rgba(15, 23, 42, .08);
    background: #f8fafc;
}

.store-locator-infowindow-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 31px;
    padding: 6px 11px;
    color: #212529;
    font-size: .75rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 999px;
}

.store-locator-infowindow-action:hover {
    color: #111827;
    border-color: rgba(15, 23, 42, .24);
}

.store-locator-infowindow-action-primary {
    color: #fff !important;
    background: #212529;
    border-color: #212529;
}

.store-locator-infowindow-action-primary:hover {
    color: #fff !important;
    background: #111827;
    border-color: #111827;
}

.store-locator-map .gm-style .gm-style-iw-tc::after {
    background: #fff;
    box-shadow: 5px 5px 14px rgba(15, 23, 42, .08);
}

.store-locator-map .gm-style button.gm-ui-hover-effect {
    top: 11px !important;
    right: 12px !important;
    width: 34px !important;
    height: 34px !important;
    border: 1px solid rgba(15, 23, 42, .1) !important;
    border-radius: 999px;
    background: #fff !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .12);
    opacity: 1;
}

.store-locator-map .gm-style button.gm-ui-hover-effect:hover {
    background: #eef2f7 !important;
}

.store-locator-map .gm-style button.gm-ui-hover-effect:focus {
    outline: 2px solid rgba(13, 110, 253, .25);
    outline-offset: 2px;
}

.store-locator-map .gm-style button.gm-ui-hover-effect > span {
    width: 14px !important;
    height: 14px !important;
    margin: 10px !important;
}

.store-locator-panel {
    height: 100%;
    max-height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.store-locator-panel > .border-bottom {
    flex: 0 0 auto;
}

.store-locator-list {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.store-locator-list::-webkit-scrollbar {
    width: 8px;
}

.store-locator-list::-webkit-scrollbar-track {
    background: transparent;
}

.store-locator-list::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, .18);
    border-radius: 999px;
}

.store-locator-card {
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.store-locator-card:hover {
    background: #fafafa;
}

.store-locator-card.active {
    background: #f5f5f5;
    box-shadow: inset 4px 0 0 #212529;
}

.store-locator-card h3 {
    font-size: .9rem;
    line-height: 1.2;
}

.store-locator-card p {
    font-size: .78rem;
    line-height: 1.25;
}

.store-locator-pin {
    width: 30px;
    height: 30px;
    font-size: 12px;
}

.letter-spacing-tight {
    letter-spacing: -.04em;
}

.min-w-0 {
    min-width: 0;
}

@media (min-width: 1400px) {
    .store-locator-page {
        --store-locator-height: 640px;
    }
}

@media (max-width: 1199.98px) {
    .store-locator-shell {
        height: auto;
        max-height: none;
    }

    .store-locator-shell > .row,
    .store-locator-shell > .row > [class*="col-"] {
        height: auto;
    }

    .store-locator-map-wrap,
    .store-locator-map {
        height: 420px;
        min-height: 420px;
    }

    .store-locator-panel {
        height: auto;
        max-height: none;
        overflow: visible;
    }

    .store-locator-list {
        height: auto;
        max-height: none;
        overflow: visible;
    }
}

@media (max-width: 767.98px) {
    .store-locator-page {
        --store-locator-height: auto;
    }

    .store-locator-map-wrap,
    .store-locator-map {
        height: 360px;
        min-height: 360px;
    }
}
