
aside.sidebar,
.page-main > .category-image,
#category-view-container > div > .category-description {
    display: none !important;
}

.filter-flyout-active #header {
    z-index: 1 !important;
}

#vue-category {

    aside.modal-product-request {
        z-index: 902;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        & > div.modal-inner-wrap {
            z-index: 903;
            background: #fcfaee;
            border-radius: 20px;
            box-shadow: unset;
            padding:25px;
            position: fixed;
            top: 50% !important;
            left: 50% !important;
            transform: translate(-50%, -50%);
            max-width: 350px;
            margin:unset !important;

            .modal-header {
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-bottom: 10px;

                p {
                    font-family: BrandonText-Regular, sans-serif;
                    font-size: 26px;
                    font-weight: bold;
                    line-height: 26px;
                    text-transform: uppercase;
                    margin-bottom: 0;
                }

                i {
                    font-size: 23px;
                }
            }

            .request-form {

                .form-group {
                    margin-bottom: 20px;
                }

                input.email {
                    width: 100%;
                    border: none;
                    box-shadow: none;
                    background: white;
                    color: #000000;
                    height: 46px;
                    padding: 10px 16px;
                    border-radius: 25px;
                    font-size: 15px;
                }
            }

            .mage-error {
                margin-top: 3px;
                color: red;
                font-size: 12px;
            }

            #stock-alert-subscribe-btn,
            .button.primary{
                border-radius: 25px;
                text-transform: uppercase;
                color: #ffffff;
                background-color: #000000;
                border-color: #000000;
                font-weight: bold;
                font-size: 15px;
                padding: 14px;
                width: 100%;
                text-align: center;
                white-space: nowrap;
                vertical-align: middle;
                touch-action: manipulation;
                cursor: pointer;
                background-image: none;
                border: 1px solid transparent;
            }
        }
    }

}

@media screen and (max-width: 992px){
    .resultbox {

        header {
            flex-direction: column !important;

            & > * {
                width: 100% !important;
            }

            .header-button-container {
                display: flex;
                flex-direction: row-reverse;
                gap: 10px;
                align-items: center;
                justify-content: space-between;

                > div {
                    width: 50%;
                }

                .dropdown-toggle,
                .filter-button{
                    border-radius: 20px !important;
                    border: 1px solid black;
                    font-size: 1.4rem;
                    height: 42px;
                    margin: 0;
                    -webkit-appearance: none;
                    -moz-appearance: none;
                    padding: 10px 35px;
                    color: #000;
                    font-family: "BrandonText-Bold", Verdana, Arial, Helvetica, sans-serif;
                    text-transform: uppercase;
                    &:hover {
                        background-color: unset !important;
                    }
                }
            }

            .product-result-count {
                text-align: right;
            }
        }
    }

    .filterbox-container {
        background-color: #FCFAEE;
        z-index: 999;
        border-top-right-radius: 30px;

        header {
            background-color: unset !important;

            .ais-ClearRefinements {
                margin-right: 20px;
            }
        }
    }

    .filter-button-container {
        display: flex;
        align-items: center;
        i {
            font-size: 20px;
            margin-right: 5px;
            display: block !important;
        }
    }

    .filterbackdrop.active {
        width: 7rem !important;
        left: calc(100vw - 7rem);
    }
}

@media screen and (min-width: 993px){
    .d-lg-none {
        display: none !important;
    }
}

.category-bottom-description {
    border-top: unset !important;
}

.category-recipe-section > div.container {
    padding: 0;
}

.category-recipe-section .big-image-recipe {
    width: 100%;
    height: 557px;
    background-size: 122%;
    background-repeat: no-repeat;
    background-position: center center;
    transition: all 1.5s cubic-bezier(.22,1,.36,1);
    border-radius: 25px;
    position: relative;
    p {
        color: #fff;
        position: absolute;
        bottom: 30px;
        left: 30px;
    }
}

@media screen and (min-width: 750px) {
    .category-recipe-section.recipe-header {
        margin-bottom: 25px;
    }
}

.category-recipe-section .recipe-header {
    margin-bottom: 42px;
}

@media screen and (min-width: 750px) {
    .rich-text__blocks {
        max-width: 500px;
    }
}

