/* POPUP */

.header-link__region {
    font-size: 15px;
    display: inline-block;
    margin-top: 5px;
    white-space: nowrap;
    cursor: pointer;
}

.header-link__region svg {
    margin-right: 3px;
}

.header-link__region svg path {
    stroke: #999
}

.mod {
    display: none;
    position: relative;
    background: #fff;
    box-shadow: 5px 15px 40px rgb(30 35 66 / 15%);
}

.mod__title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    margin-top: 5px;
}

.mod__close {
    position: absolute;
    width: 15px;
    height: 15px;
    top: 15px;
    right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: .3s;
    cursor: pointer;
    z-index: 5;
}

.mod__close:before,
.mod__close:after {
    position: absolute;
    content: "";
    width: 25px;
    height: 1px;
    background: #333;
    border-radius: 50px;
    display: block;
    transition: .3s;
}

.mod__close:before {
    transform: rotate(-45deg);
}

.mod__close:after {
    transform: rotate(45deg);
}

.mod__close:hover:before,
.mod__close:hover:after {
    background: #888;
}

.popup__item {
    display: block !important;
}

.popup__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    flex-direction: column;
    overflow-y: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 15px;
}

.popup__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
}

.popup {
    z-index: 999999;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: .3s;
    opacity: 0;
    visibility: hidden;
}

.popup.--show {
    opacity: 1;
    visibility: visible;
}


/* end of POPUP */

.region-choice__list {
    column-count: 3;
    margin-bottom: -10px;
    padding: 15px 0px;
    list-style: none;
}

.region-choice__item {
    margin-bottom: 10px;
    padding-right: 10px;
}

.region-choice__link,
.region-choice__link:visited,
.region-choice__link:active,
.region-choice__link:focus {
    text-decoration: none;
    color: #666;
    font-weight: 500;
}

.region-choice__link:hover {
    text-decoration: underline;
}

#popup-region {
    padding: 25px 30px;
    overflow-y: auto;
    height: auto;
    max-height: 70vh;
}

#popup-region::-webkit-scrollbar {
    width: 10px;
}

#popup-region::-webkit-scrollbar-track {
    -webkit-box-shadow: 5px 5px 5px -5px rgba(60, 60, 80, 0.2) inset;
    background-color: #f9f9fd;
}

#popup-region::-webkit-scrollbar-thumb {
    background-color: #aaaaaa;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(.5, rgba(255, 255, 255, .25)), color-stop(.5, transparent), to(transparent));
}

@media (max-width: 640px) {
    .region-choice__list {
        column-count: 2;
        padding: 15px 10px;
    }
    .region-choice__item {
        font-size: 14px;
    }
    #popup-region .mod__title {
        font-size: 28px;
    }
    #popup-region::-webkit-scrollbar {
        width: 7px;
    }
    #popup-region::-webkit-scrollbar-track {
        -webkit-box-shadow: 3px 3px 3px -3px rgba(34, 60, 80, 0.2) inset;
        background-color: #f9f9fd;
    }
}