/* region Список главных категорий */
.category-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-row-gap: 20px;
    grid-column-gap: 20px;

    padding: 0 10px;

    font: 16px/1.2 Muller, sans-serif;
    margin-bottom:40px;
}
.category-item {
    position: relative;
    height: 0;
    padding-top: 100%;
    overflow: hidden;
}
.category-item__inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.category-item__image {
    width: 100%;
    object-fit: cover;
}
.category-item__info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    display: flex;
    align-items: center;
    justify-content: center;

    width: 80%;
    height: 80%;

    background-color: rgba(25, 25, 25, 0.5);
    border-radius: 50%;

    transition: background .5s ease;
}
.category-item__header {
    padding: 0 10px;
    color: #fff;
    font-size: 20px;
    text-align: center;
}
.category-item:hover .category-item__info {
    background-color: rgba(126, 199, 5, 0.9);
}
.category-item:hover .category-item__header {
    color: #303d43;
}
/* endregion */

/* region Список товаров */
#cat {
    font: 16px/1.2 Muller, sans-serif;
    font-weight: 400;
    color: #303d43;
}
.cat__top {
    grid-area: cat-top;
}
.cat__side {
    grid-area: cat-side;
}
.cat__main {
    grid-area: cat-main;
    position: relative;
}
.cat__bottom {
    grid-area: cat-bottom;
}
.cat__content {
    display: grid;
    grid-template-columns: 281px auto;
    grid-column-gap: 18px;
    grid-template-areas:
        "cat-top cat-top"
        "cat-side cat-main"
        "cat-bottom cat-bottom";
}

.cat__header {
    margin: 0 0 20px;

    line-height: 1em;
    font-family: Muller, sans-serif;
    font-size: 30px;
    font-weight: 600;
    color: #000;
    letter-spacing: 3px;
}
.cat__description-top {
    margin: 16px 0;
}

/* region Параметры вывода списка */
.sort {
    display: flex;
    padding: 16px 0 19px;
    font-size: 15px;
    color: #000;
}
.sort__items {
    display: grid;
    grid-auto-flow: column;
    grid-column-gap: 18px;

    margin-left: 5px;
}
.sort__item {
    display: flex;
    outline: none;
    cursor: pointer;
}
.sort__item:focus {
    text-decoration: none;
}
.sort__caption {
    border-bottom: 1px dashed;
}
.sort__direction {
    position: relative;

    width: 11px;
    height: 7px;
    margin-left: 5px;

    background-repeat: no-repeat;
}
.sort__direction_up {
    top: 8px;
    background-image: url(../image/catalog/i/icon-arrow-up.png);
}
.sort__direction_down {
    top: 9px;
    background-image: url(../image/catalog/i/icon-arrow-down.png);
}
/* endregion */

/* region Параметры вывода списка (мобильный) */
.cat__actions-mobile {
    /*display: grid;*/
    display: none;
    grid-template-columns: 48px auto;
    grid-column-gap: 30px;
}
.cat-side-opener {
    width: 48px;
    height: 48px;
    border: 0;

    background: url(../image/catalog/i/mobile_filter.png);
}
.sort-v2 {
    width: 100%;
}
/* endregion */

