body.stores_page {
    background-color: white;
    .infowindow__route-btn{
        padding: 5px;
        line-height: 16px;
        font-size: 14px;
        text-align: center;
        display: block;
        font-weight: 500;
    }
    .container {
        max-width: 1540px;
    }

    .main {
        background-color: white;
        padding-bottom: 0;
    }

    .page__title-wrapper {
        padding-bottom: 40px;
        border-bottom: 1px solid #E8E8E8;
    }

    .stores__page-header {
        font-style: normal;
        font-weight: 700;
        font-size: 46px;
        line-height: 104%;
        color: #000000;
        margin: 0;
    }

    .filters__form {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-gap: 10px;

    }

    .search__hidden-list {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 48px;
        z-index: 4;
        background-color: white;
        border-radius: 9px;
        height: fit-content;
        padding: 15px 0;
        box-shadow: 0px 0px 8px -8px #000000;
        max-height: 400px;
        overflow-y: auto;

        li {
            transition: 0.2s;
            padding: 5px 15px;
            cursor: pointer;

            &:hover {
                background-color: #333538;
                color: white
            }
        }
    }

    .input__wrapper {
        position: relative;

        .input__field {
            width: 100%;
            border: none;
            outline: none;
            height: 46px;
            border-radius: 9px;
            padding: 5px 25px 5px 15px;
            background-color: #F6F6F6;
            font-size: 15px !important;
            font-family: 'Open Sans', sans-serif;
            font-weight: 300;
        }

        .search__icon {
            fill: #333538;
            opacity: 0.45;
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
        }

        .select2-container.select2-container--default {
            width: 100% !important;

            .select2-selection__rendered {
                font-size: 15px !important;
                color: black !important;
                font-weight: 300 !important;
            }

            .select2-selection--single {
                padding: 0 15px;
                background-color: #F6F6F6 !important;
                height: 46px !important;
                border-radius: 9px !important;
                font-weight: 300 !important;

                .select2-selection__arrow {
                    right: 15px !important;
                }
            }
        }
    }

    .stores__filters {
        padding: 30px 0;

        .filters__row {
            display: grid;
            grid-template-columns: 1fr 300px;
            grid-gap: 30px;

            .mob__filters-btn-wrapper {
                display: none;
            }


        }

        .toggle__list-wrapper {
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-gap: 10px;

            .toggle__list-btn {
                height: 46px;
                padding: 5px;
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 10px;
                border: 1px solid #9C9C9C;
                border-radius: 10px;
                color: black;
                font-style: normal;
                font-weight: 700;
                font-size: 16px;
                line-height: 125%;
                text-transform: uppercase;
                cursor: pointer;

                &.active {
                    color: white;
                    border-color: #D4302B;
                    background-color: #D4302B;
                }

            }
        }
    }

    .map__wrapper {
        min-height: 580px;
        width: 100%;
        position: relative;
        transition: 0.2s;

        #g__map {
            position: absolute;
            inset: 0;
        }

        .stores__list {
            padding: 30px 0;
            position: relative;
            z-index: 2;

            .stores__list-wrapper {
                display: grid;
                grid-template-columns: 380px 1fr;
                grid-gap: 20px;

                .regions__list {
                    padding: 20px;
                    background: #FFFFFF;
                    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.15);
                    border-radius: 10px;

                    .regions__list-item {
                        border-bottom: 1px solid #E8E8E8;

                        &.open {
                            padding-bottom: 14px;

                            .region__title {
                                color: #D4302B;

                                .region__title-icon {
                                    svg {
                                        transform: rotate(180deg);
                                    }
                                }
                            }
                        }

                        &:last-child {
                            border-bottom: none;
                        }

                        .region__title {
                            padding: 12px 0;
                            font-style: normal;
                            font-weight: 500;
                            font-size: 16px;
                            line-height: 131%;
                            text-transform: uppercase;
                            color: #000000;
                            display: flex;
                            gap: 10px;
                            justify-content: space-between;
                            cursor: pointer;

                            .region__title-icon {
                                svg {
                                    transition: 0.2s;
                                }
                            }
                        }

                        .region__cities {
                            display: flex;
                            flex-direction: column;
                            gap: 14px;

                            .citie__item {
                                font-style: normal;
                                font-weight: 400;
                                font-size: 16px;
                                line-height: 131%;
                                color: #333538;
                                display: inline-flex;
                                align-items: center;
                                gap: 10px;
                                cursor: pointer;
                                transition: 0.2s;

                                &.selected {
                                    color: #D4302B;

                                    .count {
                                        background-color: #D4302B;
                                        color: white;
                                    }
                                }

                                .count {
                                    transition: 0.2s;
                                    width: 22px;
                                    height: 22px;
                                    display: flex;
                                    align-items: center;
                                    justify-content: center;
                                    background-color: #E8E8E8;
                                    border-radius: 50%;
                                    font-size: 12px;
                                    line-height: 1;
                                    font-weight: 500;
                                }
                            }

                        }
                    }

                }

                .warehouses__list-wrapper {
                    padding: 30px 20px;
                    background: #FFFFFF;
                    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.15);
                    border-radius: 10px;

                    .selected__citi-title {
                        font-style: normal;
                        font-weight: 700;
                        font-size: 35px;
                        line-height: 109%;
                        margin-bottom: 30px;
                        text-align: center;
                        color: #000000;
                    }

                    .warehouses__list {
                        display: grid;
                        grid-template-columns: repeat(4, 1fr);
                        grid-gap: 40px 50px;

                        .warehouses__item-title {
                            font-style: normal;
                            font-weight: 600;
                            font-size: 17px;
                            line-height: 118%;
                            color: #000000;
                            margin-bottom: 12px;

                        }

                        .warehouses__item-address {
                            display: flex;
                            gap: 10px;
                            font-style: normal;
                            font-weight: 400;
                            font-size: 15px;
                            line-height: 133%;
                            color: #333538;

                            .warehouses__item-icon {
                                min-width: 20px;
                                min-height: 20px;
                            }

                        }
                    }
                }
            }
        }
    }
}

