.shop-page {
    max-width: 1100px;
    margin: 0 auto;
    box-sizing: border-box;
}

.shop-page .main-block {
    display: flex;
    min-height: 550px;
    max-height: 550px;
    justify-content: center;
}

.shop-page .shop-list {
    flex-basis: 30%;
    overflow-y: auto;
    cursor: pointer;
}

.shop-page .shop-map {
    flex-basis: 70%;
}

.shop-page .shop-inner-block {
    border: solid var(--color_grey_4) 1px;
    border-radius: 5px;
    background: var(--color_white);
    margin-bottom: 40px;
}

.shop-page .setting-block {
    display: flex;
    justify-content: flex-start;
    border-bottom: solid var(--color_grey_4) 2px;
}

.shop-page .mobile-setting-block {
    display: none;
    justify-content: space-around;
}

.shop-page .desktop-map-button {
    display: flex;
    column-gap: 5px;
    background: var(--color_grey_3);
    margin: 10px 0 10px 10px;
    border: solid var(--color_grey_4) 1px;
    border-radius: 5px;
    padding: 10px 0;
    width: 145px;
    justify-content: center;
}

.shop-page .mobile-map-button {
    background: var(--color_white);
    border: solid var(--color_red_2) 2px;
    border-radius: 5px;
    margin: 10px 0 10px;
    padding: 10px 0;
    width: 145px;
    text-align: center;
}

.shop-page .shop-item-content {
    padding: 15px 20px 15px 25px;
    border-bottom: solid var(--color_grey_4) 2px;
}

.shop-page .shop-item-content:hover {
    background: var(--body_bg);
}

.shop-page .shop-address {
    font-weight: bold;
}

.shop-page .schedule-shop {
    color: var(--text_color_2);
    font-weight: normal;
    padding-top: 15px;
}

.shop-page .show-in-map-link {
    display: none;
}

.shop-page .red-button {
    border: solid var(--color_red_2) 2px;
    color: var(--color_red_2);
    font-weight: bold;
}

.shop-page .gray-button {
    border: solid var(--color_grey_4) 2px;
    color: var(--text_color);
    font-weight: bold;
}

.shop-page .no-visible{
    display: none;
}

.shop-page .no-shops {
    display:flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.shop-page .image-shops-is-closed {
    margin: 0 auto;
    padding-top: 20px;
}

.shop-page .text-shops-is-closed {
    margin-top: 10px;
    font-size: 17px;
}

.shop-page .inform-text {
    font-weight: normal;
    color: var(--text_color_2);
}

.shop-page #cart__map-shops {
    height: 100%;
}

@media (max-width: 640px) {
    .shop-page .mobile-setting-block {
        display: flex;
    }

    .shop-page .main-block {
        min-height: 0px;
        flex-direction: column;
    }

    .shop-page .shop-map {
        display: none;
    }

    .shop-page .setting-block {
        justify-content: flex-start;
    }

    .shop-page .desktop-map-button {
        margin: 10px 0 10px 10px;
    }

    .shop-page .schedule-shop {
        font-weight: normal;
    }

    .shop-page .show-in-map {
        margin-top: 10px;
    }

    .shop-page .show-in-map-link {
        color: var(--color_red_2);
        text-decoration: underline;
        display: block;
        width: fit-content;
    }

    .shop-page .no-shops {
        align-items: center;
    }

    .shop-page .inform-text {
        font-weight: normal;
    }

    .shop-page #cart__map-shops {
        height: 500px;
    }
   .shop-page .shop-map {
        flex-basis: unset; 
        height: 50vh; 
    }
}