#main-menu {
    position: relative;
    background: white;
}

#main-menu ul {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

#main-menu nav {
    transition: all 0.2s ease-in-out;
}

#main-menu ul li {
    display: inline-block;
    position: relative;
    margin: 0;
    padding: 0;
}

#main-menu ul li a {
    color: inherit;
    line-height: 2.2rem;
    margin: 0 2rem;
    display: inline-block;
    text-transform: uppercase;
    position: relative;
    width: 100%
}



#main-menu ul li ul li a {
    text-transform: none;
    font-weight: normal;
    font-size: smaller;
}

#main-menu ul li a:hover,
.current-menu-item > a {
    color: var(--main-color) !important;
}



.opener {
    right: 0.5rem;
    position: absolute;
    top: 2px;
    width: 1rem;
    height: 2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}


.opener svg {
    width: 0.5rem;
    height: auto;
}

#menu-footer-menu a {
    color: inherit
}

#menu-footer-menu a:hover {

    color: var(--main-color)
}

footer li {
    list-style-type: none;
    padding: 0.4rem 0;
    margin: 0;
}

.sticky #main-menu{
    position: absolute;
    right: -100%;
    width: 25%;
    height: auto;
    padding-top: 2rem;
    opacity: 0;
    transition: 0.2s all ease-in-out;
}

.sticky #main-menu ul{
   display: block
}

.sticky #main-menu.hambi {
    right: 0;
    height: 100vh;
    background: #fcfcfc;
    padding: 1rem;
    opacity: 1;
    box-shadow:0px 4px 12px 0px rgb(149 157 165 / 21%) !important;
    overflow-y:scroll
}

.sticky .sub-menu li .sub-menu li {
    padding-left: 1rem !important
}

@media only screen and (min-width: 961px) {

#main-menu ul li ul li a {
    white-space: nowrap;
}

    .sticky #top-head {
        gap: 2rem
    }

    header:not(.sticky) #main-menu nav {
        border-top: 1px solid #E1E1E1;
        padding: 0.5rem 0
    }

    header #main-menu ul li ul {
        z-index: 10;
        display: block;


        left: 1rem;
        background: #fff;
        top: 2.6rem;

        opacity: 0;
        visibility: hidden;
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

    header:not(.sticky) #main-menu ul li ul {
        position: absolute;
        padding:1vw 0.5vw;
        border-radius: 10px;
        box-shadow: 0px 8px 24px 0px rgba(149, 157, 165, 0.15) 
    }

    #main-menu ul > li:hover > ul {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        top: 3rem;
    }

    .sub-menu .menu-item-has-children .sub-menu {
        left: 105% !important;
        top: 0 !important;
      
    }

    .sub-menu .menu-item-has-children:hover .opener svg {
        -webkit-transform: rotate(-90deg);
        -moz-transform: rotate(-90deg);
        -o-transform: rotate(-90deg);
        transform: rotate(-90deg);
    }

    #main-menu div > ul > li > a:before {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        background: var(--main-color);
        display: block;
        bottom: 0;
        left: 0;
        -webkit-transition: all 0.2s ease-in-out;
        -moz-transition: all 0.2s ease-in-out;
        -o-transition: all 0.2s ease-in-out;
        transition: all 0.2s ease-in-out;
    }

    #main-menu div > ul > li > a:hover:before {
        width: 100%;
        height: 2px;
    }

    #main-menu ul li ul li {
        width: 100%;
    }
}

#hamburger {
    height: 2rem;
    width: 2rem;
    padding: 0.5rem;
    background: var(--main-color);
    border-radius: 50%;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    margin: 0;
    cursor: pointer;
    position: relative;
    display: none
}

#hamburger span {
    position: relative;
    display: block;
    height: 2px;
    background: #fff;
    opacity: 1;
    border-radius: 3px;
    -webkit-transition: .3s ease-in-out;
    -moz-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

#hamburger span:nth-child(1) {
    top: 0;
}

#hamburger span:nth-child(3) {
    bottom: 0;
}

#hamburger.open span:nth-child(1) {
    top: 50%;
    margin-top: -1px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
}

