@media screen and (min-width: 768px) {
    .container {
        padding: 0 30px;
    }

    /* !header */
    .header-client {
        min-width: 250px;
    }

    .header-phones {
        min-width: 280px;
    }

    .header-client__mail,
    a[href="/?logout"].header-entered__link {
        display: block;
    }

    /* !footer */
    .footer {
        padding: 60px 0 35px;
    }

    .footer-logo {
        display: block;
        width: 160px;
        margin-bottom: 50px;
    }

    .footer-catalog,
    .footer-info,
    .footer-contacts {
        width: 32%;
    }

    .footer-catalog, .footer-info, .footer-contacts {
        margin-bottom: 55px;
    }

    .footer-copyright {
        margin-top: 0;
    }

    /* !static-main */
    .tb {
        margin-top: 60px;
    }

    .tb-bottom {
        margin: 0;
        max-height: 620px;
        min-height: 620px;
    }

    .b-figure {
        min-height: 620px;
    }

    .tb-bottom img {
        height: 620px;
        object-position: 100% 50%;
        object-fit: cover;
    }

    .tb-title {
        font-size: 35px;
        line-height: 46px;
    }

    .tb-subtitle {
        max-width: 208px;
        font-size: 16px;
        line-height: 20px;
    }

    .tb-list__item {
        font-size: 12px;
    }

    .cat-cell {
        margin-top: 110px;
    }

    .cat-cell .container {
        padding: 0 30px;
    }

    .cat-cell__filter {
        opacity: 0.4;
    }

    .cat-cell-1, .cat-cell-2, .cat-cell-2 .cat-cell__link:first-child {
        margin-bottom: 13px;
    }

    .cat-cell-1 {
        width: calc(60% + 1px);
        max-height: 320px;
    }

    .cat-cell-2 {
        width: 38%;
        min-height: 0;
        max-height: 320px;
    }

    .cat-cell-2 .cat-cell__link:first-child {
        height: 130px;
        max-height: none;
    }

    .cat-cell-2 .cat-cell__link:last-child {
        height: 177px;
        max-height: none;
    }

    .cat-cell-3 .cat-cell__link:first-child {
        width: calc(54% - 7px);
    }

    .cat-cell-2 .cat-cell__link:last-child img {
        max-height: 257px;
    }

    .brand-list {
        grid-template-columns: repeat(3, minmax(140px, 1fr));
        grid-template-rows: 1fr 1fr;
        gap: 28px;
    }

    .brand__link {
        display: none;
    }

    .brand-titles {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
    }

    .brand__title {
        width: 60%;
    }

    .brand-titles .brand__link {
        display: flex;
        margin-top: 0;
    }

    .product.hit {
        margin-top: 90px;
    }

    .product.new {
        margin-top: 80px;
    }

    .details {
        padding: 110px 0;
        margin-top: 70px;
    }

    .details .container {
        display: flex;
        justify-content: flex-end;
    }

    .details-figure {
        display: block;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        position: absolute;
        min-width: 323px;
        width: 38%;
        max-width: 420px;
        height: 346px;
    }

    .details__title {
        font-size: 25px;
        line-height: 31px;
    }

    .details-figure img {
        object-fit: cover;
        height: 100%;
    }

    .details-text {
        width: 50%;
    }

    .details__link {
        margin-top: 40px;
    }

    .main {
        margin-bottom: 70px;
    }

    /* !manufactures */
    .manufactures-items {
        grid-template-columns: 1fr 1fr 1fr;
    }

    /* !manufactures-item */
    .manuf-item__title {
        margin: 20px -30px 0;
        padding: 0 30px 5px;
    }

    .manuf-item {
        display: flex;
    }

    .manuf-item-left {
        min-width: 280px;
        margin-right: 20px;
    }

    .manuf-item-right {
        margin-top: 20px;
    }

    .manuf-item-right img {
        display: block;
        margin: 0 !important;
        margin-bottom: 20px !important;
        margin-right: auto;
    }

    /* !catalog / sales */
    .mobile-block {
        align-items: flex-end;
    }

    .market__title,
    .sales-title {
        padding: 0 30px 10px;
        margin: 0 -30px;
    }

    .market-sortable__title {
        font-size: 14px;
        line-height: 22px;
    }

    .sortable-wrap {
        min-width: 190px;
    }

    .sortable-open {
        height: 20px;
    }

    .sortable a {
        font-size: 16px;
        line-height: 17px;
    }

    .market-items {
        padding: 0;
        gap: 30px 5px;
        grid-template-columns: repeat(auto-fill, minmax(236px, 1fr));
    }

    .item {
        padding: 18px;
        min-height: 340px;
    }

    .item-cat {
        min-height: 230px;
    }

    .item-cat-figure,
    .item-figure {
        width: 200px;
        height: 200px;
    }

    .item__title {
        font-size: 14px;
        line-height: 15px;
        letter-spacing: 0.05em;
        margin-bottom: 12px;
    }

    .sale-figure {
        margin: 20px 0 40px;
    }

    .sale-item {
        padding: 30px;
        margin: 0 -30px;
    }

    /* !product */
    .good-gallery {
        display: flex;
        justify-content: space-between;
        flex-direction: row-reverse;
    }

    .good-gallery {
        width: 100%;
        max-height: 545px;
    }

    .good-gallery-for {
        min-width: 600px;
        max-width: 800px;
        min-height: 545px;
        max-height: 545px;
        overflow: hidden;
    }

    .good-gallery-for .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .good-gallery-for img {
        min-width: 400px;
        max-width: 600px;
        width: 65%;
    }

    .good-gallery-nav {
        margin-top: 0;
        width: auto;
        margin: 37px 0 30px;
    }

    .good-gallery-nav .swiper-wrapper {
        min-width: 75px;
        width: auto;
        max-width: 100px;
    }

    .good-gallery-nav .swiper-slide img {
        height: auto;
        max-height: 75px;
        object-fit: cover;
    }

    .good-gallery-nav .p-prev, .good-gallery-nav .p-next {
        width: 30px;
        height: 76px;
        transform: rotate(90deg);
    }

    .good-gallery-nav .swiper-slide {
        min-width: 75px;
        max-width: 100px;
        height: auto;
    }

    .p-prev {
        top: -38px;
        left: auto;
        right: 22px;
    }

    .p-next {
        top: auto;
        right: auto;
        left: 23px;
        bottom: -53px;
    }

    .good__title {
        margin-top: 10px;
    }

    /* !basket */
    .basket-top {
        margin: 20px -30px 0;
        padding: 0 30px 15px;
    }

    .basket-item {
        margin: 0 -30px;
        padding: 20px 30px;
    }

    .basket-item__title {
        font-size: 18px;
        line-height: 19px;
        letter-spacing: 0.0005em;
    }

    .basket-item-feature {
        margin-top: 15px;
    }

    .basket-item-feature:not(:first-child) {
        margin-top: 5px;
    }

    .item-image {
        max-height: 150px;
    }

    .item__delete {
        margin-top: 30px;
    }

    .basket-data {
        justify-content: space-between;
        width: 100%;
    }

    .basket-data-right {
        height: auto;
    }

    .basket-info {
        margin: 20px -30px 0;
        padding: 0 30px;
        display: flex;
    }
    
    .select2-container {
        width: calc(100% - 60px);
    }

    .feature__key,
    .feature__value {
        font-size: 14px;
    }

    .basket-duo-label {
        flex-direction: column;
    }

    .basket-label {
        width: 50%;
        /* min-width: 432px; */
    }

    .basket-duo-label {
        width: 50%;
        max-width: 432px;
        margin-left: 20px;
    }

    .basket-duo-label .basket-label:first-child,
    .basket-duo-label .basket-label:last-child {
        width: 100%;
        min-width: 232px;
        max-width: 400px;
    }  
    
    .select2-container {
        width: 432px;
    }

    .basket-submit {
        width: 230px;
        margin-left: auto;
        margin-top: 20px;
    }

    /* !order */
    .order_form {
        display: flex;
        justify-content: space-between;
    }

    .order-left {
        min-width: 354px;
        width: 50%;
        max-width: 820px;
    }

    .order-right {
        margin-top: 65px;
        min-width: 337px;
        width: 45%;
        max-width: 400px;
    }

    .order-grey-block {
        margin: 0;
        padding: 20px 10px;
    }

    .order-title {
        margin: 0 0 20px -30px;
        padding: 30px 0 15px 30px;
    }

    .order-paragraf__value {
        max-width: 70%;
    }

    .textarea-label {
        margin-bottom: 0;
    }

    /* !registration */
    .registration__title,
    .profile__title,
    .auth__title,
    .recover__title {
        margin: 0 -30px;
        padding: 0 30px 15px;
        font-size: 24px;
        line-height: 26px;
    }

    .type-face-wrapper,
    .registration-delivery h2,
    .profile-person-data h2,
    .profile-entity-data h2,
    .profile-delivery h2,
    .registration-entity__title,
    .profile-entity__title {
        margin: 0 -30px 20px;
        padding: 0 30px 15px;
        font-size: 20px;
        line-height: 24px;
    }

    #type_face {
        justify-content: space-between;
        max-width: 370px;
    }

    #type_face label {
        font-size: 18px;
        line-height: 19px;
        font-weight: 700;
    }

    #type_face input:checked::before {
        bottom: -15px;
    }

    .reg-duo-label label span,
    .profile-duo-label label span {
        font-size: 14px;
        line-height: 18px;
    }

    .reg-duo-label label input,
    .profile-duo-label label input,
    .reg-duo-label label .select2-container,
    .profile-duo-label label .select2-container {
        margin-top: 5px;
    }

    .reg-bottom-border,
    .profile-bottom-border {
        margin: 10px -30px;
        padding: 0 30px;
    }

    .profile-update {
        top: 5px;
        left: 200px;
    }
}

@media screen and (min-width: 868px) {
    .market-items {
        gap: 30px 55px;
        grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    }
}