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

html, body {
    font-size: 13px;
}

a.header__link {
	font-size: 1rem;
}

.mob-nav__logo {
	background-size: auto 40px;
    margin-left: 45px;
}

.mob-nav__SearchIcon,
.mob-nav__logIn {
	width: 32px
}

.mob-nav__slide {
	width: 50px!important;
}

.mini-cart {
	margin-right: 1rem!important;
}

.main-page__advantages .pdr-advantages__item {
    width: 100%;
    margin: 1rem 0px;
    justify-content: flex-start;
    flex-wrap: nowrap;
}

.main-page__advantages .pdr-advantages__icon {
    flex-shrink: 0;
}

.category.--view-2 a.product__pic {
    height: auto;
}

.wraper__title {
    margin-bottom: 1rem;
}

.type-editor h2, .type-editor .h2 {}

h2, .h2 {
    font-size: 2rem;
}

.subscrible__form > * {
    width: 100% !important;
    margin-right: 0px !important;
    margin-bottom: 1rem;
    max-width: 100% !important;
}

.subscrible {
    background-image: none;
    padding: 2rem 0px;
}

.subscrible__form > * {
    width: 100% !important;
    margin-right: 0px !important;
    margin-bottom: 1rem;
    max-width: 100% !important;
}

.footer__devider {
    display: none;
}

.footer__contact {
    width: 100%;
    margin: .5rem 0px;
}

.footer__info > * {
    width: calc(100%) !important;
}
.footer__top {
    padding-bottom: 5rem;
}

.sort__selects.flex.--align-center {
    margin-top: 0px;
}



.sort__view {
    margin-left: 0px;
    margin-right: 1rem;
}

.sort__views {
    margin-top: 1rem;
}

.sort__selects > * {
    margin-bottom: 1rem;
}

.category.--view-1 > * {
    width: calc(100% / 1);
    border-right: 0px solid var(--color__border) !important;
}

.pagination__arrows {
    display: none;
}

.pagination__arrows {}

.wraper__title--count {
    margin-left: 0px;
}

.pdr-detail__info {
    padding: 2rem;
}

.pdr-detail__gallery {
    padding: 2rem;
}

.count-calc {
    width: 100%;
	margin-bottom: .5em;
}

.product__addtocart {
    width: 100%;
    margin-top: 0;
}

.pdr-detail__info {
    padding: 2rem;
}

.pdr-detail__gallery {
    padding: 2rem;
}

.count-calc {
    width: 100%;
}

.pdr-detail__tab {
    width: 100%;
    padding: 1.5rem 0px;
    box-shadow: inset 0px -.3rem 0px var(--color__border);
}

.pdr-detail__tabs {
    padding-top: 1rem;
}

.pdr-detail__desc {
    padding: 2rem 2rem 0;
}
.steps__desc h2:first-child, .steps__desc h3:first-child, .steps__desc h4:first-child, .steps__desc h5:first-child, p:first-child {
    margin-top: 0rem !important;
}
.steps__desc {
    padding-left: 1.5rem;
}
.sort__tags > * {
    margin-bottom: 1rem;
}
.project .project__info {
    padding: 2rem;
    border-right: 0px;
}

.project .project__info a.product__more {
    margin-top: 1rem;
}

a.project__pic {
    height: 16rem;
}

h1 {
    font-size: 2rem;
    line-height: 2.5rem !important;
    margin-bottom: .5rem;
}

.wraper__title--count {
    width: 100%;
}
.wraper__list {
    padding: 2rem;
}
 
.catalog__categorys > * {
    width: calc(100% / 1);
}


.catalog__category {
    background-color: white;
    padding: 2.5rem;
    border-bottom: 1px solid var(--color__border);
    border-right: 0px;
}

.pdr-detail__manufacture-logo {
    display: none;
}

.type-editor blockquote {
    padding: 2rem;
}
a.product-mini__img {
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

.product-mini__price {
     margin-left: 0px;
     margin-left: 2rem;
}

.personal__content .product-mini__price {
    margin-left: 0.5rem;
}

.product-mini__count {
    margin-left: 0px;
}

a.product-mini__name {
    max-width: 100% !important;
    width: 100% !important;
    flex: inherit;
    margin-left: 0px !important;
    margin-bottom: 1rem;
}
.order-form__inputs .input__wrap {
    width: 100% !important;
    max-width: calc(100% - 1rem);
    margin-bottom: 1rem;
}

.order__buttons > * {
    height: 4rem;
    width: 9rem;
    font-size: 1.125rem;
    margin-right: 1rem;
    flex: 1;
}
.order__buttons > *:last-child {
    margin-right: 0px;
}


.order__step {
    text-align: center;
    justify-content: center;
}

.order__step-name {
    margin-left: 0px;
    width: 100%;
    margin-top: .5rem;
    font-size: .75rem;
}

.order__step {
    height: auto;
}

.order__steps {
    align-items: stretch;
}

.input__wrap.--big2 {
    width: calc( (100% / 1) - 1.5rem);
}

.order-form__param .--align-center .input__wrap.--big2 {
    margin-right: 0;
}

.contacts .info .items .item {
    width: 100%;
}
.contacts__bottom .flex > * {
    width: 100%;
}

.projects.--news > * {
    width: calc(100% / 1);
}

.projects.--news > .project:nth-last-of-type(1) {
    margin-bottom: 0;
}

.product__more {
    margin-bottom: 0;
}

.type-carusel:nth-last-of-type(1) {
    margin-bottom: 0;
}

a.product-mini__name.--buy-1-click {
    flex: 1;
    margin-left: 1rem !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}
.popup a.product-mini__img {
    margin-bottom: 0px;
}

.order__btn.--buy-1-click {
    height: 4rem;
    position: relative;
    margin-top: 0px;
}
.projects.--news > * {
    width: calc( (100% / 1) - .5rem);
}


.category.--view-2 > * {
    width: calc( (100% / 2) - .5rem);
}

.swiper-slide .projects.--news > * {
    width: calc( (100% / 1) - .5rem);
}

.product .count-calc.--fix-product {
	width: 140px;
}

.count-calc__btn.--fix-product {
	display: none;
}

#basket_form {
	margin: 0 -2em;
}

