/* User */
.user_name {
    font-size: 1.6rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-right {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-right li,
.menu-right li a {
    text-decoration: none;
    color: inherit;
    margin: 0;
    padding: 0;
}

.settings-dropdown {
    position: relative;
}

.settings-dropdown > a {
    display: inline-flex;
    align-items: center;
    padding: 12px 15px;
    font-size: 2rem;
    color: black;
    gap: 8px;
}

body.dark .settings-dropdown > a {
    color: var(--text-color);
}

.settings-dropdown > a:hover {
    color: var(--color-fontes-menu);
}

.settings-dropdown .sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 220px;
    padding: 10px 0;
    background-color: var(--color-background-menu);
    box-shadow: 0 0 10px var(--color-background-transp-black);
    z-index: 100;
    transform: scaleY(0);
    transform-origin: top;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

ul.sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.settings-dropdown:hover .sub-menu {
    transform: scaleY(1);
    visibility: visible;
    opacity: 1;
}

.settings-dropdown .sub-menu li a {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    color: #222;
    font-size: 1.5rem;
}

.settings-dropdown .sub-menu li a:hover {
    background-color: var(--color-background-light-gray);
}

.open-menu-btn,
.cart-btn.icon-btn {
    background-color: transparent;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
}

.ico-btn-whats {
    width: 24px; height: 24px;
}

/* Container - menu */
.container {
    margin: auto;
    padding: 15px;
    background-color: var(--color-background-menu);
    box-shadow: 10px 10px 15px -1px var(--color-background-box-shadow);
}

.header {
    position: fixed;
    left: 0;
    top: 0;
    max-height: 85px;
    width: 100%;
    height: 85px;
    border-bottom: 1px solid var(--color-border-bottom);
    z-index: 10;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header .menu .head {
    display: none;
}

.header .menu ul {
    list-style: none;
}

.header .menu>ul>li {
    display: inline-block;
    position: relative;
}

.header .menu>ul>li:not(:last-child) {
    margin-right: 20px;
}

.header .menu .dropdown {
    position: relative;
}

.header .menu a {
    text-decoration: none;
    text-transform: capitalize;
    font-size: 2rem;
    color: var(--color-black-semi);
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

body.dark .header .menu a {
    color: var(--text-color);
}

.header .menu a:hover {
    color: var(--color-fontes-menu);
}

.header .menu>ul>li>a {
    padding: 12px 15px;
}

.header .menu>ul>.dropdown>a {
    padding-right: 30px;
}

.header .menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 230px;
    padding: 15px 0;
    background-color: var(--color-background-menu);
    box-shadow: 0 0 10px var(--color-background-transp-black);
    z-index: 1;
    transform-origin: top;
    transform: scaleY(0);
    visibility: hidden;
    opacity: 0;
}


.header .menu .sub-menu-right {
    left: 100%;
    top: 0;
}

.header .menu .sub-menu-left {
    top: 0;
    left: auto;
    right: 100%;
}

.header .menu li:hover>.sub-menu {
    opacity: 1;
    transform: scaleY(1);
    visibility: visible;
    transition: all 0.5s ease;
}

.header .menu .sub-menu a {
    padding: 6px 24px;
}

.header .menu .sub-menu .dropdown>a {
    padding-right: 34px;
}

.header .menu .sub-menu span {
    background-image: linear-gradient(hsl(0deg 0% 100%), hsl(0deg 0% 100%));
    background-size: 0 1px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size 0.5s ease;
}

.header .menu .sub-menu li:hover>a>span {
    background-size: 100% 1px;
}

.header-right>* {
    margin-left: 15px;
}

.header-right .open-menu-btn {
    display: none;
}

.hide-menu {
    display: none !important;
}

.email-notification {
    position: relative;
    display: inline-block;
}

.email-icon {
    width: 24px;
    height: 24px;
    position: relative;
}

.email-badge {
    position: absolute;
    top: -3px;
    background: var(--color-red);
    border: 2px solid var(--color-red);
    bottom: 0;
    right: -2px;
    background-color: var(--color-red);
    color: var(--color-white);
    border-radius: 50%;
    width: 8px;
    height: 8px;
    display: inline-block;
    content: "";
}

/*
@media (width >= 1024px) {
  .hide-menu-f {
    display: flex !important;
  }

  .hide-menu {
    display: none !important;
  }
}
*/
.show-off-on {
    display: none !important;
}

@media(width <=1120px) {
    .show-off-on {
        display: block !important;
    }

    .hide-menu {
        display: block !important;
    }

    .hide-menu-f {
        display: none !important;
    }

    .header .menu {
        position: fixed;
        right: 0;
        top: 0;
        width: 280px;
        height: 100%;
        background-color: var(--color-background-menu);
        padding: 15px 30px 30px;
        overflow-y: auto;
        z-index: 1;
        transform: translate(100%);
    }

    .header .menu.open {
        transform: none;
    }

    .header .menu .head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 25px;
    }

    .header .menu .close-menu-btn {
        height: 35px;
        width: 35px;
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: transparent;
        cursor: pointer;
        border: none;
    }

    .header .menu .close-menu-btn::before,
    .header .menu .close-menu-btn::after {
        content: '';
        position: absolute;
        width: 80%;
        height: 2px;
        background-color: var(--color-background-transp);
    }

    .header .menu .close-menu-btn::before {
        transform: rotate(45deg);
    }

    .header .menu .close-menu-btn::after {
        transform: rotate(-45deg);
    }

    .header .menu>ul>li {
        display: block;
    }

    .header .menu>ul>li:not(:last-child) {
        margin-right: 0;
    }

    .header .menu li {
        border-bottom: 1px solid hsl(0deg 0% 100% / 25%);
    }

    .header .menu li:first-child {
        border-top: 1px solid hsl(0deg 0% 100% / 25%);
    }

    .header .menu>ul>li>a {
        padding: 12px 15px;
    }

    .header .menu>ul>.dropdown>a {
        padding-right: 34px;
    }

    .header .menu .sub-menu {
        position: static;
        opacity: 1;
        transform: none;
        visibility: visible;
        padding: 0;
        transition: none;
        box-shadow: none;
        width: 100%;
        display: none;
    }

    .header .menu .dropdown.active>.sub-menu {
        display: block;
    }

    .header .menu .sub-menu li:last-child {
        border: none;
    }

    .header .menu .sub-menu a {
        padding: 8px 32px;
        position: relative;
        display: block;
        font-size: 1.5rem;
    }

    .header .menu .sub-menu a::before {
        content: '';
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        width: 6px;
        height: 6px;
        background-color: var(--color-fontes-menu);
        border-radius: 50%;
    }

    .header .menu .sub-menu .sub-menu a {
        padding-left: 36px;
        position: relative;
    }

    .header .menu .sub-menu .sub-menu a::before {
        content: "";
        position: absolute;
        left: 18px;
        top: 50%;
        transform: translateY(-50%);
        width: 6px;
        height: 6px;
        background-color: var(--color-fontes-sub-menu);
        border-radius: 50%;
    }

    .header .menu .sub-menu .sub-menu .sub-menu a {
        padding-left: 45px;
    }

    .header .menu .sub-menu span {
        background-image: none;
    }

    .header-right .open-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        position: relative;
        background-color: transparent;
        border: none;
    }

    .sair-red {
        background-color: var(--color-red);
        color: white !important;
        padding: 10px;
        border-radius: 4px;
    }

    .sair-red:hover {
        color: white !important;
    }
}
