/* List */
.categories-list {
    margin-bottom: 140px;
}

.categories-item {
    position: relative;
    width: 100%;
    text-align: center;
    overflow: hidden;
}

.categories-item_data {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 1;
}
.categories-item_title {
    text-align: center;
    text-transform: uppercase;
}

/* Page */
.category-page {

}
.category-page_container {

}

.category-page_data {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 180px;
    gap: 40px;
}
.category-page_filter {
    max-width: 245px;
}

.category-page_content.filter-enabled {
    max-width: calc(100% - 325px);
}

.category-page_not-products {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.category-page_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 24px;
}

.category-page_view {
    display: flex;
    align-items: center;
    margin-left: auto;
}
.category-page_view-title {
    color: var(--secondary-919191);
}
.category-page_view-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--secondary-bdbdbd);
    text-align: center;
    cursor: pointer;
}
.category-page_view-item:after {
    content: '';
    position: absolute;
    bottom: 7px;
    left: 9px;
    width: calc(100% - 18px);
    height: 1px;
    background: var(--main-e-868-a-0);
    opacity: 0;
}
.category-page_view-item:hover,
.category-page_view-item.active {
    color: var(--main-e-868-a-0);
}
.category-page_view-item:hover:after,
.category-page_view-item.active:after {
    opacity: 1;
}

.category-page_filter-btn {
    display: none;
    align-items: center;
    padding: 6px 0;
    cursor: pointer;
    gap: 8px;
}
.category-page_filter-btn svg {
    display: block;
}

.category-page_products {
    grid-auto-flow: dense
}
.col-8.col-m-12[data-catalog-product-item-two="3"] {
    order: 1 !Important;
}

/* Subcategories */
.subcategories-list {
    display: flex;
    width: 100%;
    margin-top: -36px;
    align-items: center;
    justify-content: center;
    gap: 0 24px;
}
.subcategories-list input {
    display: none !important;
}
.subcategories-item img {
    display: block;
    width: 100%;
}

/* Filter */
.filter-block {
    display: flex;
    width: 245px;
    flex-direction: column;
}

.filter-block_heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.filter-block_title {

}

.filter-block_close {
    display: none;
}
.filter-block_close svg {
    display: block;
}

.filter-block_content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.filter-block_filter {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.filter-block_filter-title {
    color: #919191;
}
.filter-block_values {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.filter-block_item {

}
.filter-block_item-label {
    padding: 7px 12px;
    border-radius: 4px;
    border: 1px solid var(--secondary-e-7-e-7-e-7, #E7E7E7);
    background: #ffffff;
    font-family: Inter;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    user-select: none;
    cursor: pointer;
}

.filter-block_item input {
    display: none !important;
}
.filter-block_item input:checked + .filter-block_item-label {
    border-color: var(--main-fddcea, #FDDCEA);
    background: var(--main-fddcea, #FDDCEA);
}

.filter-block_bottom {
    display: flex;
    flex-direction: column;
    margin-top: 45px;
    gap: 10px;
}
.filter-block_send {

}

@media (max-width: 1300px) {
    .category-page_content.filter-enabled {
        max-width: calc(100% - 285px);
    }
}

@media (max-width: 992px) {

    /* Filter */
    .category-page_content.filter-enabled {
        max-width: 100%;
    }
    .category-page_filter-btn {
        display: flex;
    }
    .filter-block {
        position: fixed;
        top: 0;
        bottom: 0;
        left: -100%;
        width: 100%;
        max-width: 425px;
        padding: 16px;
        justify-content: space-between;
        transition: all 0.3s ease;
        background: #ffffff;
        z-index: 14;
    }
    .filter-block.show {
        left: 0;
    }
    .filter-block_heading {
        margin-bottom: 0;
        padding-bottom: 16px;
        border-bottom: 1px solid #E7E7E7;
    }
    .filter-block_close {
        display: block;
    }
    .filter-block_content {
        height: 100%;
        max-height: calc(100% - 94px);
        margin-bottom: auto;
        padding-top: 24px;
        padding-bottom: 24px;
        overflow-y: auto;
    }
    .filter-block_bottom {
        flex-direction: row-reverse;
        margin-top: 0;
        padding-top: 16px;
        border-top: 1px solid #E7E7E7;
        gap: 8px;
    }
    .filter-block_bottom button {
        width: 100%;
    }

    .categories-item_title {
        font-size: 28px;
        line-height: 34px;
    }
    .collection-info_title {
        margin-bottom: 12px;
        font-size: 28px;
        font-weight: 700;
        line-height: 34px;
    }
}
@media (max-width: 768px) {
    .categories-list {
        margin-bottom: 120px;
        gap: 20px;
    }
    .categories-item {
        position: relative;
        width: 100%;
        padding-bottom: 101%;
    }
    .categories-item_img {
        position: absolute;
        top: 0;
        left: 0;
    }
    .categories-item_data {
        padding: 40px 16px;
        gap: 24px;
    }

    .category-page_view {
        display: none;
    }
    .category-page_products {
        width: calc(100% + 32px);
        margin: 0 -16px;
        gap: 10px 6px;
    }
}
