﻿.category_info {
    padding-top: 50px;
    padding-bottom: 50px;
}
.category_info .category_image  {
    max-width: 920px;
    flex-grow: 1;
}
.category_info .category_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: middle;
}
.category_info>div:first-child {
    padding-right: 70px;
    max-width: 500px;
}
.category_info h1 {
    color: #000;
    font-family: "Droid Serif";
    font-size: clamp(30px, 3vw, 40px);
    line-height:  clamp(37px, 3vw, 47px);
    margin-bottom: 1.5vw;
}
.category_info .description {
    margin-top: 1.5vw;
}
.category_info .scroll_down {
    font-size: 32px;
    cursor: pointer;
    font-variation-settings: "FILL" 0, "wght" 100, "GRAD" 0, "opsz" 24;
    margin-top: 20px;
}

.category_filters {
    margin-bottom: 20px;
    margin-top: 20px;
}
.category_filters .curent_filters {
    margin-top: 15px;
}

.category_filters .items_sort label{
    height: 30px;
    margin-bottom: 0px;
    line-height: 30px;
}

.category_filters .items_sort select{
    border: none;
    background: transparent;
    font-family: 'museo_sans500';
    font-size: 14px;
    padding-left: 5px;
    overflow: hidden;
    overflow: -moz-hidden-unscrollable;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: url(images/arrow_down.svg) right center no-repeat;
    color: #000;
}
.category_filters .items_sort select:focus {
    outline: none;
}
.category_filters .available_filters .filter{
    margin-right: 30px;
}
.filter .selected_value {
    display: none;
}
.filters_modal_header,
.filters_modal_footer {
    display: none;
}
.toggle_filters {
    display: none;
}
.items_display {
    position: absolute;
    height: 30px;
    line-height: 30px;
    top: 0px;
    right: 0px;
}
.items_display a:hover {
    border-bottom: 2px solid #F45656;
}
@media (max-width: 786px) {
    .available_filters_wrapper {
        display: none;
        background: #FFF;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        z-index: 100;
        box-shadow: 4px 0px 14px 0px rgba(0, 0, 0, 0.10);
        overflow-y: auto;
    }
    
    .toggle_filters {
        display: block;
    }
    .available_filters_wrapper > .h-100 {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .filters_modal_header,
    .filters_modal_footer {
        display: flex;
    }
    .filters_modal_header {
        padding: 30px 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    }
    .filters_modal_footer {
        padding: 30px 20px;
        border-top: 1px solid rgba(0, 0, 0, 0.15);
    }
    .category_filters .available_filters  {
        width: 100%;
        box-sizing: border-box;
        padding: 20px;
        flex-grow: 1;
        flex-flow: column;
        overflow-y: auto;
    }
    .category_filters .available_filters .filter {
        margin: 0 0 20px 0;
        width: 100%;
    }
    .category_filters .available_filters .filter.active {
        display: block;
        position: fixed;
        top: 85px;
        background: #fff;
        left: 0;
        right: 0;
        bottom: 105px;
        z-index: 10;
        padding: 20px;
        margin: 0;
        width: auto;
    }
    .filter .filter_label {
        justify-content: space-between;
    }
    .filter .filter_values {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        border: none;
        border-radius: 0;
        padding: 30px 0;
    }
    .filter .selected_value {
        display: inline-block;
        text-transform: capitalize;
    }
    .filter.active .selected_value {
        display: none;
    }
    .filter .filter_values label {
        margin-bottom: 10px;
    }
}
.category_feature {
    margin-bottom: 30px;
}
.category_feature .collection_icon img {
    width: 22px;
    margin-bottom: 30px;
}
.category_feature .cover_img {
    width: 50%;
}
.category_feature .cover_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom right;    
}
.category_feature div.white {
    padding: 30px 100px 30px 70px;
    box-sizing: border-box;
}
.category_feature h3 {
    font-family: "Droid Serif";
    font-size: 26px;
    line-height: 27px; 
    margin-bottom: 10px;
}
.category_feature p {
    color: #BDBDBD;
    margin-bottom: 40px;
}
.related_categories {
    padding-top: 50px;
    padding-bottom: 90px;
    border-top: 1px solid rgba(0, 0, 0, 0.10);
}
.related_categories p {
    margin-bottom: clamp(15px, 3vw, 30px);;
}
.items_grid .tags .tag {
    height: 14px;
    font-size: 8px;
    line-height: 14px;
}
.pagination {
    margin-bottom: 50px;
}


@media (max-width: 768px) {
    .category_info {
       flex-wrap: wrap-reverse;
    }
    .category_info>div:first-child {
        padding: 0;
    }
    .category_image {
        margin-bottom: 5vw;
    }

    .category_feature {
        flex-wrap: wrap;
    }
    .category_feature .w-50{
        width: 100%;
    }
    .category_feature div.white {
        padding: 5vw;
    }
}