
img{
    background-image: url("../images/logo/ghome-logo.png");
}
//################################ header css starts ################################ //

header {

    width: 100%;
    background: white;
   //@include background-linear((to left, $default-color 30%, #cde7d1));
    z-index: 100;
    .upper-header {
        border-bottom: 1px solid lightgray;
        font-size: 13px;
        @include responsive(mbtb) {
            display: none
        }
    ;

        ul {
            margin: 0;
                li {
                    display: inline-block;
                    list-style: none;
                    padding: 5px 10px;
                    color: $gray;

                    &:hover {
                        color: $alt-color;
                    }
                }

        }

    }

    .mid-header {

        @include responsive(mbtb) {
            padding: 0 8px 10px 8px
        }
        .cart-holder{
            @include responsive(mbtb){
                @include absolute( 15px, 20px, unset, unset)
            }
        }
    }

    .lower-header {

        //margin-top: 10px;
        position: relative;
        @include responsive(mbtb) {
            display: none
        }
        //background: linear-gradient(to right, $default-color, $default-color, white);
    }


}
.mid-header.sticky{
    position: fixed;
    top:0;
    left:0;
    right: 0;
    background: $default-color;
    box-shadow: $shadow;
    padding: 0 10px;
    z-index: 10000;
    @include responsive(mbtb){padding: 10px}
    .logo-holder{
        @include responsive(mbtb){display: none}
    }
    .main-search-bar{
        @include responsive(mbtb){width: 80%}

    }
    .cart-holder{
        .shopping-cart{
            background-image: url("../images/icon/shopping-cart.svg");
            background-size: contain;
            background-position: center;
            .cart-qty{
                background: $alt-color;
                color: $black;
            }


        }

            @include responsive(mbtb){width: 10%; position: absolute; right: 10px; };
        .fa-shopping-cart{
            color: $gray
        }
        .cart-detail-holder{
            @include responsive(mb){ top: 65px;}

        }
    }

}

.header-link {
    @include flex-line(flex-end, center)
}

.logo-holder {
    position: relative;
    display: inline-block;
    width: 20%;
    height: 75px;
    vertical-align: middle;
    @include responsive(mbtb) {
        width: 80%;
        height: 50px;
        min-width: auto
    }

    .main-logo {
        display: block;
        margin: auto;
        width: 90px;
        @include responsive(mbtb) {
            width: auto;
            height: 100%
        }
    ;

        height: auto;
        object-fit: contain;
    }
}

.main-search-bar {
    position: relative;
    display: inline-block;
    width: 60%;
    @include responsive(mbtb) {
        width: 100%;
        min-width: auto
    }
;
    min-width: 400px;
    vertical-align: center;

    .hint-holder {
        display: none;
        @include absolute(100%, unset, unset, 0);
        width: calc(100%);
        border-radius: 5px;
        padding: 0;
        height: auto;
        max-height: 400px;
        background: white;
        box-shadow: $shadow-low;
        z-index: 9999;
        ul{
            li{
                padding: 15px 0;
                list-style: none;
                .fa-search{
                    padding: 0 30px;
                    color: $gray;
                }
                .hint-title{
                    font-weight: bold;
                }
                .hint-in{
                    color: $default-color;
                    font-size: 13px;
                    font-weight: normal;
                }
                &:hover{
                    background: $light-green;
                    cursor: pointer;
                    a{
                        color: inherit;
                    }
                }
                &:first-child{
                    border-top-left-radius: 5px;
                    border-top-right-radius: 5px;
                }
            }
        }


    }

    input {
        width: 100%;
        border: 1px solid rgb(213, 226, 221);
        background: $body;
        padding: 5px 10px;
        border-radius: 5px;
        height: 48px;
        outline: none;

        &:focus {
            border: 1px solid $default-color;
        }


    }

    .search-btn {
        @include absolute(0, 0, unset, unset);
        @extend %button;
        height: 100%;
        width: 60px;
        border-bottom-right-radius: 5px;
        border-top-right-radius: 5px;
        background: none;
        color: $default-color;
        font-size: 20px;

    }
}

.quantity-box {
    outline: none;
    border-left: none;
    border-right: none;
    border-top: 2px solid #e7e6e6;
    border-bottom: 2px solid #e7e6e6;
    width: 40%;
    background: white;
    text-align: center;
    height: 2rem;
}

.qty-edit {
    background: #e7e6e6;
    border-radius: 20px;
    max-width: 110px;
    margin: auto;
}

