@media only screen and (max-width: 1490px) {

    .box-container,
    .overlay-content {
        max-width: 910px;
    }

    header {
        margin-left: -715px;
    }

    .shop-block {
        margin-right: -715px;
    }

    .fixed .product-categories-tabs {
        width: 910px;
        margin: 0 -455px;
    }

}

@media only screen and (max-width: 1440px) {

    body {
        font-size: 16px;
    }

    header,
    .shop-block {
        width: 240px;
    }

    header {
        margin-left: -635px;
    }

    .shop-block {
        margin-right: -635px;
    }

    .box-container,
    .overlay-content {
        max-width: 790px;
    }

    .product-categories-tabs {
        padding: 15px 10px 0;
    }

    .fixed .product-categories-tabs {
        width: 790px;
        margin: 0 -395px;
        padding: 15px 10px;
    }

    .logo-container a {
        height: 115px;
    }

    .add-to-cart-buttons {
        font-size: 20px;
    }

    .add-to-cart-buttons > * {
        margin-right: 4px;
        width: 20px;
        height: 20px;
        line-height: 20px;
    }

    .add-to-cart-buttons > *.modifiers {
        margin-left: 0;
        font-size: 16px;
    }

    .product-item-portion {
        position: absolute;
        top: -45px;
        padding: 5px 10px;
        background: rgba(0,0,0,.5);
        border-radius: 15px;
    }

    .product-categories-tab {
        padding: 8px;
    }

    .product-item {
        padding: 5px;
    }

    .button {
        font-size: 14px;
    }

    .text-container {
        padding: 10px 10px 30px;
    }

    .short-text {
        padding: 10px;
    }

    .cart-widget-items-container {
        margin-top: 5px;
        padding-bottom: 38px;
    }

    .cart-widget-gift,
    .cart-widget-info {
        margin: 5px 2px 0;
    }

    .cart-widget-button-container {
        padding: 5px 2px 0;
    }

    .cart-widget-items {
        max-height: 160px;
    }

}

@media only screen and (max-width: 1280px) {

    body {
        font-size: 15px;
    }

    header {
        display: flex;
        width: 100%;
        margin: 0;
        top: 62px; right: 0; left: 0;
        background: #00b056;
    }

    .admin-bar header {
        top: 94px;
    }

    .logo-container {
        width: 200px;
        margin-bottom: 0;
    }

    .logo-container a {
        height: 96px;
    }

    .menu-container {
        display: flex;
        padding-top: 45px;
    }

    .menu-container a {
        margin-bottom: 0;
        font-size: 100%;
    }

    .main-menu {
        display: flex;
    }

    .shop-block {
        top: 160px;
        right: 0;
        margin: 0;
    }

    .admin-bar .shop-block {
        top: 192px;
    }

    #main-container {
        padding-top: 158px;
    }

    .box-container {
        max-width: 100%;
        padding-right: 240px;
    }

    .header-buttons {
        position: absolute;
        top: 0;
        right: 5px;
    }

    .header-buttons a:hover {
        color: #222;
    }

    .fixed .product-categories-tabs {
        width: 100%;
        margin: 0;
        left: 0;
        top: 158px;
        padding: 10px 250px 10px 10px;
    }

    .admin-bar .fixed .product-categories-tabs {
        top: 190px;
    }

    .short-text {
        padding: 7px 10px;
    }

    footer .box-container {
        padding-right: 0;
    }

    .form-item,
    .form-items {
        padding-bottom: 25px;
    }

    .cart-widget-items {
        max-height: 140px;
    }

    .contacts-block {
        position: fixed;
        top: 0; right: 0; left: 0;
        padding: 10px 15px 9px;
        border-bottom: 1px solid #222;
        box-sizing: border-box;
    }

    .admin-bar .contacts-block {
        top: 32px;
        border-top: none;
    }

    .contacts-block > div {
        line-height: 16px;
        padding-bottom: 0;
    }

    .contacts-block-line {
        display: flex;
        justify-content: space-between;
    }

    .contacts-block + .contacts-block {
        border-top: none;
    }

}

