.hamburger {
    position: relative;
    z-index: 3;
    width: 40px;
    height: 25px;
    display: none;
}

    .hamburger .inner {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.5);
    }

    .hamburger #nav-icon2 {
        width: 50px;
        height: 35px;
        position: relative;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: 0.5s ease-in-out;
        -moz-transition: 0.5s ease-in-out;
        -o-transition: 0.5s ease-in-out;
        transition: 0.5s ease-in-out;
        cursor: pointer;
    }

        .hamburger #nav-icon2 span {
            display: block;
            position: absolute;
            height: 5px;
            width: 50%;
            background: #fff;
            opacity: 1;
            -webkit-transform: rotate(0deg);
            -moz-transform: rotate(0deg);
            -o-transform: rotate(0deg);
            transform: rotate(0deg);
            -webkit-transition: 0.25s ease-in-out;
            -moz-transition: 0.25s ease-in-out;
            -o-transition: 0.25s ease-in-out;
            transition: 0.25s ease-in-out;
        }

            .hamburger #nav-icon2 span:nth-child(even) {
                left: 50%;
                border-radius: 0 9px 9px 0;
            }

            .hamburger #nav-icon2 span:nth-child(odd) {
                left: 0px;
                border-radius: 9px 0 0 9px;
            }

            .hamburger #nav-icon2 span:nth-child(1),
            .hamburger #nav-icon2 span:nth-child(2) {
                top: 0px;
            }

            .hamburger #nav-icon2 span:nth-child(3),
            .hamburger #nav-icon2 span:nth-child(4) {
                top: 18px;
            }

            .hamburger #nav-icon2 span:nth-child(5),
            .hamburger #nav-icon2 span:nth-child(6) {
                top: 36px;
            }

        .hamburger #nav-icon2.open {
            top: 0;
        }

            .hamburger #nav-icon2.open span {
                background: #fff;
            }

                .hamburger #nav-icon2.open span:nth-child(1) {
                    left: 5px;
                    top: 7px;
                }

                .hamburger #nav-icon2.open span:nth-child(2) {
                    left: calc(50% - 5px);
                    top: 7px;
                }

                .hamburger #nav-icon2.open span:nth-child(3) {
                    left: -50%;
                    opacity: 0;
                }

                .hamburger #nav-icon2.open span:nth-child(4) {
                    left: 100%;
                    opacity: 0;
                }

                .hamburger #nav-icon2.open span:nth-child(5) {
                    left: 5px;
                    top: 29px;
                }

                .hamburger #nav-icon2.open span:nth-child(6) {
                    left: calc(50% - 5px);
                    top: 29px;
                }

                .hamburger #nav-icon2.open span:nth-child(1),
                .hamburger #nav-icon2.open span:nth-child(6) {
                    -webkit-transform: rotate(45deg);
                    -moz-transform: rotate(45deg);
                    -o-transform: rotate(45deg);
                    transform: rotate(45deg);
                }

                .hamburger #nav-icon2.open span:nth-child(2),
                .hamburger #nav-icon2.open span:nth-child(5) {
                    -webkit-transform: rotate(-45deg);
                    -moz-transform: rotate(-45deg);
                    -o-transform: rotate(-45deg);
                    transform: rotate(-45deg);
                }

