#storesTitle {
    text-align: center;
    display: none;
    font-weight: bold;
    color: var(--base);
    letter-spacing: 2px;
    font-size: 19px;
    margin-bottom: 50px;
    margin-top: 56px;
}

#mapFiltersDiv {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    display: none;
}

.filterDiv {
    position: relative;
    float: left;
    height: auto;
    overflow: hidden;
    border-bottom: 1px solid black;
    margin-right: 30px;
}

.filterSelect {
    position: relative;
    float: left;
    width: 190px;
    background-color: transparent;
    border: none;
    font-size: 14px;
    margin-top: 5px;
    cursor: pointer;
    border-radius: 0px;
    padding-bottom: 2px;
}

.filterArrow {
    position: absolute;
    right: 10px;
    font-size: 13px;
    top: 5px;
    pointer-events: none;
}

#openFilters {
    position: relative;
    float: right;
    width: 55px;
    background-color: transparent;
    border: none;
    text-align: center;
    border-bottom: 1px solid black;
    padding-bottom: 2px;
    margin-top: 8px;
    cursor: pointer;
}

.centeredContent {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    width: 92%;
    min-height: 78vh;
}

#mapDiv {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    height: 70vh;
    max-height: 800px;
    overflow: hidden;
    margin-top: 80px;
    margin-bottom: 20px;
}

#mapDiv img[src$="/files/storeMarker.png"],
#mapDiv img[src$="storeMarker.png"] {
    transform: scale(0.6);
    transform-origin: bottom center;
}

div#citiesDiv {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    margin-top: 80px;
    margin-bottom: 80px;
    border-bottom: 1px solid var(--lines-border-color);
}

.store {
    display: grid;
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    font-size: 14px;
    margin-bottom: 10px;
}

.storeInfo {
    display: grid;
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    font-size: 13px;
    /* margin-bottom: 10px; */
}

.cityDiv {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.cityName {
    font-family: 'Poppins';
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 15px);
    height: 70px;
    font-size: 20px;
    padding-left: 0;
    cursor: pointer;
    color: var(--base);
    text-transform: capitalize;
    letter-spacing: 0;
    background-color: transparent;
    font-weight: 500 !important;
    border-top: 1px solid var(--lines-border-color);
}

.cityNameArrow {
    display: none;
}

.cityName.open {
    font-weight: 500;
}

.cityName::after {
    content: '+';
    margin-right: 0;
    margin-top: 3px;
    font-size: 22px;
    font-weight: 400;
}

.cityName.open::after {
    content: '-';
}

.storesDiv {
    position: relative;
    margin-top: 0;
    width: 100%;
    overflow: hidden;
    height: 0px;
    padding-bottom: 0px;
    border: none;
}

.open+.storesDiv {
    padding-bottom: 20px;
    height: auto !important;
}

.storeDiv {
    --store-image-size: 100px;
    position: relative;
    float: none;
    display: grid;
    grid-template-columns: var(--store-image-size) 1fr;
    grid-auto-rows: min-content;
    column-gap: 20px;
    row-gap: 2px;
    width: 90%;
    margin: 0;
    padding: 20px 24px;
    border-bottom: 1px solid var(--lines-border-color);
    align-items: start;
}

.storesDiv .storeDiv:last-of-type {
    border-bottom: none;
}

.storeDiv:not(:has(.storeIcon))::before {
    content: '';
    grid-column: 1;
    grid-row: 1 / span 5;
    width: var(--store-image-size);
    height: var(--store-image-size);
    background-color: var(--lines-border-color);
}

.storeDiv>div:has(> .storeIcon) {
    grid-column: 1;
    grid-row: 1 / span 5;
    margin: 0;
}

.storeIcon {
    display: block;
    width: var(--store-image-size);
    height: var(--store-image-size);
    object-fit: cover;
}

.storeName {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    padding-right: 90px;
    font-family: 'Poppins';
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
    color: black;
}

.storeInfo {
    position: relative;
    grid-column: 2;
    width: 100%;
    font-size: 12px;
    font-family: 'Poppins';
    margin-top: 1px;
    color: var(--shop-description);
}

.storeTitle {
    position: relative;
    grid-column: 2;
    margin-top: 7px;
    font-size: 12px;
}

.storeUrl {
    grid-column: 2;
}

.storeLocationDiv {
    position: absolute;
    top: 24px;
    right: 24px;
    display: flex;
    height: 15px;
    cursor: pointer;
    justify-content: flex-end;
    white-space: nowrap;
    margin: 0;
}

.storeLocation {
    position: relative;
    font-size: var(--body-font-size);
    margin-top: 2px;
    font-family: 'Poppins';
    font-weight: 400;
    text-transform: lowercase;
    color: var(--primary);
    text-decoration: underline;
    white-space: nowrap;
}

.storeLocation::first-letter {
  text-transform: uppercase;
}

.storeLocationIcon {
    display: none;
}

@media screen and (max-width:768px) {
    
    #mapDiv {
        height: 85vw;
        width: 100%;
        margin-top: 5vw;
    }

    .centeredContent {
        display: flex;
        flex-direction: column-reverse;
    }

    .cityName {
        height: 54px;
        padding-left: 0px;
        width: 100%;
        font-size: 18px;
    }

    div#citiesDiv {
        width: 100%;
        margin-top: 50px;
        margin-bottom: 10px;
    }

    .storeDiv {
        --store-image-size: 70px;
        grid-template-columns: var(--store-image-size) minmax(0, 1fr);
        column-gap: 12px;
        width: 100%;
        margin: 0;
        padding: 12px 0;
    }

    .storeName {
        min-width: 0;
        padding-right: 0;
        margin-bottom: 10px;
        font-size: 16px;
        line-height: 16px;
    }

    .storeInfo,
    .storeTitle {
        min-width: 0;
        font-size: var(--body-font-size);
        line-height: 18px;
        color: var(--shop-description);
    }

    .storeTitle {
        margin-top: 2px;
    }

    .storeLocationDiv {
        position: static;
        grid-column: 2;
        grid-row: auto;
        order: 10;
        justify-content: flex-start;
        height: auto;
        margin-top: 6px;
    }

    .storeLocation {
        font-size: var(--body-font-size);
        line-height: 16px;
        margin-left: 0;
        margin-top: 0;
    }
}
