html {
    overflow: auto;
}
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Tahoma, sans-serif;
}
a {
    color: inherit;
    text-decoration: none;
}
.heading__up-wrapper {
    width: 100%;
    border-bottom: 1px solid rgb(219, 219, 219);
}
.heading__up-section {
    max-width: 1170px;
    height: 50px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.heading__city-select {
    display: flex;
    justify-content: left;
    align-items:center;
}
.heading__city-span {
    padding: 5px;
    margin-right: 5px;
    font-size: 14px;
    display: flex;
    align-items: center;
}
.heading__city-span:hover {
    text-decoration: underline;
    cursor: pointer;
}
.heading__city-span img {
    width: 16px;
}
.heading__menu-side {
    display: flex;
    align-items:center
}
.heading__menu-li {
    margin-right: 40px;
}
.heading__menu-li a {
    font-size: 12px;
    display: flex;
    align-items: center;
}
.sales {
    color: rgb(168, 20, 0);
    font-weight: 600;
}
.heading__menu-li img {
    width: 24px;
    margin-right: 5px;
}
.heading__main-section {
    max-width: 1170px;
    margin: 15px auto;
    display: flex;
    flex-direction: column;
}
.heading__main-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
}
.heading__tel-number {
    font-size: 20px;
}
.heading__tel-call {
    color: rgb(168, 20, 0);
    font-weight: 600;
}
.heading__search {
    position: relative;
}
.heading__search input {
    width: 400px;
    height: 36px;
    background-color: rgb(228, 228, 228);
    border-radius: 15px;
    padding: 5px 10px;
    border: 0;
    color: rgb(168, 20, 0);
    outline: 0;
}
.heading__search input::placeholder {
    color: rgb(168, 20, 0);
}
.search-icon {
    width: 24px;
    position: absolute;
    right: 17px;
    top: 10px;
    filter: invert(1);
}
.heading__main-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.heading__main-menu-li {
    display: flex;
    align-items: center;
    margin-right: 10px;
}
.heading__main-menu-li img {
    width: 24px;
    display: inline-block;
}
.heading__main-menu span {
    font-size: 14px;
    display: inline-block;
    margin: 0 5px;
}
span.heading__main-li-count {
    background-color: rgb(168, 20, 0);
    font-size: 11px;
    border-radius: 100%;
    text-align: center;
    color: #fff;
    width: 20px;
    height: 20px;
    display: inline-block;
    line-height: 20px;
    margin: 0 10px 0 0;
}
.logo {
    height: 58px;
    border-radius:15px;
}
.heading__main-row-li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgb(63, 63, 63);
    padding: 5px 10px;
    border-radius: 15px
}
.heading__main-row-li img {
    width: 48px;
    margin-right: 10px;
}
.heading__main-row-li-text {
    display: flex;
    flex-direction: column;
}
.heading__main-row-li-text span {
    line-height: 24px;
    color:white;
}
span.main-text-li {
    font-weight: 600;
    font-size: 16px;
    color: rgb(236, 162, 0);
}
.heading__nav-row {
    height: 40px;
    background-color: rgb(236, 162, 0);
    border-radius: 10px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.heading__nav-row a {
    border-right: 2px solid white;
}
.heading__nav-row a:last-child {
    border: 0;
}
.heading__nav-li {
    line-height: 30px;
    font-weight: 700;
    color: white;
    font-size: 20px;
    padding: 0 15px;
}

main {
    margin: 20px auto;
    max-width: 1170px;
    display: flex;
}
.link {
    font-size: 12px;
    color: grey;
}
.sort-label {
    display: flex;
    justify-content: flex-start;
}
.sort-label__price {
    width: 100px;
    text-align: center;
    padding: 5px;
    background-color:rgb(247, 247, 247);
    margin-bottom: 10px;
    margin-right: 5px;
}
.sort-label__season-li {
    display: inline-block;
    padding: 5px;
}
.sort-label__season-li:first-child {
    border-bottom: 2px solid rgb(236, 162, 0);
}
.sales-li {
    color:rgb(236, 162, 0);
}
.main-container {
    width: 900px;
}
aside {
    margin-top: 100px;
    width: 265px;
    background-color: #f9f9f9;
    border-radius: 10px;
    color: rgb(61, 61, 61);
    box-shadow: 0 0 4px rgb(236, 162, 0);
}
.filtering__section {
    border: 1px solid rgb(255, 204, 169);
    padding-bottom: 10px;
}
.filtering__section:first-child {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.filtering__header {
    padding: 10px;
    font-weight: 800;
}
.filtering__options {
    border-top: 1px solid rgb(170, 170, 170);
    padding: 10px;
    margin-top: -1px;
}
.filtering__option {
    padding: 5px 10px;
}
.label {
    font-size: 15px;
    margin: 5px 0;
}
.filtering__option select {
    width: 230px;
    height: 30px;
    outline: 0;
    font-size: 13px;
    border: 1px solid rgb(216, 216, 216);
    border-radius: 5px;
}
.button-filter {
    height: 40px;
    width: 200px;
    margin: 10px auto;
    background-color:rgb(236, 162, 0);
    border: 1px solid grey;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
}
input[type="checkbox"] {
    transform: scale(1.6);
    width: 25px;
}
.checkbox-label {
    display:inline-block;
}
.price-filtering__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.price-filtering__option span {
    font-size: 24px;
}
.price-filtering__option input {
    width: 70px;
    height: 20px;
    padding: 5px 10px;
    border: 1px solid rgb(190, 190, 190);
    border-radius: 5px;
}
.price-filtering__swipe {
    height: 40px;
    position: relative;
}
.price-filtering__swipe-line {
    position: absolute;
    height: 4px;
    width: 100%;
    top:18px;
    background-color: rgb(236, 162, 0);
    z-index: 2;
}
.price-filtering__swipe-border {
    position: absolute;
    height: 12px;
    width: 12px;
    border-radius: 100%;
    top: 12px;
    background-color: white;
    border: 3px solid rgb(236, 162, 0);
    z-index: 3;
    cursor: pointer;
}
.label-smaller {
    font-size: 12px;
    color: grey;
}
.none-padding {
    padding-bottom: 0;
}
.price-filtering__swipe-border1 {
    position: absolute;
    height: 12px;
    width: 12px;
    border-radius: 100%;
    right: 0;
    top: 12px;
    background-color: white;
    border: 3px solid rgb(236, 162, 0);
    z-index: 3;
    cursor: pointer;
}
.brand-conainter {
    border: 1px solid rgb(196, 196, 196);
    max-height: 250px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding: 10px 0;
}
.brand-conainter input {
    transform: scale(1.4);
}
#reset {
    background-color: white;
    color: grey;
    border: 2px solid grey;
}
#ask {
    background-color: white;
    font-weight: 500;
    color: rgb(236, 162, 0);
    border: 2px solid rgb(236, 162, 0);
}
.products__container {
    display: flex;
    width: 889px;
    margin-top: 30px;
    justify-content: flex-start;
    flex-wrap: wrap;
}
.products-list {
    position: relative;
    width: 200px;
    height: 330px;
    padding: 10px;
    border: 1px solid rgb(236, 236, 236)
}
.products-list:hover {
    box-shadow: 0 0 6px 0 rgb(236, 162, 0);
    transition-duration: 0.4s;
    background-color: rgb(236, 236, 236);
}
.products__img-container {
    position: relative;
}
.products-img {
    display: block;
    width: 80%;
    margin: 0 auto;
}
.img-gift {
    position: absolute;
    top:5px;
    left:5px;
    width: 28px;
}
.img-check {
    width: 28px;
    position: absolute;
    top:36px;
    left:5px;
}
.img-season {
    width: 28px;
    position: absolute;
    bottom: 5px;
    left: 5px;
}
.products__text-container {
    text-align: center;
}
.products__name {
    font-weight: 600;
    margin: 10px 0;
}
.products__ask {
    position: absolute;
    display: flex;
    align-items:center;
    color: grey;
    font-size: 12px;
    bottom:60px;
}
span.rate {
    display: block;
    width: 40px;
    height: 40px;
    background-image: url("/img/tag.png");
    background-size: 40px 40px;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items:center;
    font-weight: 600;
    color: black;
}