.prod-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 24px;
    grid-row-gap: 24px;
}
.cat--search .prod-items {
    grid-template-columns: repeat(4, 1fr);
}
.prod-item {
    position: relative;

    display: flex;
    flex-direction: column;

    padding: 15px;
}
.prod-item__absolute {
    position: absolute;
    left: 0;
    top: 0;
}
.prod-item:hover {
    border-color: #ededed;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .25);
}
#cat .prod-item__name,
#our-menu .prod-item__name,
#cat-relative .prod-item__name,
#cat-relative1 .prod-item__name
{
    display: block;
    margin-top: 10px;
    font-size: 20px;
    font-weight: bolder;
    font-family: Muller, serif;
    color: #000;
    text-decoration: none;
    word-wrap: break-word;
}
.prod-item__img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}
.prod-item__top {
    flex-grow: 1;
}
.prod-item__about,
.prod-item__properties
{
    font-size: 13px;
    color: #b0b0b0;
}
.prod-item__about {
    grid-column: 1/-1;
    grid-row: 1;
    max-height: unset;
    overflow: hidden;
}
.prod-item__properties {
    grid-column: 1/-1;
    grid-row: 2;
}
.prod-item__properties::before {
    content: '';
    display: block;
    margin: 5px 0;
    height: 1px;
    background: #b0b0b0;
}
.prod-item__btns,
.prod-item__buy-params {
    display: flex;
    justify-content: space-between;
}
.prod-item__buy-params {
    align-items: center;
    padding: 10px 0 15px;
}
.prod-item__btns {
    gap: 16px;
}
.spinedit {
    align-self: flex-end;
    display: grid;
    align-items: center;
    grid-template-columns: 30px auto 30px;
    order: 1;
    width: auto;
    height: auto;
    border-radius: 5px;
    border: 1px solid rgba(228, 228, 228, 1);
    overflow: hidden;
}
.spinedit__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 33px;
    padding: 0 10px;
    background-color: rgba(228, 228, 228, 1);
    line-height: 0;
    color: rgba(0, 0, 0, 1);
}
.spinedit__btn_minus2 {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}
.spinedit__btn_plus {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
} 
.spinedit__btn_disabled {
    opacity: .5;
    cursor: not-allowed;
}
.spinedit__input {
    justify-self: center;
    width: 40px;
    height: 100%;
    padding: 5px 0;
    text-align: center;
    border: 0;
    color: #000;
    font-family: Muller, sans-serif;
    font-weight: 500;
    font-style: Medium;
    font-size: 15px;
    line-height: 135%;
    letter-spacing: 0;
}
.spinedit__input:focus {
    background: #ededed;
    border-color: #dfdfdf;
}
.prod-item__price {
    font-size: 22px;
    font-weight: bold;
}
.prod-item__price-old {
    font-size: 14px;
    min-height: 16px;
    text-decoration: line-through;
}
.prod-item__btn-like {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    padding: 0 8px;
    background: rgba(255, 255, 255, 1);
    border: 1px solid rgba(228, 228, 228, 1);
    border-radius: 6px;
}
.prod-item__btn-like:hover,
.prod-item__btn-like_active {
    background-color: rgba(119, 167, 20, 1);
}
.prod-item__btn-like svg {
    fill: rgba(110, 152, 22, 1);
}
.prod-item__btn-like:hover svg ,
.prod-item__btn-like_active svg {
    fill: rgba(255, 255, 255, 1);
    stroke: rgba(119, 167, 20, 1);
}
.prod-item__btn-buy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 190px;
    width: 100%;
    padding: 0;
    background: rgba(119, 167, 20, 1);
    border-radius: 6px;
    border: 1px solid rgba(119, 167, 20, 1);
    color: #fff;
    font-size: 16px;
}
.prod-item__btn-buy svg {
    width: 24px;
    height: 24px;
    fill: rgba(255, 255, 255, 1);
}
.prod-item__btn-buy:hover {
    background: transparent;
    color: #6ca200;
}
.prod-item__btn-buy:hover svg {
    fill: rgba(119, 167, 20, 1);
}
/* region Стикеры товара */
.prod-item__stickers {
    position: absolute;
    display: grid;
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    grid-row-gap: 6px;
}
.prod-item__sticker {
    width: 50px;
    height: 50px;
    background-position: center;
    background-size: contain;
}
.prod-item__sticker_gift { background-image: url(/image/catalog/stickers/gift.svg); }
.prod-item__sticker_new { background-image: url(/image/catalog/stickers/new.svg); }
.prod-item__sticker_hot { background-image: url(/image/catalog/stickers/hot_product.svg); }
.prod-item__sticker_hit { background-image: url(/image/catalog/stickers/hit.svg); }
.prod-item__sticker_vegan { background-image: url(/image/catalog/stickers/vegan.svg); }
.prod-item__sticker_highprotein { background-image: url(/image/catalog/stickers/highprotein.svg); }
.prod-item__sticker_lowcal { background-image: url(/image/catalog/stickers/lowcal.svg); }
.prod-item__sticker_nogluten { background-image: url(/image/catalog/stickers/nogluten.svg); }

.prod-item__sticker.prod-item__sticker_p24 { background-image: url(/image/catalog/stickers/p24.webp); }
.prod-item__sticker.prod-item__sticker_p48 { background-image: url(/image/catalog/stickers/p48.webp); }
.prod-item__sticker.prod-item__sticker_p72 { background-image: url(/image/catalog/stickers/p72.webp); }
/* endregion */


.cat__pagination {
    margin-top: 20px;
    text-align: center;
}

