/* spice category */
.spiceCategorySec {
    position: relative;
    overflow: hidden;

    &::after {
        content: '';
        position: absolute;
        background-image: url(../images/category/spice-bg.png);
        background-repeat: no-repeat;
        background-size: contain;
        right: -15px;
        top: 35%;
        transform: translateY(-50%);
        width: 260px;
        height: 260px;
        z-index: -1;
    }

    .spiceCategoryTop {
        width: 100%;
        max-width: 80%;
        margin: 0px auto;
        text-align: center;
        margin-bottom: 60px;
    }

    .spiceCategoryBtm {
        .spiceCategoryRow {
            row-gap: 40px;

            .spiceCatCard {
                width: 100%;
                position: relative;
                padding-bottom: 20px;

                .spiceCardTop {
                    width: 100%;
                    height: 500px;
                    position: relative;
                    border-radius: 25px;
                    overflow: hidden;


                    .spiceCardImg {
                        position: absolute;
                        width: 100%;
                        height: 100%;

                        img {
                            width: 100%;
                            height: 100%;
                            object-fit: contain;
                            position: relative;
                            z-index: 2;
                        }

                        &::after {
                            content: '';
                            position: absolute;
                            top: 0;
                            left: 0;
                            width: 100%;
                            height: 100%;
                            background-image: url(../images/common/spice-product-bg.png);
                            background-repeat: no-repeat;
                            background-size: cover;
                            z-index: 1;
                        }
                    }

                    .spiceCardHvr {
                        width: 100%;
                        max-height: 100%;
                        position: absolute;
                        bottom: 0;
                        left: 0;
                        background-color: #820000;
                        padding: 30px 35px;
                        transform: translateY(110%);
                        transition: all 0.5s;
                        z-index: 3;

                        .spiceHvrHead {
                            color: #FFF;
                            font-family: "Instrument_Sans";
                            font-size: 25px;
                            font-weight: 700;
                            padding-bottom: 20px;
                            border-bottom: 1px solid #FFF;
                        }

                        .spiceDet {
                            max-height: 380px;
                            overflow-y: auto;
                            padding-right: 8px;
                            margin-top: 15px;

                            ul {
                                list-style-type: none;

                                li {
                                    list-style-type: none;

                                    &:not(:last-child) {
                                        margin-bottom: 10px;
                                    }

                                    * {
                                        color: #FFF;
                                    }

                                    p {
                                        color: #FFF;
                                        font-family: "Instrument_Sans";
                                        font-size: 17px;
                                        font-weight: 400;
                                    }
                                }
                            }
                        }

                        .resHvrBtn {
                            display: none;
                        }
                    }
                }

                .spiceHeadDiv {
                    margin-top: 20px;

                    .spiceHead {
                        color: #000;
                        text-align: center;
                        font-family: "Instrument Sans";
                        font-size: 25px;
                        font-weight: 400;
                    }
                }

                .spiceCardHvrBtn {
                    opacity: 0;
                    visibility: hidden;
                    position: absolute;
                    bottom: 0;
                    width: 100%;
                    z-index: 1;
                    transition: all 0.5s;
                }

                &:hover {
                    .spiceCardTop {
                        .spiceCardHvr {
                            transform: none;
                        }
                    }

                    .spiceHeadDiv {
                        .spiceHead {
                            opacity: 0;
                            visibility: hidden;
                        }
                    }

                    .spiceCardHvrBtn {
                        opacity: 1;
                        visibility: visible;
                    }
                }
            }
        }
    }
}

