.stores-page {
    padding: 20px 0;
}

.stores-page h1 {
    font-size: 30px;
    color: #464646;
    font-weight: 600;
    text-transform: uppercase;
    margin: 30px 0;
}

.stores-page__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 70px;
    margin-top: 40px;
}

.stores-page__countries {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.stores-page__countries > a {
    height: 30px;
    padding: 0 15px;
    text-transform: uppercase;
    color: #363636;
    font-weight: 600;
    border: 1px solid #e1e1e1;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.stores-page__countries > a.active {
    background-color: #a90e29;
    border-color: #a90e29;
    color: #fff;
}

.stores-page__wrapper__stores-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stores-page__wrapper__stores-list__city > p.title {
    color: #a90e29;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 24px;
    line-height: 24px;
}

.stores-page__wrapper__stores-list__city__stores {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stores-page__wrapper__stores-list__city__stores__store {
    padding: 30px;
    border: 1px solid #e1e1e1;
    position: relative;
}

.stores-page__wrapper__stores-list__city__stores__store.active {
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, .2);
}

.stores-page__wrapper__stores-list__city__stores__store > p.store-title {
    font-size: 24px;
    line-height: 24px;
    font-weight: 600;
    color: #363636;
    margin: 0 0 10px 0;
}

.stores-page__wrapper__stores-list__city__stores__store > p.store-address, .stores-page__wrapper__stores-list__city__stores__store > .store-working-hours {
    font-size: 15px;
    color: #363636;
    display: flex;
    flex-direction: row;
    align-items: start;
    margin-top: 15px;
}

.stores-page__wrapper__stores-list__city__stores__store > p.store-address > i, .stores-page__wrapper__stores-list__city__stores__store > .store-working-hours > i {
    color: #a90e29;
    margin-right: 5px;
}

.store-working-hours__times {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.store-working-hours__times__time span:first-child {
    font-weight: 600;
}

.stores-page__wrapper__stores-list__city__stores__store .store-contacts {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.stores-page__wrapper__stores-list__city__stores__store .store-contacts img {
    max-width: 100%;
    margin-bottom: 20px;
}

.stores-page__wrapper__stores-list__city__stores__store .store-contacts a {
    text-decoration: none;
    color: #363636;
}

.stores-page__wrapper__stores-list__city__stores__store:not(.active) .store-working-hours {
    display: none;
}

.stores-page__wrapper__stores-list__city__stores__store:not(.active) .store-contacts {
    display: none;
}

.stores-page__wrapper__stores-list__city__stores__store__toggler {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 0;
    background-color: #a90e29;
    color: #fff;
    position: absolute;
    right: 30px;
    top: 30px;
}

#map {
    height: 500px;
    width: 100%;
}

.store-map {
    height: 400px;
    width: 100%;
    margin-top: 30px;
}

.stores-page__wrapper__stores-list__city__stores__store .store-map {
    display: none;
}

@media(max-width: 1199.5px) {
    .stores-page__wrapper {
        grid-template-columns: 1fr;
    }

    .stores-page__wrapper__stores-map {
        display: none;
    }

    .stores-page__wrapper__stores-list__city__stores__store.active .store-map {
        display: flex;
    }
}

@media(max-width: 991.5px) {
    .stores-page__countries {
        flex-wrap: wrap;
    }

    .stores-page__wrapper__stores-list__city__stores__store > p.store-title {
        font-size: 18px;
        line-height: 18px;
        padding-right: 40px;
    }

    .stores-page__wrapper__stores-list__city__stores__store {
        padding: 20px;
    }

    .stores-page__wrapper__stores-list__city__stores__store__toggler {
        top: 20px;
        right: 20px;
    }

    .stores-page__wrapper__stores-list__city__stores__store {
        padding: 20px 20px 20px 20px;
    }

    .store-working-hours__times {
        flex-direction: column;
    }
}

@media(min-width: 992px) {
    .stores-page__countries > a.active:before {
        width: 0px;
        height: 0px;
        border-style: solid;
        border-width: 10px 10px 0 10px;
        border-color: #a90e29 transparent transparent transparent;
        transform: rotate(0deg) translateX(-50%);
        position: absolute;
        bottom: -11px;
        left: 50%;
        content: "";
    }
}