#hamburger.open span:nth-child(3) {
    bottom: 50%;
    margin-bottom: -1px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

#hamburger.open span:nth-child(2) {
    opacity: 0;
}

.sticky #hamburger {
    display: flex
}

#main-menu.hambi ul {
    overflow: hidden;
    display: block;
    -webkit-transition: all .8s ease-in-out;
    -moz-transition: all .8s ease-in-out;
    -o-transition: all .8s ease-in-out;
    transition: all .8s ease-in-out;
}


#main-menu.hambi ul.sub-menu,
#main-menu.hambi ul {
    max-height: 0;
    opacity: 0;
}

#main-menu.hambi ul.open,
#main-menu.hambi ul.sub-menu.open {
    opacity: 1;
    max-height: 1000px;
    visibility: visible
}

.sub-menu a{
    margin:0!important;
    padding: 0 2rem 0 1rem
    
}


#main-menu.hambi ul li {
    text-align: left;
    display: block;
}

#main-menu.hambi ul li:last-of-type a {
    border: none;
}

#main-menu.hambi ul li a {
    padding: 0.5rem 0;
    margin: 0;
    display: block;
    border-bottom: solid 1px #ddd;
}

#main-menu.hambi ul li ul li a {
    padding: 0 15px;
    border: none;
}

#main-menu.hambi .opener {
    right: 0px;
    position: absolute;
    top: 0.8rem;
    width: 1.5rem;
    height: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

#main-menu.hambi .opener svg {
    width: 50%;
    height: auto;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

#main-menu.hambi .open.opener svg {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}


#main-menu.hambi {
    display: block;
    height: 100vh
}

@media only screen and (min-width: 960px) and (max-width: 1280px) {
    #main-menu ul li a {
        font-size: smaller ;
        margin:0 1rem
    }
    
}

@media only screen and (max-width: 960px) {
 #main-menu.hambi ul li ul li a {
    padding: 0 15px 0 0;
     }
    
    
    .sticky .sub-menu li .sub-menu li{
        padding-left:0
    }
    #hamburger {
        display: flex
    }

    #service-menu {
        margin-right: 1rem
    }

    #main-menu {
        display: none
    }

    #service-menu li:first-of-type span,
    #service-menu li:nth-of-type(2) span,
    .woocommerce-product-search {
        display: none !important
    }


    .cart b,
    .cart span:nth-of-type(2) {

        display: none !important
    }

  

    .cart {
        position: relative
    }

    .cart .contents-count {
        position: absolute;
        top: -1.5rem;
        left: -1.5rem;
        border: 2px solid white;
        background: var(--main-color);
        color: white;
        width: 1rem;
        height: 1rem;
        line-height: 0.75rem !important;
        text-align: center;
        border-radius: 50%;
        font-size: smaller !important;
        font-weight: 600 !important;

    }
    
    .sticky #main-menu{
        width:75%
    }

    #service-menu li {
        margin: 0
    }

    #service-menu li a {
        display: inline-block;
        height: 1.5rem
    }

    #service-menu li svg {
        margin: 0rem 0.25rem !important;
        height: 1.5rem;
        padding: 0 0.5rem
    }

    #logo {
        text-align: left;
    }

    #logo a {
        margin: 0.5rem 0;
    }




}

.christmas_gift{
    position: relative;
    
}
.sticky .christmas_gift a, .menu.open .christmas_gift a{
display: inline-block !important;
    width: auto !important;
    padding-right: 3rem !important
}

.sticky .christmas_gift:before{
    left:0;
}

.christmas_gift:before, .sticky .christmas_gift a:before, .menu.open .christmas_gift a:before{
    content:"";
   position: absolute;
    right:0.25rem;
    top:0;
    height: 1.5rem;
    width: 1.5rem;
    background: url(../img/icons/bow.png) no-repeat center center;
    background-size: contain;
    transform: rotate(20deg)
}
.sticky .christmas_gift:before, .menu.open .christmas_gift:before{
    display: none
}

.christmas_gift a{
    text-transform: none !important;
    color:#009377 !important;
    font-weight: bold
    
}