/* --------------------
   header
-------------------- */
#header {
    position: sticky;
    width: 100%;
    z-index: 20;
    top: 0;
    right: 0;
    background: #fff;
    height: 77px;
    display: flex;
    align-items: center;
    pointer-events: auto;
    transition: transform 0.6s;
}

.header-mm i {
    color: var(--color1);
    font-size: 15px;
    cursor: pointer;
}

.header-mese {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* --------------------
    Menu Mobile
-------------------- */
#mask {
    position: fixed;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
}

#menumobile {
    position: fixed;
    top: 0;
    bottom: 0;
    background: #FAF7F1;
    z-index: 99991;
    transition: all 0.5s;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .3) !important;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

#menumobile img {
    max-width: 130px;
}

#nomenumobile {
    cursor: pointer;
    transition: all 0.5s;
    width: 25px;
    height: 25px;
    background: transparent;
    text-align: center;
    display: inline-flex;
    color: var(--color1);
    font-size: 18px;
    align-items: center;
    justify-content: center;
}

.title-mm {
    padding: 20px 15px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.title-mm img {
    user-select: none;
}

.title-mm span {
    font-family: var(--title_font);
    font-size: 1.5rem;
}

.btn-mm {
    padding: 0 20px;
    margin-top: 20px;
}

.btn-mm a {
    display: flex;
}

.title-sub-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-flow: row-reverse;
}


.title-sub-head strong {
    font-family: var(--bold_font);
}

.main-mm {
    padding: 5px 15px;
    flex: 1;
}

.main-mm ul li a {
    color: #222;
    display: block;
    padding: 4px 0;
    position: relative;
    font-family: var(--main_font);
    font-size: 15px;
    line-height: 1.7;
    transition: all 0.5s ease;
}

.main-mm ul li ul.sub-menu li a {
    font-size: 15px !important;
}

.main-mm ul.menu li a:has(.childer.active) {
    font-size: 1.125rem;
    font-family: var(--title_font);
}

.main-mm ul.menu li a:has(.childer.active) .childer {
    top: 0.875rem;
}

.main-mm ul li a:hover {
    color: var(--color1);
}

.main-mm ul li>.sub-menu {
    z-index: 9;
    padding: 10px 20px 20px;
}

.childer i {
    cursor: pointer;
    font-size: 13px;
    text-align: center;
}

.childer {
    position: absolute;
    left: 0;
    cursor: pointer;
    top: 4px;
    width: 25px;
    height: 25px;
    background: transparent;
    color: var(--color1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;

}

.sub-closer {
    cursor: pointer;
    top: 10px;
    width: 25px;
    height: 25px;
    background: var(--color2);
    overflow: hidden;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sub-closer i {
    cursor: pointer;
    top: -1px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    position: relative;
    left: -1px;

}

.title-subcome {
    color: var(--color2);
    font-weight: normal;
    position: relative;
    top: 2px;
}

.inner-page #header {
    position: sticky;
    top: 0;
    background: #fff;
    box-shadow: 0 4px 8px rgb(0 0 0 / 5%);
}

.sub-menu {
    display: none;
    padding-left: 20px;
}

.childer .icon-plus:before {
    transition: 0.3s;
}

.childer.active .icon-plus:before {
    content: "\e914";
}

.header-userinfo {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
    align-items: center;
}

.header-userinfo span,
.header-userinfo button {
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background-color: transparent;
    border: none;
}

.header-userinfo>a {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-userinfo .count,
.quick--access-header .count {
    position: absolute;
    background-color: var(--color1);
    color: #fff;
    height: 13px;
    width: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    top: -7px;
    right: -7px;
    font-size: 12px;
}

.header-userinfo span i,
.header-userinfo button i {
    color: #151515;
    font-size: 20px;
}

.header-menu-mobile-footer .header-userinfo {
    justify-content: center;
}

.nav-up #header {
    transform: translateY(-6rem);
    pointer-events: none;
}
.auth-modal-btn-mobile .websima-auth-modal-btn {
    background: transparent;
    outline: none;
    border: none;
    padding: 0;
}
@media screen and (min-width:576px) {

    #menumobile {
        width: 450px;
        right: -450px;
    }

    .come-menumobile {
        right: 0 !important;
    }

}

@media screen and (max-width:575.99px) {

    #menumobile {
        left: 100%;
        width: 100%;
    }

    .come-menumobile {
        left: 0 !important;
    }

}

@media screen and (max-width:767.99px) {

    .auth-modal-btn-mobile,
    .cart-mobile span {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        font-family: var(--main_font);
        color: var(--color1);
        text-decoration: none;
        transition: all 0.3s ease;
        cursor: pointer;
        &:hover {
            color: var(--color2);
            text-decoration: none;
        }
    }

    .cart-mobile .count {
        position: absolute;
        background-color: var(--color1);
        color: #fff;
        height: 13px;
        width: 13px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        top: -7px;
        right: -7px;
        font-size: 12px;
    }

    .header-menu-mobile-footer {
        padding: 20px 15px;
        background-color: #f6f1eb;
        margin-top: auto;
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;

    }

    .header-menu-mobile-footer .icon-profile,
    .header-menu-mobile-footer .icon-shopping {
        font-size: 20px;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-menu-mobile-footer .icon-profile {
        color: var(--color1);
    }

    .header-menu-mobile-footer .icon-shopping {
        color: var(--color1);
    }
}