@media only screen and (min-width: 1200px) {
    .custom-nav {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        align-items: center;
    }

        .custom-nav .dropdown-desktop {
            cursor: pointer;
        }

            .custom-nav .dropdown-desktop:nth-child(5) .offcanvas-submenu {
                min-width: 325px;
            }

            .custom-nav .dropdown-desktop:after {
                content: "";
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                right: 8px;
                background-image: url(/Resources/img/arrow.svg);
                width: 10px;
                height: 10px;
                background-size: cover;
            }

            .custom-nav .dropdown-desktop .offcanvas-submenu {
                padding: 20px 0 20px;
                position: absolute;
                top: calc(100% + 5px);
                left: 25px;
                transition: all 0.3s ease-in-out;
                background: #fff;
                width: 100%;
                min-width: 200px;
                opacity: 0;
                visibility: hidden;
                border-radius: 21px;
                border: 1px solid rgba(78, 23, 44, 1);
            }

                .custom-nav .dropdown-desktop .offcanvas-submenu:before {
                    content: "";
                    position: absolute;
                    top: -28px;
                    left: 0;
                    /*background: url(/Resources/img/figure-ddl.svg);*/
                    width: 100%;
                    height: 28px;
                    background-size: cover;
                    background-repeat: no-repeat;
                    transform: scale(1, -1);
                }

                .custom-nav .dropdown-desktop .offcanvas-submenu li a {
                    color: rgba(46, 11, 26, 0.9);
                }

                .custom-nav .dropdown-desktop .offcanvas-submenu ul b {
                    display: block;
                    margin-bottom: 10px;
                }

                .custom-nav .dropdown-desktop .offcanvas-submenu ul li a {
                    color: rgba(46, 11, 26, 0.9);
                }

            .custom-nav .dropdown-desktop .drop-desk li {
                width: 100%;
            }

                .custom-nav .dropdown-desktop .drop-desk li:hover a {
                    font-weight: bold;
                }

                    .custom-nav .dropdown-desktop .drop-desk li:hover a:after {
                        opacity: 1;
                    }

                .custom-nav .dropdown-desktop .drop-desk li a {
                    padding: 5px 20px 7px 30px;
                    line-height: initial;
                    position: relative;
                    display: table;
                    transition: 0.3s ease-in-out;
                }

                .custom-nav .dropdown-desktop .drop-desk li.back-btn {
                    display: none;
                }

    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 999;
        padding: 15px 0;
        background: #cc5c3a;
        transition: all 0.3s ease-in-out;
        box-shadow: none;
    }

        header .menu {
            margin: 0;
        }
        /*        header.scroll,
        header.static {
            background: #fff;
        }*/

        header .logo {
            display: inline-block;
            position: relative;
            margin-right: 10px;
        }

            header .logo img {
                max-width: 150px;
                width: 100%;
                height: auto;
            }

        header .container-fluid.custom {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            flex-direction: row;
        }

        header .mobile-show {
            display: none;
        }

        header .right-menu {
            display: flex;
            flex-wrap: wrap;
            flex-direction: row;
            margin-left: auto;
            align-items: center;
            position: relative;
            display: -webkit-box;
            /* OLD - iOS 6-, Safari 3.1-6 */
        }

            header .right-menu p {
                display: flex;
                flex-wrap: wrap;
                flex-direction: row;
                margin-left: auto;
                align-items: center;
                display: -webkit-box;
                margin: 0;
                /* OLD - iOS 6-, Safari 3.1-6 */
            }

            header .right-menu .btn-default {
                background: #fff;
                color: #000;
                padding: 12px 25px;
                text-align: center;
                border-radius: 100px;
            }

            header .right-menu .hide-phone,
            header .right-menu .hide-email {
                display: none;
            }

        header .offcanvas-menu ul li {
            display: inline-block;
            vertical-align: middle;
            position: relative;
        }

            header .offcanvas-menu ul li.active a {
                font-weight: bold;
                color: #36a3dc;
            }

                header .offcanvas-menu ul li.active a.JS-KeuzehulpMenu {
                    /* color: #fff;*/
                    font-weight: bold;
                    color: #36a3dc;
                }

            header .offcanvas-menu ul li:hover .offcanvas-submenu {
                opacity: 1;
                visibility: visible;
            }

            header .offcanvas-menu ul li:hover a {
                color: #36a3dc;
            }

            header .offcanvas-menu ul li.mobile {
                display: none;
            }

            header .offcanvas-menu ul li a {
                display: block;
                padding: 10px 25px;
                transition: all 0.2s ease-in-out;
                background: transparent;
                position: relative;
                color: #fff;
                text-decoration: none !important;
                font-size: 16px;
            }
}

