.site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    background: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
}

.admin-bar .site-header {
    top: 32px;
}

.site-header__nav {
    max-width: 100vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.site-header__nav img {
    max-width: 180px;
}

.site-header__nav .menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-header__nav .menu > li {
    position: relative;
}

.site-header__nav .menu > li > a {
    display: inline-block;
    padding: 1rem;
    font-weight: 300;
    position: relative;
}

.site-header__nav .menu .menu-item.menu-item-has-children > a::after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%23000000'%3E%3Cpath d='M480-344 240-584l56-56 184 184 184-184 56 56-240 240Z'/%3E%3C/svg%3E");
    display: inline-block;
    margin-left: 4px;
    width: 24px;
    height: 24px;
    vertical-align: middle;
    position: relative;
    top: -2px;
    transition: transform 0.3s ease-in-out;
}

.site-header__nav .menu .menu-item.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

.site-header__nav .menu > li.current-menu-item > a {
    color: var(--color--primary);
}

.site-header__nav .menu > li > .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 185px;
    list-style: none;
    padding: 0;
    margin: 0;
    background: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color--light-gray);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    z-index: 1;
}

.site-header__nav .menu > li:hover > .sub-menu {
    max-height: 500px;
    opacity: 1;
}

.site-header__nav .menu > li > .sub-menu a {
    padding: 0.5rem 0.9rem;
    display: block;
}

.site-header .nav-right a.btn.btn-secondary {
    margin-left: 10px;
}

.site-header .nav-right .btn .icon svg {
    height: 1.5em;
    width: 1.5em;
    color: var(--color--primary);
}

.site-header .nav-toggler {
    width: 50px;
    height: 50px;
    background: var(--color--light-gray);
    border-radius: 10px;
    color: var(--color--dark);
    border: none;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-header .nav-toggler.active {
    background: var(--color--primary);
    color: white;
}

.pricing-plans__content a {
    color: var(--color--primary);
}

/*----------------------------------------*/
/*             REVAMP - START             */
/*----------------------------------------*/

.revamp .site-header .nav-right a.btn.btn-secondary {
    border-radius: 10px;
}

/*----------------------------------------*/
/*             REVAMP - END               */
/*----------------------------------------*/

@media (max-width: 992px) {
    .site-header .nav-right a.btn {
        display: none;
    }

    .site-header .menu-primary-menu-container {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--color--light-gray-alt);
        max-height: 0px;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .site-header .menu-primary-menu-container.active {
        max-height: 330px;
        overflow-y: auto;
    }

    .site-header__nav .menu {
        padding: 1.5rem;
        flex-direction: column;
    }

    .site-header__nav .menu > li > a {
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 768px) {
    .admin-bar .site-header {
        top: 46px;
    }

    .site-header__nav {
        position: relative;
    }

    .site-header__nav img {
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .site-header__nav img {
        max-width: 200px;
    }
}