@media only screen and (max-width: 1024px) {

    .box-container {
        padding-right: 0;
    }

    .mobile-menu-button {
        display: block;
        position: absolute;
        padding: 18px;
    }

    .menu-container {
        position: fixed;
        top: 0; right: -1000px; bottom: 0;
        background-color: #00b056;
        -webkit-transition: all 0.3s ease;
        -moz-transition: all 0.3s ease;
        -o-transition: all 0.3s ease;
        -ms-transition: all 0.3s ease;
        transition: all 0.3s ease;
        padding-top: 100px;
        width: 280px;
        box-sizing: border-box;
        box-shadow: 0 0 6px 0 rgba(0,0,0,.1);
    }

    .menu-container.open {
        right: 0;
    }

    .admin-bar .menu-container {
        top: 32px;
    }

    .main-menu {
        flex-direction: column;
    }

    .main-menu li {
        padding: 5px 0;
    }

    .main-menu li a {
        font-size: 16px;
    }

    .logo-container {
        margin: 0 auto;
        width: 126px;
    }

    .logo-container a {
        height: 60px;
    }

    .header-buttons {
        top: 6px;
        right: 10px;
    }

    .menu-container {
        display: block;
    }

    #main-container {
        padding-top: 122px;
    }

    .fixed .product-categories-tabs {
        top: 122px;
        padding: 10px;
    }

    .admin-bar .fixed .product-categories-tabs {
        top: 154px;
    }

    .page-product .product-items {
        margin: 0 0 30px 0;
    }

    #cookies-terms-message {
        max-width: 750px;
        margin: 0 -375px;
    }

    .short-text,
    .cart-empty,
    .cart-widget-info,
    .cart-widget-items,
    .cart-widget-item-total-label,
    .cart-widget-button-container,
    .cart-widget-gift {
        display: none;
    }

    .cart-order-done {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .cart-order-done .cart-widget-info,
    .cart-order-done .cart-widget-button-container {
        display: block;
    }

    .cart-order-done .cart-widget-info {
        width: calc(100% - 180px);
        padding: 7px;
        background: #00b056;
        border: none;
        box-shadow: 0 0 3px rgba(0,0,0,.25);
    }

    .shop-block {
        width: 100%;
        top: auto; bottom: 0; left: 0;
        display: flex;
        flex-direction: column;
    }

    .admin-bar .shop-block {
        top: auto;
    }

    .cart-widget-container {
        order: -1;
        margin: 0 2px;
    }

    .cart-widget-items-container {
        margin-top: 0;
        padding-bottom: 0;
    }

    .cart-widget-item.total {
        position: relative;
        cursor: pointer;
        border: 2px solid #00b056;
        border-radius: 6px;
    }

    .cart-widget-item-total-label-mobile,
    .cart-widget-item-total-count {
        display: block;
    }

    .cart-widget-item-total-count {
        border: 2px solid #00b056;
        width: 24px;
        height: 24px;
        line-height: 24px;
        text-align: center;
        border-radius: 50%;
        font-size: 125%;
        position: absolute;
        left: 50%;
        margin: -12px;
    }

    .page-cart .cart-widget-info,
    .page-cart .cart-widget-gift {
        display: block;
    }

    footer {
        padding-bottom: 85px;
    }

    .page-template-page-shop-cart footer {
        padding-bottom: 50px;
    }

    .cart-widget-content {
        margin-bottom: 2px;
    }

}

