/* Header ecommerce */ 
.header-ecommerce {
    flex-direction: column;
    padding: 0;
    z-index: 2;
    position: relative;
}
.h-row  {
    width: 100%;
}
.h-row .h-inner{
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
@media (max-width: 992px) {
 
.h-row.h-bottom .h-inner {
    flex-direction: column;
}
.h-row.toggled .h-inner{ 
    flex-direction: column;
    align-items: flex-start;
    max-height: 70vh;
    overflow-y: auto;
}
/**add nice scrollbars to .h-inner */
.h-inner {
    scrollbar-width: thin;
    scrollbar-color: var(--nxf-accent) transparent;
    overflow-y: auto;
}
.h-inner::-webkit-scrollbar {
    width: 10px;
}
.h-inner::-webkit-scrollbar-thumb {
    background-color: var(--nxf-accent);
    border-radius: 10px;
}
.h-inner::-webkit-scrollbar-track {
    background: transparent;
}
.h-inner::-webkit-scrollbar-thumb:hover {
    background-color: var(--button-hover-color);
}
.h-inner::-webkit-scrollbar-thumb:active {
    background-color: var(--button-hover-color);
} 

}

.h-over {
    min-height: 35px;
    background-color: var(--nxf-accent);
    color: white;

}
.rainbow-anim {
    background: linear-gradient(-45deg,#ed1c66,#6a23d5,#23a6d5,#23d5ab,#f03e3e,#e8890c,#e73c7e);
    background-size: 400% 400%;
    -webkit-animation: gradient 15s ease infinite;
    animation: gradient 25s ease infinite;
}

.h-over a {
    color: white;
    transition: all 0.3s ease-in-out;
    border-bottom: 1px dashed transparent;
}
.h-over a img {
    filter: invert(1);
}

.h-over a:hover {
    color: white;
    border-bottom: 1px dashed white;
}
.header-ecommerce .h-bottom {
    border-top: solid 1px #f3f3f3;
    min-height: 45px;
}

@media (min-width: 993px) {
    .nav-fixed + .h-bottom {
        position: fixed;
        top: -100%;
        z-index: -1;
        transition: all 0.3s ease-in-out;
    }
     .nav-fixed + .h-bottom.toggled {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9;
        background: var(--nxf-accent);
        color: white;
    }
    .nav-fixed + .h-bottom.toggled .nav li a {
        color: white;
        font-weight: 600;
    }

    .admin-bar .nav-fixed + .h-bottom.toggled {
        top: 28px;
    }
    .nav-fixed .h-bottom.toggled a {
        color: white;
    }
    .h-main:not(.nav-fixed) .hamburger {
        opacity: 0;
        margin: 0;
        visibility: hidden;
        width: 0;
    }
}
@media (min-width: 992px) {
    .header-ecommerce .h-main .h-inner{
        min-height: 90px;
    }
}
.h-main:not(.nav-fixed) {
    top: -45px;
}
.h-main {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.h-search-form {
    flex: 1;
    margin: 0 45px;
    display: flex;
    position: relative;
}
.h-search {
    border: 1px solid #CED4DA;
    -webkit-box-shadow: 0 1px 2px 0 rgba(33,37,41,.09);
    box-shadow: 0 1px 2px 0 rgba(33,37,41,.09);
    height: 45px;
    width: 100%;
    border-radius: 8px;
    padding: 15px 50px 15px 15px;
}
.h-search:focus {
    border-color: #80bdff;
    outline: 0;
    -webkit-box-shadow: 0 1px 2px 0 rgba(33,37,41,.09);
    box-shadow: 0 1px 2px 0 rgba(33,37,41,.09);
}
.h-search-trigger {
    display: none;
}
.h-search-overlay {
    width: 100%;
}

.search-submit, .h-search-trigger {
    width: 45px;
    height: 45px;
    border: none;
    cursor: pointer;
    outline: none;
    position: absolute;
    right: 0;
    background: transparent;
    top: 50%;
    transform: translateY(-50%);
}
.search-submit::before, .h-search-trigger::before {
    content: "⚲";
    transform: rotate(45deg);
    display: inline-block;
    font-size: 30px;
    line-height: 1;
}
@media screen and (max-width: 992px) {
    .h-search-overlay {
        visibility: hidden;
        opacity: 0;
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,.5);
        z-index: 10;
        transition: all 0.3s ease-in-out;
        right: 0;
    }
    .h-form-open input.h-search {
        padding-right: 50px;
    }
    .h-search-trigger {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .h-form-open .h-search-overlay {
        visibility: visible;
        opacity: 1;
        top: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px;
    }
    .h-form-open .h-search-overlay .search-submit {
        margin-right: 20px;
    }
}


.custom-logo {
    max-height: 45px;
    max-width: 200px;
}
.rev-nav {
    background: var(--nxf-accent);
    color: white;
    padding: .6rem 1.4rem;
    position: relative;
    min-width: 220px;
}
.rev-nav:hover {
    box-shadow: 0 0 10px rgba(0,0,0,.1);
    background: var(--button-hover-color);
}
.rev-nav > a {
    color: white;
    transition: all 0.3s ease-in-out;
    border-bottom: 1px dashed transparent;
    width: 100%;
    display: inline-block;
}
.rev-nav > a:hover {
    color: white;
    border-bottom: 1px dashed white;
}
.rev-nav > a::after {
    content: "▾";
    margin-left: 5px;
    position: absolute;
    right: 10px;
    transition: all 0.3s ease-in-out;
}
.rev-nav:hover > a::after {
    transform: rotate(-90deg);
}

.rev-nav .product-cats-dropdown {
    position: absolute;
    z-index: 1;
    top: 100%;
    background: white;
    color: black;
    left: 0;
    box-shadow: 0 0 10px rgba(0,0,0,.1);
    display: none;
}
.rev-nav:hover .product-cats-dropdown {
    display: block;
}

.rev-nav .product-cats-dropdown ul{
    margin: 0;
    list-style: none;
    padding: 0;
    position: relative;
}
.rev-nav .product-cats-dropdown li {
    padding: 5px 30px 5px 20px;
    border-bottom: solid 1px #f3f3f3;
}
.rev-nav .product-cats-dropdown a {
    color: black;
    border-bottom: 1px dashed transparent;
}


.nav a {
    color: #0a0a0a;
    transition: all 0.3s ease-in-out;
    border-bottom: 1px dashed transparent;
}
.nav a:hover {
    color: #0a0a0a;
    border-bottom: 1px dashed #0a0a0a;
}
 
.dropdown-load-ajax::after {
    content: "▾";
    margin-left: 5px;
    position: absolute;
    right: 10px;
    transition: all 0.3s ease-in-out;
}
.dropdown-load-ajax.open::after {
    transform: rotate(-90deg);
}


.dropdown-load-ajax .spinner {
    position: fixed;
    left: 5px;
    top: 65px;
    padding: 10px;
}
.dropdown-load-ajax .ajax-loaded-content {
    position: absolute;
    z-index: 1;
    top: 0;
    background: white;
    color: black;
    left: 100%;
    box-shadow: 0 0 10px rgba(0,0,0,.1);
    width: 100%;
    padding: 1rem;
    width: calc(var(--grid-maxWidth) - 100%);
}
.ajax-loaded-content {
    animation: rotateMenu 400ms ease-in-out forwards;
    transform-origin: top center;
    min-height: 200px;
}
    
@keyframes rotateMenu {
    0% {
        transform: rotateX(-90deg)
    }
    70% {
        transform: rotateX(20deg) 
    }
    100% {
        transform: rotateX(0deg) 
    }
}



.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 11;
    background: white;
    box-shadow: var(--nx-box-shadow); /*0 0 10px rgba(0,0,0,.1);*/
    width: 100%;
}
.nav-fixed + .h-bottom {
    margin-top: 90px;
}
@media (min-width: 920px) {
.admin-bar .nav-fixed {
    top: 28px;
}
}

.hamburger {
    cursor: pointer;
    position: relative;
    z-index: 1;
    margin: 0 15px;
    user-select: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background: #0a0a0a;
    margin: 3px 0;
    transition: all 0.3s ease-in-out;
    border-radius: 3px;
}
.hamburger span:nth-child(2) {
    width: 20px;
}
.hamburger span:nth-child(3) {
    width: 10px;
}
.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

 .hamburger.nav-open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.nav-open span:nth-child(2) {
    opacity: 0;
}
.hamburger.nav-open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    width: 30px;
}



@media (min-width: 1330px) {
    .h-inner {
        max-width: var(--grid-maxWidth);
        margin: 0 auto;
    }
}
@media (max-width: 1330px) {
    .h-inner {
        padding: 0 15px;
    }
}
@media (min-width: 1650px) {
    .h-inner {
        max-width: var(--grid-maxWidth-XL);
        margin: 0 auto;
    }
}
 

@media (max-width: 992px) {
    
    .woo-main h1 {
        margin-top: 0;
    }
    .custom-logo-link {
        min-width: 80px;
        padding: .4rem 0;
        flex-basis: 70%;
    }
    .h-search-form {
        margin: 0 15px;
    }
    nav .menu-top-over-container ul {
        flex-direction: row;
    }
    nav .menu-top-over-container ul li {
        margin: .5rem 1rem;
    }
    .h-inner {
        padding: 0;
    }
    .h-over {
        padding: 0 10px;
    }



    .h-bottom {
        position: fixed;
        left: -100%;
        height: 100%;
        width: 100%;
        max-width: 320px;
        top: 0;
        background: white;
        z-index: 12;
        flex-direction: column;
        justify-content: flex-start;
        box-shadow: 0 0 10px rgba(0,0,0,.1);
        align-items: flex-start;
        padding: 1rem;
        flex-wrap: nowrap;
        transition: all .5s ease-in-out;
    }
    .admin-bar .h-bottom {
        top: 46px;
    }

    .h-bottom.toggled {
        left: 0;
    }

    .nav, .nav > div {
        width: 100%;
    }
    .primary-nav ul {
        max-height: 80vh;
        overflow: auto;
    }
    .shop-nav {
       /* flex-basis: 100%; */
        background-color: #f3f3f3;
        align-self: flex-end;
        padding: .5rem;
    }

    /** hide rev-nav on mobile */
    .rev-nav {
        display: none;
    }
}
 

@media (max-width: 600px) {
    .shop-nav {
        flex-basis: 100%;
        justify-content: center;
        padding-top: 0;
        padding-bottom: 0;
    }
    .h-main .h-inner {
        min-height: auto;
        flex-wrap: wrap;
    }   
}
 
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}