.shop-popup {
    width: 1390px;
    max-width: 100%;
    padding: 32px 77px 32px 53px;
    margin: 0 auto;
    position: relative;
    background: #fff;
    overflow-x: hidden;
    overflow-y: auto;
}
.shop-popup .shop-table-sm {
    margin-bottom: 0;
}
button.mfp-close {
    position: absolute;
    right: 47px;
    top: 35px;
    font-size: 0;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
}
button.mfp-close::before,
button.mfp-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    transform: rotate(-45deg);
    background: #000;
}
button.mfp-close::after {
    transform: rotate(-135deg);
}
button.mfp-close:active {
    top: 35px;
}
.shop-availability__title {
    font-size: 23px;
    line-height: 22px;
    color: #3A3A3A;
    margin-bottom: 45px;
}
.shop-availability__top {
    display: flex;
    margin-bottom: 30px;
}
.shop-availability__tabs {
    margin-right: 86px;
    display: flex;
    flex-wrap: wrap;
}
.shop-availability__tab {
    font-size: 26px;
    line-height: 24px;
    color: #3A3A3A;
    position: relative;
    padding: 0 0 7px;
    margin-right: 30px;
    text-align: left;
    background: none;
    border: none;
}
.shop-availability__tab:focus {
    outline: none !important;
}
.shop-availability__tab:last-child {
    margin-right: 0;
}
.shop-availability__tab::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background-image: radial-gradient(circle, #3A3A3A 1px, transparent 1px);
    background-repeat: repeat-x;
    background-size: 6px 2px;
}
.shop-availability__tab.active {
    color: #FF55A4;
}
.shop-availability__tab.active::after {
    display: none;
}

.shop-table {
    max-height: 471px;
    border: 1px solid #C4C4C4;
}
.shop-table__item {
    height: auto;
    border-bottom: 1px solid #C4C4C4;
    /*border: 1px solid #C4C4C4;
    border-bottom: 0;*/
    display: flex;
    align-items: center;
    padding: 30px 20px 30px 55px;
    position: relative;
}
.shop-table__item:last-child {
    /*border: 1px solid #C4C4C4;*/
}
.shop-table__item:last-child {
    border-bottom: none;
}
.shop-table__item::before {
    /*временно выключено отображение*/
    display: none;


    content: '';
    position: absolute;
    left: 20px;
    top: 30px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #847F7F;
}
.shop-table__left {
    display: flex;
    align-items: center;
    height: 100%;
    width: 51%;
}
.shop-table__right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
}
.shop-table__main {
    padding-right: 20px;
    width: 60%;
    height: 100%;
}
.shop-table__main .shop-table__instock {
    display: none;
}
.shop-table__name {
    font-size: 18px;
    line-height: 21px;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 12px;
}
.shop-table__info {
    font-size: 16px;
    line-height: 25px;
    color: #777;
}
.shop-table__info-title {
    color: #000;
    margin-right: 4px;
}
.shop-table__info a {
    color: #355cdb;
}
.shop-table__contacts {
    width: 40%;
    padding-right: 30px;
}
.shop-table__time {
    width: 190px;
}
.shop-table__instock {
    width: 120px;
}
.shop-table__metro {
    width: 170px;
}
.shop-table__metro-list {
}
.shop-table__metro-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.shop-table__metro-circle {
    display: inline-block;
    vertical-align: middle;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-left: 20px;
}
.btn-blue-border {
    background: none;
}
.btn-blue-border:hover {
    background: none;
    background: #355cdb;
    color: #fff;
}

.selectric-select-custom {
    font-family: 'HeliosCondLight2', sans-serif;
}
.selectric-select-custom .selectric {
    border: 0;
    background: none;
    padding-right: 30px;
}
.selectric-select-custom .selectric::after {
    content: '';
    position: absolute;
    right: 0;
    top: 12px;
    border: 6px solid transparent;
    border-top: 10px solid #3A3A3A;
}
.selectric-select-custom .selectric .label {
    margin: 0;
    font-size: 26px;
    line-height: 24px;
    color: #3A3A3A;
    position: relative;
    padding: 0 0 5px 0;
    height: auto;
}
.selectric-select-custom .selectric .label::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background-image: radial-gradient(circle, #3A3A3A 1px, transparent 1px);
    background-repeat: repeat-x;
    background-size: 6px 2px;
    border: none;
    top: auto;
}