@media only screen and (max-width: 1200px) {
    .top-header {
        display: none !important;
    }

    .right-menu {
        position: relative;
        display: flex;
        align-items: center;
        margin-left: auto;
        flex-wrap: wrap;
        flex-direction: row;
        z-index: 1;
        border-radius: 50px;
        padding: 10px;
        background: #36a3dc;
    }

        .right-menu .btn-default {
            display: none;
        }

        .right-menu .menu-icon {
            position: relative;
            color: #141414;
            text-align: center;
            line-height: 30px;
            padding: 0 10px;
        }

            .right-menu .menu-icon img {
                max-width: 15px;
                width: 15px;
            }

        .right-menu .hide-email,
        .right-menu .hide-phone {
            border-right: 1px solid #fff;
            display: inline-block;
        }

        .right-menu .mobile {
            color: #fff;
            position: relative;
            padding: 0 0 0 25px;
            margin-right: 15px;
        }

    .menu-middle {
        width: 100%;
        left: 0;
        padding: 10px 0;
    }

        .menu-middle .container-fluid {
            padding: 0 !important;
        }

        .menu-middle .right .menu-icon {
            height: 35px;
            width: 35px;
            margin: 0 4px;
        }

            .menu-middle .right .menu-icon.show-desktop {
                display: none;
            }

            .menu-middle .right .menu-icon.hide-desktop {
                display: block;
            }

            .menu-middle .right .menu-icon i {
                font-size: 16px;
            }

        .menu-middle .shopping-bag .drop {
            position: fixed;
            top: 55px;
            z-index: 999;
            right: initial;
            left: 15px;
            width: calc(100% - 30px);
            min-width: inherit;
            max-height: calc(100vh - 150px);
            height: 100%;
        }

            .menu-middle .shopping-bag .drop .list::-webkit-scrollbar {
                display: none;
                overflow-y: scroll;
                -webkit-overflow-scrolling: touch;
            }

        .menu-middle .search {
            position: absolute;
            left: 0px;
            top: 60px;
            padding: 10px 15px;
            background: $primary-pink;
            width: 100%;
            order: 3;
            margin-left: auto;
            max-width: inherit;
        }

            .menu-middle .search .form-group .form-control {
                padding: 8px 15px;
            }

    footer,
    .copy,
    .menu-middle {
        left: 0%;
        transition: all 0.3s ease-in-out;
    }

    html.active {
        overflow: hidden;
    }

        html.active main,
        html.active .topheader,
        html.active footer,
        html.active .copy,
        html.active .menu-middle {
            left: -45%;
        }

        html.active header .custom-nav {
            right: 0% !important;
            visibility: visible;
        }

        html.active .overlay-search {
            opacity: 1;
            left: 0;
            visibility: visible;
        }

    .hamburger,
    .login-mobile {
        display: block;
    }

    .offcanvas-menu {
        position: relative;
        width: 100%;
        /* overflow: hidden;*/
        margin: 0px 0px 20px;
    }

        .offcanvas-menu .container {
            padding: 0;
        }

        .offcanvas-menu .title-drop {
            font-weight: 600;
            font-size: 20px;
            padding-left: 20px;
            margin: 25px 0px 5px;
        }

        .offcanvas-menu .menu.off-view {
            transform: translate3d(-100%, 0, 0);
        }

        .offcanvas-menu ul li {
            display: block;
        }

            .offcanvas-menu ul li.back-btn a {
                border-bottom: 1px solid rgb(61, 31, 49);
                width: 80%;
                left: 20px;
                position: relative;
                padding: 15px 0;
            }

                .offcanvas-menu ul li.back-btn a:before {
                    content: "\f060 ";
                    font-weight: 900;
                    font-family: 'Font Awesome 5 Free';
                    position: relative;
                    margin-right: 10px;
                }

            .offcanvas-menu ul li.mobile {
                display: block;
            }

                .offcanvas-menu ul li.mobile.bg-color {
                    padding: 0 0 0 20px;
                }

                    .offcanvas-menu ul li.mobile.bg-color a {
                        /* @include btn-default; */
                        /* Placeholder for the actual btn-default styles if they exist elsewhere */
                    }

                .offcanvas-menu ul li.mobile a {
                    color: rgba(61, 31, 49, 1) !important;
                }

            .offcanvas-menu ul li a {
                display: block;
                padding: 15px 20px;
                transition: color 0.3s;
                color: rgba(61, 31, 49, 1) !important;
                text-decoration: none;
                font-size: 18px;
            }

                .offcanvas-menu ul li a i {
                    margin-right: 10px;
                }

            .offcanvas-menu ul li.has-children > .offcanvas-submenu {
                position: absolute;
                top: 0;
                right: -100%;
                width: 100%;
                /* height: 100%;*/
                transform: translate3d(100%, 0, 0);
                transition: all 0.4s cubic-bezier(0.86, 0, 0.07, 1);
                overflow-y: auto;
            }

                .offcanvas-menu ul li.has-children > .offcanvas-submenu.in-view {
                    transform: translate3d(0, 0, 0);
                }

                    .offcanvas-menu ul li.has-children > .offcanvas-submenu.in-view.off-view {
                        transform: translate3d(-100%, 0, 0);
                    }

            .offcanvas-menu ul li.has-children > span {
                display: block;
                position: relative;
                width: 100%;
            }

                .offcanvas-menu ul li.has-children > span .sub-menu-toggle {
                    display: block;
                }

                .offcanvas-menu ul li.has-children > span a {
                    padding-right: 65px;
                    color: rgba(61, 31, 49, 0.9);
                }

            .offcanvas-menu ul li.not-child .sub-menu-toggle {
                display: none !important;
            }

        .offcanvas-menu ul .sub-menu-toggle {
            position: absolute;
            top: 0;
            right: 0;
            width: 60px;
            height: calc(100% - 1px);
            transition: background-color 0.3s;
            z-index: 1;
            display: none;
        }

            .offcanvas-menu ul .sub-menu-toggle:after {
                content: "\f061";
                font-weight: 900;
                font-family: "Font Awesome 5 Free";
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                width: 31px;
                height: 31px;
                /* border: 1px solid #fff;*/
                border-radius: 5px;
                color: rgba(61, 31, 49, 0.9);
                text-align: center;
                line-height: 29px;
                /* background: #fff;*/
            }

        .offcanvas-menu .menu {
            position: relative;
            transform: translate3d(0, 0, 0);
            transition: all 0.4s cubic-bezier(0.86, 0, 0.07, 1);
        }

    header {
        left: 0;
        width: 100%;
        top: 0;
        z-index: 999;
        position: fixed;
        background: #cc5c3a;
        box-shadow: none;
        padding: 7px 0;
        transition: all 0.3s ease-in-out;
    }

        header .container-fluid.custom {
            flex-wrap: initial !important;
        }

        header.scroll,
        header.static {
            /* No additional styles defined in mixin for these states at this breakpoint */
        }

        header .container-fluid.custom {
            display: flex;
            flex-wrap: wrap;
            flex-direction: row;
            align-items: center;
            width: 100vw;
        }

        header .dropdown-custom .back-btn:not(:first-child) {
            display: none;
        }

        header .dropdown-custom li .sub-menu-toggle {
            display: none !important;
        }

        header .logo {
            display: table;
            position: relative;
            left: 0;
            width: 100%;
        }

            header .logo img {
                margin-right: 10px;
                width: 100px;
                height: auto;
            }

        header.active .custom-nav {
            right: 0;
        }

            header.active .custom-nav .nav-items {
                transform: translate3d(0, 0, 0);
                opacity: 1;
            }

        header .custom-nav {
            position: fixed;
            top: 65px;
            width: 45%;
            z-index: 2;
            bottom: 0;
            background-color: #fff;
            transition: right 0.4s ease-in-out;
            padding: 25px 0 30px;
            height: 100vh;
            overflow-y: hidden;
            right: -45%;
            -ms-overflow-style: none;
            transition: all 0.3s ease-in-out !important;
            border-radius: 10px 0 0 10px;
            /*                     background-image: url(/Resources/img/logo-beeld-red.svg);
            background-repeat: no-repeat;
            background-size: 65px;
            background-position: 90% 98%;*/
            height: calc(100vh - (100vh - 100%));
            overflow: hidden;
        }

            header .custom-nav::-webkit-scrollbar {
                display: none;
            }

            header .custom-nav .off-canvas {
                position: absolute;
                top: 0;
                right: -100%;
                width: 100%;
                height: auto;
                transform: translate3d(100%, 0, 0);
                transition: all 0.4s cubic-bezier(0.86, 0, 0.07, 1);
            }

                header .custom-nav .off-canvas.in-view {
                    transform: translate3d(0, 0, 0);
                }

            header .custom-nav .nav-items {
                padding: 0;
                margin: 0;
                list-style: none;
                font-size: 20px;
                letter-spacing: 2px;
                position: relative;
                transform: translate3d(0, 0, 0);
                transition: all 0.4s cubic-bezier(0.86, 0, 0.07, 1);
            }

                header .custom-nav .nav-items.off-view {
                    transform: translate3d(-100%, 0, 0);
                }

                header .custom-nav .nav-items .dropdown-test .nav-big-down {
                    position: absolute;
                    top: 0;
                    right: -100%;
                    width: 100%;
                    height: auto;
                    transform: translate3d(100%, 0, 0);
                    transition: all 0.4s cubic-bezier(0.86, 0, 0.07, 1);
                }

                header .custom-nav .nav-items li {
                    margin-bottom: 20px;
                }

            header .custom-nav .close-mobile {
                position: absolute;
                top: 20px;
                right: 30px;
                font-size: 30px;
            }

            header .custom-nav .title {
                display: block;
                font-size: 24px;
                color: #000;
                position: relative;
                font-weight: 900;
            }

            header .custom-nav .social {
                list-style: none;
                padding: 0;
                margin: 0;
                font-size: 30px;
            }

                header .custom-nav .social li {
                    display: inline-block;
                    margin-right: 20px;
                }

                    header .custom-nav .social li:last-child {
                        margin-right: 0px;
                    }

                    header .custom-nav .social li a {
                        color: $primary-pink;
                    }

            header .custom-nav .mobile-copyright {
                margin: 0;
                display: inline-block;
                width: 100%;
                margin-top: 50px;
                color: $primary-pink;
            }

            header .custom-nav .mobile-show {
                display: block;
                margin: 0 0 15px;
            }

                header .custom-nav .mobile-show img {
                    max-width: 50px;
                    display: block;
                    height: auto;
                    margin: 0 0 0 15px;
                }
}