#mobileFilterModal {
    max-width: 600px;
    background-color: white;
    margin: 0 auto;
    border-radius: 9px;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.35);

    .modal__header {
        padding: 30px 60px 20px 30px;
        border-bottom: 1px solid #E8E8E8;
        font-style: normal;
        font-weight: 600;
        font-size: 17px;
        line-height: 20px;
        color: #232323;
    }

    .modal__form-wrapper {
        padding: 30px;
    }
}

@media screen and (max-width: 1450px) {
    body.stores_page {
        .map__wrapper {
            .stores__list {
                .stores__list-wrapper {
                    .warehouses__list-wrapper {
                        .warehouses__list {
                            grid-template-columns: repeat(3, 1fr);
                        }
                    }
                }
            }
        }
    }
}

@media screen and (max-width: 1200px) {
    body.stores_page {
        .map__wrapper {
            .stores__list {
                .stores__list-wrapper {
                    .warehouses__list-wrapper {
                        .warehouses__list {
                            grid-template-columns: repeat(2, 1fr);
                        }
                    }
                }
            }
        }
    }
}

@media screen and  (max-width: 991px) {
    body.stores_page {
        .page__title-wrapper {
            padding-bottom: 30px;

            .stores__page-header {
                font-size: 32px;
            }
        }

        .stores__filters {
            .filters__row {
                grid-gap: 10px;

                .filters__form {
                    display: none;
                }

                .mob__filters-btn-wrapper {
                    display: block;

                    .mob__filters-btn {
                        display: flex;
                        height: 46px;
                        justify-content: center;
                        align-items: center;
                        gap: 10px;
                        font-style: normal;
                        font-weight: 600;
                        font-size: 16px;
                        line-height: 1;
                        color: #000000;
                        border-radius: 10px;
                        background-color: #F6F6F6;
                        width: 100%;
                        cursor: pointer;
                    }
                }
            }
        }

        .map__wrapper {
            .stores__list {
                .stores__list-wrapper {
                    grid-template-columns: 1fr;

                    .warehouses__list-wrapper {
                        .warehouses__list {
                            grid-gap: 30px;
                        }

                        .selected__citi-title {
                            font-size: 28px;
                        }
                    }
                }
            }
        }

    }

    #mobileFilterModal {
        .modal__form-wrapper {
            .filters__form {
                grid-template-columns: 1fr;
            }
        }
    }
}

@media screen and (max-width: 768px) {
    body.stores_page {
        .page__title-wrapper {
            padding-bottom: 16px;

            .stores__page-header {
                font-size: 25px;
            }
        }

        .stores__filters {
            padding: 20px 0;

            .filters__row {
                grid-template-columns: 1fr;

                .toggle__list-wrapper {
                    width: 100%;
                }

                .mob__filters-btn-wrapper {
                    .mob__filters-btn {
                        height: 37px;
                    }
                }
            }
        }

        .map__wrapper {
            .stores__list {
                .stores__list-wrapper {
                    .warehouses__list-wrapper {
                        .warehouses__list {
                            grid-template-columns: 1fr;
                        }
                    }
                }
            }
        }
    }

    #mobileFilterModal {
        margin: 0 15px;
    }
}
