/**
 *header
 */

header {
    position: fixed;
    top: 0;
    z-index: 997;
    width: 100%;
    background-color: var(--primary-foreground);
}

header .content-with{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 56px;
}

header .logo{
    text-align: left;
}

header .logo img {
    max-width: fit-content;
    max-height: 35px;
}

#menu-list {
    text-align: right;
}
#menu-list ul li {
    display: inline-block;
    line-height: 40px;
}
#menu-list li a {
    font-size: 15px;
    font-family: "微軟正黑體";
    font-weight: 700;
    position: relative;
    color: var(--foreground);
    display: inline-block;
    
    padding-right: 10px;
    padding-left: 30px;
}
#menu-list li a:hover {
    color: var(--primary);
}
#menu-list li a i {
    position: absolute;
    left: 6px;
    top: 13px;
}

/* #menu-list .aboutus .icon-symbol {
    background: url("../images/header/icon-symbol.png") no-repeat;
    width: 50px;
    height: 85%;
    background-size: 50%;
    background-position: center;
    float: left;
} */

#menu-list ul li.shop a {
    padding-left: 10px;
}

#menu-list ul li.member a{
    padding-left: 5px;
}

#menu-list ul li.cart a{
    padding-left: 2px;
}

#menu-list ul li.shop .shop-icon,
#menu-list ul li.member .member-icon,
#menu-list ul li.cart .cart-icon {
    width: 24px;
    height: 24px;
    background-size: cover;
    background-position: center;
    margin-right: 5px;
    margin-top: 8px;
    float: left;
    position: initial;
}

#menu-list ul li.shop .shop-icon {
    background-image: url(../../../../Images/icons/footer/icon-tab-sell-white.svg);
}

#menu-list ul li.member .member-icon {
    background-image: url(../../../../Images/icons/footer/icon-tab-profile-white.svg);
}

#menu-list ul li.cart .cart-icon {
    background-image: url(../../../../Images/icons/footer/icon-tab-cart-default.svg);
}

#menu-list li.login a {
    padding-left: 0;
    padding-right: 0;
}

header #login,
header #cart {
    display: none;
}

header #cart a {
    padding: 3px 12px;
    float: right;
}

header #cart a i {
    width: 34px;
    height: 34px;
    background-size: cover;
    background-image: url(../../images/header/icon-cart.png);
    display: block;
    position: relative;
    font-style: initial;
}

header #cart a span{
    background-color: #dd0037;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    position: absolute;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    align-items: center;
    justify-content: center;
    right: -6px;
}


/* Mobile */
@media (max-width: 991px) {
    header {
        padding: 0;
        /* background-color: #fff; */
        box-shadow: 0px 0px 5px rgba(0,0,0,0.3);
    }
    /*header .logo img {
        width: 105px;
    }*/
    .content-with{
        width: 100%;
        margin: 0 auto;
    }
    #menu-list{
        display: none;
    }

    header #login,
    header .logo,
    header #cart {
        height: 40px;
        display: flex;
        align-items: center;
    }

    header .logo {
        justify-content: center;
    }

    header #login a {
        padding: 11px;
        position: absolute;
        left: 0;
        top: 0;
    }

    header #cart a {
        position: absolute;
        right: 0;
        top: 0;
    }
}