/* frozen category */
.frozenCatSec {
    position: relative;
    z-index: 2;

    &::after {
        content: '';
        position: absolute;
        background-image: url(../images/category/spice-bg.png);
        background-repeat: no-repeat;
        background-size: contain;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 260px;
        height: 260px;
        z-index: -1;
        animation: floatUpDown 4s ease-in-out infinite;
    }

    .headingWrap {
        margin-bottom: 40px;
        text-align: center;
    }

    .frozenCatSidebar {
        position: sticky;
        top: 100px;
        border-radius: 30px;
        background: #FFF;
        box-shadow: 0 4px 39px 0 rgba(0, 0, 0, 0.15);
        padding: 12px 12px 40px;

        .frozenAccContainer {
            .frozenAcc {
                .frozenAccHead {
                    border-radius: 85px;
                    background: #C79F64;
                    padding: 15px 20px;
                    cursor: pointer;
                    position: relative;
                    transition: all 0.5s;

                    h3 {
                        color: #FFF;
                        font-family: "Instrument_Sans";
                        font-size: 18px;
                        font-weight: 500;
                    }

                    &::after {
                        content: '\f107';
                        font-family: fontawesome;
                        position: absolute;
                        top: 50%;
                        transform: translateY(-50%);
                        right: 10px;
                        width: 35px;
                        height: 35px;
                        border-radius: 50%;
                        background-color: #FFF;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        font-size: 16px;
                        transition: all 0.5s;
                    }
                }

                &.active {
                    .frozenAccHead {
                        &::after {
                            content: '\f106';
                        }
                    }
                }

                .frozenAccCont {
                    .frozenAccContInn {
                        ul {
                            list-style-type: none;

                            li {
                                list-style-type: none;
                                padding-left: 15px;

                                &:not(:last-child) {
                                    margin: 20px 0px;
                                }
                            }
                        }

                        .checkcontainer {
                            display: block;
                            position: relative;
                            padding-left: 35px;
                            margin-bottom: 0;
                            cursor: pointer;
                            -webkit-user-select: none;
                            -moz-user-select: none;
                            -ms-user-select: none;
                            user-select: none;

                            .chkLabel {
                                position: relative;
                                width: 100%;
                                height: 100%;
                                display: block;
                                cursor: pointer;
                                font-size: 18px;
                                font-family: 'Instrument_Sans';
                            }

                            input {
                                position: absolute;
                                opacity: 0;
                                left: 0;
                                width: 100%;
                                cursor: pointer;
                            }

                            .checkmark {
                                position: absolute;
                                top: 0;
                                left: 0;
                                height: 25px;
                                width: 25px;
                                border: 1px solid rgba(0, 0, 0, 0.25);
                                background-color: transparent;
                            }

                            input:checked~.checkmark {
                                &::after {
                                    content: '';
                                    position: absolute;
                                    left: 50%;
                                    top: 50%;
                                    transform: translate(-50%, -50%);
                                    width: 13px;
                                    height: 13px;
                                    background-color: #C79F64;
                                }
                            }
                        }
                    }
                }
            }
        }
    }

    .frozenCatMain {
        .headingWrap {
            margin-bottom: 12px;
            text-align: center;

            .secH {
                font-size: 50px;
                margin-bottom: 0;
            }
        }

        .frozenClearFilt {
            margin-bottom: 20px;

            .clearFiltBtn {
                color: #fff;
                cursor: pointer;
                font-size: 16px;
                display: inline-block;
                background: #C79F64;
                padding: 2px 8px;
                border-radius: 5px;

                i {
                    margin-left: 5px;
                }
            }
        }

        .frozenCatMainTop {
            margin-bottom: 20px;

            .headingWrap {
                margin-bottom: 15px;

                .secH {
                    font-size: 50px;
                }
            }
        }

        .frozenCatMainBtm {
            .noProdDiv {
                .noProdText {
                    font-size: 30px;
                    color: rgb(136, 64, 27);
                    font-weight: 700;
                    font-family: Nunito_sans;
                    text-align: center;
                }

                .noProdImg {
                    width: 100%;
                    max-width: 300px;
                    height: auto;
                    margin: 0px auto 20px;

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: contain;
                        filter: brightness(0) saturate(100%) invert(26%) sepia(20%) saturate(2746%) hue-rotate(343deg) brightness(101%) contrast(91%);
                    }
                }
            }

            .frozenCatCard {
                .frozenCardTop {
                    position: relative;

                    .frozenCardImg {
                        width: 100%;
                        height: 370px;
                        margin-bottom: 15px;
                        border-radius: 25px;
                        overflow: hidden;
                        transition: all 0.5s;
                        background-color: #ecbf8f;

                        img {
                            width: 100%;
                            height: 100%;
                            object-fit: contain;
                            overflow: hidden;
                            transition: all 0.5s;
                        }
                    }

                    .frozenHvrBtn {
                        position: absolute;
                        bottom: 15px;
                        width: calc(100% - 20px);
                        left: 50%;
                        transform: translateX(-50%);
                        opacity: 0;
                        visibility: hidden;
                        transition: all 0.5s;
                    }
                }

                .frozenCardTxt {
                    text-align: center;

                    .frozenCardHead {
                        color: #000;
                        font-family: "Instrument_Sans";
                        font-size: 18px;
                        font-weight: 500;
                        margin-bottom: 8px;
                    }

                    .frozenQtyUl {
                        display: flex;
                        justify-content: center;
                        align-items: center;

                        li {
                            position: relative;
                            color: #656565;
                            font-family: "Instrument_Sans";
                            font-size: 16px;
                            line-height: 1;
                            font-weight: 500;
                            padding: 0px 6px;

                            &:not(:last-child) {
                                &::after {
                                    content: '';
                                    position: absolute;
                                    width: 1px;
                                    height: 100%;
                                    background-color: #656565;
                                    right: 0;
                                    top: 0;
                                }
                            }
                        }
                    }

                    .frozenResBtn {
                        display: none;
                        margin-top: 15px;
                    }
                }

                &:hover {
                    .frozenCardTop {
                        .frozenCardImg {
                            img {
                                transform: scale(1.15);
                            }
                        }

                        .frozenHvrBtn {
                            opacity: 1;
                            visibility: visible;
                        }
                    }
                }
            }
        }
    }
}