#basket_items .count-calc__btn.--fix-product {
	display: block;
}

input.count-calc__input.--fix-product {
	width: 90%;
	padding-right: 0;
}

#basket_items input.count-calc__input.--fix-product {
	margin: 0 44px;
}

#basket_items .count-calc__btn.--minus.--fix-product,
#basket_items .count-calc__btn.--plus.--fix-product {
    display: flex;
    align-items: center;
	top: 0;
    width: 39px;
    height: 39px;
    margin: 0;
}

#basket_items .count-calc__btn.--minus.--fix-product {
	left: 0;
}

#basket_items .count-calc__btn.--plus.--fix-product {
	right: 0;
}

#basket_items a.product-mini__delete img {
	top: .55rem;
    width: 1.75rem;
}

.product.--main-page {
    width: calc( (100% / 1) - .5rem);
}
.swiper-slide.category.--view-2 .product {
    width: calc( (100% / 1) - .5rem);
}


.product.--main-page.--big {
    width: calc( (100% / 1) - .5rem);
}

.subscribe {
    margin-top: 0;
}

.subscrible__wraper {
    margin-top: 0;
    margin-bottom: 3rem;
    padding-left: 0px;
}

.subscrible__wraper .h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    line-height: 2rem;
}

.footer__top .footer__menu {
    width: 100%;
}
.product__propery > * {
    width: 100%;
    text-align: left !important;
}

.product__propery {
    margin: .5rem 0px;
}

.product__prices {
    /* width: 100%; */
}

.pdr-detail .product__prices{
    text-align: center;
}

.product__buy {
    align-items: center;
    justify-content: center;
}

.product__buy > .flex {
    width: 100%;
}

.pdr-detail .product__buy > .flex {
    width: auto;
}

.product__price.--detail span {
    font-size: 1.35rem !important;
}

.product-mini > .flex {
    justify-content: center;
}

.personal__content .product-mini > .flex {
    justify-content: space-between;
}

.count-calc.--fix-product {
    margin-right: 0;
    margin-bottom: 0.5rem;
}


    .order-form__params-wrap .order-form__param {
        width: 100%;
        margin-bottom: 1rem;
    }

    .person-type input[type="radio"] + label {
        padding: 1rem 2.5rem;
        font-size: .75rem;
        line-height: 1rem;
        text-align: center;
    }

    .modifications__links {
        margin-bottom: 0;
    }

    .search-wrap .category {
        grid-template-columns: 1fr;
    }

    .seotext {
        display: none;
    }

    .link-top {
        position: fixed;
        display: block;
        z-index: 5;
        bottom: 3rem;
        left: 0.5rem;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background-color: var(--color__fill-2);
        box-shadow: 0.25rem 0.5rem 1.5rem -0.25rem rgba(0, 87, 177, 0.48);
        transform: rotate(180deg);
        background-image: url(/local/templates/midestika/img/footer__show-links.svg);
        background-position: center;
        background-repeat: no-repeat;
    }

    .link-phone {
        position: fixed;
        z-index: 5;
        bottom: 3rem;
        right: 0.5rem;
        display: block;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        box-shadow: 0.25rem 0.5rem 1.5rem -0.25rem rgba(0, 87, 177, 0.48);
        background-image: url(../img/icon-phone.svg);
        background-size: 100% auto;
        background-position: center;
        background-repeat: no-repeat;
    }

    .btn {
        text-align: center;
    }

    .personal__content,
    .personal__side {
        padding: 2rem;
    }

    .order-form__params-contact-wrap {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }

    .order-form__params-contact-wrap .person-type {
        -ms-grid-column: 1;
        -ms-grid-column-span: 1;
        grid-column: 1 / 2;
    }

}

@media screen and (max-width: 420px) {
    .person-type input[type="radio"] + label {
        padding: 1rem;
    }
}