@media only screen and (max-width: 767.5px) {
    header .custom-nav {
        width: 100%;
        right: -100%;
    }

    html.active {
        overflow: hidden;
    }

    .search-results .inner {
        max-height: 70vh;
        overflow-y: scroll;
        margin: 0;
        padding: 20px 15px;
        -webkit-overflow-scrolling: touch;
    }

        .search-results .inner .close-search {
            padding: 0;
            right: 20px;
            font-size: 26px;
            top: 25px;
        }

        .search-results .inner b {
            display: block;
            margin-bottom: 10px;
        }

        .search-results .inner .products {
            flex: 0 0 100%;
            max-width: 100%;
            padding-left: 0px;
        }

            .search-results .inner .products .item {
                align-items: flex-start;
            }

                .search-results .inner .products .item .right-side {
                    padding-left: 0;
                    max-width: calc(100% - 120px);
                    flex: 0 0 calc(100% - 120px);
                    align-items: start;
                }

                    .search-results .inner .products .item .right-side .price {
                        margin: 10px auto 10px 0;
                    }

                    .search-results .inner .products .item .right-side .btn-list .stock,
                    .search-results .inner .products .item .right-side .btn-list .delivery {
                        text-align: left;
                    }

                    .search-results .inner .products .item .right-side .info,
                    .search-results .inner .products .item .right-side .price,
                    .search-results .inner .products .item .right-side .btn-list {
                        max-width: 100%;
                        text-align: left;
                        width: 100%;
                        justify-content: start;
                    }

                .search-results .inner .products .item h6 {
                    margin-bottom: 5px;
                }

                .search-results .inner .products .item img {
                    flex: 0 0 20%;
                    max-width: 20%;
                    object-fit: contain;
                }

        .search-results .inner .cats {
            flex: 0 0 100%;
            max-width: 100%;
            border-bottom: 2px solid #f0f0f0;
            padding-bottom: 15px;
            border-right: 0;
            margin-bottom: 30px;
        }
}

@media only screen and (max-width: 360px) {
    header .logo img {
        max-width: 125px;
        margin: 0 10px;
    }
}

@media only screen and (max-width: 1024px) {
    .topheader ul {
        width: 100%;
        display: block;
        white-space: nowrap;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
    }

    .menu-middle .search .form-group .btn-search {
        top: 0px;
    }
}

@media only screen and (max-width: 1350px) and (min-width: 1200px) {
    .custom-nav .dropdown-desktop:after {
        right: 0 !important;
    }

    header .container-fluid.custom {
        padding: 0px 15px;
    }

    header .offcanvas-menu ul li a {
        padding: 10px 15px !important;
    }
}
