/* ******************************************** */
/** COMPONENTS: HEADER
/* ******************************************** */

/* HEADER */

.c-header {
    position: fixed;
    left: 0;
    top: 0;
    height: var(--header);
    display: flex;
    align-items: center;
    color: var(--color-lightest);
    box-shadow: rgb(0 0 0 / 25%) 0px 2px 12px;
    background-color: #292826;
}

.c-header,
.c-header__holder {
    width: 100%;
    z-index: 200;
}

.c-header__holder {
    backdrop-filter: blur(8px);
    height: 100%;
}

.c-header__wrapper {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4.5rem;
}

.c-header__btn {
    width: 38px;
    height: 38px;
    margin-left: -9px;
    z-index: 1;
    vertical-align: middle;
}

.c-header__brand {
    line-height: 0;
    font-size: 5em;
}

.c-header__brand-link,
.c-header__logo {
    display: block;
    width: 100%;
    height: auto;
}

.c-header__brand-link {
    display: flex;
    align-items: center;
    gap: 0.2em;
    margin-bottom: 0.1em;
}

.c-brand__text {
    display: none;
    font-size: 0.5em;
    white-space: nowrap;
    margin-top: 0.2em;
}

.c-brand__icon,
.c-brand__text {
    color: #eee7dd;
}

/* Social */
.c-header__bottom {
    display: flex;
    align-items: center;
    gap: 1.1em;
}

.c-header__login {
    font-size: 3rem;
    vertical-align: middle;
}

.c-header__limit {
    width: 2px;
    height: 10px;
    left: -2px;
    position: absolute;
    top: var(--header);
    pointer-events: none;
}

/* .c-header__actions{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 0.8em;
    font-size: 2.7rem;
} */

.c-header__cart {
    font-size: 3rem;
    vertical-align: middle;
    position: relative;
    transition: color 200ms ease-in-out;
}

.c-header__cart[data-num]:not([data-num="0"]):after {
    content: attr(data-num);
    display: block;
    font-family: var(--font);
    min-width: 16px;
    height: 16px;
    line-height: 12px;
    padding: 2px;
    position: absolute;
    left: 50%;
    top: 50%;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    color: #000;
    background-color: var(--color-yellow);
    border-radius: 100px;
    margin-left: 4px;
    margin-top: -19px;
}


/* Is fixed */

.c-header.is-fixed {
    position: fixed;
    left: 0;
    top: 0;
}



/* NAV */

.c-nav__item {
    position: relative;
}

.c-header__text {
    display: inline-block;
    vertical-align: middle;
}

.c-nav__item.is-active {
    color: var(--color-active);
}

.c-nav__link .c-link__icon {
    display: none;
}

.c-nav__item.is-active .c-link__icon {
    display: block;
}

.c-nav__item-arrow {
    display: inline-block;
    font-size: 0.6em;
    margin-left: 0.6em;
    transition: transform 300ms ease-out;
}

.c-nav__link {
    display: inline-block;
    text-transform: uppercase;
    font-weight: 200;
    font-family: var(--font-tertiary);
    font-size: 1em;
    white-space: nowrap;
}

.c-nav__link.hidden-xs {
    display: none;
}

.c-nav__link.hidden-md,
.c-nav__link.hidden-lg {
    display: inline-block;
}

.c-nav__link.is-active {
    color: #ff7200;
    position: relative;
}

.c-nav__link .c-link__icon {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    margin-right: -1.1em;
    font-size: 1em;
    color: #eee7dd;
}

.c-nav__link.is-active .c-link__icon {
    display: block;
}

.c-nav__submenu {
    display: none;
}


/* Submenu */

.c-submenu {
    display: none;
}



@media (hover: hover) {
    .c-header__cart:is(:hover, :focus) {
        color: var(--color-hover);
    }
}

/* Not Desktop */


@media (max-width: 979px) {

    /* HEADER */

    .c-header__brand {
        display: inline-block;
        vertical-align: middle;
    }

    .c-header__link {
        font-size: 2.1rem;
    }

    .c-header__link .c-link__icon {
        margin-right: 0;
        margin-top: 0;
    }

    /* Nav */

    .c-nav {
        display: none;
    }

    /* Nav bar styles */

    .c-header__btn-bar,
    .c-header__btn-bar:before,
    .c-header__btn-bar:after {
        display: block;
        width: 18px;
        height: 2px;
        background-color: var(--color-lightest);
        position: absolute;
        left: 50%;
        top: 50%;
        margin-top: -1px;
        margin-left: -9px;
        -webkit-transform: rotate(0) rotateZ(0);
        -moz-transform: rotate(0) rotateZ(0);
        transform: rotate(0) rotateZ(0);
    }

    .c-header__btn-bar:before,
    .c-header__btn-bar:after {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        margin: 0;
        -webkit-transform: translate3d(0, -250%, 0) rotate(0);
        -moz-transform: translate3d(0, -250%, 0) rotate(0);
        transform: translate3d(0, -250%, 0) rotate(0);
    }

    .c-header__btn-bar:after {
        -webkit-transform: translate3d(0, 250%, 0) rotate(0);
        -moz-transform: translate3d(0, 250%, 0) rotate(0);
        transform: translate3d(0, 250%, 0) rotate(0);
    }


    /* Nav */

    .c-nav {
        display: none;
    }

    .c-header__subgroup {
        display: flex;
        gap: 1em;
        font-size: 2rem;
        margin-right: 0.9em;
        align-items: center;
    }
}

