.store-location-page {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.store-location-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.store-location-lhs {
    flex: 0 0 420px;
    max-height: 80vh;
    overflow-y: auto;
}
.store-location-rhs {
    flex: 1;
    position: sticky;
    top: 80px;
}
#map1 {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
}
.district-panel {
    display: none;
}
.district-panel.active {
    display: block;
}
.district-tab-item {
    cursor: pointer;
}
.store-card {
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    border-bottom: solid #8DC63F 1px;
    padding: 5px;
    padding-bottom: 15px;
}
.store-card.active {
    background: #E2F1CF;
    text-shadow: 0 0 0 1px #000;
}
.store-card.has-image {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.store-card__body {
    flex: 1;
    min-width: 0;
}
.store-card__image {
    flex: 0 0 110px;
    display: block;
    margin-top: 5px;
    border-radius: 6px;
    overflow: hidden;
    cursor: zoom-in;
}
.store-card__image img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.2s;
}
.store-card__image:hover img {
    transform: scale(1.05);
}
.store-image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.85);
    cursor: zoom-out;
}
.store-image-lightbox[hidden] {
    display: none;
}
.store-image-lightbox__img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
    cursor: default;
}
.store-image-lightbox__close {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 36px;
    line-height: 40px;
    cursor: pointer;
    box-shadow: none;
}
body.store-image-lightbox-open {
    overflow: hidden;
}
/* Store popup shown when a map marker is clicked */
.store-map-info {
    max-width: 280px;
    font-size: 14px;
    line-height: 1.45;
}
.store-map-info__title {
    font-weight: 600;
    margin-bottom: 4px;
}
.store-map-info__address,
.store-map-info__hotline {
    color: #555;
    margin-bottom: 2px;
}
@media (max-width: 768px) {
    .store-location-layout {
        flex-direction: column;
    }
    .store-location-lhs {
        flex: unset;
        width: 100%;
        max-height: 50vh;
    }
    .store-location-rhs {
        width: 100%;
        position: static;
    }
    #map1 {
        aspect-ratio: 4 / 3;
    }
    .store-card__image {
        flex-basis: 90px;
    }
}
