@media (min-width: 1000px) and (max-width: 8000px) {
    div.mobile-button-lang {
        display: none;
    }
}


.owl-carousel-home .owl-item {
    display: flex;
    justify-content: center !important;
}

.owl-carousel-home .item {
    display: flex;
    align-items: center !important;
    justify-content: center !important;
}

@media (min-width: 200px) and (max-width: 500px) {
    .product_slider_title span {
        display: -webkit-box !important;

        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 3 !important; /* количество строк */

        overflow: hidden !important;
        text-overflow: ellipsis !important;

        white-space: normal !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;

        line-height: 14px !important;
        max-height: calc(14px * 3) !important;
        font-size: 10px;
    }
}

@media (min-width: 200px) and (max-width: 1000px) {
    div.mobile-button-lang {
        display: block;
    }

    section.products_tabs {
        padding-top: 0;
    }

    #desktop-header {
        display: none;
    }

    /* CSS */
    body {
        margin: 0;
        padding-bottom: 64px; /* отступ под меню */
        font-family: sans-serif;
    }

    a#back_to_top {
        bottom: 68px !important;
    }

    #menu-call, #soc-ico {
        bottom: 120px !important;
    }

    .header-form {
        flex: 1 1 200px;
        max-width: 70%;
    }

    div#mobile-down-header {
        display: unset;
    }

    nav.bottom-nav {
        display: flex;
    }

    div.category-title {
        font-size: 10px;
    }

    div.owl-custom_owl_buttons5 .owl-prev, div.owl-custom_owl_buttons5 .owl-next, div.owl-custom_owl_buttons5 .owl-next:hover, div.owl-custom_owl_buttons5 .owl-prev:hover {
        width: 50px;
        height: 50px;
        z-index: 10;
    }

    span.cat_title {
        font-size: 12px;
        line-height: 20px;
    }
}

@media (min-width: 200px) {

    .header-logo-img {
        max-height: 20px;
    }

    .header-top {
        padding: 5px 0;
    }

    #buy_new_block.buy_and_add_block {
        position: fixed;
        bottom: 50px;
        z-index: 10;
        width: 100%;
        background: white;
        border: 1px solid #ddd;
        border-radius: 10px;
        transition: all 0.3s ease;
        margin: 0 10px
    }

    .img_holder > a > img {
        max-height: 220px;
        object-fit: contain;
    }

    .fast-ord-div {
        margin-bottom: 10px;
    }


}

@media (min-width: 440px) {
    #cart_cnt {
        font-size: 13px;
    }

    .header-logo-img {
        max-height: 26px;
    }
}

@media (min-width: 630px) {
    #cart_cnt {
        right: 35% !important;
    }

}

@media (min-width: 700px) {
    .upd-container {

    }

    .header-logo-img {
        max-height: 27px;
    }
}

@media (min-width: 770px) {
    #buy_new_block.buy_and_add_block {
        position: unset;
        border: unset;
    }

    div.price_block {
        display: flex;
    }

    .prod_block3 {
        padding: 15px 0 !important;
    }
}

@media (min-width: 800px) {

    .header-logo-img {
        max-height: 29px;
    }

    #cart_cnt {
        right: 39% !important;
    }
}

@media (min-width: 1000px) {
    .search-form-in-header {
        min-width: 0;
    }

    .header-form input[type="text"] {
        min-width: 100px;
    }

    div.top-pc-header {
        margin: 0 15px;
    }

    /*.header-logo-img {*/
    /*max-height: 65px;*/
    /*}*/
    .img_holder > a > img {
        max-height: 300px;
    }

    .articul_block > span {
        font-size: 50px;
    }

    .specs_main_product_wr > div.prod_block1 > div > span {
        font-size: 13px;
    }

    .fast-ord-div {
        margin-bottom: 25px;
    }

    .main-header-down {
        min-height: 55px;
        align-items: center;
    }

    .specs_main_product_wr {
        margin-left: 0 !important;
    }

    .price_block {
        flex-direction: column !important;
    }

    #price_additional_block {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    div.flex-additional-block, div.price_block {
        max-width: 80% !important;
    }

    .prod_block3 {
        display: flex;

    }

    div.price_block {
        min-height: 200px;
    }

    #price_additional_block {
        max-width: 50%;
    }
}