@media (min-width: 980px) and (max-width: 1999px) {

    .c-header__wrapper {
        padding-left: calc(var(--space-x) / 1.5);
        padding-right: calc(var(--space-x) / 1.5);
    }
}


/* ********************** de Mobile a TABLET ********************** */

@media (min-width: 768px) {

    .c-nav__link.hidden-xs,
    .c-nav__link.hidden-lg {
        display: inline-block;
    }

    .c-nav__link.hidden-md {
        display: none;
    }

    /* Social */
    .c-header__bottom {
        display: flex;
        align-items: center;
        gap: 3em;
    }

}


/* ********************** de Tablet a DESKTOP ********************** */

@media (min-width: 980px) {

    .c-header__header {
        width: calc(100% - var(--header-brand) - 30px);
        height: 100%;
    }

    .c-header__bottom,
    .c-header__top {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
    }

    .c-header__top {
        height: var(--header-top);
        border-bottom: 1px solid rgb(var(--color-lightest-rgb)/25%);
    }

    .c-header__bottom {
        height: calc(100% - var(--header-top));
        gap: 5vw;
    }

    .c-header__group *:not(:first-child) {
        margin-left: 4em;
    }

    :root .c-header__subgroup .c-header__social-icon {
        margin-left: 0.7em;
        font-size: 2rem;
    }

    .c-header__group .c-header__button--sign-in {
        margin-left: 2em;
    }

    :root .c-header__group--flex {
        display: flex;
    }

    .c-header__nav {
        width: 100%;
        max-width: 980px;
    }

    .c-header__social-icon {
        display: inline-block;
        vertical-align: middle;
        font-size: 1em;
        margin-left: 0;
    }

    .c-header__subgroup {
        display: inline-block;
    }

    /* .c-header__subgroup {
        display: flex;
        gap: 1.1em;
        align-items: center;
        font-size: 2rem;
    } */

    .c-header__social {
        display: flex;
        gap: 0.5em;
    }

    .c-header__actions {
        gap: 0.6em;
        font-size: 2.4rem;
    }

    .c-header__link {
        font-size: 1.2rem;
        vertical-align: middle;
    }

    .c-header__link .c-link__icon {
        margin-top: 0;
    }

    .c-header__button {
        background-color: #ff7200;
        padding: 0.4em 0.8em 0.45em;
        font-size: 1.1rem;
    }

    .c-header__profile {
        position: relative;
    }

    /* .c-header__profile .c-profile__btn:after {
        content: "\e909";
        display: inline-block;
        vertical-align: middle;
        font-size: 0.8rem;
        margin-left: 6px;
        font-family: 'icomoon' !important;
        speak: never;
        font-style: normal;
        font-weight: normal;
        font-variant: normal;
        text-transform: none;
        line-height: 1;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        transition: transform 300ms ease-out;
    } */

    .c-header__profile.is-open .c-profile__btn {
        color: var(--color-active);
    }

    .c-header__profile.is-open .c-profile__btn:after {
        transform: rotate(180deg);
        transition: transform 300ms ease-out;
    }

    .c-header__profile.is-open .c-profile__btn:before {
        right: 0;
        left: auto;
        width: 240px;
        transform: translate(0, -50%);
    }


    /* NAV */

    .c-nav {
        display: block !important;
        font-size: 1.1rem;
        font-weight: 500;
        position: relative;
    }

    .c-header__text {
        font-size: 1.2rem;
        opacity: .95;
    }

    .c-nav__link {
        text-transform: uppercase;
    }

    .c-nav__link.hidden-xs,
    .c-nav__link.hidden-md {
        display: inline-block;
    }

    .c-nav__link.hidden-lg {
        display: none;
    }

    .c-nav__list {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        width: 100%;
        gap: 3rem;
        font-size: 1.4rem;
    }

    .c-nav__item-arrow {
        margin-left: 0.3em;
        font-size: 0.7em;
        display: inline-block;
        vertical-align: middle;
        margin-top: -2px;
    }

}




/* ********************** de Desktop a DESKTOP 2 ********************** */

@media (min-width: 1200px) {

    .c-header__actions {
        font-size: 2.8rem;
    }

    /* NAV */

    .c-header__button,
    .c-nav {
        font-size: 1.2rem;
    }

    .c-header__link,
    .c-header__text {
        font-size: 1.3rem;
    }

    .c-brand__text {
        display: block;
        font-size: 0.4em;
    }
}

/* ********************** de Desktop 2 a HD ********************** */

@media (min-width: 1400px) {

    .c-header__header {
        width: calc(100% - var(--header-brand) - 60px);
    }

    .c-header__actions {
        font-size: 3rem;
    }

    /* NAV */

    .c-header__button,
    .c-nav {
        font-size: 1.3rem;
    }

    .c-header__link,
    .c-header__text {
        font-size: 1.4rem;
    }

    .c-brand__text {
        font-size: 0.5em;
    }


}

@media (min-width: 1400px) and (min-height: 790px) {}

/* ********************** de Desktop 2 a HD ********************** */

@media (min-width: 1600px) {}