@media screen and (min-width: 990px) {
    .rich-text__blocks {
        max-width: 780px;
    }
}



.rich-text__blocks {
    width: 100%;
}

.rich-text__blocks.center {
    text-align: center;
    margin: 0 auto;

    .rich-text__blocks>*+* {
        margin-top: 2rem;
    }

    h2 {
        font-family: "BrandonText-Regular", sans-serif;
        font-size: 24px;
        font-weight: 400;
        margin-top:20px;
        line-height: 32px;
    }
    p {
        font-family: "BrandonText-Regular", sans-serif;
        font-size: 16px;
        font-weight: 400;
        margin-top:20px;
        line-height: 24px;
    }
    strong {
        font-family: "BrandonText-Bold", sans-serif;
        font-weight: 400;
    }
}

.category-recipe-section .big-image {
    border-radius: 25px;
}

.category-recipe-section .small-image-recipe {
    width: 100%;
    height: 266px;
    border-radius: 25px;
    position: relative;
    background-repeat: no-repeat;
    background-size: 111%;
    background-position: center center;
    transition: all 1.5s cubic-bezier(.22,1,.36,1);
    p {
        color: #fff;
        position: absolute;
        bottom: 30px;
        left: 30px;
    }
}

.small-image-recipe.first-image {
    margin-bottom: 26px;
}

.action.tocart.primary,
.action.request.primary{
    background-color: #00A57E !important;
    width: 55px;
    height: 55px;
    color: #1f1f1f;
    border-radius: 50%;
    display: block;
    text-align: center;
    transition: background-color 0.2s;
    margin: 0 !important;
    padding: 0 !important;
    border-color: transparent;
    font-size: 13px;
    font-weight: 400;
    line-height: 19px;
    text-transform: uppercase;
    vertical-align: middle;
    white-space: nowrap;
    & i {
        font-size: 22px !important;
        line-height: 22px !important;
        vertical-align: middle;
    }
}

#category-view-container {
    background-color           : var(--header-main-color);
    max-width                  : unset !important;
    border-bottom-left-radius  : 20px;
    border-bottom-right-radius : 20px;
    padding-bottom             : unset !important;

}

#category-view-container .category-top-container{
    min-height: 325px;
    width: 100%;
    padding: 0 !important;
    display: flex;
    background-position: center top;
    background-size: cover;
}

@media screen and (min-width: 992px) {
    #category-view-container .category-top-container{
        background-position: right bottom;
        background-size: contain;
    }
}

#category-view-container {
    .category-top-container {
        h1 {
            font-size: 35px;
            line-height: 42px;
            font-family: "BrandonText-Black", sans-serif;
            margin-bottom: 30px;
        }

        & > div {
            flex : 1;
            margin-bottom: 15px;
        }
    }

    .collection-hero__inner .collection-hero__title {
        font-size: 35px;
        line-height: 42px;
        margin-bottom: 10px;
    }

    .collection-hero__inner {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 1.5rem;
        max-width: 35rem;
    }

    .collection-hero__description p{
        font-family: "BrandonText-Regular", sans-serif;
        font-size: 18px;
        line-height: 26px;
    }
}