.products__price {
    position: absolute;
    font-size: 22px;
    font-weight: 600;
    bottom:20px;
    left:50px
}

article {
    margin-top: 30px;
    border-radius: 20px;
    width: 889px;
    background-color: rgb(240, 240, 240)
}
.text-wrapper {
    padding: 20px 10px;
}
.sales a {
    color: rgb(236, 162, 0);
}
.text-wrapper a {
    color: rgb(236, 162, 0);
}

footer {
    margin-top: 40px;
}
.footers__wrapper {
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}
.footers__uls {
    display: flex;
    width: 900px;
    justify-content: space-between;
}
.footers__ul {
    display: flex;
    flex-direction: column;
    margin-right: 30px;
}
.footers__ul-label {
    font-size: 18px;
    font-weight: 600;
    color: black;
    margin-bottom: 10px;
}
.footers__list-container {
    display: flex;
    flex-direction: column;
}
.footers__ul span {
    color: grey;
    margin-bottom: 5px;
}
.footers__right-side {
    width: 260px;
}
.footers__right-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    margin-bottom: 10px;
}
.telephone {
    display: flex;
    align-items:center;
}
.telephone img {
    width: 24px;
}
#calling {
    font-size: 12px;
    color: rgb(168, 20, 0);
    border-bottom: 1px dashed rgb(168, 20, 0);
}
.comm-shops {
    display: flex;
    justify-content: space-around;
    align-items:center;
    text-align: center;
    font-size: 14px;
    border: 1px solid rgb(219, 219, 219);
    padding: 5px;
}
.commentaries {
    font-weight: 600;
}
.stars img {
    width: 16px;
}
.shops {
    display: flex;
    flex-direction: column;
}
.shops a {
    color: rgb(92, 92, 92);
    text-decoration: underline;
    margin-bottom: 10px;
}
.shops a:last-child {
    margin-bottom: 0;
}
.social-links img {
    width: 48px;
}