.cat__btns {
    display: grid;
    grid-auto-flow: row;
    grid-row-gap: 20px;
    justify-items: center;

    margin-top: 20px;
}
.cat__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 10px;

    font-size: 11px;
    text-transform: uppercase;
}
.cat__btn:focus {
    text-decoration: none;
}
.cat__btn:hover {
    background: #95bf41;
    color: #fff;
}
#cat .cat__btn,
#our-menu .cat__btn,
#cat-relative .cat__btn,
#cat-relative1 .cat__btn
{
    background: #6ca200;
    color: #fff;
}
#cat .cat__btn:hover,
#our-menu .cat__btn:hover,
#cat-relative .cat__btn:hover,
#cat-relative1 .cat__btn:hover
 {
    background: #95bf41;
    color: #fff;
}
.cat__btn_all {
    width: 278px;
}
.cat__btn_more {
    /*display: inline-flex;*/
    display: none;
    width: 200px;
}

.cat__bottom {
    margin-top: 40px;
}
/* endregion */

/* region Custom blocks + похожие товары */
#cat-relative, #cat-relative1
{
    font: 16px/1.2 Muller, sans-serif;
    font-weight: 400;
    color: #303d43;
}
.cat-relative {
    margin-top: 40px;
    margin-bottom: 40px;
}
.our-menu .prod-items,
.cat-relative .prod-items {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 30px;
}
.cat-popular__header {
    font-size: 30px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    color: #000;
    letter-spacing: 3px;
}
.cat-relative__header {
    font-size: 30px;
    text-align: center;
    color: #000;
}
/* endregion */