.vue-category {
    margin-top:20px;

    .ais-RefinementList  {

        article {
            padding: 10px 0 !important;
        }

        button {
            font-size: 16px !important;
            font-family: "BrandonText-Regular", sans-serif;
            &:hover {
                background-color: unset !important;
            }
        }
    }


    .instant-search-row {

        @media screen and (min-width: 993px){
            .filterbox-container {
                margin-top: 57px;
                width: 20rem;
            }
            .filterbox {
                header {
                    .fa-times {
                        display: none;
                    }
                }
            }
        }


        .resultbox {
            background-color: unset !important;
            header {
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-bottom: 20px;
            }
        }

        .filterbox {

            header {
                .fa-times {
                    display: none;
                }
            }

            background-color: unset !important;

            .ais-RefinementList {
                background-color: white;
                margin-bottom: 5px;
                border-top: unset !important;

                .collapse-btn {
                    &:after {
                        top: 50% !important;
                        transform: translateY(-50%) rotate(0) !important;
                        right: 1.5rem;
                        font-size: 2rem !important;
                        font-weight: 300 !important;
                    }
                    &.extended:after {
                        transform: translateY(-50%) rotate(180deg) !important;
                    }
                }



                button {
                    display: flex;
                    justify-content: flex-start;
                    align-items: center;

                    & > span {
                        position: static !important;
                        margin-left: 5px;
                        background-color: black !important;
                        width: 1.7rem  !important;
                        height: 1.7rem  !important;
                        line-height: 1.7rem  !important;
                    }
                }

            }

            .cr-container {
                display: flex;
                align-items: center;

                span {
                    font-size: 14px;
                    font-family: "BrandonText-Regular", sans-serif;
                }

                .allrounder-input {
                    display: none;
                }
                .input {
                    width: 20px !important;
                    height: 20px !important;
                    margin: 0 !important;
                    top: 50% !important;
                    transform: translateY(-50%) !important;
                    &:after {
                        top: 50% !important;
                        left:50% !important;
                        transform: translate(-50%,-50%) rotate(45deg) !important;
                        height: .8rem !important;
                        width: .4rem !important;
                    }
                }
            }

            header {
                display: flex;
                justify-content: space-between;
                align-items: center;
                background-color: white;
                margin-bottom: 5px;

                a,p {
                    font-family: "BrandonText-Regular", sans-serif;
                    font-size: 14px;
                }

                & > p {
                    font-family: "BrandonText-Bold", sans-serif;
                    margin-bottom: unset;
                }

                .ais-ClearRefinements {
                    text-decoration: underline;
                    font-size: 14px;
                }
            }
        }

        .product-result-sort {

            position: relative;

            button.dropdown-toggle {
                background-color: transparent;
                border: 1px solid black;
                border-radius: 30px;
                font-size: 1.4rem;
                height: auto;
                line-height: calc(1 + .5 / var(--font-body-scale));
                margin: 0;
                -webkit-appearance: none;
                -moz-appearance: none;
                padding: 10px 35px;
                color: #000;
            }
        }

        article {

            padding:16px;

            .badges {
                left: -18px !important;
                & > * {
                    color: black !important;
                    border-radius: 8px !important;
                    font-size: 11px !important;
                    line-height: 15px;
                    padding: 4px 8px !important;
                    font-family: "BrandonText-Regular", sans-serif;
                }
                .bestseller {
                    background-color: #84CFED !important;
                    border-color: #84CFED !important;
                }
                .new {
                    background-color: #E51F2B !important;
                    border-color: #E51F2B !important;
                }
                .free_shipping {
                    background-color: #C8D100 !important;
                    border-color: #C8D100 !important;
                }
                .out_of_stock {
                    background-color: #F5F5F5 !important;
                    border-color: #F5F5F5 !important;
                }
            }

            &:hover {
                border-color: unset !important;
                img {
                    transition: .2s;
                    transform: scale(1.05);
                }
            }

            & > * {
                text-align: unset;
            }
            header {
                margin-top:10px;
                width: 100%;

                & > p{
                    text-align: left !important;
                }
            }

            footer {
                padding: unset;
                margin: 0;
                text-align: left !important;
                width: 100%;
            }
        }
    }
}

.dropdown-menu {

    background: white;
    z-index: 9;

    .cr-container {
        display: flex;
        justify-content: space-between;
        padding: 10px 10px !important;
        gap: 10px;

        span {
            font-family: "BrandonText-Regular", sans-serif;
            font-size: 14px;
        }

        input {
            display: none;
        }

        .input {
            margin: 0;
            width: 2rem;
            height: 2rem;
        }
    }
}

#category-benefits {
    text-align: center;
    margin: 20px 0;
}

@media screen and (max-width: 989px) {
    .category-recipe-section .big-image-recipe {
        height: 375px;
    }
    .category-recipe-section .small-image-recipe.first-image {
        margin-bottom: 17px;
    }
    .category-recipe-section .small-image-recipe {
        height: 179px;
    }
}

@media screen and (max-width: 749px) {
    .category-recipe-section .big-image-recipe {
        height: 280px;
        margin-bottom: 16px;
    }
    .category-recipe-section .small-image-recipe.first-image {
        margin-bottom: 16px;
    }
    .category-recipe-section .small-image-recipe {
        height: 165px;
    }
}