.place-window-wrapper {
    display: none;
    position: fixed;
    top:0;
    width: 100%;
    height: 100%;
    background-color:rgba(92, 92, 92, 0.5)
}
.modal {
    width: 600px;
    height: 760px;
    margin: 0 auto;
    margin-top: 50px;
    background-color: white;
    padding: 30px;
}
.modal a {
    color: rgb(168, 20, 0);
}
.place-window-head {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: rgb(43, 43, 43)
}
.place-window-header {
    margin: 10px 0;
    padding: 10px;
    border-bottom:2px solid rgb(121, 121, 121);
}
a.place-window-header-choised {
    margin-right: 15px;
    color: black;
    font-weight: 600;
}
.place-window-cities-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 550px;
}
.place-window-cities-container a {
    width: 180px;
    padding: 10px;
}
.place-window-cities-container a:hover {
    background-color:rgb(219, 219, 219);
    transition-duration: 0.6s;
}
.modal input {
    width: 90%;
    height: 20px;
    display: block;
    margin: 20px auto;
    padding: 10px;
    background-color: rgb(219, 219, 219);
    border: 1px solid grey;
    border-radius: 10px;
    color:rgb(31, 31, 31);
}
#centers {
    position: relative;
}
#center-choise {
    display: none;
    position: absolute;
    width: 300px;
    height: 380px;
    background-color: rgb(247, 247, 247);
    border: 1px solid grey;
    border-radius: 10px;
    top:30px;
    left: 50px;
    padding: 10px 5px;
    z-index: 2;
}
.center-container {
    max-height: 380px;
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
}
.center-container span {
    background-color:rgb(168, 20, 0);
    border-radius: 5px;
    padding: 4px 10px;
    margin: 2px 0;
    color: white;
}

.footers__bottom {
    display: flex;
    max-width: 1170px;
    margin: 30px auto;
}
.footers__bottom img {
    width: 20px;
}
.footers__bottom a {
    margin-right: 250px;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: grey;
}
.mobile-display {
    display: none;
}
@media screen and (max-width: 420px) {
    .mobile-delete {
        display: none;
    }
    .heading__up-wrapper {
        background-color: rgb(216, 216, 216);
    }
    .heading__main-section {
        margin: 0 0;
    }
    .heading__main-row {
        margin: 0 0;
        position: flex;
        background-color: white;
        width: 100%;
        z-index: 4;
    }
    .heading__menu-li {
        display: none;
    }
    #centers {
        display: none;
    }
    .heading__main-row-li {
        display: none;
    }
    .heading__main-row a:first-child img{
        width: 200px;
    }
    .mobile-display {
        display: flex;
        background-color: inherit;
    }
    .heading__main-row-li img {
        width: 24px;
    }
    main {
        flex-direction: column-reverse;
        margin-top: 0;
    }
    aside {
        width: 100%;
        margin: 0 auto;
    }
    .main-container {
        width: auto;
        padding: 10px;
    }
    .products__container {
        width: 100%;
    }
    .products-list {
        width: 70%;
        margin: 0 auto;
    }
    .products__ask {
        bottom: 40px
    }
    article {
        width: 100%;
    }
    .footers__wrapper {
        width: 100%;
        flex-direction: column;
    }
    .footers__uls {
        flex-direction: column;
        width: 100%;
    }
    .footers__ul {
        width: 95%;
        height: 130px;
        margin: 0px auto;
        padding: 10px 5px;
        flex-direction: column;
        border-radius: 5px
    }
    .footers__list-container {
        flex-direction: row;
        align-content: center;
        flex-wrap: wrap;
        height: 100px;
    }
    .footers__list-container span {
        width: 50%;
    }
    .footers__right-side {
        margin: 0 auto;
    }
    .footers__bottom {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footers__bottom a {
        margin: 20px;
        text-align: center;
    }
} .filials .filial {
    border-bottom: solid 1px #e0e0e0;
    padding: 15px 5px;
    margin-right: 5px;
    width: 30%;
    transition: all .35s ease;
    cursor: pointer;
}

 .filials .filial .name {
    font-size: 11pt;
    font-weight: 600;
}
 .filials .filial div{
    font-size: 14px;
 }

.filials .visible{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

@media screen and (max-width: 770px) {

    .filials .filial {
        width: 100%;
    }

}