@media (min-width: 1100px) {
    div.position-relative > div.buttons_div > a.buy_one_click, div.position-relative > div.buttons_div > p.not_in_stock {
        font-size: 11px !important;
        width: 90px !important;
        height: 35px !important;
    }

    div.product_slider_wr, div.product_slider_wr:hover, div.product_slider_wr > div.position-relative {
        min-height: 320px !important;
        height: 320px !important;
        max-height: 320px !important;
    }

    .articul {
        font-size: 13px !important;
    }

    .product_slider_img, .product_slider_img > img {
        height: 155px !important;
    }

    div.product_slider_title {
        padding: 10px 10px !important;
        font-size: 11px !important;
        line-height: 14px !important;
    }

    div.prices_block > div.current_price {
        font-size: 16px !important;
    }

    div.prices_block > div.old_price {
        font-size: 13px !important;
    }

    div.buttons_div {
        margin-top: 5px;
    }

    .cstm-filter-title, .single_filter_title {
        font-size: 15px !important;
    }

    .container_check {
        font-size: 13px !important;
    }


    #filters {
        padding: 0 5px !important;
    }

    .sorting_block .dropdown-toggle {
        height: 40px !important;
    }

    .sort .dropdown-menu, .sort .dropdown-toggle {
        min-width: 230px !important;
    }

    .show_amount .dropdown-menu, .show_amount .dropdown-toggle {
        min-width: 95px !important;
    }

    .label {
        white-space: nowrap;
    }
}

@media (min-width: 1200px) {
    .specs_main_product_wr > div {
        padding: 15px 15px;
    }

    .prod_block3 {
        flex-direction: column;

    }

    .price_additional_block, .prod_block3 {
        align-items: flex-start;
    }

    #price_additional_block {
        max-width: 100%;
    }

}

@media (min-width: 1400px) {
    div.container {
        width: calc(100% - 200px); /* контейнер всегда на 200px меньше ширины экрана */
        max-width: 2750px; /* но не шире 1750px */
        margin: 0 auto;
    }

    #price_additional_block {
        align-items: start;
    }

    #add_to_cart_m > div > div > div {
        width: 100%;
    }

    div.modal_product_info_wr .modal_product_info_title {
        font-size: 14px;
    }

    div.modal_product_info_wr span {
        font-size: 16px;
        line-height: 32px;
    }

    div.modal_price {
        padding-top: 8px;
        font-size: 16px;
        line-height: 16px;
    }

    div.succes_text_bold {
        font-size: 14px;
        letter-spacing: 1px;
        line-height: 30px;
    }

    span.succes_alert_block span {
        font-size: 16px;
        line-height: 30px;
    }

    a.background_full, button.background_full {
        font-size: 14px !important;
    }

    .img_holder > a > img {
        max-height: 335px;
    }

    .owl-carousel {
        padding: 0 50px !important;
    }
}

@media (min-width: 1750px) {
    .header-logo-img {
        max-height: 48px;
    }

    .header-sub-btns-img {
        width: 26px !important;
    }

    .pc-cart-cnt {
        font-size: 16px !important;
        top: -37% !important;
    }

    .breadcrumbs > li > a:not(.last_bc_item) {
        font-size: 14px !important;
    }

    .catalog_single_product_block > div > h1.title {
        font-size: 20px;
    }

    .specs_main_product_wr > div.prod_block1 > div > span {
        font-size: 16px;
    }

    .new-buy-span {
        font-size: 14px !important;
    }
}

@media (min-width: 1900px) {
    div.price_block {
        max-width: 55% !important;
    }

    div.prices_block {
        justify-self: unset !important;
    }

    div.group_prices_block.prices_block.d-flex.justify-content-between.align-items-center {
        justify-self: center !important;
    }
}

@media (min-width: 1950px) {

    .img_holder > a > img {
        max-height: 435px;
    }

    .prod_block3 {
        flex-direction: row;
    }

    #price_additional_block {
        max-width: 45%;
    }

    div.price_block {
        min-width: 400px !important;
    }

    .container_check {
        font-size: 16px !important;
    }

    .prod_block3 .prices_block .current_price span {
        font-size: 32px !important;
    }

    .add_namatrasnik {
        margin-top: 30px !important;
    }

    /*a.background_full, button.background_full, #add_to_cart_m > div > div > div > div > div:nth-child(6) > div > a.background_border_only.back_to_shop {*/
    /*    padding: 10px 42px !important;*/
    /*}*/
    #add_to_cart_m > div > div > div > div > div.succes_alert_block.d-flex.align-items-center.mb-3 > div.succes_text.flex-fill.text-center.text-md-left.d-flex.flex-column.justify-content-center.align-items-center.align-items-md-start > span {
        font-size: 14px !important;
    }
}