@keyframes floatUpDown {
    0% {
        transform: translateY(-50%) translateY(0);
    }

    50% {
        transform: translateY(-50%) translateY(-20px);
    }

    100% {
        transform: translateY(-50%) translateY(0);
    }
}

/* Responsive */
@media (max-width: 1768px) {
    .spiceCategorySec {
        &::after {
            width: 200px;
            height: 200px;
        }
    }
}

@media (max-width: 1680px) {
    .spiceCategorySec {
        &::after {
            width: 170px;
            height: 170px;
        }
    }
}

@media (max-width: 1600px) {

    /* spice listing */
    .spiceCategorySec {
        .spiceCategoryBtm {
            .spiceCategoryRow {
                .spiceCatCard {
                    .spiceHeadDiv {
                        margin-top: 15px;

                        .spiceHead {
                            font-size: 22px;
                        }
                    }

                    .spiceCardTop {
                        .spiceCardHvr {
                            padding: 25px 30px;

                            .spiceDet {
                                ul {
                                    li {
                                        p {
                                            font-size: 16px;
                                        }
                                    }
                                }
                            }

                            .spiceHvrHead {
                                font-size: 22px;
                                padding-bottom: 15px;
                            }
                        }
                    }
                }
            }
        }
    }

    /* frozen food listing */
    .frozenCatSec {
        &::after {
            width: 200px;
            height: 200px;
        }

        .frozenCatSidebar {
            .frozenAccContainer {
                .frozenAcc {
                    .frozenAccCont {
                        .frozenAccContInn {
                            .checkcontainer {
                                padding-left: 28px;

                                .checkmark {
                                    height: 18px;
                                    width: 20px;
                                }

                                .chkLabel {
                                    font-size: 16px;
                                }
                            }

                            ul {
                                li {
                                    &:not(:last-child) {
                                        margin: 16px 0px;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }

        .frozenCatMain {
            .frozenCatMainBtm {
                .frozenCatCard {
                    .frozenCardTxt {
                        .frozenCardHead {
                            font-size: 16px;
                        }

                        .frozenQtyUl {
                            li {
                                font-size: 14px;
                            }
                        }
                    }
                }
            }
        }
    }

}

@media (max-width: 1440px) {
    .spiceCategorySec {
        .spiceCategoryBtm {
            .spiceCategoryRow {
                .spiceCatCard {
                    .spiceHeadDiv {
                        margin-top: 12px;

                        .spiceHead {
                            font-size: 20px;
                        }
                    }

                    .spiceCardTop {
                        height: 420px;

                        .spiceCardHvr {
                            padding: 20px 25px;

                            .spiceDet {
                                ul {
                                    li {
                                        p {
                                            font-size: 15px;
                                        }
                                    }
                                }
                            }

                            .spiceHvrHead {
                                font-size: 20px;
                            }
                        }
                    }
                }
            }
        }
    }

    .frozenCatSec {
        &::after {
            width: 110px;
            height: 110px;
        }

        .frozenCatMain {

            .frozenClearFilt {
                .clearFiltBtn {
                    font-size: 14px;
                }
            }

            .frozenCatMainTop {
                .headingWrap {
                    .secH {
                        font-size: 40px;
                    }
                }
            }

            .frozenCatMainBtm {
                .frozenCatCard {
                    .frozenCardTop {
                        .frozenCardImg {
                            height: 280px;
                        }
                    }
                }

                .noProdDiv {
                    .noProdImg {
                        max-width: 200px;
                    }

                    .noProdText {
                        font-size: 22px;
                    }
                }
            }
        }
    }
}

@media (max-width: 1280px) {
    .spiceCategorySec {
        .spiceCategoryBtm {
            .spiceCategoryRow {
                .spiceCatCard {
                    .spiceCardTop {
                        height: 380px;
                    }
                }
            }
        }
    }

    .frozenCatSec {
        .frozenCatSidebar {
            .frozenAccContainer {
                .frozenAcc {
                    .frozenAccCont {
                        .frozenAccContInn {
                            ul {
                                li {
                                    &:not(:last-child) {
                                        margin: 12px 0px;
                                    }
                                }
                            }

                            .checkcontainer {
                                padding-left: 25px;

                                .checkmark {
                                    height: 16px;
                                    width: 16px;
                                    top: 3px;
                                }

                                .chkLabel {
                                    font-size: 14px;
                                }

                                input:checked~.checkmark {
                                    &::after {
                                        width: 10px;
                                        height: 10px;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

@media (max-width: 1199px) {
    .spiceCategorySec {
        .spiceCategoryTop {
            max-width: 90%;
            margin-bottom: 45px;
        }
    }

    .frozenCatSec {
        .frozenCatMain {
            .frozenCatMainBtm {
                .frozenCatCard {
                    .frozenCardTop {
                        .frozenCardImg {
                            height: 240px;
                        }
                    }
                }

                .noProdDiv {
                    .noProdImg {
                        max-width: 200px;
                    }

                    .noProdText {
                        font-size: 24px;
                    }
                }
            }
        }
    }
}

@media (max-width: 1024px) {
    .spiceCategorySec {
        .spiceCategoryTop {
            max-width: 100%;
            margin-bottom: 30px;
        }

        .spiceCategoryBtm {
            .spiceCategoryRow {
                .spiceCatCard {
                    padding-bottom: 0;
                    height: auto;

                    .spiceCardTop {
                        height: auto;

                        .spiceCardImg {
                            position: relative;
                            height: 390px;
                        }

                        .spiceCardHvr {
                            position: static;
                            transform: none;
                            padding: 16px 15px;

                            .spiceHvrHead {
                                font-size: 18px;
                            }

                            .resHvrBtn {
                                display: block;
                                opacity: 1;
                                visibility: visible;
                                transform: none;
                                position: static;
                            }

                            .spiceDet {
                                margin-bottom: 15px;

                                ul {
                                    li {
                                        p {
                                            font-size: 14px;
                                        }
                                    }
                                }
                            }
                        }
                    }

                    .spiceHeadDiv {
                        display: none;
                    }

                    .deskHvrBtn {
                        display: none;
                    }
                }
            }
        }
    }
}

@media (max-width: 991px) {
    .spiceCategorySec {
        .spiceCategoryBtm {
            .spiceCategoryRow {
                .spiceCatCard {
                    .spiceCardTop {
                        .spiceCardImg {
                            height: 350px;
                        }
                    }
                }
            }
        }
    }

    .frozenCatSec {
        &::after {
            content: normal;
        }

        .frozenCatSidebar {
            padding: 15px 12px 15px;
            margin-bottom: 30px;
        }

        .frozenCatMain {
            .frozenCatMainTop {
                text-align: center;

                .headingWrap {
                    margin-bottom: 10px;

                    .secH {
                        font-size: 32px;
                    }
                }
            }

            .frozenCatMainBtm {
                .frozenCatCard {
                    height: auto;
                    background: #ecbf8f;
                    border-radius: 20px;
                    box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.3);
                    overflow: hidden;

                    .frozenCardTop {
                        .frozenCardImg {
                            height: 200px;
                            padding: 10px 8px 0px;
                        }

                        .frozenHvrBtn {
                            display: none;
                        }
                    }

                    .frozenCardTxt {
                        background: #fff;
                        padding: 20px 15px;
                        border-radius: 0px 0px;
                        overflow: hidden;

                        .frozenResBtn {
                            display: block;
                        }
                    }
                }

                .noProdDiv {
                    .noProdImg {
                        max-width: 140px;
                        margin: 0px auto 10px;
                    }

                    .noProdText {
                        font-size: 22px;
                    }
                }
            }
        }
    }
}

@media (max-width: 575px) {
    .frozenCatSec {
        .frozenCatMain {
            .frozenCatMainTop {
                .headingWrap {

                    .secH {
                        font-size: 26px;
                    }
                }
            }

            .frozenCatMainBtm {
                .noProdDiv {
                    .noProdText {
                        font-size: 18px;
                    }
                }
            }
        }
    }
}

@media (max-width: 767px) {
    .spiceCategorySec {
        .spiceCategoryBtm {
            .spiceCategoryRow {
                .spiceCatCard {
                    .spiceCardTop {
                        .spiceCardImg {
                            height: 300px;
                        }
                    }
                }
            }
        }
    }
}