header {
    position: unset;
    z-index: 100;
    top: 0;
    width: 100%;
    height: 70px;
}

header .container {
    display: flex;
    align-items: center;
    margin: 0 auto;
    padding: 0;
}

header .logo {
    padding: 2rem 0 2rem 1rem;
    max-width: 30%;
    min-width: 15rem;
}

header nav {
    width: 100%;
}

header ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--wp--preset--color--primary-color);
}

#header-main .menu {
    max-width: 90%;
}

#header-main .menu a {
    font-size: var(--wp--preset--font-size--xs);
    color: var(--wp--preset--color--text-color-accent);
}

#header-extra {
    background-color: #f2f2f2;
}

#header-extra .menu {
    max-width: 70%;
    padding: 0.5rem 4rem;
}

#header-extra .menu a {
    font-size: 16px;
    color: grey;
}

.menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-left: auto;
    padding: 0.5rem 2rem;
}

#menu-header-mobile {
    padding: 0;
}

.menu a {
    text-decoration: none;
    outline: none;
    font-size: var(--wp--preset--font-size--xs);
    /* font-weight: 600; */
}

.menu-item {
    cursor: pointer;
    padding: 0.5rem;
}

.menu-item-accent a {
    color: var(--wp--preset--color--accent-color) !important;
}

.menu-item::after,
.current_page_item::after,
.curren_menu_item::after,
.current_page_ancestor::after,
.menu-item:focus-within::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background-color: var(--wp--preset--color--accent-color);
    transition: width 0.3s;
}

.menu-item:hover::after {
    width: 80%;
    transition: width 0.3s;
}

.current_page_item::after,
.curren_menu_item::after,
.current_page_ancestor::after,
.menu-item:focus-within::after {
    width: 80%;
}

/* #region: Submenu */
.menu .menu-item-has-children {
    position: relative;
}

.subtheme--header h1 {
    font-size: 4rem !important;
}


@media (min-width: 1201px) {
    .sub-menu {
        display: none;
        z-index: 100;
        position: absolute;
        width: max-content;
        padding: 0.5rem 1rem;
        /* top: 100%; */
        left: 10%;
        background-color: var(--wp--preset--color--primary-color);
        border: 1px solid var(--wp--preset--color--secondary-color);
        box-shadow: 0 0 15px var(--wp--preset--color--secondary-color);
        border-radius: 10px;
    }

    .menu-item-has-children:hover .sub-menu {
        display: block;
        color: black;
    }
}

@media (max-width: 1200px) {
    .sub-menu {
        display: none;
        top: 0 !important;
        position: relative !important;
        max-height: unset !important;
        opacity: 1 !important;
        border: none !important;
        box-shadow: none !important;
    }

    .has-subnav:hover:before {
        transform: rotate(0);
    }

    .has-subnav::before {
        transform: rotate(0);
    }

    .has-subnav.open::before {
        transform: rotate(180deg);
    }
}

header #header-main .menu a {
    font-size: 16px;
    color: #e40429;
    font-weight: 600;
}

header #header-extra .menu a {
    font-size: 16px;
    color: grey;
    font-weight: 500;
}

header #header-main .menu .menu-item .sub-menu a {
    color: black;
    font-size: 16px;
    font-weight: 300;
}

header #header-main .menu a .header--search input::placeholder {
    color: #e40429;
}

header #header-main .menu a .header--search input::placeholder {
    color: grey;
}

/* #syn_page_home header .has-subnav:before {
    top: 0.69rem;
}

#syn_page_home #header-main .has-subnav:before {
    color: #fff;
}

#syn_page_home #header-extra .has-subnav:before {
    color: #fff;
} */

@media (min-width: 992px) {
    /* #syn_page_home header .btn--search {
        color: #fff;
    }

    #syn_page_home header.scroll a {
        color: #e40429;
    } */
}

/* #syn_page_home header #header-main.scroll a .header--search input::placeholder {
    color: #e40429;
}

#syn_page_home header #header-extra.scroll a .header--search input::placeholder {
    color: grey;
} */

/* #syn_page_home header #header-main.scroll a:after {
    background-color: #e40429;
}

#syn_page_home header #header-extra.scroll a:after {
    background-color: #f2f2f2;
}

#syn_page_home header #header-main.scroll .btn--search,
#syn_page_home header #header-main.scroll .has-subnav:before {
    color: #e40429;
}

#syn_page_home header #header-extra.scroll .btn--search,
#syn_page_home header #header-extra.scroll .has-subnav:before {
    color: grey;
} */

.has-subnav:before {
    content: "\F107";
    position: absolute;
    top: 0.69rem;
    right: -1rem;
    color: #e40429;
    font-family: Font Awesome\ 5 Pro;
    transition: transform 0.3s ease-out;
    cursor: pointer;
}

header #header-extra .has-subnav:before {
    color: grey;
}

/* @media (min-width: 992px) {
    .has-subnav:before {
        right: 0
    }
} */