.selectric-select-custom .selectric .button {
    display: none;
}
.selectric-select-custom .selectric-items {
    background: #fff;
    border: 1px solid #C4C4C4;
    box-shadow: none;
    min-width: 130px;
}
.selectric-select-custom .selectric-items li {
    font-size: 18px;
    line-height: 24px;
    color: #3A3A3A;
    padding: 5px;
}
.selectric-items li.highlighted,
.selectric-items li:hover {
    background: #3A3A3A;
    color: #fff;
}

@media (max-width: 1280px) {
    .shop-popup {
        padding: 60px 50px 55px;
        height: 100vh;
    }
    .shop-popup .shop-table {
        margin: 0;
    }
    .shop-popup .shop-table-map__table {
        margin: 0;
    }
    button.mfp-close {
        position: absolute;
        right: 51px;
        top: 55px;
    }
    .mfp-content {
        margin: 0;
    }
    .mfp-container {
        padding: 0;
    }
    .mfp-container:before {
        display: none;
    }

    .shop-table {
        max-height: calc(100vh - 250px);
    }

    .shop-availability__tabs {
        margin-right: 44px;
    }

    .shop-table__item {
        height: auto;
        align-items: stretch;
    }
    .shop-table__left {
        display: block;
        width: 50%;
    }
    .shop-table__right {
        width: 50%;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
    }
    .shop-table__time {
        width: 100%;
    }
    .shop-table__instock {
        width: 100%;
    }
    .shop-table__main {
        margin-bottom: 15px;
        width: auto;
        height: auto;
    }
    .shop-table__contacts {
        width: auto;

    }
    .shop-table__right .shop-table__instock {
        order: -1;
    }



}

@media (max-width: 768px) {

    .shop-popup {
        padding: 30px 10px 15px;
    }
    button.mfp-close {
        position: absolute;
        right: 10px;
        top: 26px;
        width: 20px;
        height: 20px;
    }
    .shop-availability__title {
        font-size: 18px;
        line-height: 17px;
        margin-bottom: 30px;
    }
    .shop-availability__top {
        display: block;
        margin-bottom: 16px;
    }
    .shop-availability__tabs {
        margin-right: 0;
        margin-bottom: 7px;
    }
    .shop-availability__tab {
        font-size: 16px;
        padding-bottom: 0;
    }
    .selectric-select-custom .selectric {
        padding-right: 20px;
    }
    .selectric-select-custom .selectric .label {
        font-size: 16px;
        padding-bottom: 0;
    }
    .selectric-select-custom .selectric::after {
        top: 10px;
        border: 5px solid transparent;
        border-top: 8px solid #3A3A3A;
    }
    .shop-table {
        max-height: calc(100vh - 200px);
    }
    .shop-table__item {
        display: block;
        padding: 16px 10px 8px 40px;
    }
    .shop-table__item::after {
        content: '';
        clear: both;
        display: block;
    }
    .shop-table__item::before {
        left: 10px;
        top: 16px;
    }
    .shop-table__contacts {
        float: left;
        width: 50%;
        padding-right: 10px;
    }
    .shop-table__left {
        width: 100%;
    }
    .shop-table__right {
        float: right;
    }
    .shop-table__right .shop-table__info-title,
    .shop-table__contacts .shop-table__info-title {
        display: block;
    }
    .shop-table__info {
        font-size: 12px;
        line-height: 18px;
        margin-bottom: 8px;
    }
    .shop-table__right .shop-table__instock {
        display: none;
    }
    .shop-table__main .shop-table__instock {
        display: block;
        font-size: 16px;
        line-height: 24px;
        margin-top: 15px;
    }
    .shop-table__name {
        font-size: 14px;
        line-height: 17px;
        margin-bottom: 5px;
    }
    .shop-table__metro-circle {
        vertical-align: -15%;
        margin-right: 20%;
        margin-left: 0;
    }

    .shop-table__main {
        margin-bottom: 10px;
    }

}