@media only screen and (max-width: 782px) {

    body {
        font-size: 14px;
    }

    .admin-bar .contacts-block {
        top: 46px;
    }

    .admin-bar header {
        top: 108px;
    }

    .admin-bar .menu-container,
    .admin-bar .overlay-container {
        top: 46px;
    }

    #cookies-terms-message.active {
        bottom: 50px;
        max-width: 100%;
        margin: 0;
        right: 15px; left: 15px;
        padding: 15px;
    }

    .cookies-terms-message-inner {
        flex-direction: column;
    }

    .cookies-terms-message-text {
        width: 100%;
        padding-right: 0;
        padding-bottom: 15px;
    }

    .product-item {
        width: 50%;
    }

    #wpadminbar {
        position: fixed;
    }

    .product-categories-tabs {
        padding: 15px 10px;
        flex-wrap: nowrap;
        overflow-x: scroll;
    }

    .product-categories-tab {
        white-space: nowrap;
    }

    .product-left-item-part {
        width: 100%;
    }

    .product-right-item-part {
        width: 100%;
        padding: 0 15px;
    }

    .product-page-options {
        margin-right: 0;
    }

    .page-product .product-items .product-item:nth-child(3) {
        display: none;
    }

    .front-content .shop-info .left-side,
    .front-content .shop-info .right-side {
        width: 100%;
        padding: 0;
    }

    .front-content .shop-info > .grid {
        padding-bottom: 1em;
    }

    .product-item-description {
        padding-right: 0;
    }

    .product-item-container {
        padding-bottom: 10px;
    }

    .text-container {
        padding: 10px 10px 30px;
    }

    .posts-item {
        width: 100%;
    }

    .title * {
        padding: .5em 0;
    }

    .product-categories-buttons {
        padding: 30px 10px 10px;
    }

    .overlay-content {
        padding: 80px 10px 30px;
    }

    .results-container, .empty-text {
        width: 100%;
        padding: 30px 0 0;
    }

    .main-slider-title {
        padding: 15px;
        font-size: 120%;
    }

    .fixed .product-categories-tabs {
        top: 122px;
        padding: 10px;
    }

    .admin-bar .fixed .product-categories-tabs {
        top: 168px;
    }

    .cart-block-item-image-container {
        width: 60px;
    }

    .cart-block-item-info {
        width: calc(100% - 60px);
    }

    .cart-block-item-price {
        width: 120px;
    }

    .cart-block-item-title-container {
        width: calc(100% - 220px);
    }

    input[type="checkbox"] + *,
    input[type="radio"] + *,
    .form-item label > input[type="checkbox"] + span {
        font-size: 80%;
        line-height: normal;
    }

}

@media only screen and (max-width: 600px) {

    .cart-block-item-image-container {
        width: 100px;
        margin: 0 auto;
    }

    .cart-block-item-info {
        width: 100%;
        padding-left: 0;
        padding-top: 15px;
        justify-content: space-between;
    }

    .cart-block-item-remove {
        display: block;
        top: 10px;
        left: auto;
    }

    .cart-block-item-title-container {
        width: 100%;
        padding-bottom: 5px;
    }

    .cart-block-item {
        position: relative;
    }

    .cart-block-item-count-container {
        position: static;
    }

    .form-promo-container .form-items.two-items .form-item {
        width: auto;
    }

    .form-promo-container .form-items.two-items .form-item:first-child {
        width: calc(100% - 180px);
    }

    .form-item label > input[type="checkbox"] + span {
        position: static;
        white-space: pre-wrap;
        overflow: visible;
        padding-top: 5px;
    }

    .shop-info-modal-window {
        width: 96%;
    }

    .shop-info-modal-window .modal-buttons {
        padding-top: 0;
    }

    .shop-info-modal-window .modal-buttons .button {
        width: auto;
    }

    .card-final-header {
        padding-top: 5px;
    }

    .cart-block-bottom {
        padding: 0 0 15px;
    }

    .cart-block-bottom .cart-block-bottom-item:first-child {
        padding-top: 15px;
    }

    .page-cart

}

@media only screen and (max-width: 480px) {

    .cart-block-background {
        padding: 10px 10px 0;
    }

    .button {
        min-width: 140px;
    }

    .form-promo-container .form-items.two-items .form-item:first-child {
        width: calc(100% - 160px);
    }

    .form-items.two-items .form-item,
    .form-items.four-items .form-item,
    .form-item {
        width: 100%;
        padding-bottom: 15px;
    }

    .form-item label {
        min-height: 38px;
    }

    .form-items {
        padding-bottom: 0;
    }

    .block-title {
        padding-top: 1em;
    }

    .cart-block-gift {
        padding-bottom: 15px;
        margin-top: 0;
    }

    .product-item-price {
        position: relative;
        padding-top: 10px;
    }

    .product-item-price span.old {
        position: absolute;
        top: 0; left: 0;
        padding-left: 0;
    }

    .add-to-cart-buttons {
        font-size: 26px;
        position: relative;
    }

    .add-to-cart-buttons > * {
        width: 26px;
        height: 26px;
        line-height: 26px;
    }

    .add-to-cart-buttons > *:hover {
        color: inherit;
    }

    .add-to-cart-buttons > *.inactive {
        color: rgba(255,255,255,.5);
    }

    .add-to-cart-buttons > *.modifiers {
        font-size: 24px;
        position: absolute;
        top: -30px; right: 2px;
    }

}


@media only screen and (max-width: 375px) {

    .product-item {
        width: 100%;
    }

}