.qty-edit .fa:hover {
    -webkit-transform: scale(.9);
    -moz-transform: scale(.9);
    -ms-transform: scale(.9);
    -o-transform: scale(.0);
    transform: scale(.9);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.qty-edit .fa-plus:hover {
    color: seagreen
}

.qty-edit .fa-minus:hover {
    color: maroon
}

.qty-edit .fa-plus {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;

}

.qty-edit .fa-minus {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;

}

.qty-edit .fa {
    text-align: center;
    width: 30%;
    padding: 10px 0;
    font-size: 12px;
    color: #737373
}

.cart-holder {
    position: relative;
    width: 18%;

    @include responsive(mbtb) {
        display: none
    }
;
    font-size: 14px;
    text-align: right;

    .open-cart.cart-detail-holder {
        display: block;
        z-index: 1000;
    }

    .cart-detail-holder {
        display: none;
        @include absolute(100%, 0, unset, unset);
        @include responsive(mb){position: fixed; top: 50px; width:100%; left: 0}
        width: 300px;
        height: auto;
        max-height: 500px;
        overflow-y: auto;
        background: #fdfdfd;
        padding: 10px;
        border-radius: 5px;
        border: lightgray 2px solid;

        .cart-item-holder {
            padding: 10px;
            margin-bottom: 15px;
            border-bottom: #28a049 1px solid;
        }

        .no-cart-item {
            text-align: center;
            padding: 15px;
            color: maroon;
        }

    }

    .cart-detail-holder.new-item .cart-item-holder {
        &:first-child {
            border-radius: 5px;
            animation: fade-bg 4s linear;
        }
    }
    .shopping-cart{
        position: relative;
        font-size: 20px;
        //background: red;
        background-image: url("../images/icon/shopping-cart-2.svg");
        background-position: center;
        background-size: contain;
        width: 30px;
        height: 30px;
        padding: 3px;
        &:hover{
            cursor: pointer;
        }
        .cart-qty {
            @include absolute(-5px, -8px, unset, unset);
            border-radius: 100%;
            background: $default-color;
            color: white;
            font-size: 10px;
            width: 15px;
            height: 15px;
            text-align: center;
            font-weight: bold;
        }
    }

    .fa-shopping-cart {
        position: relative;
        font-size: 20px;
        //color: $white;



    }
}

@keyframes fade-bg {
    0% {
        background: #d4e6d2;
    }
    50% {
        background: #eaf1e9;
    }
    100% {
        background: #ffffff;
    }

}
.nav-bar-div{
    max-width: 95%;
}
.nav-bar {
    //@include flex-line(center,center);
    margin: auto;
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgb(0 0 0 / 30%);
    padding: 0;
    position: relative;
    bottom: -20px;
    z-index: 100;
    background: white;
    border: 2px solid #2b9f4882;

    .main-cat {
        position: relative;
        font-size: 15px;

        .cat-dropdown-holder {
            display: none;
            @include absolute(calc(100% - 5px), unset, unset, 0);
            //@include transform(translateX(-50%));
            width: 200px;
            height: -webkit-min-content;
            height: min-content;
            height: -moz-min-content;
            background: white;
            border-top: 1px solid #efefef;
            border-bottom: 5px solid $default-color;
            border-bottom-left-radius: 5px;
            border-bottom-right-radius: 5px;
            box-shadow: $shadow-white;
            //ul li{
            //    padding: 10px;
            //    border-bottom: 1px solid $default-light;
            //
            //}
            .h-cat-title {
                color: $default-color;
                font-weight: bold;
                margin-bottom: 15px;
                text-transform: uppercase;
            }

            .sub-cat-list {
                text-align: left;
                ul {
                    display: block;
                    width: 100%;
                    margin: 0;
                }

                li {
                    display: block;
                    width: 100%;
                    padding: 10px;
                    font-weight: normal;
                    font-size: 14px;
                    color: $gray;
                    border: none;
                    border-bottom: 1px solid #e0e0e0;
                    text-transform: capitalize;

                    &:last-child {
                        border-bottom: none;
                    }

                    .fa-chevron-right {
                        opacity: 0;
                        color: $alt-color;
                        font-weight: bold;
                        position: relative;
                        left: -5px;
                        transition: .3s ease-in-out;

                    }

                    &:hover {
                        .fa-chevron-right {
                            left: 0;
                            opacity: 1;
                            transition: .3s ease-in-out;
                        }
                    }


                        &:hover {
                            color: $alt-color;
                        }

                }
            }

        }
        &:last-child{
            .cat-dropdown-holder{
                left: unset;
                right: 0;
            }

        }

        &:hover {
            color: $alt-color;

            .cat-dropdown-holder {
                display: block;
            }
        }
    }


    ul {
        margin: 0;

        li {
            list-style: none;
            display: inline-block;
            padding: 15px;
            color: $gray;
            border-right: 1px solid $body;

            &:hover {
                cursor: pointer;
                color: $alt-color;
            }
        }

        li:last-child {
            border-right: none;
        }
    }

}

//################################ header css ends ################################ //

//mobile menu css starts
.mb-menu {

    display: none;
    width: 10%;
    font-size: 20px;
    @include responsive(mbtb) {
        top:20px;
        left: 10px;
        display: block;
    }
}

.mobile-menu-visible .mobile-menu {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    left: 0;
    top: 0;
    width: 300px;
    padding-right: 30px;
    max-width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    z-index: 999999;

    ul {
        padding: 0;

        li {
            list-style: none;
            font-size: 16px;

            &:hover {
                cursor: pointer;
                color: $default-color;
            }
        }
    }

    .nav-logo {
        position: relative;
        text-align: left;

        img {
            display: block;
            margin: auto;
            width: 100px;
            height: 100px;
            object-fit: contain;
        }
    }

    .menu-backdrop {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        background: #000;
        @include transform(translateX(-100%));
    }

    .menu-box {
        @include absolute(0, unset, unset, 0);
        width: 100%;
        height: 100%;
        max-height: 100%;
        overflow-y: auto;
        background: white;
        padding: 0;
        z-index: 5;
        opacity: 0;
        visibility: hidden;
        border-radius: 0;
        @include transform(translateX(-100%));

    }

    .close-btn {
        @include absolute(10px, 25px, unset, unset);

        line-height: 30px;
        width: 24px;
        text-align: center;
        font-size: 26px;
        color: $gray;
        cursor: pointer;
        z-index: 10;
        -webkit-transition: all 0.9s ease;
        -moz-transition: all 0.9s ease;
        -ms-transition: all 0.9s ease;
        -o-transition: all 0.9s ease;
        transition: all 0.9s ease;
    }

    .navbar-collapse {
        display: block !important;
    }

    .mb-navigation {
        li {
            position: relative;
            display: block;
            border-top: 1px solid rgba(255, 255, 255, 0.10);
            //a {
            position: relative;
            display: block;
            line-height: 24px;
            padding: 10px 25px;
            text-transform: uppercase;
            -webkit-transition: all 500ms ease;
            -moz-transition: all 500ms ease;
            -ms-transition: all 500ms ease;
            -o-transition: all 500ms ease;
            transition: all 500ms ease;

            &::before {
                content: '';
                @include absolute(0, unset, unset, 0);
                height: 0;
                border-left: 5px solid $default-color;
                -webkit-transition: all 500ms ease;
                -moz-transition: all 500ms ease;
                -ms-transition: all 500ms ease;
                -o-transition: all 500ms ease;
                transition: all 500ms ease;
            }

            //}
        }

        .sub-nav-holder {
            display: none;
        }

        .sub-nav-holder.show {
            display: block;
        }

        li.active {
            color: $default-color;

            &::before {
                content: '';
                @include absolute(0, unset, 0, 0);
                height: 100%;
                width: 4px;
                background: $default-color;
                transform: none;
            }
        }

        .current a:before {
            height: 100%;

        }
    }

    .contact-info {
        position: relative;
        padding: 80px 30px 20px 30px;
    }
}

.mobile-menu-visible {
    .mobile-menu {
        .menu-backdrop {
            opacity: 0.70;
            visibility: visible;
            @include transform(translateX(0%));
        }

        .menu-box {
            opacity: 1;
            visibility: visible;
            @include transform(translateX(0%));

        }

        .close-btn {
            @include transform(rotate(360deg));
            transition: all 1s ease;

        }
    }
}

//################################ mobile menu css ends ################################ //


//################################ index css starts ################################//


.index-banner {
    @include responsive(mbtb){
        height: auto;
    }
    width: 100%;
    height: 400px;
    background: $white;

    .owl-carousel {
        height: 100%;
        .owl-stage-outer {
            height: 100%;
            padding: 0;
        }
    }
    .owl-dots{
        @include absolute(unset,unset,10px,50%);
        @include transform(translateX(-50%));
        z-index: 100;
        button{
            outline: none;
        }
    }

    .banner-holder {
        width: 100%;
        height: 100%;

        .banner-img-holder {
            img {
                width: 100%;
                height: 100%;
            }
        }
    }
}
.margin-top-mb{
    @include responsive(mbtb){
        margin-top:10px
    }
}

.best-deal-block {
    @extend %section;
    background: url(../images/banner/deal-pattern.png), linear-gradient(-160deg, $default-color, #fffcda, $default-color);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left;

    .product-holder {
        width: 95%;
        border-radius: 5px;

        &:hover {
            background: linear-gradient(to bottom, $default-color 50%, white 50%);
            box-shadow: inset $shadow;

            .deal {
                background: white;
                color: $default-color;
            }
        }

    }

}

.product-holder {
    position: relative;
    height: 280px;
    width: 250px;
    background: white;
    overflow: hidden;
    //box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    .product-img-holder {
        display: block;
        margin: auto;
        height: 160px;
        width: 200px;

        img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
    }

    .product-desc {
        @include absolute(unset, 0, 0, 0);
    }

    .add-to-cart {
        @include absolute(unset, 0, 0, unset);
        @include transform(translateX(40px));
        @include responsive(mbtb){
            opacity: 1;
            @include transform(none);
        }
        opacity: 0;
        height: 30px;
        background: $default-color;
        color: white;
        font-size: 12px;
        padding: 5px;
        transition: .3s ease-in-out;
        cursor: pointer;

        &::after {
            content: "";
            background: transparent;
            @include absolute(0, unset, 0, -20px);
            border-color: transparent $default-color;
            border-style: solid;
            border-width: 30px 20px 0 0;
            height: 0;
            width: 0;
            transition: .3s ease-in-out;

        }

        &:hover {
            background: $default-light;

            &::after {
                border-color: transparent $default-light;

            }
        }

    }

    &:hover {
        .add-to-cart {
            @include transform(translateX(0));
            opacity: 1;
            width: auto;
            transition: .3s ease-in-out;
        }
    }

}

.product-desc {
    position: relative;
    width: 100%;
    padding: 6px 10px;

    .p-name {
        font-weight: 600;
        font-size: 15px;
        color: $default-color;
        line-height: 1;
        text-overflow: ellipsis;
        overflow: hidden;
        display: inline-block;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        max-height: 30px;
    }
    .cart-item{
        color: inherit!important;
        text-align: -webkit-left
    }


    .p-desc {
        font-size: 12px;
        line-height: 1;
        text-overflow: ellipsis;
        overflow: hidden;
        display: inline-block;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        max-height: 30px;
    }

    .pricing {
        position: relative;
        width: 100%;
        height: 50px;

    }

    .p-amt {
        font-weight: 600;
        margin-bottom: 0;
        line-height: 1;
    }

    .o-amt {
        text-decoration: line-through;
        font-size: 10px;
    }

    p {
        margin-bottom: 4px;


    }


}

.deal-holder {
    @include absolute(0, 0, unset, unset);
    width: 85px;
    height: 88px;
    overflow: hidden;
    color: white;

    .deal {
        font-weight: bold;
        font-size: 14px !important;
        text-align: center;
        text-shadow: rgba(255, 255, 255, 0.5) 0px 1px 0px;
        @include transform(rotate(45deg));
        position: relative;
        padding: 5px 0;
        left: -5px;
        top: 15px;
        width: 125px;
        background-color: $default-color;
        color: #fff;
        -webkit-box-shadow: 0 5px 3px rgba(0, 0, 0, 0.3);
        -moz-box-shadow: 0 5px 3px rgba(0, 0, 0, 0.3);
        box-shadow: 0 5px 3px rgba(0, 0, 0, 0.3);
    }
}

.section-title {
    @include responsive(mbtb){
        margin-bottom: unset;
    }
    margin-bottom: 35px;
    color: $black;
    position: relative;
    padding-bottom: 20px;

    &::before {
        position: absolute;
        content: '';
        background: $alt-color;
        width: 130px;
        height: 2px;
        left: 0px;
        bottom: 0px;
    }

    &::after {
        position: absolute;
        content: '';
        background: $alt-color;
        width: 45px;
        height: 4px;
        left: 0px;
        bottom: 0px;
        transition: all 500ms ease;
        -webkit-mask-image: linear-gradient(-75deg, rgba(244, 55, 55, 0.6) 50%, #f43737 50%, rgba(0, 0, 0, 1) 70%);
        -webkit-mask-size: 200%;
        animation: shine 2s infinite;
    }

}

@-webkit-keyframes shine {
    from {
        -webkit-mask-position: 150%;
    }

    to {
        -webkit-mask-position: -50%;
    }
}

.owl-carousel .owl-stage-outer {
    padding: 20px 10px;
}

.service {
    width: 100%;
    display: block;
    margin: 30px auto;
    border-radius: 5px;

}

.service-block {
    background: #fcfcfc;
    box-shadow: $shadow;
    padding: 30px 0;
    display: flex;
    flex-wrap: inherit;
    overflow: auto;

    .col-lg-3:last-child .service-holder {
        border-right: none;
    }
}

.service-holder {
    text-align: center;
    border-right: 1px solid $body;

    .service-icon {
        margin-bottom: 25px;
        font-size: 34px;
        color: $gray;
    }

}

.latest-product-block {
    @extend %section
}

.latest-product {
    @include flex-line(flex-start, center);
    flex-wrap: wrap;
    padding: 20px 0 30px;
    position: relative;


}
.page-item.active .page-link{
    background-color: $default-color;
    border-color: $default-color;
}
.page-link{
    color: $default-color;
}

.product-holder {
    width: 19%;
    @include responsive(mb) {
        width: 49%
    }
;
    height: 17rem;
    margin-right: 1%;
    margin-bottom: 1%;

    .product-img-holder {
        width: 100%
    }

    &:hover {
        box-shadow: $shadow;

        .p-name {
            color: $default-color;
        }
    }
}

.promo-sticker {
    @include absolute(0, 10px, unset, unset);
    background: $default-color;
    color: whitesmoke;
    width: 40px;
    height: 35px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    box-shadow: $shadow;

    span {
        display: block;
        font-size: 12px;
        text-align: center;
        margin-bottom: 0;
    }

    span:first-child {
        font-size: 10px;
    }
}

.load-more {
    @extend %button;
    @include absolute(50%, unset, unset, 50%);
    background: $default-color;
    color: white;
    border-radius: 30px;
    padding: 15px 30px;
    font-size: 20px;
    @include transform(translate(-50%, -50%));

    &:hover {
        background: $default-light;
    }

}

.categories-block {
    @extend %section;

    //.row .col-sm-12:first-child .category-grid {
    //    grid-template-columns: 25% 25% 25% 25%;
    //    @include responsive(mb) {
    //        grid-template-columns: 50% 50%;
    //        grid-template-rows: 25% 25% 25% 25%;
    //    }
    //    grid-template-rows: 50% 50%;
    //}
}

.categories-holder {
    width: 100%;
    margin-bottom: 30px;
    height: 22rem;
    @include responsive(mb) {
        height: auto
    }
;
    background: #f9f9f9;
    border-radius: 5px;
    //padding: 10px;
}

.category-grid {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: 50% 50%;
    height: 100%;

    .product-img-holder {
        height: 90px;
        @include responsive(mb) {
            height: auto
        }
    ;


        img {
            width: 100%;
            display: block;
            margin: auto;
            object-fit: contain;
            height: 100%;
            @include responsive(mb) {
                height: 120px
            }
        ;

        }
    }
}
.grid-item {
    position: relative;
    background-color: white;
    border: 5px solid $body;
    padding: 10px;
    overflow: hidden;
    @include responsive(mbtb) {
        padding: 4px
    }

    .c-name{
        @include responsive(mbtb){
            position: relative;
            bottom: unset;
        }
        @include absolute(unset,unset,12px,unset);
        width: 100%;
        font-size: 15px;
    }

    &:hover {
        img{
            @include transform(scale(1.1));
        }

        a {
            color: $gray;
        }
        .c-name::after{
            width: 50px;
            transition: ease-in-out .3s;
        }
    }

}

.c-name {
    position: relative;
    font-weight: bold;
    display: block;
    @include responsive(mbtb) {
        margin-bottom: 20px
    }

    &::after {
        content: "";
        @include absolute(unset, unset, -2px, 0);
        background: $alt-color;
        width: 30px;
        height: 2px;
        transition: ease-in-out .3s;


    }
}

//################################ index css ends ################################//

//################################ product-list css starts ################################//
.all-product-holder {
    width: 100%;
    padding: 20px 20px 0;
    @include responsive(mbtb) {
        padding: 20px 8px 0
    }
;
}

.mb-product-filter-holder {
    display: none;
    padding: 10px;
    position: relative;
    background: $white;
    border-radius: 5px;
    z-index: 100;
    margin-bottom: 15px;
    border: 2px solid $default-color;
    box-shadow: $shadow;
}

.times .show-filter {
    display: none;
}

button.times {
    background: $default-color;
    position: relative;
    padding: 10px;
    height: 50px;
    width: 80px;
    text-align: center;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    font-size: 26px;
    float: right;
    z-index: 101;

    &:hover {
        background: $default-color;
    }
}

.hide-filter {
    display: none;
}

.times .hide-filter {
    display: block;
}

.mb-product-filter-holder.show {
    display: none;
    @include responsive(mbtb) {
        display: block;
    }
}

.product-filter-holder {
    width: 100%;
    padding: 20px;
    height: auto;
    //min-height: 800px;
    background: white;
    color: $gray;

    ul {
            li {
                list-style: none;
                justify-content: flex-start;
                color: $gray;
                padding: 5px 0;
                font-size: 13px;
            }
    }
}

.filter {
    padding: 20px 0;
    border-bottom: 1px solid $body;

    .price-range {
        font-size: 13px;

        input {
            width: 40%;


        }

        input, button {
            height: 1.5rem;
        }
    }

    .flex-line {
        @include responsive(mbtb) {
            display: inline-block;
            margin-right: 15px;
            margin-bottom: 10px
        }
    }
}

.active-filter {
    border: 1px dashed $body;
    border-radius: 5px;
    padding: 10px;

    .selected-filter {
        color: $default-color;
        display: inline-block;
        margin-bottom: 10px;
        margin-right: 10px;
        position: relative;
        padding: 2px 8px;
        border: 1px solid $default-color;
        border-radius: 5px;
        font-size: 12px;

        .fa-times {
            position: relative;
            right: -2px;
            top: -2px;
        }
    }
}

.product-list {
    position: relative;
    width: 100%;
    @include flex-line(flex-start, center);
    padding-bottom: 40px;
    flex-wrap: wrap;

    .product-holder .product-img-holder {
        height: 150px;
    }
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 15px;
    @include responsive(mbtb) {
        height: 20px;
        margin: 0;
        width: 46px
    }

    margin: 0 10px 0 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 13px;
    width: 13px;
    @include responsive(mbtb) {
        height: 18px;
        width: 18px;
    }
    left: 2px;
    bottom: 1px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: $default-color;
}

input:focus + .slider {
    box-shadow: 0 0 1px $default-color;
}

input:checked + .slider:before {
    -webkit-transform: translateX(23px);
    -ms-transform: translateX(23px);
    transform: translateX(23px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.recommended-list {
    width: 100%;
    //padding: 30px 0;

    .col-lg-3, .col-md-3, .col-sm-4, .col-xs-6 {
        padding-left: 7.5px;
        padding-right: 7.5px;
    }
}

.recommended-product {
    height: 6rem;
    background: white;
    margin-bottom: 15px;
    @include flex-line(flex-start, center);

    .product-img-holder {
        height: 100%;
        width:100px;

        img {
            height: inherit;
            object-fit: contain;
        }
    }

    .product-desc {
        height: 100%;
        width: auto;
        padding: 8px;
    }
}

.img-holder {
    width: 100%;
    height: auto;

    img {
        width: 100%;
        max-width: 100%;
        height: 99%;
        object-fit: contain;
    }
}

//################################ product-list css ends ################################//


//################################ product-detail css starts ################################//
.tracer {
    font-size: 14px;
    color: $gray;
    max-width: 100%;
    overflow-x: auto;

    a {
        color: $blue;

        &:hover {
            color: $default-color;
        }
    }
}

.seperater {
    color: $light-gray;
    padding: 0 15px;
    @include responsive(mbtb) {
        padding: 0 8px
    }
}

.product-detail-holder {
    background: $white;
    width: 100%;
    box-shadow: $shadow-low;
    padding: 20px;
    margin-bottom: 20px;
}

.product-detail-content {
    .title-holder {
        border-bottom: 1px solid #e2e2e2;
        color: $gray;

        .product-title {
            color: $black;
            font-size: 26px;
            position: relative;
        }

        .base {
            padding: 0;
            font-size: 15px;
            color: $light-gray;

            li {
                list-style: none;
                padding: 0 15px 0 0;
                display: inline-block;

                &:first-child {
                    border-right: 1px solid $light-gray;
                }

                &:last-child {
                    padding-left: 15px;
                }
            }
        }

        .info {
            color: $default-light;

            &:hover {
                text-decoration: underline;
            }
        }

    }

    .quantity-holder {
        color: $gray;
        margin: 20px 0;

        .qty-edit {
            position: relative;
            background: #e7e6e6;
            border-radius: 5px;
            width: 200px;
            max-width: 100%;

            .fa {
                text-align: center;
                width: 20%;
                padding: 10px 0;
                font-size: 12px;
                color: #737373;

                &:hover {
                    background: $default-color;
                    color: white;
                    box-shadow: $shadow;
                    cursor: pointer;
                }
            }

            .fa-plus {
                border-top-right-radius: 5px;
                border-bottom-right-radius: 5px;
            }

            .fa-minus {
                border-top-left-radius: 5px;
                border-bottom-left-radius: 5px;
            }

            .quantity-box {
                outline: none;
                border-left: none;
                border-right: none;
                border-top: 2px solid #e7e6e6;
                border-bottom: 2px solid #e7e6e6;
                width: 60%;
                background: white;
                text-align: center;
                height: 2rem;
            }


        }

        .stock-out {
            //@include absolute(unset,unset,250px,unset);
            font-style: italic;
            color: maroon;
            font-size: 14px;
        }
    }

    .price-holder {
        margin: 20px 0;

        .op {
            color: $light-gray;
            text-decoration: line-through;

            line-height: 1;
        }

        .mp {
            color: $default-color;
            font-size: 28px;
            line-height: 1;

        }

    }

}

.order-btn {
    max-width: 100%;
    width: auto;
    height: 3rem;
    margin: 20px 0;
}

.order-btn.disabled {
    background: $light-gray;

    &:hover {
        cursor: no-drop;
    }
}

#orderModal {
    .modal-dialog {
        max-width: 95%;
        width: 700px;
    }
}

.order-form {
    .table {
        td, tr, th {
            padding: 5px;
            border: none;
        }
    }

    .billing-info {
        margin-bottom: 40px;
        border: 1px dotted $light-gray;
        padding: 10px;

        label {
            display: block;
            margin-bottom: 10px;

        }

        .section-label {
            padding: 5px 10px;
            background: $default-color;
            color: white;
            border-radius: 20px;

        }

        input, select {
            width: 100%;
            padding: 5px 10px;
            border: 1px solid $light-gray;
            border-radius: 30px;
            margin-bottom: 20px;
            height: 3rem;
            outline: none;
            box-shadow: $shadow-low;
        }

    }

    .product-title {
        font-size: 20px;
        border-bottom: 1px solid $default-color;
    }

    .product-detail-content {
        text-align: right;

    }

    .product-detail-content .quantity-holder {
        margin: 0;

        .qty-edit {
            width: 100px;

            .fa {
                width: 30%;
            }

            .quantity-box {
                width: 40%;
            }
        }

    }

    .default-btn {
        border-radius: 30px;
        padding: 10px;
    }

}

@import "zoomImage";
//################################ product-detail css ends ################################//


#sessionModal {
    .modal-dialog {
        position: absolute;
        right: 10px;
    }

    i {
        margin-right: 10px;
    }

    .fa-exclamation-circle {
        color: #c5330c;
        font-size: 40px;
        box-shadow: $shadow;
        border-radius: 100%;
    }

    .fa-exclamation-triangle {
        color: #c5330c;
        font-size: 40px;
        border-radius: 100%;
    }

    .fa-check-circle {
        color: $blue;
        font-size: 40px;
        border-radius: 100%;
    }
}
//cart detail css starts //
.abbr{
    position: relative;
    .full-name{
        @include absolute(-38px,unset,unset, 0);
        padding: 8px;
        font-size: 14px;
        background: rgba(0,0,0,0.7);
        color: white;
        border-radius: 5px;
        display: none;
    }
    &:hover{
        .full-name{
            display: block;
        }
    }
    span{
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

}
.c__box{
    position: relative;
    background: #fdfdfd;
    padding: 15px;
    box-shadow: 0 8px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    border-radius: 5px;
    font-size: 12px;
    @include responsive(mbtb){min-height: 150px; padding: 15px 5px}
}
.c__item{
    padding: 10px 0;
}
.c__holder{
    width: 80%;
    @include responsive(mb){width:100%}

}
.cart-amount{
    @include responsive(mb){font-size: 15px}
}
.card-body li{
    background: none;
}
.c__detail{
    padding: 0 15px;
    width: calc(100% - 80px);
    @include responsive(mb){width: calc(100% - 120px); padding:0 5px}

}
.width-85{
    width: 85%;
}
.qty-edit-holder{
    width: 20%;
    text-align: center;
    @include responsive(mb){@include absolute(unset,5px,30px, unset)}
}
.cart-img-holder{
    width:80px;
    height: 80px;
    @include responsive(mb){
        width: 50px;
    }
    img{
        display: block;
        margin: auto;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}
.rm-item{
    color: $gray;
    @include responsive(mb){@include absolute(10px, 5px, unset, unset); font-size: 20px}
    .rm{
        @include responsive(mb){display: none}
    }
    &:hover{
        color: #dc143c;
        cursor: pointer;
    }
}
//cart detail css ends //

//checkout page css//
.f_card{
    position: relative;
    border-radius: 5px;
    background: white;
    box-shadow: $shadow-low;
    width: 100%;
    margin-bottom: 30px;
    .f_card_header{
        border-top: 4px solid $default-color;
        padding: 10px 20px;
        border-top-right-radius: 5px;
        border-top-left-radius: 5px;
        @include responsive(mb){padding: 5px}
        @include background-linear((to bottom, $light-green, white));
        //background: $light-green;
        color: $gray;
        p{
            color: $gray;
            @include responsive(mb){font-size: 12px}
        }
        h4{
            @include responsive(mb){font-size: 1rem}
        }
        .info-success{
            @include absolute(50%, 0, unset, unset);
            @include transform(translateY(-50%));

        }
    }
    .card-title{
        width: calc(100% - 60px);
    }
    .f_card_body{
        padding: 20px;
        @include responsive(mb){padding: 0}
    }
}
.cart-body{
    @include responsive(mb){padding: 0.5rem}
}
.card-icon{
    @include responsive(mbtb){
        margin-right: 10px;
    }
    width:60px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    border-radius: 100%;
    background: $default-color;
    color: white;
    font-size: 26px;
    margin-right: 40px;

}
.label{
    font-size: 12px;
    font-weight: bold;
    color: $gray;
    margin-bottom: 0;
}
.input-holder{
    position: relative;
    width: 100%;
    background: white;
    border: 1px solid #e4e4e4;
    border-radius: 3px;
    padding: 5px 10px;
    input, select, textarea{
        width:100%;
        padding: 0;
        border: none;
        background: none;
        outline: none;
        &:focus{
            outline: none

        }
    }
}
.p__type{
    [type=radio] {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
    }

    /* IMAGE STYLES */
    [type=radio] + img {
        cursor: pointer;
        border: 2px solid white;
        border-radius: 2px;

    }

    /* CHECKED STYLES */
    [type=radio]:checked + img {
        border: 2px solid $default-color;
        //background: $default-color;
    }
}
//checkout page css ends//

//confirm page css
.digit-group {
    input {
        width: 30px;
        height: 50px;
        background-color: lighten(#e3e3e3, 5%);
        border: none;
        line-height: 50px;
        text-align: center;
        font-size: 24px;
        font-family: 'Raleway', sans-serif;
        font-weight: 200;
        color: $blue;
        margin: 0 2px;
    }

    .splitter {
        padding: 0 5px;
        color: $gray;
        font-size: 24px;
    }
}
.fa-check-circle{
    color: $default-light;
    font-size: 90px;
}

.prompt {
    margin-bottom: 20px;
    font-size: 20px;
    color: $gray;

}
.confirm-section{
    position: relative;
    text-align: center;
    width: 100%;
    min-height: 70vh;
    .default-btn{
        margin: 20px 0;
        width: 200px;
    }

}
.card-center{
    @include absolute(50%, unset, unset, 50%);
    @include transform(translate(-50%, -50%));
    background: white;
    box-shadow: $shadow;
    padding: 20px;
    border-radius: 20px;
    width: 70%;
    @include responsive(mbtb){ width: 100%}
}
//confirm page css ends
//################################ footer css starts ################################//

footer {
    background: #2d2d2d;
    width: 100%;
    position: relative;
    padding: 50px 20px 5px 20px;
    color: $body;

    li {
        list-style: none;
        line-height: 30px;
    }

    .footer-social li {
        display: inline-block;
        text-align: center;
    }

    p {
        color: $body;
        padding: 10px 0;
        font-size: .9rem;
    }

    img{
        width:150px;height: auto;object-fit: contain
    }
}