/* region Адаптивность */
@media screen and (max-width: 1279px) {
    .g-container {
        width: 980px;
    }

    .prod-item {
        padding: 8px;
    }
    .prod-item__btn-buy {
        width: 152px;
    }
    .prod-item__absolute {
        left: -6px;
        top: -6px;
    }
}
@media screen and (min-width: 1000px) {
    .cat__side {
        display: block !important;
    }
}
@media screen and (max-width: 999px) {
    .g-container {
        width: 768px;
    }

    .category-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .cat__content {
        display: flex;
        flex-direction: column;
    }
    .cat__description-top,
    .cat__side,
    .cat__description-bottom {
        display: none;
    }
    .cat__side {
        margin-bottom: 30px;
    }

    .cat__actions-large {
        display: none;
    }
    .cat__actions-mobile {
        display: grid;
    }

    .cat__products {
        margin-top: 20px;
    }

    .prod-item__absolute {
        left: -2px;
        top: -4px;
    }

    #filter-mobile.filter-show {
        display: block;
    }

    .our-menu .prod-items {
        grid-template-columns: repeat(3, 1fr);
    }
    .cat-relative .prod-items {
        grid-template-columns: repeat(3, 1fr);
    }
    .cat-prog__top {
        background: #fff;
        border-bottom: none;
    }
    .cat-prog__header {
        padding-top: 20px;
    }
    .cat-prog__items {
        display: none;
    }
    .cat-prog__items_mobile {
        display: flex;
    }

    .cat--search .prod-items {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media screen and (max-width: 849px) {
    .g-container {
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
    #cat {
        padding-left: 40px;
        padding-right: 40px;
    }

    #cat .g-pager {
        display: none;
    }
    .cat__btn_more {
        display: inline-flex;
    }

    .cat-prog__items_mobile {
        width: 640px;
    }

    .cat-relative .prod-items {
        grid-template-columns: repeat(2, 1fr);
    }
    .cat--search .prod-items {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 768px) {
    .g-container {
        padding-left: 0px;
        padding-right: 0px;
    }
    .category-list {
        margin-top: 20px;
    }

    #cat {
        width: 640px;
    }
    .breadcrumb {
        display: none;
    }
    .cat__header {
        margin: 15px 15px 20px;
        font-size: 20px;
    }

    #cat .prod-items {
        grid-template-columns: repeat(2, 1fr);
    }
    .prod-item {
        padding: 5px;
    }
    #cat .prod-item__name,
    #our-menu .prod-item__name,
    #cat-relative .prod-item__name,
    #cat-relative1 .prod-item__name
    {
        font-size: 16px;
    }
    .prod-item__about {
        display: none;
    }
    .prod-item__properties::before {
        display: none;
    }
    .spinedit {
        grid-template-columns: 9px auto 9px;
        width: 48px;
    }
    .spinedit__btn {
        font-size: 16px;
    }
    .spinedit__input {
        font-size: 16px;
        width: 25px;
    }
    .spinedit__btn_plus {
        top: 1px;
    }
    .prod-item__price {
        font-size: 16px;
    }
    .prod-item__price-old {
        font-size: 13px;
        min-height: 14px;
    }
    .prod-item__btn-buy,
    .prod-item__btn-like {
        height: 35px;
    }
    .prod-item__btn-like {
        width: 35px;
    }

    .prod-item__btn-buy {
        width: 66%;
        font-size: 14px;
    }
    .prod-item__sticker {
        width: 30px;
        height: 30px;
    }

    .our-menu {
        width: 640px;
    }
    .our-menu .prod-items {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 749px) {
    .cat__btn_more,
    .cat__btn_all {
        width: 100%;
    }

    .cat-popular__header,
    .our-menu .prod-items {
        margin-top: 20px;
    }
}
@media screen and (max-width: 639px) {
    #cat {
        padding-left: 10px;
        padding-right: 10px;
    }
    .our-menu {
        width: 100%;
    }
}
@media screen and (max-width: 568px) {
.prod-items {
    grid-template-columns: repeat(2, 1fr);
}
}
@media screen and (max-width: 479px) {
    .category-list {
        grid-template-columns: 1fr;
    }
    .cat__header {
        margin-left: 0;
        margin-right: 0;
    }
    .prod-item__btn-buy {
        font-size: 3.750vw
    }
    .prod-item__btn-buy {
        font-size: 13px;
    }
}
@media screen and (max-width: 380px) {

.prod-items {
    grid-template-columns: repeat(1, 1fr);
}
}
.prod-1.st-non::before {
position: absolute;
background: rgba(0,0,0,0.7);
width: 50%;
height: 188px;
z-index: 9;
content: 'Товар временно недоступен для заказа';
right: 0;
top: 1px;
color: #eee;
padding: 55px 40px;
font-size: 20px;
border-radius: 0 0 0 100px;
cursor: not-allowed;
}
.price-row.st-non::before {
position: absolute;
width: 100%;
background: rgba(0,0,0,0.6);
height: 188px;
z-index: 9;
left: 0;
top: 0;
cursor: not-allowed;
}
.prod-item__top.st-non-2::before {
position: absolute;
background: rgba(0,0,0,0.7);
width: 70%;
height: auto;
z-index: 9;
content: 'Товар временно недоступен для заказа';
right: 0;
top: 0;
color: #eee;
padding: 18px 20px 30px;
font-size: 17px;
border-radius: 0 0 0 50px;
cursor: not-allowed;
max-width: 240px;
text-align: right;
}
.prod-item__bottom.st-non-2::before {
position: absolute;
width: 100%;
background: rgba(0,0,0,0.8);
height: 110px;
z-index: 9;
left: 0;
content: ' ';
bottom: 0;
cursor: not-allowed;
}
@media (max-width: 999px) {
.cat__side {
position: fixed;
background: #fff;
z-index: 109;
left: 0;
top: 65px;
width: 100%;
}
.cat__side aside {
padding: 0 30px;
height: calc(100vh - 120px);
overflow-y: scroll;
padding-bottom: 40px;
position: relative;
}
.ff-close-1 {
text-align: right;
background: linear-gradient(to left,#fff 0,#fff 10px,#6ba200 11px,#6ba200 55px,#fff 56px);
margin-top: 10px;
width: 100%;
height: 40px;
padding: 9px;
border-left: none;
border-top: none;
padding-left: 40px;
height: 45px;
padding: 11px;
border-right: none;
padding-left: 15px;
padding-right: 22px;
border-bottom: none;
background: linear-gradient(to left,#fff 0,#fff 10px,#6ba200 11px,#6ba200 50px,#fff 51px);
padding-right: 21px;
}
.ff-close-1::after {
content: ' ';
box-shadow: 0 7px 7px rgba(0, 0, 0, 0.1);
border-bottom: 3px solid #6ba200;
display: block;
height: 10px;
width: 100%;
position: absolute;
left: 0;
margin-top: 10px;
background: #fff;
z-index: 995;
}
.ff-close-1 .ff-close-times {
width: 18px;
height: auto;
}
.ff-close-hd {
float: left;
}
#filter-column .noUi-handle-lower {
right: auto;
}
}

#oct-product-filter-data div[data-type="sticker"] label {
text-transform: capitalize;
}

@media (min-width: 1200px) {
#banner1 {
margin-top: -20px;
margin-bottom: -15px;
}
}

#filter-column .inner-box.filter-attribute-167 .checkbox {
display: inline-block;
width: 135px;
padding-right: 0;
padding-left: 8px;
}
/* endregion */