@media screen and (max-width: 1400px) {
    body .container {
        width: 970px;
    }
    header nav ul li a {
        padding: 0 30px;
        font-size: 12px;
    }
    header .top {
        margin: 16px 0 0 0 ;
    }
    .block_0 .title_text {
        margin-right: 40px;
    }
    .cat_item {
        width: 430px;
        height: 330px;
        margin: 10px;
    }
    .cat_item a h2 {
        width: 310px;
        height: 60px;
        line-height: 60px;
        font-size: 14px;
    }
    .cat_item a h2 > img {
        width: 16px;
        margin-right: 20px;
    }
    body .block_2 h4, body .block_3 h4 {
        margin: 70px 0 40px 0;
        font-size: 34px;
    }
    .block_3 .news_left img {
        width: 320px;
        height: 420px;
    }
    .block_3 .news_mid {
        width: 450px;
        margin: -90px 30px 0 30px;
    }
    .block_3 .news_right {
        top: 260px;
        right: -230px;
    }
    .cat_top .cat_text {
        width: 690px;
    }

    body .product_item {
        height: 360px;
        width: 310px;
        margin-bottom: 18px;
    }
    body .product_item .img {
        height: 320px;
    }
    body .product_item .img img {
        height: 320px;
        margin-left: calc(50% - 160px);
    }
    body .product_item h3 {
        line-height: 269px;
        font-size: 18px;
    }
    body .product_item a .product_item_hover span {
        font-size: 12px;
    }
    body #product_carousel {
        width: 1500px;
    }
    body .product_item h2 {
        letter-spacing: 1px;
        margin-top: 8px;
    }
    body .block_2 .products_link, body .block_3 .news_link, body .news_read_more, .news h2 a, .product .right h5 .add_to_cart_button {
        margin: 30px auto;
        font-size: 14px;
        line-height: 40px;
        width: 180px;
        height: 40px;
    }
    .block_3 .news_mid a.news_link img, body .block_2 .products_link img, body .news_read_more img, .news h2 a img, .product .right h5 .add_to_cart_button img, .product .right h5 .add_to_cart_button img {
        width: 16px;
        margin-right: 20px;
    }
    body {
        padding-bottom: 120px;
    }
    footer {
        height: 120px;
    }
    footer p {
        font-size: 14px;
        line-height: 120px;
    }
    .container.about_us p {
        font-size: 16px;
        line-height: 24px;
    }
    .container.about_us > img {
        margin: 0 32px 32px 0;
        width: 500px;
    }
    .container.about_us h3 {
        font-size: 40px;
        line-height: 40px;
    }
    .checkout_cart {
        width: 360px;
    }
    .checkout_cart .checkout_cart_item .checkout_cart_item_left {
        padding: 6px;
    }
    .checkout_cart .checkout_cart_item .checkout_cart_item_mid {
        width: 220px;
    }
    .checkout_cart .checkout_cart_item .checkout_cart_item_right {
        width: 28px;
    }
    .checkout_form .checkout_form_group label {
        width: 130px;
        margin-right: 12px;
    }
    .checkout_form .checkout_form_group input, .checkout_form .checkout_form_group select, .checkout_form .checkout_form_group textarea {
        font-size: 16px;
    }
    .checkout_form {
        width: 620px;
        padding: 10px;
    }
    .product .right h5 .add_to_cart_button {
        width: 220px;
        margin: 8px auto;
    }

    .product .right {
        width: 570px;
    }
}
@media screen and (max-width: 1200px) {
}
@media screen and (max-width: 1024px) {
    .header_socials {
        margin-top: 8px;
        margin-left: 20px;
    }
    body .container {
        width: 780px;
    }
    header nav {
        width: 100%;
        margin-top: 0;
    }
    header .logo a img, footer .logo_footer a img {
        width: 120px;
    }
    body .product_item {
        width: 250px;
    }
    body .product_item .img img {
        height: 270px;
        margin-left: calc(50% - 134px);
    }
    body .product_item h3 {
        line-height: 219px;
    }
    .block_0 .title_text {
        width: 400px;
    }
    .block_0 .title_text h1 {
        font-size: 40px;
        line-height: 40px;
        margin-top: 50px;
    }
    .block_0 img {
        width: 73%;
    }
    .cat_item {
        width: 360px;
        height: 260px;
    }
    .cat_item > img {
        margin-top: -40px;
    }
    .cat_item a h2 {
        width: 290px;
        height: 50px;
        line-height: 50px;
        font-size: 12px;
    }
    .block_3 .news_left img {
        width: 240px;
        height: 340px;
    }
    .block_3 .news_mid {
        width: 360px;
    }
    .block_3 .news_right {
        top: 180px;
        right: -140px;
    }
    .block_3 .news_right img {
        width: 260px;
        height: 260px;
    }
    .cat_top img {
        width: 200px;
        height: 200px;
    }
    .cat_top .cat_text {
        width: 560px;
    }
    .news_item .container > img {
        height: auto;
    }
    .shipping_and_payment p {
        font-size: 14px;
        line-height: 28px;
    }
    .container.about_us > img {
        width: 360px;
    }
    .container.about_us p {
        font-size: 14px;
    }
    .cart_item .cart_item_right {
        width: 16%;
    }
    .checkout_cart, .checkout_form {
        width: 100%;
    }
    .profile h3, .news_title {
        font-size: 36px;
    }
    .news .img_container > img {
        height: 300px;
    }
    body .block_2 .products_link, body .block_3 .news_link, body .news_read_more, .news h2 a, .product .right h5 .add_to_cart_button {
        margin: 20px auto;
    }
    .product .right, .product .left {
        width: 100%;
    }
    .product .left .show, .product .left .small-img {
        margin: 10px auto;
    }
    .product .right h5 .price {
        margin-top: 18px;
    }
    .auth-form .form-group input, .auth-form .form-group select {
        width: 70%;
    }
}
@media screen and (max-width: 900px) {
    body .container {
        width: 600px;
    }
    .block_0 .title_text h1
    {
        font-size: 30px;
        line-height: 34px;
        margin-top: 30px;
    }
    .cat_item {
        width: 100%;
        height: 290px;
        margin: 0 auto;
    }
    .cat_item > img {
        margin-top: -150px;
    }
    .block_0 img, .block_0 .title_text {
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }
    .block_3 .news_right {
        display: none;
    }
    body #product_carousel {
        width: 1300px;
    }
    .cat_top .cat_text {
        width: 380px;
    }
    .cat_top .cat_text p {
        font-size: 16px;
        line-height: 18px;
        padding: 0;
    }
    .cat_top .cat_text h1 {
        margin-top: 0;
        margin-bottom: 12px;
    }
    body .product_item {
        width: 290px;
    }
    .news .img_container {
        width: 100%;
        padding: 0;
        margin-bottom: 12px;
        text-align: center;
    }
    .news h2 a {
        float: unset;
    }
    .container.about_us > img {
        width: 300px;
        float: unset;
    }
    .container.about_us {
        text-align: center;
    }
    .container.about_us p {
        display: inline-block;
        width: 100%;
        padding: 10px 20px;
        text-align: left;
        line-height: 20px;
    }
    #cart_clear {
        width: 60%;
        float: unset;
        margin: 20px auto;
    }
    .cart_buttons, #cart_total {
        text-align: center;
    }
    .cart_item {
        height: auto;
    }
    .cart_item .cart_item_mid {
        width: 56%;
    }
    .cart_item .cart_item_right {
        width: 20%;
    }
    .cart_item .cart_item_price {
        line-height: 16px;
        width: 100%;
        height: 22px;
    }
    .card-header {
        margin-top: 30px;
        margin-bottom: 10px;
    }
}
@media screen and (max-width: 768px) {
    .header_socials {
        margin-top: 6px;
        margin-left: 16px;
    }
    .header_socials a{
        width: 26px;
        height: 26px;
        line-height: 26px;
    }
    .header_socials a i{
        font-size: 26px;
    }
    body .container {
        width: 320px;
    }
    .block_3 .news_left {
        display: none;
    }
    .block_3 .news_mid {
        margin: 0 auto;
        width: 300px;
    }
    .cat_item > img {
        margin-top: -10px;
    }
    footer p {
        line-height: 56px;
    }
    footer .footer_right {
        margin-top: 30px;
    }
    footer .logo_footer {
        margin-top: 16px;
    }
    .news_item .container > img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }
    .profile h3, .news_title {
        margin-top: 10px;
        margin-bottom: 20px;
    }
    .news_item h3 {
        height: 30px;
        margin-top: 16px;
    }
    .shipping_and_payment p {
        margin: 10px 0 40px 0;
    }
    .cat_top img {
        margin: 10px auto;
        float: unset;
        display: none;
    }
    .cat_top {
        text-align: center;
        min-height: auto;
    }
    .cat_top .cat_text {
        width: 100%;
    }
    .cat_top .cat_text h1 {
        font-size: 24px;
    }
    body .product_item .img {
        margin: 0 auto;
    }
    body .product_item {
        width: 158px;
        height: 310px;
    }
    body .product_item h2 {
        text-align: center;
    }
    body .product_item .img img {
        height: 240px;
        margin-left: calc(50% - 120px);
    }
    body .product_item a {
        left: 0;
        right: 0;
    }
    body .product_item h3 {
        line-height: 28px;
        background-color: rgba(0,0,0,0.1);
    }
    body .product_item a .product_item_hover span {
        width: 100%;
        background-color: rgba(0,0,0,0.1);
        margin-top: 172px;
        margin-bottom: 0;
        font-size: 16px;
        line-height: 30px;
    }
    body .product_item a .product_item_hover {
        opacity: 1;
    }
    body .product_item a:hover .product_item_hover span {
        margin-bottom: 0;
        margin-top: 189px;
    }
    .product .right, .product .left .show, .product .left .small-img {
        width: 100%;
        margin: 0 auto;
        text-align: center;
        padding: 0 4px 20px 4px;
    }
    .product .right h5 .price, .product .right h5 .add_to_cart_button {
        float: unset;
    }
    .product .left .small-img {
        left: 0;
    }
    .small-container {
        width: 280px;
    }
    .show {
        height: 340px;
    }
    .product .right {
        margin-top: 20px;
    }
    .cart_item .cart_item_left,.cart_item .cart_item_mid, .cart_item .cart_item_right {
        width: 100%;
        text-align: center;
        height: auto;
        margin: 0 auto 10px auto;
    }
    .cart_item .cart_item_mid h3 {
        height: auto;
        line-height: 30px;
        display: block;
    }
    .cart_buttons a {
        margin: 0 auto 20px auto;
    }
    .checkout_cart .checkout_cart_item .checkout_cart_item_mid h3,
    .checkout_cart .checkout_cart_item .checkout_cart_item_right span {
        height: 30px;
    }
    .checkout_form .checkout_form_group label {
        width: 100%;
        text-align: center;
        margin: 0 auto;
    }
    .checkout_form .checkout_form_group input, .checkout_form .checkout_form_group select, .checkout_form .checkout_form_group textarea {
        width: 100%;
    }
    .profile .profile_form .checkout_form_group input, .profile .profile_form .checkout_form_group select {
        width: 100%;
    }
    .auth-form .form-group input, .auth-form .form-group select {
        width: 90%;
    }
    .news_item .container > img {
        margin: 0 auto;
    }
    header nav ul li {
        width: 100%;
        height: 34px;
    }
    header nav ul li a{
        line-height: 34px;
    }
    header nav {
        height: auto;
    }
}
