.store-map {
    position: relative;
    width: 100%;
    height: 360px;
    margin: 22px 0 26px;
    overflow: hidden;
    background: #ececec;
}

.store-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.store-map__status {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-size: 13px;
    letter-spacing: .04em;
}

.store-map--loading .store-map__status::before {
    width: 25px;
    height: 25px;
    margin-right: 11px;
    border: 2px solid rgba(28, 28, 28, .14);
    border-top-color: #a68b5b;
    border-radius: 50%;
    content: '';
    animation: store-map-spinner .8s linear infinite;
}

.store-map-marker {
    position: relative;
    z-index: 2;
    transform: translate(-50%, -100%);
    font-family: inherit;
}

.store-map-marker__button {
    position: relative;
    display: grid;
    width: 34px;
    height: 37px;
    padding: 0 0 5px;
    border: 2px solid #1d1d1d;
    border-radius: 2px;
    background: #ededed;
    color: #161616;
    cursor: pointer;
    place-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.store-map-marker__button::after {
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid #1d1d1d;
    border-bottom: 2px solid #1d1d1d;
    background: #ededed;
    content: '';
    transform: translateX(-50%) rotate(45deg);
}

.store-map-marker__logo {
    display: block;
    width: 26px;
    height: auto;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.store-map-marker__button:hover,
.store-map-marker__button:focus-visible,
.store-map-marker__button[aria-expanded='true'] {
    background: #1d1d1d;
    color: #fff;
    outline: none;
}

.store-map-marker__button:hover::after,
.store-map-marker__button:focus-visible::after,
.store-map-marker__button[aria-expanded='true']::after {
    background: #1d1d1d;
}

.store-map-marker__button:hover .store-map-marker__logo,
.store-map-marker__button:focus-visible .store-map-marker__logo,
.store-map-marker__button[aria-expanded='true'] .store-map-marker__logo {
    filter: invert(1);
    mix-blend-mode: screen;
}

.store-map-marker__popup {
    position: absolute;
    bottom: calc(100% + 14px);
    left: 50%;
    width: 220px;
    padding: 13px 15px;
    border: 1px solid rgba(0, 0, 0, .14);
    background: #fff;
    color: #1d1d1d;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
    transform: translateX(-50%);
}

.store-map-marker__popup[hidden] {
    display: none;
}

.store-map-marker__title,
.store-map-marker__address {
    display: block;
}

.store-map-marker__title {
    margin-bottom: 5px;
    font-size: 13px;
    line-height: 1.35;
}

.store-map-marker__address {
    color: #666;
    font-size: 12px;
    line-height: 1.45;
}

@keyframes store-map-spinner {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 767px) {
    .store-map {
        height: 320px;
        margin-top: 16px;
    }

    .store-map-marker__popup {
        width: 190px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .store-map--loading .store-map__status::before {
        animation: none;
    }
}