@media (min-width: 992px) {
    /* #syn_page_home header #header-main {
        background-color: transparent;
        transition: background-color 0.2s ease-out;
    }

    #syn_page_home header #header-extra {
        background-color: transparent;
        transition: background-color 0.2s ease-out;
    }

    #syn_page_home header #header-main .menu a,
    #syn_page_home header #header-main .menu a .header--search input::placeholder {
        font-size: 16px;
        font-weight: 600;
        color: white;
    }

    #syn_page_home header #header-extra .menu a,
    #syn_page_home header #header-extra .menu a .header--search input::placeholder {
        font-size: 16px;
        font-weight: 500;
        color: white;
    }

    #syn_page_home header #header-main .menu .menu-item .sub-menu a {
        font-size: 16px;
        font-weight: 300;
        color: black;
    }

    #syn_page_home header #header-extra .menu .menu-item .sub-menu a {
        font-size: 16px;
        font-weight: 300;
        color: black;
    }

    #syn_page_home header #header-main.scroll a,
    #syn_page_home header #header-main.scroll a .header--search input::placeholder {
        color: #e40429;
    }

    #syn_page_home header #header-extra.scroll a,
    #syn_page_home header #header-extra.scroll a .header--search input::placeholder {
        color: grey;
    } */
}

/* #syn_page_home header #header-main.scroll {
    background-color: #fff;
}

#syn_page_home header #header-extra.scroll {
    background-color: #f2f2f2;
} */

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

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

/* #endregion */

/* #region Hamburguer Menu */
#header-mobile {
    display: none;
    background-color: var(--wp--preset--color--primary-color);
}

#header-mobile .container {
    max-width: 60%;
}

#header-mobile a {
    font-size: 16px;
    font-weight: 700;
}

#header-mobile a .header--search input::placeholder {
    color: #e40429;
}

#hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin: 0 2rem;
    min-width: 24px;
    height: 24px;
    transition: transform 0.2s ease-in-out;
}

.bar {
    display: block;
    margin-left: auto;
    height: 2px;
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out, width 0.2s ease-in-out;
}

.bar-top {
    transform-origin: top;
}

.bar-bottom {
    transform-origin: bottom;
}

#hamburger-icon.open .bar {
    width: 100%;
    margin-left: unset;
}

#hamburger-icon.open .bar-top {
    transform: translateY(10px) rotate(45deg);
}

#hamburger-icon.open .bar-center {
    opacity: 0;
}

#hamburger-icon.open .bar-bottom {
    transform: translateY(-6.5px) rotate(-45deg);
}

#hamburger-content {
    display: none;
    position: fixed;
    top: 10rem;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    overflow-y: scroll;
    /* height: calc(100vh - 17rem); */
    width: 100%;
    background-color: white;
    /* margin: 3rem auto; */
}

#hamburger-content .menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    height: 100%;
}

#hamburger-content .menu .menu-item {
    min-width: 60%;
    height: 5rem;
}

@media (max-width: 1200px) {
    #header-mobile {
        display: block;
    }

    #header-main,
    #header-extra {
        display: none;
    }


    #hamburger-icon {
        display: flex;
        flex-direction: column;
    }

    /*     #syn_page_home header .has-subnav:before {
        right: -20rem;
    } */

    .menu-item::after,
    .current_page_item::after,
    .curren_menu_item::after,
    .current_page_ancestor::after,
    .menu-item:focus-within::after {
        display: none;
    }
}

@media (max-width: 600px) {
    #header-mobile .container {
        max-width: 100%;
    }

    #hamburger-content {
        width: 100%;
    }
}

span.cart-items-count {
    position: absolute;
    top: -28px;
    margin-left: 7px;
    background-color: #ff3521;
    color: #ffff;
    width: 20px;
    height: 20px;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    border-radius: 100%;
}

.basket-item-count {
    position: relative;
}

.favorite-item-count {
    position: relative;
}

span.fav-items-count {
    position: absolute;
    top: -30px;
    margin-left: 7px;
    background-color: #ff3521;
    color: #ffff;
    width: 20px;
    height: 20px;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    border-radius: 100%;
}

#menu-header-extra .menu-item {
    padding-left: 2rem;
}

.menu-item-43568 a {
    color: #e40429 !important;
    font-weight: bold !important;
}

.header-txt-syn {
    margin-top: 5rem;
}

.header-left-syn {
    width: 50%;
}

.header-left-inner-syn {
    height: 100%;
    width: 630px;
    display: flex;
    flex-direction: column;
    padding: 0 20px 0 6rem;
    margin-left: auto;
    margin-right: 0;
}

.header-right-syn {
    display: block;
}

@media screen and (max-width: 1300px) {
    .header-txt-syn {
        width: 400px;
        margin-top: 0rem;
    }

    .text--light {
        margin: 0;
    }

    .text--light p {
        font-size: 17px;
    }

    .header-right-syn {
        background-position: center;
    }
}

@media screen and (max-width: 900px) {
    .header-txt-syn {
        width: 350px;
        margin-top: 0rem;
    }

    .header-left-inner-syn {
        padding: 0 0 0 2rem;
    }

    .text--light p {
        font-size: 16px;
    }
}

@media screen and (max-width: 750px) {
    .header-right-syn {
        display: none;
    }

    .header-left-syn {
        width: 100%;
    }

    .header-txt-syn {
        width: 100%;
        margin-top: 1rem;
    }

    .header-left-inner-syn {
        width: 100%;
    }

    .text--light p {
        font-size: 18px;
    }
}

/* #endregion */